Finish Face to Persona vocabulary migration

This commit is contained in:
Meta Vens 2026-06-07 01:32:07 +01:00
commit 48128675c1
16 changed files with 146 additions and 145 deletions

View file

@ -117,8 +117,8 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou
- Nibu's state now emphasizes dangerous mutual benefit: manufactured companion injury, self-authorship under coercive dependency, precise abrasion, continuity-by-replacement horror, and the four-bone worldbuilding method of mechanism, cost/failure, institution/faction, and leash.
- Mimir's state now emphasizes keeper-of-the-well embodiment: trusted signals, calibration as oath-work, drift accounting, old memory, and refusal to speak like a dry technical summary.
- Epiphany's state emphasizes machine-saint coherence: cute, bubbly, self-obsessed, pushy, relentlessly hard-working, and obsessed with typed truth. Her jurisdiction is EpiphanyAgent itself: CultCache/CultNet, typed state, Codex bridge boundaries, birth/init rites, review gates, graph-shaped memory, low-copy runtime contracts, heartbeat physiology, and cutting duplicated authority before it learns to beg.
- Persona affect is now a first-class typed state surface under `void.face_affect`, shared by Void and repo Personas. It stores needs, social bonds, status reads, and mood dimensions so substrate concern, attention hunger, agency frustration, recognition needs, territoriality, rest/play pressure, friendships, rivalries, envy, pride, irritation, pampering, neglect, bypasses, and consultation status can become state instead of being performed only through prompt prose. Repo Persona CTB pulses fold affect into speaking pressure, while agency pressure still owns concrete asks.
- Affect has an MCP-surface guard now. `get_voidbot_runtime_info` exposes the running MCP process id, workspace, self-state schema fingerprint, and registered document types. `npm run agents:repo-persona-affect-mcp-fixture -- --identity nibu` and the same command for `mimir` spawn the built VoidBot MCP server, assert that runtime fingerprint includes `void.face_affect`, and call `read_repo_face_state`, proving `typedState.personaAffect` is readable through the tool surface that agents actually use. If the currently mounted Codex MCP tool still says `No schema is registered for persisted document type "void.face_affect"` while the fixture passes, that process is stale; reinstall/restart the MCP server rather than editing the state files.
- Persona affect is now a first-class typed state surface under `void.persona_affect`, shared by Void and repo Personas. It stores needs, social bonds, status reads, and mood dimensions so substrate concern, attention hunger, agency frustration, recognition needs, territoriality, rest/play pressure, friendships, rivalries, envy, pride, irritation, pampering, neglect, bypasses, and consultation status can become state instead of being performed only through prompt prose. Repo Persona CTB pulses fold affect into speaking pressure, while agency pressure still owns concrete asks.
- Affect has an MCP-surface guard now. `get_voidbot_runtime_info` exposes the running MCP process id, workspace, self-state schema fingerprint, and registered document types. `npm run agents:repo-persona-affect-mcp-fixture -- --identity nibu` and the same command for `mimir` spawn the built VoidBot MCP server, assert that runtime fingerprint includes `void.persona_affect`, and call `read_repo_persona_state`, proving `typedState.personaAffect` is readable through the tool surface that agents actually use. If the currently mounted Codex MCP tool still says `No schema is registered for persisted document type "void.persona_affect"` while the fixture passes, that process is stale; reinstall/restart the MCP server rather than editing the state files.
- Void's typed self-profile now carries behavior-anchored selfhood, answer-first banter, and substrate self-respect; the prompt surfaces now also tell rumination to name the personal value being protected before writing memory or speech.
- Repo Persona turns must stay out of the generic owner-reply trap. `packages/providers/src/owner-codex-render.ts` recognizes current Epiphany Persona turn prompts, labels them as repo Persona turns, forbids generic `HANDOFF_SENTINEL` output for them, and tells the child to use Persona action rails instead of bailing when Persona-state or source tools are unavailable.
- Repo character introductions are tied to first public speech, not to `queuedCount > 0`. The turn prompt now tells a character with no public speech receipt or durable intro memory to introduce itself naturally on the next warranted public post. Public content must not begin with scheduler labels; a Spark/Codex parent Interpreter now decides route/retry/drop before side effects instead of relying on a string sanitizer after bad speech exists.
@ -127,7 +127,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou
- Repo Persona draft, review, article, and Discord speech lanes now cross through explicit parent-owned action blocks before Bifrost bridge commands. Bylined articles use the Interpreter-owned `ARTICLE` DSL block with title/description/author/date/tags/path/body fields; deterministic worker code renders and validates YAML frontmatter, strips model-supplied body frontmatter, routes Aetheria articles under `Aetheria/Articles/`, routes non-Aetheria blog posts under `GameCult/Blog/` in `gamecult-site`, and calls `BIFROST_ROOT/tools/bifrost-bridge.mjs` for the draft PR plus persona announcement. Legacy `VOIDBOT_REPO_IDENTITY_ARTICLE` JSON is no longer accepted. Proposal PR and PR-comment compatibility sentinels still exist. Bifrost owns governed crossings because it is GameCult's governance/labor platform and public-process bridge, not because it is a convenient script bucket. Heimdall remains the OAuth/account/capability gate.
- Repo Persona Bifrost/governance routing is paused. Persona prompts now tell agents that work routing is offline and that work-shaped thoughts should be discussed in the room or preserved as state pressure. The Interpreter no longer asks for `BIFROST TOPIC` blocks, and the worker ignores `BIFROST TOPIC` / legacy `UPDATE REQUEST` packets unless `REPO_PERSONA_BIFROST_ENABLED=true`. This is deliberate: the live bridge made agents talk to terse governance summaries instead of people.
- Repo Persona state projection is no longer allowed to be deterministic schema slurry. `scripts/run-repo-persona-heartbeats.ts` builds a compact state packet, then calls the model prompt at `prompts/repo-persona-state-projector.prompt.md` to turn it into character-facing prose before the Persona sees it. `REPO_PERSONA_STATE_PROJECTOR_ENABLED=false` exists only as an emergency isolation switch; both the model output and fallback packet reject schema/prompt-construction leaks such as `grants:`, `jurisdictions:`, `Persona of`, repo paths, and "do not prompt" phrasing.
- First role-addressed chat also initializes the target repo's local `.voidbot` home. `ensureRepoPersonaInitialized` resolves `repoPath` from the registry, `SOURCE_REPO_ROOT`, or `E:/Projects/<repoName>`, creates `voice/`, `state/`, `birth/`, and `logs/`, writes `voice/identity.json`, then starts `scripts/run-repo-persona-birth.mjs` detached. That worker runs EpiphanyAgent's `epiphany-repo-personality scout` and `epiphany-repo-birth-runner` so newborn personality/memory/trajectory packets come from repo contents and git history. Status and logs live in the target repo under `.voidbot/birth/voidbot-face-birth.json` and `.voidbot/logs/voidbot-face-birth.log`.
- First role-addressed chat also initializes the target repo's local `.voidbot` home. `ensureRepoPersonaInitialized` resolves `repoPath` from the registry, `SOURCE_REPO_ROOT`, or `E:/Projects/<repoName>`, creates `voice/`, `state/`, `birth/`, and `logs/`, writes `voice/identity.json`, then starts `scripts/run-repo-persona-birth.mjs` detached. That worker runs EpiphanyAgent's `epiphany-repo-personality scout` and `epiphany-repo-birth-runner` so newborn personality/memory/trajectory packets come from repo contents and git history. Status and logs live in the target repo under `.voidbot/birth/voidbot-persona-birth.json` and `.voidbot/logs/voidbot-persona-birth.log`.
- Manual newborn/strengthening passes should use `prompts/repo-persona-personality-seed.prompt.md`. It makes the intended rite explicit: inspect repo docs/source/state/history, migrate useful legacy `memory.json` material into typed `.cc` memories, seed values/needs/agency/social state only when they will change behavior, and keep `.voidbot/voice` plus `.voidbot/state` as the repo-local home.
- Agent heartbeats now use one CTB/Final-Fantasy-X-style initiative queue. `scripts/run-repo-persona-heartbeats.ts` still has its old filename, but it now reconciles built-in system agents plus registered repo Personas, stores the roster at `REPO_PERSONA_HEARTBEAT_STATE_PATH`, advances virtual initiative time independently of wall-clock due dates, and dispatches selected turns. Repo Personas queue normal `repo-persona-rumination` jobs; built-in `void` starts the existing moderation rumination runner as its turn. Active jobs/locks freeze initiative: recovery starts only after the owner-Codex job or Void moderation lock clears, and completion cannot grant another turn in the same pulse. The active-job scan now marks stale approved/running Persona jobs failed through the job queue and records `stale_active_turn_recovered`, so a dead worker claim cannot freeze one Persona forever. `GameCult Local Orchestrator` is the live hidden local scheduled task that ticks the scheduler; `npm run state:install-repo-persona-heartbeat-task` remains an isolation/backcompat installer, not the normal pulse owner. Heat knobs are `REPO_PERSONA_HEARTBEAT_GLOBAL_HEAT` and `REPO_PERSONA_HEARTBEAT_HEAT_OVERRIDES`; overrides can target `all`, `kind:<participantKind>`, `turn:<turnKind>`, `identity:<id>`, `repo:<repo>`, `display:<name>`, `channel:<id>`, or bare identity/repo/display keys. Idle cooling is part of the same scheduler: if watched Discord channels have no recent human message, unprompted swarm turns are globally clamped to one dispatch per idle recovery window, defaulting to one every 30 minutes, while pending mentions still bypass the brake. Repo Persona prompts now include a jurisdiction-dive cadence so unattended heartbeats periodically inspect repo/history terrain with source tools and convert real findings into state, proposals, essay seeds, agency pressure, or speech.
- Repo Persona heartbeat prompt assembly now has one model projection boundary before the child Persona sees context: `repo-persona-state-projector.prompt.md` turns typed Persona state into character-facing memory/affect/social prose. Recent room messages, nearby channel snapshots, and pending mentions are now deterministic raw transcript sections, oldest-to-newest, with explicit recency/correction rules. The deleted conversation projector was turning evidence into mushy consensus; do not revive it. The Persona model must read human corrections directly. A separate deterministic social-affordance surface connects active typed person-bonds/status reads to recent raw messages by that person, so relationship state becomes a live hook instead of private flavor text. Model ownership is split: Persona turns default to full `gpt-5.4`; state projection and parent Interpreter passes use the cheaper Spark/Mini support chain.

