From ba6143245266f74c94ae5e07c0dc5d5ac241bc5b Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 6 May 2026 19:41:10 +0100 Subject: [PATCH] Distill rumination aftercare doctrine --- notes/fresh-workspace-handoff.md | 1 + state/agents.msgpack | Bin 20750 -> 21627 bytes state/ledgers.msgpack | Bin 52401 -> 52724 bytes state/map.yaml | 2 ++ 4 files changed, 3 insertions(+) diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 3117685d..806e08c5 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -46,6 +46,7 @@ remembers doctrine; the branch remembers the blade. - 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, runs analytic and associative cognition lanes, writes bridge syntheses/saturation/tension, projects the active thought cluster through each role's Ghostlight-shaped personality vectors, derives participant-local reactions, 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. +- Manual rumination now has an explicit aftercare rule. A heartbeat/routine vigil is only physiology until a separate distillation pass reviews the receipts and decides whether map, handoff, evidence, or role self-memory should change. Do not mistake repeated `routine` cycles for doctrine just because the machine looked thoughtful while doing it. - 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, thought appraisals, and derived reactions; 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. diff --git a/state/agents.msgpack b/state/agents.msgpack index e6bd0916130503696c20873a111d917cadf3c526..edce33b572fc9bf13c0bc218c74e4b675f44949f 100644 GIT binary patch delta 911 zcmZXSv1=4T6vo*Ej7B9Ok)R?x2?~;1xkM8sYH?8sib6yyA;{d!+uI?tGn<*&oNIF+ zf?%P-3R`M3A95qY#w&L8Yz=qvLk zVV*YJ>eJ^_1F2nFVzao+k(xNt3P=g2u?g+eG?^Bpq!UMPN6nG$u1RbY7rKKWkSj*C zS|v@I+Q(18tuC4BoVe*$adl)ueBE4pGk$yXEheUXEiLOjTfyGt#$R1U$!L{>i?b*q zmms0*R#L&qLuJegur{fn9ZQ8!4JxOT57nUWu&?`M+nJ#Fwf!KW-936S=-ho(HOWi3 zN2u(x-J%g{MB)Cyy6&luy+1% z6{utrEqOr;W~rcp_G4)cC^EuCQ4NT#C@I%~oU?{Dta8wQ|7q%-Qh*8UR+z2HC{s8H zH6)qyRVbU}23ba^_G%!j`lv`ch<6dr9vb zP^0E_hB^ULo0gF2jD(;WA=F)*T5>e$au5TQWD*OML+ix@8X^YGIthy$MULKx2QMsM zLK{j+A~ZVWP-|aORplUAxukL+7O6wo;i`Uv4RJSsy%3z0{u&Gsm-avk6K@?01Ahzz nolFg~gG%csa;db}RYEq)(%d>6%wC3SIPR;Rz8atWfAI7d0C|N0 delta 45 zcmew|n|b3*<_U^SXDT-;Ph(`P-@J?Q;VH3(Ek*`LX1WHZx&~$;h9*|V##W{VQ2>~i B4`%=X diff --git a/state/map.yaml b/state/map.yaml index 000eeae9..1ad9672c 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -37,6 +37,7 @@ invariants: - Rejected paths stay recorded when the scar teaches future hands. - Algorithmic-map prose and metaphor must be grounded in freshly read source context and concrete code references. - Persistent state cruft is the same failure class as code cruft: corrosion in the mind instead of corrosion in the hull. + - Rumination is not distillation by itself. Heartbeat physiology may shuffle memory resonance, thought lanes, appraisals, reactions, sleep, and dreams, but the machine has not learned doctrine until a review pass decides what belongs in map, handoff, evidence, or role self-memory. - If compaction interrupts source gathering or slice planning before the findings are persisted, the next agent must treat that work as dead and re-gather instead of continuing from imagined continuity. - During Epiphany dogfood on another repo, the supervising Codex session must not masquerade as the Epiphany worker. Direct target-repo edits or commits are contamination unless explicitly authorized and labeled as operator intervention. - During dogfood supervision, raw worker transcripts, turn logs, direct worker messages, and `rawResult` payloads are sealed forensic artifacts. The supervisor consumes only projected findings, state patches, coordinator recommendations, rendered snapshots, and audit receipts unless the user explicitly requests forensic debugging. @@ -69,6 +70,7 @@ active_subgoals: - 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. + - After any manual or automated rumination vigil, run an explicit distillation pass: inspect receipts, decide whether the lesson is durable, update only the persistent surfaces that deserve it, and record evidence only when future behavior should change. - 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. - Keep the supervisor out of Epiphany worker thought streams: dogfood artifacts should be operator-safe by default, with direct transcripts and raw result payloads sealed in black reliquaries. - Use native `epiphany-agent-telemetry` and generated `agent-function-telemetry.json` files to inspect behavior shape without opening sealed transcripts.