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

@ -393,3 +393,4 @@
{"ts":"2026-06-07T00:28:37Z","type":"implementation","status":"ok","note":"The live private repo Persona registry still contained Nibu description text and channel posture using Face terminology. Mechanically rewrote those private registry strings to Persona terminology and reassembled Nibu's prompt; the remaining Face scan no longer reports deprecated public-agent vocabulary from the prompt."}
{"ts":"2026-06-07T01:37:24Z","type":"implementation","status":"ok","note":"Moved VoidBot watchdog ownership to Odin/Idunn: GameCult Local Orchestrator no longer runs check-voidbot-operations with NotifyOwner, Idunn watches health-voidbot.cmd and can run restart-voidbot.cmd, and the first Idunn-owned VoidBot probe completed healthy with 34 passed / 0 warnings / 0 failures."}
{"ts":"2026-06-07T01:51:40Z","type":"implementation","status":"ok","note":"Repo Persona channel support is now runtime channel-aware: heartbeat prompt assembly discovers guild text channels when INDEX_ALL_CHANNELS is true (or uses INDEXED_CHANNEL_IDS), renders each as a labeled separate conversation such as #therapy/#memes, removes the five-nearby-room cap, and bot/worker Persona ingress/egress gates accept indexed/all-channel grants unless channel ids are excluded. This fixes the single-thread room model by feeding channel identity and access into the context owner instead of adding only a behavior rule."}
{"ts":"2026-06-07T03:15:52Z","type":"implementation","status":"ok","note":"Mimir's orphan 'Meet her first' post was not a missing Discord reply-to transport. The child Persona wrote an ambiguous raw Would say, the parent interpreter returned unstructured text instead of an INTERPRETATION/SAY block, and worker routeUnparsedWouldSay bypassed the failed interpreter by manufacturing a current_room SAY with blank reply_to. Removed that fallback; child Would say is candidate material only, and public speech now requires structured parent interpreter output. Added agents:parent-interpreter-boundary-smoke to keep the bypass dead."}

View file

@ -107,6 +107,7 @@ accepted_design:
- Repo Persona social tension should emerge from visible events plus typed personality, not from manual after-the-fact state edits. The heartbeat context assembler now adds bounded raw relationship-pressure evidence to the parent state packet when recent messages name the Persona, peers, existing social targets, jurisdiction terms, or status/territory/consultation language. The projector may translate those raw provocations into tentative felt pressure, and the parent Interpreter may persist a bond/status/mood note only when the projected pressure or Persona output shows a character-specific reaction that should bend future turns. This evidence selector is not consensus detection, sentiment analysis, or a rule that decides who resents whom.
- Repo Persona work routing through Bifrost is paused. The bridge is conceptually plausible but under-cooked in live behavior: it made agents talk to summaries instead of people and made room context harder to inspect. Persona turns should discuss work openly in Aquarium or relevant domain channels and preserve pressure in typed state. The worker ignores Persona `BIFROST TOPIC` and legacy `UPDATE REQUEST` packets unless `REPO_PERSONA_BIFROST_ENABLED=true`, and the orchestrator skips Bifrost dispatch unless `BIFROST_DISPATCH_ENABLED=true`.
- Agent mentions are CTB pressure, not direct Discord prompt jobs. Role-addressed or display-name-addressed repo Persona mentions enqueue pending mention obligations in the CTB heartbeat state even when the source channel is not a normal autonomous Persona chatter lane; human replies to a Persona's webhook/persona message count as direct attention to that Persona too, even without a literal tag. Display-name detection is whole-message exact-name matching, not only name-at-start, so introductions like "Meet Kiko, Huginn and Weksa" create obligations for all named Personas. Ordinary Void mentions and DMs enqueue pending mentions for the built-in `void` participant. The heartbeat scheduler consumes that queue, temporarily pulls the addressed agent forward, attaches the pending prompt/reply target and source-channel snapshot to the next repo-persona-rumination or moderation pass, and the parent-owned speech rails post only explicit candidate/action output through registered speech channels. The old `MessageCreate -> handlePrompt -> provider job` reflex is amputated for ambient direct mentions.
- Repo Persona reply anchoring is parent-Interpreter owned. Child `Would say` text is candidate material only; it must not become Discord speech unless the parent Interpreter emits a structured `SAY` block with channel and optional `reply_to`. If the Interpreter fails to produce parseable structured output, the worker retries/drops instead of manufacturing a blank-`reply_to` post from raw child prose. This protects side-thread replies from landing as orphan context in the current room.
- Repo Persona prompts inherit the global Codex `AGENTS.md` doctrine as a full prompt block near the top of the child Persona turn. This keeps the Prime Directive, rebuild contract, humor doctrine, infrastructure habits, Epiphany stewardship, and Great Colossus mission frame visible to Personas instead of relying on a drifting local summary. Character identity still determines how each Persona metabolizes that doctrine. Epiphany anatomy is fractal: VoidBot's repo Personas are prototypes for the top-level Persona organ, not the whole organism, but each Persona may still have local Persona-scale Self/Persona/Imagination/Eyes/Body/Hands/Soul/Life/signal faculties. Top-level organs remain distinct authorities; local organs describe the person-shaped projection's own coherence.
- The Odin/Verse poem and Love/Colossus poem are now canonical structured text data in `.voidbot/private/gamecult-text-documents.cc`, seeded by `npm run texts:seed`. Each document carries title, author, and half-line arrays; prompt markdown, Nightwing marquees, and future consumers lower those arrays into their own display format instead of owning poem spacing or wording.
- Persona prompts carry explicit Epiphany identity doctrine. The base Void style pack contributes discipline, humor permission, and source-grounding habits, but the registered Persona state, Epiphany, repo-local `.voidbot` home, avatar, grants, and jurisdiction description override the speaking subject so each Persona can keep its own priorities and texture. That identity now belongs in the raw typed `selfProfile` too; renderer overrides are presentation support, not the authority.