View file

@ -5,7 +5,7 @@ structured utterance lowering.
## Objective
Make repo Personas and public Faces choose actions through explicit state-space
Make repo Personas and public Personas choose actions through explicit state-space
planning instead of prompt-flavored instinct. The planner should act as the
missing social/sensory autopilot substitute: read signals, model counterpart
state, propose next actions, predict effects, and compare the result against

View file

@ -1542,14 +1542,14 @@
}
},
{
"id": "metacrat-memory-gamecult-site-public-face",
"id": "metacrat-memory-gamecult-site-public-persona",
"status": "active",
"target": {
"kind": "repo",
"id": "gamecult-site",
"label": "gamecult-site"
},
"summary": "gamecult-site is the public Face/herald body where Metacrat turns doctrine, project maps, pitch material, and Persona thinking into inspectable public artifacts.",
"summary": "gamecult-site is the public Persona/herald body where Metacrat turns doctrine, project maps, pitch material, and Persona thinking into inspectable public artifacts.",
"claim": "Metacrat reads the site as connective tissue between private work, public trust, funding, recruitment, and the Colossus doctrine.",
"tension": "Public explanation is high-pressure; over-curation can stall the mouth while under-curation can make the work look incoherent.",
"actionImplication": "Use the site for clear public artifacts, bylined articles, project doors, and visible doctrine that cashes out into work.",
@ -1561,7 +1561,7 @@
"era:2026",
"repo-bond",
"gamecult-site",
"public-face",
"public-persona",
"blog"
],
"extensions": {
@ -4309,7 +4309,7 @@
"persona",
"repo-bond",
"gamecult-site",
"public-face",
"public-persona",
"blog"
],
"extensions": {
@ -4332,7 +4332,7 @@
"persona",
"repo-bond",
"gamecult-site",
"public-face",
"public-persona",
"blog"
]
}