Require parent interpreter for persona speech

This commit is contained in:
Meta Vens 2026-06-07 04:18:07 +01:00
commit ccaf856b53
6 changed files with 32 additions and 69 deletions

View file

@ -168,6 +168,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou
- Identity collapse has started. Active bot, worker, MCP repo-identity tools, and Persona CTB scheduler paths now load through the canonical Persona registry and treat repo Discord identities as compatibility projections. Next bounded move is to finish removing remaining direct conceptual dependence on repo identities, then split the Persona turn loop into scheduler, context assembler, prompt renderer, candidate parser, policy gate, and transport adapter.
- Repo Persona child prompts now load the full global Codex `AGENTS.md` as inherited doctrine near the top of each Persona turn. This deliberately carries the Prime Directive, rebuild contract, humor doctrine, infrastructure habits, Epiphany stewardship, and Great Colossus mission frame into Persona cognition rather than relying on a local summary shard.
- Repo Persona child turns now preserve Discord media context. `SourceMessage` carries attachment metadata, heartbeat Discord fetch caches image attachments under `.voidbot/media/discord-images`, Persona transcripts show `[media: image ... local=...]`, and owner Codex receives cached images through `codex exec --image`. Non-image attachments are visible as metadata only; Personas are explicitly told not to pretend they saw images unless a local image path was attached.
- Repo Persona reply anchoring is parent-owned. The worker no longer has the old raw-`Would say` fallback that manufactured a `SAY` block when the parent Interpreter failed to return parseable structured output. A child Persona's natural `Would say` is candidate material only; public speech requires a structured parent `SAY` block, with `reply_to` preserved when an older side thread needs anchoring. `npm run agents:parent-interpreter-boundary-smoke` guards this after Mimir posted an orphan "Meet her first" line in `#general`.
- After those gates exist, run dry/mock Persona turns before re-enabling `GameCult Local Orchestrator`.
- The direct-ask receipt check remains important, but it is no longer the next move while the swarm is offline.
- Next cuts should delete unstable foundations early: do not revive `legacyJsonPath`, working projections, top-level mirror fields, or cleanup code that only compensated for those broken boundaries.