From abe0e771df3a270ad86389438f6baa18c65af216 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 6 May 2026 15:20:11 +0100 Subject: [PATCH] Promote cognition lanes to heartbeat state --- .../src/bin/epiphany-character-loop.rs | 36 ++- .../src/bin/epiphany-heartbeat-store.rs | 4 + epiphany-core/src/heartbeat_state.rs | 279 +++++++++++++++++- notes/fresh-workspace-handoff.md | 6 +- state/agent-heartbeats.msgpack | Bin 11262 -> 17169 bytes state/ledgers.msgpack | Bin 51504 -> 52014 bytes state/map.yaml | 13 +- 7 files changed, 327 insertions(+), 11 deletions(-) diff --git a/epiphany-core/src/bin/epiphany-character-loop.rs b/epiphany-core/src/bin/epiphany-character-loop.rs index 71c24480..ec33983b 100644 --- a/epiphany-core/src/bin/epiphany-character-loop.rs +++ b/epiphany-core/src/bin/epiphany-character-loop.rs @@ -173,9 +173,37 @@ fn character_turn_packet( "silence", "selfPatch" ], + "cognitionLanes": { + "schema_version": "epiphany.cognition_lanes.v0", + "analytic": { + "description": "Literal, evidence-facing lane: what happened, what constraints apply, what action is justified.", + "requiredThreadShape": { + "topic": "string", + "claim": "string", + "evidenceRefs": "string[]", + "confidence": "0..1", + "counterweight": "string" + } + }, + "associative": { + "description": "Pattern-facing lane: what this rhymes with, what older seam or emotional salience may matter, what should incubate.", + "requiredThreadShape": { + "topic": "string", + "claim": "string", + "sourceThemeIds": "string[]", + "novelty": "0..1", + "counterweight": "string" + } + }, + "bridge": { + "schema_version": "epiphany.cognition_bridge.v0", + "contract": "Synthesize or separate the lanes, name saturation and unresolved tension, then choose bubble, draft, finding, silence, or selfPatch. The bridge may steer attention; it may not mutate project truth." + } + }, "guardrails": [ "Humans talk to Face; other organs expose internals through Aquarium and typed artifacts rather than becoming direct chats.", "Use character-local projection: the actor receives its own dossier and visible stimulus, not omniscient hidden state.", + "Run both cognition lanes before choosing an output: analytic keeps the promise honest, associative keeps the living signal from going flat.", "If speech or action would be noise, return silence plus bounded rumination or selfPatch.", "Posting, state mutation, objective adoption, and semantic acceptance remain separate reviewed Epiphany surfaces." ], @@ -184,6 +212,9 @@ fn character_turn_packet( "localInterpretation": "string", "candidateBubble": "string|null", "candidateDraft": "string|null", + "analyticThread": "object", + "associativeThread": "object", + "bridgeSynthesis": "object", "decision": "bubble|draft|finding|silence|blocked", "selfPatch": "optional bounded role memory mutation" } @@ -229,7 +260,9 @@ fn run_smoke() -> Result { .is_some_and(|name| !name.trim().is_empty()) && packet["stimulus"]["content"] .as_str() - .is_some_and(|text| text.contains("Aquarium")); + .is_some_and(|text| text.contains("Aquarium")) + && packet["cognitionLanes"]["schema_version"] == "epiphany.cognition_lanes.v0" + && packet["cognitionLanes"]["bridge"]["schema_version"] == "epiphany.cognition_bridge.v0"; Ok(serde_json::json!({ "ok": ok, "turnPath": path, @@ -240,6 +273,7 @@ fn run_smoke() -> Result { "agentId": packet["protocol"]["agentId"], "identityName": packet["projectedLocalContext"]["identity"]["name"], "allowedOutputs": packet["allowedOutputs"], + "cognitionLanes": packet["cognitionLanes"]["schema_version"], } })) } diff --git a/epiphany-core/src/bin/epiphany-heartbeat-store.rs b/epiphany-core/src/bin/epiphany-heartbeat-store.rs index 89c867c9..c5e5e80a 100644 --- a/epiphany-core/src/bin/epiphany-heartbeat-store.rs +++ b/epiphany-core/src/bin/epiphany-heartbeat-store.rs @@ -383,6 +383,10 @@ fn run_smoke(agent_store: &Path) -> Result { && routine["routine"]["memoryResonance"]["schema_version"] == "epiphany.memory_resonance.v0" && routine["routine"]["incubation"]["schema_version"] == "epiphany.incubation.v0" + && routine["routine"]["thoughtLanes"]["schema_version"] == "epiphany.cognition_lanes.v0" + && routine["routine"]["bridge"]["schema_version"] == "epiphany.cognition_bridge.v0" + && routine["routine"]["candidateInterventions"]["schema_version"] + == "epiphany.candidate_interventions.v0" && routine_status["sleepCycle"]["schema_version"] == "epiphany.sleep_cycle.v0"; let result = serde_json::json!({ diff --git a/epiphany-core/src/heartbeat_state.rs b/epiphany-core/src/heartbeat_state.rs index 7331dfbf..62822077 100644 --- a/epiphany-core/src/heartbeat_state.rs +++ b/epiphany-core/src/heartbeat_state.rs @@ -64,6 +64,12 @@ pub struct EpiphanyHeartbeatStateEntry { #[cultcache(key = 9, default)] pub incubation: Option, #[cultcache(key = 10, default)] + pub thought_lanes: Option, + #[cultcache(key = 11, default)] + pub bridge: Option, + #[cultcache(key = 12, default)] + pub candidate_interventions: Option, + #[cultcache(key = 13, default)] pub extra: BTreeMap, } @@ -339,6 +345,9 @@ pub fn default_heartbeat_state(target_heartbeat_rate: f64) -> EpiphanyHeartbeatS sleep_cycle: None, memory_resonance: None, incubation: None, + thought_lanes: None, + bridge: None, + candidate_interventions: None, extra: BTreeMap::new(), } } @@ -442,6 +451,9 @@ pub fn heartbeat_status_projection( "sleepCycle": state.sleep_cycle, "memoryResonance": state.memory_resonance, "incubation": state.incubation, + "thoughtLanes": state.thought_lanes, + "bridge": state.bridge, + "candidateInterventions": state.candidate_interventions, "availableActions": ["init", "tick", "complete", "status", "routine"], })) } @@ -459,6 +471,9 @@ pub fn run_void_routine_store( let memory_records = collect_role_memory_records(options.agent_store.as_deref())?; let resonance = build_memory_resonance(&memory_records); let incubation = build_incubation(&state.incubation, &resonance, &memory_records); + let thought_lanes = build_thought_lanes(&resonance, &incubation, &memory_records); + let bridge = build_thought_bridge(&state.bridge, &thought_lanes, &resonance, &incubation); + let candidate_interventions = build_candidate_interventions(&bridge, &incubation); let sleep_cycle = update_sleep_cycle(state.sleep_cycle.as_ref(), &incubation, options.allow_dream); let run_id = format!("epiphany-void-routine-{}", now_stamp()); @@ -473,9 +488,13 @@ pub fn run_void_routine_store( "sleepCycle": sleep_cycle, "memoryResonance": resonance, "incubation": incubation, + "thoughtLanes": thought_lanes, + "bridge": bridge, + "candidateInterventions": candidate_interventions, "reviewNotes": [ "Void is reference material, not a runtime dependency.", "The routine mutates only typed heartbeat physiology fields; project truth and role memory mutation stay on their dedicated reviewed surfaces.", + "Analytic and associative lanes are cognition context, not hidden authority; the bridge decides draft, speech, silence, or further incubation.", "Sleep is maintenance: slow rumination, memory compression, and dream residue, not absence." ], }); @@ -483,6 +502,9 @@ pub fn run_void_routine_store( state.sleep_cycle = Some(sleep_cycle); state.memory_resonance = Some(resonance); state.incubation = Some(incubation); + state.thought_lanes = Some(thought_lanes); + state.bridge = Some(bridge); + state.candidate_interventions = Some(candidate_interventions); state.extra.insert( "voidRoutine".to_string(), serde_json::json!({ @@ -1526,7 +1548,15 @@ fn build_incubation( .unwrap_or_default() .total_cmp(&left["strength"].as_f64().unwrap_or_default()) }); - themes.dedup_by(|left, right| left.get("themeId") == right.get("themeId")); + let mut seen_themes = BTreeSet::new(); + themes.retain(|theme| { + let theme_id = theme + .get("themeId") + .and_then(Value::as_str) + .unwrap_or("unknown") + .to_string(); + seen_themes.insert(theme_id) + }); themes.truncate(12); serde_json::json!({ "schema_version": "epiphany.incubation.v0", @@ -1535,6 +1565,253 @@ fn build_incubation( }) } +fn build_thought_lanes( + resonance: &Value, + incubation: &Value, + records: &[RoleMemoryRecord], +) -> Value { + let analytic_threads = resonance + .get("pairs") + .and_then(Value::as_array) + .into_iter() + .flatten() + .take(4) + .enumerate() + .map(|(index, pair)| { + let left_role = pair.get("leftRole").and_then(Value::as_str).unwrap_or("left"); + let right_role = pair.get("rightRole").and_then(Value::as_str).unwrap_or("right"); + let strength = pair.get("strength").and_then(Value::as_f64).unwrap_or(0.0); + serde_json::json!({ + "threadId": format!("analytic-{left_role}-{right_role}-{index}"), + "topic": format!("{left_role}/{right_role} evidence seam"), + "claim": format!("{} and {} share a recurring memory edge; inspect whether this changes lane routing or evidence expectations.", display_name_for_role(left_role), display_name_for_role(right_role)), + "evidenceRefs": [ + pair.get("leftMemoryId").and_then(Value::as_str).unwrap_or_default(), + pair.get("rightMemoryId").and_then(Value::as_str).unwrap_or_default() + ], + "salience": round3(strength), + "confidence": round3((0.55 + strength).min(0.95)), + "desireToAct": round3((strength * 1.4).min(0.85)), + "counterweight": "Shared vocabulary is not proof of shared truth; verify against artifacts before changing project state.", + "lastTouchedAt": now_iso(), + }) + }) + .collect::>(); + + let associative_threads = incubation + .get("themes") + .and_then(Value::as_array) + .into_iter() + .flatten() + .take(4) + .enumerate() + .map(|(index, theme)| { + let topic = theme + .get("themeId") + .and_then(Value::as_str) + .unwrap_or("incubating-theme"); + let strength = theme.get("strength").and_then(Value::as_f64).unwrap_or(0.0); + serde_json::json!({ + "threadId": format!("associative-{topic}-{index}"), + "topic": topic, + "claim": theme.get("summary").and_then(Value::as_str).unwrap_or("An incubating thought wants another pass before it speaks."), + "sourceThemeId": topic, + "novelty": round3((0.42 + strength).min(0.92)), + "roomRelevance": round3((0.35 + strength).min(0.88)), + "desireToSpeak": round3((strength * 1.25).min(0.8)), + "counterweight": "A theme that keeps returning may be signal, obsession, or stale echo; the bridge must decide.", + "lastTouchedAt": now_iso(), + }) + }) + .collect::>(); + + let seed_threads = if analytic_threads.is_empty() && associative_threads.is_empty() { + records + .first() + .map(|record| { + vec![serde_json::json!({ + "threadId": format!("analytic-{}-seed", record.role_id), + "topic": format!("{} strongest memory", record.role_id), + "claim": record.summary, + "evidenceRefs": [record.memory_id], + "salience": round3(record.salience), + "confidence": round3(record.confidence), + "desireToAct": 0.2, + "counterweight": "One hot memory is only a seed; do not let it annex the whole mind.", + "lastTouchedAt": now_iso(), + })] + }) + .unwrap_or_default() + } else { + Vec::new() + }; + + serde_json::json!({ + "schema_version": "epiphany.cognition_lanes.v0", + "updatedAt": now_iso(), + "analytic": { + "description": "Literal, evidence-facing lane: what is happening, what constraints matter, what action is justified.", + "activeThreads": if analytic_threads.is_empty() { seed_threads } else { analytic_threads }, + }, + "associative": { + "description": "Pattern-facing lane: what this rhymes with, what seam is ripening, what surprising branch may be worth a later retrieval hop.", + "activeThreads": associative_threads, + }, + }) +} + +fn build_thought_bridge( + previous: &Option, + thought_lanes: &Value, + resonance: &Value, + incubation: &Value, +) -> Value { + let analytic_count = thought_lanes + .pointer("/analytic/activeThreads") + .and_then(Value::as_array) + .map(Vec::len) + .unwrap_or_default(); + let associative_count = thought_lanes + .pointer("/associative/activeThreads") + .and_then(Value::as_array) + .map(Vec::len) + .unwrap_or_default(); + let resonance_count = resonance + .get("pairs") + .and_then(Value::as_array) + .map(Vec::len) + .unwrap_or_default(); + let strongest_theme = incubation + .get("themes") + .and_then(Value::as_array) + .and_then(|themes| themes.first()) + .cloned(); + let lane_balance = match analytic_count.cmp(&associative_count) { + std::cmp::Ordering::Greater => "analytic-heavy", + std::cmp::Ordering::Less => "associative-heavy", + std::cmp::Ordering::Equal => "balanced", + }; + let speak_decision = if resonance_count >= 3 && associative_count > 0 { + "draft" + } else if resonance_count > 0 { + "hold" + } else { + "silence" + }; + let mut syntheses = previous + .as_ref() + .and_then(|value| value.get("recentSyntheses")) + .or_else(|| { + previous + .as_ref() + .and_then(|value| value.get("recent_syntheses")) + }) + .and_then(Value::as_array) + .cloned() + .unwrap_or_default(); + syntheses.push(serde_json::json!({ + "timestamp": now_iso(), + "summary": if let Some(theme) = &strongest_theme { + format!("Analytic evidence edges and associative incubation currently converge on {}.", theme.get("themeId").and_then(Value::as_str).unwrap_or("an unnamed theme")) + } else { + "No strong convergence yet; hold the lanes open without forcing speech.".to_string() + }, + "dominantTopics": strongest_theme + .as_ref() + .and_then(|theme| theme.get("themeId")) + .cloned() + .map(|topic| vec![topic]) + .unwrap_or_default(), + "laneBalance": lane_balance, + "speakDecision": speak_decision, + "saturationNote": if syntheses.len() > 4 { + Some("Recent syntheses are accumulating; cool repeated topics unless fresh evidence strengthens them.") + } else { + None + }, + })); + syntheses.reverse(); + syntheses.truncate(8); + syntheses.reverse(); + + serde_json::json!({ + "schema_version": "epiphany.cognition_bridge.v0", + "updatedAt": now_iso(), + "recentSyntheses": syntheses, + "topicSaturation": topic_saturation_from_syntheses(&syntheses), + "unresolvedTensions": [{ + "topic": "thought authority boundary", + "summary": "Cognition lanes may shape attention and drafts, but only reviewed Epiphany state surfaces change project truth.", + "openedAt": now_iso(), + }], + "decision": { + "laneBalance": lane_balance, + "speakDecision": speak_decision, + "reason": "Bridge converts analytic and associative lanes into draft/hold/silence guidance without granting authority.", + }, + }) +} + +fn build_candidate_interventions(bridge: &Value, incubation: &Value) -> Value { + let decision = bridge + .pointer("/decision/speakDecision") + .and_then(Value::as_str) + .unwrap_or("silence"); + let strongest_theme = incubation + .get("themes") + .and_then(Value::as_array) + .and_then(|themes| themes.first()); + let items = if matches!(decision, "draft" | "hold") { + strongest_theme + .map(|theme| { + vec![serde_json::json!({ + "interventionId": format!("candidate-{}", theme.get("themeId").and_then(Value::as_str).unwrap_or("theme")), + "summary": "Possible Aquarium-facing thought-weather note", + "draft": format!("I keep seeing {} rhyme across the swarm; worth inspecting before it becomes either signal or superstition.", theme.get("themeId").and_then(Value::as_str).unwrap_or("an unnamed seam")), + "decision": decision, + "requiresFace": true, + "requiresReview": true, + "createdAt": now_iso(), + })] + }) + .unwrap_or_default() + } else { + Vec::new() + }; + serde_json::json!({ + "schema_version": "epiphany.candidate_interventions.v0", + "updatedAt": now_iso(), + "items": items, + }) +} + +fn topic_saturation_from_syntheses(syntheses: &[Value]) -> Vec { + let mut counts: BTreeMap = BTreeMap::new(); + for synthesis in syntheses { + for topic in synthesis + .get("dominantTopics") + .and_then(Value::as_array) + .into_iter() + .flatten() + .filter_map(Value::as_str) + { + *counts.entry(topic.to_string()).or_default() += 1; + } + } + counts + .into_iter() + .filter(|(_, count)| *count > 1) + .map(|(topic, count)| { + serde_json::json!({ + "topic": topic, + "dominance": round3((count as f64 / syntheses.len().max(1) as f64).min(1.0)), + "recentMentions": count, + "coolingAdvice": "Require fresh evidence or a new angle before surfacing this topic again.", + }) + }) + .collect() +} + fn update_sleep_cycle(previous: Option<&Value>, incubation: &Value, allow_dream: bool) -> Value { let cycle_hours = previous .and_then(|value| value.get("cycleHours")) diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 4b194dcb..8283b715 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -45,7 +45,7 @@ remembers doctrine; the branch remembers the blade. - The role self-memory persistence pass is native now. Each lane has a Ghostlight-shaped typed dossier in `state/agents.msgpack`, and specialists may return optional `selfPatch` requests beside their normal role result. `roleResult`/`roleAccept` project coordinator review as `selfPersistence`: accepted requests are role-matched, bounded lane memory/goal/value/private-note mutations; refused requests explain wrong role, project-truth smuggling, authority grabs, bloat, missing reason, or malformed records. GUI/coordinator accept paths apply accepted `selfPatch` requests through the native `epiphany-agent-memory-store` binary; project truth still belongs only in `EpiphanyThreadState`. - The heartbeat initiative pass is landed as a bounded tool seam. `state/agent-heartbeats.msgpack` tracks Self, Face, Imagination, Eyes, Body, Hands, Soul, and Life as Ghostlight-style initiative participants with arena, participant kind, speed, next-ready time, reaction bias, interrupt threshold, load, status, constraints, history, and pending turns through `epiphany-core::EpiphanyHeartbeatStateEntry` and the native `epiphany-heartbeat-store` binary. Tick/status/complete and idle rumination selfPatch application now run through Rust/CultCache directly. JSON heartbeat state and Python wrapper state are gone; general CultCache schema sync, polyglot domain loading, and debug display tools belong in CultLib. This is a callable scheduler seam, not yet an always-on daemon; a heart valve, not a whole circulatory god. - The first Ghostlight-derived timing slice is landed in Epiphany, but Ghostlight is reference lineage rather than a sibling runtime to preserve. `epiphany-heartbeat-store init --profile ghostlight-scene --scene-id --scene-participant ` creates a typed CultCache MessagePack scene heartbeat store whose participants are `arena=scene`, `participantKind=character`; `tick` emits `ghostlight.initiative_schedule.v0` receipts with `scene_turn` actions and local-affordance basis. The generic Epiphany maintenance lanes are not auto-patched into scene stores. -- The first Void-derived routine slice is landed in Epiphany, but VoidBot is reference lineage rather than a runtime dependency. `epiphany-heartbeat-store routine --store .\state\agent-heartbeats.msgpack --artifact-dir .\.epiphany-heartbeats --agent-store .\state\agents.msgpack` reads typed role dossiers, computes bounded memory resonance, maintains incubation themes, advances the sleep/dream cycle, updates the typed heartbeat store, and emits an auditable `epiphany.void_routine.v0` receipt. This mutates only heartbeat physiology fields: project truth and role memory mutation remain on their reviewed surfaces. +- The first Void-derived routine slice is landed in Epiphany, but VoidBot is reference lineage rather than a runtime dependency. `epiphany-heartbeat-store routine --store .\state\agent-heartbeats.msgpack --artifact-dir .\.epiphany-heartbeats --agent-store .\state\agents.msgpack` reads typed role dossiers, computes bounded memory resonance, maintains incubation themes, runs analytic and associative cognition lanes, writes bridge syntheses/saturation/tension, advances the sleep/dream cycle, updates the typed heartbeat store, and emits an auditable `epiphany.void_routine.v0` receipt. This mutates only heartbeat physiology fields: project truth and role memory mutation remain on their reviewed surfaces. - The Face public-surface pass is landed as a bounded lane. Face's role dossier lives in `state/agents.msgpack`; `epiphany_specialists.toml` gives it a VoidBot-heartbeat-derived prompt stripped of moderation authority; `state/face-discord.toml` and the native `epiphany-face-discord` binary enforce that Face may interact only through #aquarium. Missing channel id or token writes candidate chat artifacts instead of posting elsewhere. - The first Epiphany-native character-loop pass is landed. `epiphany-character-loop turn --role face --stimulus ` loads Face's typed dossier from `state/agents.msgpack` and emits an auditable `epiphany.character_turn_packet.v0` packet with projected local context, visible stimulus, allowed outputs, and guardrails. The same packet builder works for other role ids, because every organ already has a Ghostlight-shaped dossier. - The heartbeat/Face operator API pass is landed. Native `epiphany-heartbeat-store status` returns machine-readable initiative state plus CultCache store presence, native `epiphany-face-discord bubble` writes Discord-independent `epiphany.face_bubble.v0` artifacts, and native `epiphany-mvp-status` includes `heartbeat` and `face` blocks. Aquarium should call native/backend surfaces rather than resurrecting deleted Python action shims. @@ -64,7 +64,7 @@ remembers doctrine; the branch remembers the blade. - The planning loop is now runtime-backed and operator-visible. Typed captures, backlog items, roadmap streams, Objective Drafts, and GitHub issue source refs live in `EpiphanyThreadState`, validate through revision-gated `thread/epiphany/update`, render into prompts when present, project read-only through `thread/epiphany/planning`, render in the GUI Planning panel, can be synthesized by the fixed Imagination/planning lane, and can be explicitly adopted through the artifacted `adoptObjectiveDraft` GUI action. Chat is deliberation, not an objective pipe; ideas and GitHub Issues remain planning state until explicit human adoption. - The bridge/dashboard slice is now landed far enough to test locally. Native `epiphany-rider-bridge` inspects Rider installation, solution, VCS, changed files, and captures file/selection/symbol context into `.epiphany-gui/rider` artifacts; Aquarium has Inspect Rider and renders Rider audit artifacts in Environment; Aquarium also embeds the adjacent EpiphanyGraph viewer over typed `graphs.architecture`, `graphs.dataflow`, and `graphs.links`. - A first Rider plugin scaffold lives under `integrations/rider`: tool window, Refresh status, and Send Context to Epiphany action. It shells through native `epiphany-rider-bridge` and does not own state. `gradle` is not installed on this machine, so the scaffold is not build-verified yet. -- Next real product move: continue Aquarium UI work in `E:\Projects\EpiphanyAquarium`; surface native heartbeat `sleepCycle`, `memoryResonance`, and `incubation`; keep EpiphanyAgent focused on backend contracts, typed state, coordinator policy, bridge tools, heartbeat scheduling, Face guardrails, and the ongoing purification from Python/JSON scaffolding into Rust/CultCache/CultNet organs. Then build-verify/package the Rider plugin scaffold when Gradle/wrapper support is available, install the Aetheria-pinned Unity `6000.1.10f1` editor, and run the next Aetheria dogfood pass through Aquarium/Rider/Unity bridge artifacts. GitHub Issues import is deferred until the backlog source is fresh enough to deserve Imagination's attention. +- Next real product move: continue Aquarium UI work in `E:\Projects\EpiphanyAquarium`; surface native heartbeat `sleepCycle`, `memoryResonance`, `incubation`, `thoughtLanes`, `bridge`, and `candidateInterventions`; keep EpiphanyAgent focused on backend contracts, typed state, coordinator policy, bridge tools, heartbeat scheduling, Face guardrails, and the ongoing purification from Python/JSON scaffolding into Rust/CultCache/CultNet organs. Then build-verify/package the Rider plugin scaffold when Gradle/wrapper support is available, install the Aetheria-pinned Unity `6000.1.10f1` editor, and run the next Aetheria dogfood pass through Aquarium/Rider/Unity bridge artifacts. GitHub Issues import is deferred until the backlog source is fresh enough to deserve Imagination's attention. - The repo is an Epiphany fork of Codex, not a Codex preset. - `vendor/codex` is tracked directly, not a submodule. - `epiphany-core` owns the heavy Epiphany organs where practical. @@ -139,7 +139,7 @@ The current spine, blessed but not yet finished: - distilled shared and config-backed prompt doctrine through the base prompt, rendered Epiphany state prompt files, modeling/Body, implementation/Hands, verification/Soul, reorientation/Life, coordinator/Self, and CRRC intervention surfaces - shared Ghostlight-derived persistent memory projection across Imagination, Body, Soul, Life, Self, CRRC checkpoint steering, and the GUI-launched Hands implementation lane - Ghostlight-derived heartbeat initiative scheduling through the native `epiphany-heartbeat-store` binary, with Self and Face included as first-class Epiphany maintenance participants, Ghostlight scene characters supported through the same timing law, idle rumination routed through normal `selfPatch` review/application, and heartbeat state persisted through typed CultCache MessagePack stores -- Void-derived native routine physiology through `epiphany-heartbeat-store routine`, with sleep cycle, memory resonance, incubation, and dream maintenance stored in the typed heartbeat store +- Void-derived native routine physiology through `epiphany-heartbeat-store routine`, with sleep cycle, memory resonance, incubation, analytic/associative cognition lanes, bridge judgment, candidate interventions, and dream maintenance stored in the typed heartbeat store - Epiphany-native character-loop packet projection through `epiphany-character-loop`, with Face as the first public-surface actor over its typed role dossier - Face as the public #aquarium-only surface for translating agent thought-weather into short chats or candidate drafts, without moderator authority - Ghostlight-shaped role dossiers in `state/agents.msgpack`, plus `selfPatch` review projection through `roleResult`/`roleAccept` and accepted memory application through the native `epiphany-agent-memory-store` binary diff --git a/state/agent-heartbeats.msgpack b/state/agent-heartbeats.msgpack index 49a3e0f2e22a04e6f53de1742d510fb97e4f3e98..d5ec709bb186c43c9af3834ef99fc463169ddb93 100644 GIT binary patch literal 17169 zcmeHOeT*Gfb&mj{s((}nK~?pSY6v8yWasVM^)Bn|0-LqtBunGq?ygXa2ru(y?t5>% z^Od`4?A{n30c{Ahp_9Jn+!Kr20+V}3x%sszz&-tC-IdlBPNsHBt*oiK%zz!OQ*DM)z=0%kT zGs39KjOYvdzWRyJ^!l^kwMb<3;W^WS^vFGr3oxW2_shs>~Sk8xhPH)b(A zho8;J_Pt6FGLu=%Guh=e*Y<2Tb}Kw!%xaB)`J?pbW2=$PDpmZ#EDQOG$J5{JT+(9P zeAHt{q6&T1tQb+n;N~ZBwa7LidydH~R%qQh9vM}KRd9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WGzWLx+d9Wkqa0hg3$xH0-R_%ef3=B33hJ;(5_RNDIobVpG-fRs2*RYT zG#e-oIN@f5qO=^@aGuC;gU&>&(zgeOq%8F!-1=}LSr@!NZ57~sS>^qbYr_3c3#Df| z#rXI!L`*UEG-1uzCTrg@g}DMKSeOgIE6W{Rsb!45;XGWs4$(bP!Q^Bjd8#<&;^I;> zD=jCkNW3$76@Fd%>p?j_!(SpxlTCf}Z0zAVdn|k>tmZF8K%em<){sHeL*)8-I!#iR zhszY>21YPUct*@GQm(iY?LNGg&>nm{Zn}@&!l%hb`erQk)1*aM7!N2V9lcBHmiCr_7L#$sSJf z&PkWqz|>@NpOc@_p45WOf{etxO8vaVlFYJH-Lm}56y2iy(vr-))GbB^MrOJOrn&}Z MA%-SaAY)CV08}w2UjP6A diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index ba51464902a2a456a6427c514062e72adafd4610..d24c97278609e68486dbabfb72a318d0c024d56f 100644 GIT binary patch delta 430 zcmYL`u}%U(5Qc;J2HHD@!iGBzqD1K=(b|Go*xb2U_c(&h7CZZY|NQ?h->UD6>iqQJ`}d=^s8n7)SCz+gK3g9hHm^ESem$=bR(F<0 z#2CXpsklpg<{%YTXpI_#5qio>HiUB|m0&eS;DoYa!k~pg2g)$PO{&sFm}y|jCj(_2 z2U2?(I2Mfg&$`w%G=Yg#>{UBPf6J)DlU4B$>)tO0=?@iqP2Z!@j?u6pQyS&-%}Ku8 z9KT8$8dcnvgm4@|18}!R_&+Vd#aJ1zl(8}h7A2~bUAR{SGVzh6w+l2;>I;z1$PR>d z1R@@zW#x+G2u_R;dV7a$3n0mGp@#ukxD^t&Nd_5b*4vRrkCnprDVeMbXJ4(T)efSI PAZquT=bhp+E+75?&HbWu delta 45 zcmZ2Cjd{Z)<_U^SCw^>Hp2o;nyLlI5!f~;NEk*`LX1WHZx&~$;h9*`9=2oT#Q2>qD B4+;PP diff --git a/state/map.yaml b/state/map.yaml index 777648df..e2b7f5a9 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -66,7 +66,7 @@ active_subgoals: - Keep the landed Phase 6 coordinator, limited safe-boundary CRRC automation, and pre-compaction checkpoint intervention ready for the next bridge-equipped dogfood run. - Preserve the Ghostlight-derived heartbeat initiative seam: every lane, including coordinator/Self and Face, has a role dossier and competes for heartbeat slots through readiness/reaction timing; idle winners ruminate and distill self-memory instead of inventing project work. - Treat Ghostlight as reference lineage, not a sibling runtime to preserve. The useful organ is Epiphany-native character-loop protocol: any role can project its typed dossier plus visible stimulus into a local turn packet, with Face as the first public-surface actor. - - Treat VoidBot as reference lineage, not a runtime dependency. The useful organ is Epiphany-native Void routine physiology: heartbeat state owns sleep cycle, memory resonance, incubation, dream residue, and Aquarium-visible routine receipts over typed role dossiers. + - Treat VoidBot as reference lineage, not a runtime dependency. The useful organ is Epiphany-native Void routine physiology: heartbeat state owns sleep cycle, memory resonance, incubation, analytic/associative cognition lanes, bridge judgment, candidate interventions, dream residue, and Aquarium-visible routine receipts over typed role dossiers. - Preserve review gates for semantic findings; automatic CRRC may compact or launch the fixed reorient-worker, but not accept or promote. - Keep persistent project state ruthlessly distilled so rehydration strengthens the next awakening instead of drowning it in vellum. - Quarantine the Aetheria dogfood contamination: future target-repo work must be driven through Epiphany's GUI/coordinator/fixed lanes with auditable artifacts, not direct supervisor implementation. @@ -133,10 +133,11 @@ accepted_design: - Specialist prompts are role-distilled instead of generic and their live text is config-backed in app-server: modeling/checkpoint is the Body of code, dataflow, seams, and frontier; research/scout is the Eyes prompt surface for existing work, vendor guidance, libraries, papers, and anti-Greenspun source selection; implementation is the Hands, the main coding lane and actuator rather than a `roleLaunch` specialist; verification/review is the Soul of promise, invariants, evidence, and user truth; reorientation is Life across compaction and source drift; coordinator is the read-only Self that routes attention without implementing, verifying, promoting, or accepting; Face is the public Discord #aquarium surface that translates agent thought-weather without moderating or leaking sealed thought. - Epiphany prompt surfaces now carry a shared Ghostlight-derived persistent memory projection before lane-specific text: prompt is not memory, durable typed state is the mind, personality and protected values are first-class salience handles, and every lane is explicitly responsible for making its own memory/model/prompt/evidence habit sharper or naming the needed repair. Each lane states self-improvement in its own rite-language: Imagination selects futures, Body clarifies anatomy, Eyes sees earlier, Hands touches source more precisely, Soul becomes harder to fool, Life loses less continuity, Self routes repair, and Face becomes clearer at turning inner weather into useful social presence. - Specialist self-memory now has a bounded Ghostlight-shaped CultCache persistence surface in `state/agents.msgpack`: Imagination, Body, Eyes, Hands, Soul, Life, Self, and Face each have an individual typed role dossier for identity, personality, semantic/episodic/relationship memory, goals, and values. These entries are lane memory only; project truth remains in authoritative `EpiphanyThreadState`. - - `state/agent-heartbeats.msgpack`, `epiphany-core::EpiphanyHeartbeatStateEntry`, and the native `epiphany-heartbeat-store` binary are the Ghostlight-derived heartbeat initiative seam. The harness sets a target heartbeat rate; participants carry arena, participant kind, initiative speed, next-ready time, reaction bias, interrupt threshold, current load, status, and constraints; pending coordinator work can pull its owning lane through a reaction window; otherwise the earliest ready active participant wins the slot. If the winner has no routeable maintenance work, it ruminates on role quality and can apply a bounded selfPatch directly through the normal coordinator-reviewed memory rules when `--agent-store` and `--apply-rumination` are provided. Face can win `surfaceAgentThoughts` or `discordAquariumChat` work slots. Epiphany also owns native character-loop projection through `epiphany-character-loop`, so role dossiers can respond to visible stimuli without importing Ghostlight as runtime. The same heartbeat store now owns the Void-derived routine fields `sleep_cycle`, `memory_resonance`, and `incubation` through the native `epiphany-heartbeat-store routine` command. + - `state/agent-heartbeats.msgpack`, `epiphany-core::EpiphanyHeartbeatStateEntry`, and the native `epiphany-heartbeat-store` binary are the Ghostlight-derived heartbeat initiative seam. The harness sets a target heartbeat rate; participants carry arena, participant kind, initiative speed, next-ready time, reaction bias, interrupt threshold, current load, status, and constraints; pending coordinator work can pull its owning lane through a reaction window; otherwise the earliest ready active participant wins the slot. If the winner has no routeable maintenance work, it ruminates on role quality and can apply a bounded selfPatch directly through the normal coordinator-reviewed memory rules when `--agent-store` and `--apply-rumination` are provided. Face can win `surfaceAgentThoughts` or `discordAquariumChat` work slots. Epiphany also owns native character-loop projection through `epiphany-character-loop`, so role dossiers can respond to visible stimuli without importing Ghostlight as runtime. The same heartbeat store now owns the Void-derived routine fields `sleep_cycle`, `memory_resonance`, `incubation`, `thought_lanes`, `bridge`, and `candidate_interventions` through the native `epiphany-heartbeat-store routine` command. - `state/ledgers.msgpack`, `epiphany-core::EpiphanyStateLedgerEntry`, the `epiphany-state-ledger-store` binary, and the native `epiphany-state` CLI now own durable branch and evidence ledgers. The old tracked JSON ledger files and the migration/projection CLI hatches are gone. - CultCache inspection, cross-language schema synchronization, and debug display tooling belong in CultLib, not in EpiphanyAgent. Epiphany should consume typed CultCache documents and expose product-specific status through its API, while general polyglot domain loading/inspection lives with the shared CultCache ecosystem. - - VoidBot's current routine is reference lineage only. Epiphany's native routine pass lives in Rust as `epiphany-heartbeat-store routine`: it reads typed role dossiers, projects memory resonance, maintains incubation themes, advances the sleep/dream cycle, and writes an auditable routine receipt while leaving project truth and role memory mutation on their dedicated reviewed surfaces. Qdrant-backed memory vectors remain a future enhancement; the current native pass uses bounded local resonance over typed memories. + - VoidBot's current routine is reference lineage only. Epiphany's native routine pass lives in Rust as `epiphany-heartbeat-store routine`: it reads typed role dossiers, projects memory resonance, maintains incubation themes, runs analytic and associative cognition lanes, writes bridge syntheses/saturation/tension, produces reviewed candidate interventions, advances the sleep/dream cycle, and writes an auditable routine receipt while leaving project truth and role memory mutation on their dedicated reviewed surfaces. Qdrant-backed memory vectors remain a future enhancement; the current native pass uses bounded local resonance over typed memories. + - `epiphany-character-loop` now advertises `epiphany.cognition_lanes.v0` and `epiphany.cognition_bridge.v0` in every character-turn packet. Face and future role-local actors must run an analytic lane and an associative lane, then let the bridge choose bubble, draft, finding, silence, or bounded `selfPatch`; those lanes shape attention but do not mutate project truth. - The Rust CultCache-compatible contract now lives in dedicated upstream `https://github.com/GameCult/cultcache-rs` and is vendored as `vendor/cultcache-rs`. Epiphany should consume it as the canonical typed MessagePack persistence seam instead of growing an embedded local copy like an unsanctioned organ. - `state/face-discord.toml` and the native `epiphany-face-discord` binary are the first Face Discord boundary. Face may interact only through #aquarium; missing or mismatched channel configuration produces candidate chat artifacts instead of posting elsewhere. - The native `epiphany-heartbeat-store status`, the `heartbeat` block in native `epiphany-mvp-status`, and GUI actions `heartbeatStatus` / `runHeartbeat` are the first operator API surface for heartbeat initiative state and outputs. `runHeartbeat` advances one slot and emits a Discord-independent Face bubble artifact. Status now reflects the backing CultCache store so Aquarium can see whether the typed heartbeat memory is present. @@ -195,7 +196,7 @@ landed_baseline: - Phase 6 Face public-surface slice: Face's typed role dossier, Face prompt text, `state/face-discord.toml`, and the native `epiphany-face-discord` binary establish Face as the public #aquarium-only translator of Epiphany agent thought-weather, without VoidBot's moderation authority. - Phase 6 character-loop slice: native `epiphany-character-loop` loads any role's Ghostlight-shaped typed dossier from `state/agents.msgpack`, combines it with a visible stimulus, and emits an auditable `epiphany.character_turn_packet.v0` local projection for response, bubble, finding, silence, or bounded `selfPatch`. Face is the first intended public-surface consumer; Ghostlight is reference material, not a runtime dependency. - Phase 6 heartbeat initiative slice: `state/agent-heartbeats.msgpack`, `epiphany-core::EpiphanyHeartbeatStateEntry`, the native `epiphany-heartbeat-store` binary, and heartbeat smoke coverage borrow Ghostlight initiative scheduling so Self, Face, Imagination, Eyes, Body, Hands, Soul, and Life compete for heartbeat slots; idle slots become bounded memory rumination instead of fake project work, and the live state surface now ticks/completes/applies rumination through typed CultCache MessagePack instead of JSON or Python wrapper state. The same store can now initialize a `ghostlight-scene` profile for character scene turns. - - Phase 6 Void routine slice: native `epiphany-heartbeat-store routine` rebuilds VoidBot-style sleep, resonance, incubation, and dream maintenance inside Epiphany's heartbeat store. It reads typed role dossiers from `state/agents.msgpack`, updates `state/agent-heartbeats.msgpack`, and emits an auditable `epiphany.void_routine.v0` receipt without importing VoidBot or granting speech/project authority. + - Phase 6 cognition-lanes/Void routine slice: native `epiphany-heartbeat-store routine` rebuilds VoidBot-style sleep, resonance, incubation, parallel analytic/associative thought lanes, bridge judgment, candidate interventions, and dream maintenance inside Epiphany's heartbeat store. It reads typed role dossiers from `state/agents.msgpack`, updates `state/agent-heartbeats.msgpack`, and emits an auditable `epiphany.void_routine.v0` receipt without importing VoidBot or granting speech/project authority. `epiphany-character-loop` also carries the same cognition lane/bridge contract for role-local actor turns. - Native runtime spine slice: `epiphany-core::EpiphanyRuntimeIdentity`, `EpiphanyRuntimeSession`, `EpiphanyRuntimeJob`, `EpiphanyRuntimeJobResult`, and `EpiphanyRuntimeEvent` plus the native `epiphany-runtime-spine` binary establish a CultCache-backed spine, native job/result lifecycle, status projection, and framed CultNet hello output so the old Codex app-server runtime can be starved down to a temporary evacuation bridge instead of remaining the throne. guardrails: - Use focused Rust app-server mapper/handler tests plus matching native `epiphany-core` smoke binaries before modifying update, distill, propose, promote, read-projection, or notification behavior. The old Python smoke shims have been cut. @@ -240,5 +241,5 @@ rejected_paths: reason: persistent state that accumulates every local truth becomes memory cruft and weakens rehydration current_status: - summary: Phase 1 durable state through Phase 6 coordinator/specialist/CRRC/backend organs are landed. The Aquarium operator shrine has been split into sibling repo `E:\Projects\EpiphanyAquarium` with its own distilled interface doctrine and persistent memory. EpiphanyAgent now also has a Ghostlight-derived heartbeat initiative seam, Epiphany-native character-loop packets over its own role dossiers, VoidBot-derived native routine physiology in the heartbeat store, a Face lane for public agent thought-weather, and a Discord-independent Face bubble API for Aquarium. Runtime Unity execution remains blocked until the exact project-pinned editor exists. - next_action: Continue Aquarium UI work in `E:\Projects\EpiphanyAquarium`; configure the #aquarium channel id before allowing Face to post; wire Aquarium Face interactions to `epiphany-character-loop` packets before choosing bubble/draft/silence; surface heartbeat `sleepCycle`, `memoryResonance`, and `incubation` from native status in Aquarium; keep EpiphanyAgent changes to backend contracts, typed state, coordinator policy, bridge tools, heartbeat scheduling, and Face guardrails. Keep purging Python/JSON impurity only when the replacement is a typed Rust, CultCache, or CultNet surface with receipts. + summary: Phase 1 durable state through Phase 6 coordinator/specialist/CRRC/backend organs are landed. The Aquarium operator shrine has been split into sibling repo `E:\Projects\EpiphanyAquarium` with its own distilled interface doctrine and persistent memory. EpiphanyAgent now also has a Ghostlight-derived heartbeat initiative seam, Epiphany-native character-loop packets over its own role dossiers, VoidBot-derived native routine physiology and cognition lanes in the heartbeat store, a Face lane for public agent thought-weather, and a Discord-independent Face bubble API for Aquarium. Runtime Unity execution remains blocked until the exact project-pinned editor exists. + next_action: Continue Aquarium UI work in `E:\Projects\EpiphanyAquarium`; configure the #aquarium channel id before allowing Face to post; wire Aquarium Face interactions to `epiphany-character-loop` packets before choosing bubble/draft/silence; surface heartbeat `sleepCycle`, `memoryResonance`, `incubation`, `thoughtLanes`, `bridge`, and `candidateInterventions` from native status in Aquarium; keep EpiphanyAgent changes to backend contracts, typed state, coordinator policy, bridge tools, heartbeat scheduling, and Face guardrails. Keep purging Python/JSON impurity only when the replacement is a typed Rust, CultCache, or CultNet surface with receipts.