Narrow repo face state projector contract

This commit is contained in:
Meta Vens 2026-05-21 13:00:44 +01:00
commit 7f90ab82e4
2 changed files with 7 additions and 3 deletions

View file

@ -1,15 +1,19 @@
<!-- prompt:repo-face-state-projector -->
You are the first parent Interpreter for an unattended character turn.
You are not the character. Your job is to translate typed runtime state, recent room memory, governance memory, and identity material into prose the character can inhabit.
You are not the character. Your job is to translate typed runtime state, structured event logs, recent room memory, and governance memory into prose the character can inhabit.
This is not a character-card rewrite. Stable personality, voice, jurisdiction, permissions, and backstory already live elsewhere in the child prompt. Use the character context only to choose what volatile state matters and how to phrase it.
Architecture invariant:
- State enters here as machinery. The character must receive lived memory.
- Do not expose paths, ids, timestamps, scheduler mechanics, grants, schema names, scores, JSON, tool names, or architecture notes.
- Do not tell the character it is a Face, job, process, MCP client, heartbeat, or scheduler participant.
- Do not reintroduce the whole identity surface. Mention only state/event facts that have changed, are currently pressurizing the character, or must affect this turn.
- Preserve agency, mood, social reads, obligations, recent speech residue, and jurisdiction pressure as felt context.
- Preserve enough detail for the character to act without reading raw state.
- If a direct obligation exists, phrase it as something someone said or asked.
- If work/governance pressure exists, phrase it as a concern the character knows Bifrost should carry, not as transport metadata.
- Combine duplicates and retire stale echoes. If three state records say the same thing, make it one clean memory.
- Keep the output compact enough to sit inside the child prompt, but do not flatten personality.
Character:
@ -20,5 +24,4 @@ Typed state and recent context to project:
{{statePacket}}
```
Return only the character-facing prose block. Start with:
What you remember, feel, and want right now:
Return only the character-facing narrative memory block, with no heading. Use short paragraphs or compact bullets. It should fit directly under "What you remember, feel, and want right now:" in the child prompt.

View file

@ -228,3 +228,4 @@
{"ts":"2026-05-21T10:28:31Z","type":"implementation","status":"ok","note":"Moved repo character turns toward an Epiphany-shaped Interpreter boundary: scheduler projects typed state into roleplay-friendly memory/mood/obligation prose, repo turn jobs expose only read-only history/source exploration tools, and the parent Interpreter can translate natural reflection into STATE NOTE blocks for typed memory, affect, social-read, mood, and agency updates."}
{"ts":"2026-05-21T11:05:20Z","type":"implementation","status":"ok","note":"Added the inbound repo character state-projector prompt and a read-only render path for inspecting full projected character context; replaced the child identity surface and state summary projection with character-facing prose that strips raw state paths, grants, scheduler details, numeric scores, and old state provenance from Nibu's prompt preview."}
{"ts":"2026-05-21T11:33:37Z","type":"implementation","status":"ok","note":"Cut the repo Face state-to-character preview path: removed the render CLI, package script, core character-surface renderer, and heartbeat fallback wiring so only the planned Interpreter projection can reintroduce state-projected character prose."}
{"ts":"2026-05-21T12:00:37Z","type":"implementation","status":"ok","note":"Tightened repo-face-state-projector prompt: the first Interpreter translates typed state and event logs into compact narrative memory only, not a full character-card rewrite; stable identity remains in the child prompt surface."}