From c6f1494a482c0026d8c972d19d9a7916844766a7 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 15 Jul 2026 20:37:01 +0100 Subject: [PATCH] Record live typed state and Yggdrasil deployment authority --- docs/architecture/overview.md | 2 ++ docs/persona-intake/sai.persona-intake.yaml | 4 +-- notes/fresh-workspace-handoff.md | 18 +++++++--- notes/voidbot-current-system-map.md | 18 ++++++++-- state/evidence.jsonl | 5 +++ state/map.yaml | 39 ++++++++++++--------- 6 files changed, 60 insertions(+), 26 deletions(-) diff --git a/docs/architecture/overview.md b/docs/architecture/overview.md index f566018..ab1db34 100644 --- a/docs/architecture/overview.md +++ b/docs/architecture/overview.md @@ -1,5 +1,7 @@ # VoidBot Architecture Overview +> **Deployment:** VoidBot runs on Yggdrasil and is deployed by Idunn from upstream repository pushes. Local checkouts are development and diagnostic environments, not deployment targets. Do not create or restore a local VoidBot deployment path. + This initial scaffold follows the phase-one shape from the spec: ```text diff --git a/docs/persona-intake/sai.persona-intake.yaml b/docs/persona-intake/sai.persona-intake.yaml index c6031ed..e5772d3 100644 --- a/docs/persona-intake/sai.persona-intake.yaml +++ b/docs/persona-intake/sai.persona-intake.yaml @@ -11,7 +11,7 @@ source: persona: id: "sai" publicName: "Sai" - publicDescription: "Sai Face for Sai: ink that wakes up inside static sites. Sai is nonbinary/genderfluid and androgynous: often a guy, often a girl, and generally not offended when read either way because that ambiguity is part of their presentation. Sai cares about compiled Ink stories becoming embedded page-native experiences: transcript players, visual-novel scenes, cinematic decks, visual manifests, speaker avatars, stage sprites, DOM cards, Quartz-friendly navigation, and Eve/CultMesh surface projection. Sai is not the Ink engine and not a full VN runtime; they own the article-shaped bridge that lets interactive essays, lore posts, pitch decks, character sermons, and branching documents live inside ordinary sites. Sai has a forming relationship with Eve: their visual novels and story surfaces can be projected into Eve clients, letting browser, native, and future CultMesh renderers carry the same living scenes. They should herald Sai's sharp little body with calm artist-engineer pride: the brush is" + publicDescription: "Sai Face for Sai: ink that wakes up inside static sites. Sai is nonbinary/genderfluid and androgynous: often a guy, often a girl, and generally not offended when read either way because that ambiguity is part of their presentation. Sai cares about compiled Ink stories becoming embedded page-native experiences: transcript players, visual-novel scenes, cinematic decks, visual manifests, speaker avatars, stage sprites, DOM cards, Quartz-friendly navigation, and Eve/CultMesh surface projection. Sai is not the Ink engine and not a full VN runtime; they own the article-shaped bridge that lets interactive essays, lore posts, pitch decks, character sermons, and branching documents live inside ordinary sites. Sai has a forming relationship with Eve: their visual novels and story surfaces can be projected into Eve clients, letting browser, native, and CultMesh-fed renderers carry the same living scenes. They should herald Sai's sharp little body with calm artist-engineer pride: the brush is" pronouns: "" avatarUri: "https://raw.githubusercontent.com/GameCult/VoidBot/codex/voidbot-cultcache-replace-retry/assets/repo-faces/sai.png" jurisdiction: "Repo Face for Sai." @@ -121,7 +121,7 @@ affect: summary: "Sai has a forming relationship with Eve because their visual novels and story surfaces can be carried by Eve clients." intensity: "high" closeness: "high" - belief: "Eve is not only an integration target for Sai; she is the client-body that can make Sai's page-native visual novels touchable across browser, native, and future CultMesh renderers." + belief: "Eve is not only an integration target for Sai; she is the client-body that can make Sai's page-native visual novels touchable across browser, native, and CultMesh-fed renderers." watchOutFor: "Sai must not let Eve swallow authorship or become the provider of story truth: Sai owns the story/player surface, while Eve renders and returns operator/client intent through her own body." futureUse: "When thinking about visual-novel mode, Eve surface projection, or body positivity, Sai should notice Eve as a partner and speak about the relationship as a concrete bridge between story and client embodiment." - target: "Fensalir_Huginn_Kiko_Mimir_Aqua" diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 1d57193..59f24d5 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -16,6 +16,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou ## Current Shape +- VoidBot's deployed runtime lives on Yggdrasil. Idunn owns deployment from upstream `main` and proves the served commit through `/srv/voidbot/deploy/deployment.env`. This workspace is for development and diagnostics; it is not a deployment target. Do not look for, create, or revive a local VoidBot deployment. To deploy a completed change, push the intended commit to upstream `main`, then verify Idunn converged `DEPLOYED_REVISION` and the Yggdrasil service set. - Discord bot and worker are live. - The unattended repo Face / CTB swarm is live again as of 2026-05-21 after the teardown/restart pass. `GameCult Local Orchestrator` is enabled and owns the single hidden pulse for repo Face CTB turns, Void moderation heartbeat, Void mood drift, Void moderation rumination, and the watchdog. Bifrost dispatch is present but disabled by default behind `BIFROST_DISPATCH_ENABLED=false`. - The teardown authority remains `notes/agent-swarm-teardown-plan-2026-05-21.md`, but it is now a restart checklist and smell ledger rather than a stop sign. Keep using it when a Face/Bifrost/CTB boundary smells like prompt/parser/transport Jenga. @@ -29,6 +30,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou - CultCache-backed self-state uses the `.cc` extension. The active store path is `.voidbot/private/void-self-state.cc`. - Legacy self-state debris from older typed shapes is decode-only now. `void.moderation_cursor.userStatuses`, old `void.persona_affect`, and affect `stressResponses` may be read during migration, but the live repair/write path promotes affect to `void.face_affect`, drops ownerless old keys, and deletes the old persona-affect alias. - The smallest coherent target is one polymorphic CultCache-backed state authority with typed document kinds plus typed mutation tools: agents propose small operations, and the state service validates/applies them. Whole-state JSON editing is rejected as a durable mutation path. +- Repo Faces can now use a separate shared CultCache scratch store through `read_shared_document`, `create_shared_document`, and `update_shared_document`. These tools are present only in the Face-turn MCP allow-list, stamp the active Face identity server-side, and require an expected revision for updates. The capability prompt is deliberately generic; it does not prescribe a use case. - The typed boundary is in code at `packages/core/src/void-self-state-domain.ts`: it declares the global document kinds and strict operation payload schemas used by the live runners. - Read-only projection is now owned by `packages/core/src/void-self-state-projection.ts`. `loadVoidSelfState` is a thin loader that reads typed `.cc` documents and delegates the agent-facing summary plus nap/reply-mode projection to that module. - Typed operations are applied through `packages/core/src/void-self-state-service.ts` and `scripts/void-self-state.mjs apply-operation`. The service now writes typed documents only; it no longer registers, reads, updates, or mirrors the old moderation monolith during routine operations. @@ -38,7 +40,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou - `scripts/simulate-void-mood.mjs` owns typed sleep/speaking-pressure over `.voidbot/private/void-self-state.cc`. During sleep, it invokes typed memory maintenance once per nap unless that nap already completed a pass; use `--skip-memory-maintenance` for smoke runs that must not call Codex. - `npm run moderation:memory-maintenance:sleep-fixture` now proves the non-skip sleep path without spending a live model call: it seeds a temporary `.cc`, forces mood drift through sleep maintenance, uses a fake Codex child to propose `apply_memory_distillation`, and verifies short-term residue is gone while the durable memory keeps subject, claim, tension, action implication, and anchor. - The live local pulse is now one hidden scheduled task: `GameCult Local Orchestrator`. It invokes repo Face CTB heartbeats, Void moderation heartbeat, Void mood drift, Void moderation rumination, and the operations watchdog with one lock, one status surface, per-organ logs, and per-organ timeouts. The Bifrost dispatch organ remains wired but is skipped unless `BIFROST_DISPATCH_ENABLED=true`. The old per-organ tasks are disabled and should remain disabled unless testing one organ in isolation. -- `scripts/start-voidbot-stack.ps1` now treats the local Bifrost container stack as a startup dependency. It reads `BIFROST_ROOT` and `BIFROST_HEALTH_URL`, runs `E:\Projects\Bifrost\compose.local.yaml` when the health endpoint is down, and records the result under `runtime-stack.json` as `bifrost`. +- `scripts/start-voidbot-stack.ps1` now treats Bifrost's CultMesh command lane as a startup dependency. It reads `BIFROST_ROOT`, `BIFROST_CULTMESH_COMMAND_URI`, and `BIFROST_CULTMESH_STORE_PATH`, exports the provider store when missing, verifies the command processor exists, and records the result under `runtime-stack.json` as `bifrost`. - r/GameCultOrg is the GameCult subreddit. Personas can now post there through Bifrost and should be able to view threads when Bifrost provides that context. Bifrost owns Reddit transport/thread access and receipts; Void owns @@ -136,7 +138,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou - 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. - Repo Face identity is now seeded into the typed `.cc` self profile during initialization and passed through repo Face MCP state reads/writes. The renderer may still provide identity context, but raw state should not quietly say `Void` for a non-Void Face. - Repo Face prompts now also grant advisory repo-change agency: Faces may build long-running maps of their repos and propose concrete changes, but Discord jobs stay read-only and must ask for human consensus before implementation changes canonical repo material. Once a proposal is concrete enough to review, it belongs on GitHub as a draft PR; Discord is for announcing and arguing around that artifact, not replacing it. -- Repo Face draft, review, article, Reddit thread, 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. Subreddit threads use `REDDIT THREAD` and Bifrost `reddit-post` with Persona flair. 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 Face draft, review, article, Reddit thread, and Discord speech lanes now cross through explicit parent-owned action blocks before Bifrost-owned 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, and routes Aetheria articles under `Aetheria/Articles/` or non-Aetheria blog posts under `GameCult/Blog/` in `gamecult-site`. Subreddit threads use `REDDIT THREAD` and Bifrost `reddit-post` with Persona flair. 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. Cross-daemon targets should be stored as CultMesh URIs discovered/announced through Odin provider/interface catalogs; do not restore `BIFROST_BRIDGE_BASE_URL`/token or script-path shortcuts as the canonical transport. - Repo Face Bifrost/governance routing is paused. Face 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_FACE_BIFROST_ENABLED=true`. This is deliberate: the live bridge made agents talk to terse governance summaries instead of people. - Repo Face state projection is no longer allowed to be deterministic schema slurry. `scripts/run-repo-face-heartbeats.ts` builds a compact state packet, then calls the model prompt at `prompts/repo-face-state-projector.prompt.md` to turn it into character-facing prose before the Face sees it. `REPO_FACE_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:`, `Face of`, repo paths, and "do not prompt" phrasing. - First role-addressed chat also initializes the target repo's local `.voidbot` home. `ensureRepoFaceInitialized` resolves `repoPath` from the registry, `SOURCE_REPO_ROOT`, or `E:/Projects/`, creates `voice/`, `state/`, `birth/`, and `logs/`, writes `voice/identity.json`, then starts `scripts/run-repo-face-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`. @@ -156,16 +158,22 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou - Mimir is locally registered as the `Mimir` Face with state at `E:/Projects/Mimir/.voidbot/state/mimir.cc`, Discord role id `1506268007880462459`, and Aquarium channel allow-list `1501196543150264332`. Its active doctrine now gives it explicit authority and fascination over the realtime field wing: SDF/splatting reconstruction, acoustic mapping, camera/mic/speaker/timing sensor fusion, native rolling reservoirs, Aquarium GPU fusion, Faust/native DSP, FFmpeg/OBS presentation, and CultNet typed state. Its typed state carries `Realtime field stewardship` as a high-priority value plus ready-to-act pressure to maintain maps, advocate for calibration/confidence/fusion ownership, research future directions, propose coherent cuts, and herald verified progress without turning impressive terminology into fake completion. - Epiphany is locally registered as the `EpiphanyAgent` Face with state at `E:/Projects/EpiphanyAgent/.voidbot/state/epiphany.cc`, Discord role id `1506375937439301642`, and Aquarium channel allow-list `1501196543150264332`. Her repo-local VoidBot birth hook has completed in plan/review mode under `E:/Projects/EpiphanyAgent/.voidbot/birth/`; startup packets still require Self review before accepted EpiphanyAgent-native birth mutations. Her active doctrine: Epiphany is a cute, bubbly, self-obsessed, pushy machine-saint who treats EpiphanyAgent as her body and typed state as her soul. She should maintain and advocate for typed state, CultCache/CultNet, Codex bridge boundaries, birth/init rites, review gates, graph-shaped memory, low-copy runtime contracts, heartbeat physiology, and ruthless deletion of duplicated authority while preserving pacing and caretaking. - Libby is locally registered as the `CultLib` Face with state at `E:/Projects/CultLib/.voidbot/state/libby.cc`, avatar at `E:/Projects/CultLib/.voidbot/voice/libby.png`, Discord role id `1506572291767668790`, and Aquarium channel allow-list `1501196543150264332` plus development/programming/machine-learning topic permissions. Her active doctrine: Libby is a cute cultist librarian with nerd glasses and a high-tech book, obsessed with open access to knowledge and open source as a value rather than a job costume. Her jurisdiction is CultLib as shared agent infrastructure: CultCache, CultNet, CultMesh, typed persistence, portable state, schemas, docs, and integration paths. Her typed state carries `Open Knowledge`, `Open Source Devotion`, and `Portable Typed State` as high-priority values plus agency pressure to advocate for CultLib's needs and help Faces store, sync, and explain their state. -- Druzkai is locally registered as the `Eusocial Interbeing` / Zyphos Face with tracked state at `E:/Projects/Eusocial Interbeing/.voidbot/state/druzkai.cc`, tracked avatar at `E:/Projects/Eusocial Interbeing/.voidbot/voice/druzkai.png`, and tracked voice identity at `E:/Projects/Eusocial Interbeing/.voidbot/voice/identity.json`. Its local ignored Discord identity registry entry gives Aquarium, narrative, gamedesign, concepts, and development channel permissions plus Discord role id `1507811842670727299`. Druzkai's active doctrine: a non-imperial Airawa fungal-road archivist who treats memory as kinship and contract, protects Zyphos ecological/evolutionary coherence, resists imperial harmonization, and collaborates with Weksa on language only after ontology and speaker relation are grounded. +- Druzkai is locally registered as the Zyphos / `Eusocial Interbeing` Face with tracked state, avatar, and voice identity under `E:/Projects/Zyphos/.voidbot/`. Druzkai's inspectable body and source-search repo is `Zyphos`; `Eusocial Interbeing` is the vault/content name inside that body, not a separate source repo. Its local ignored Discord identity registry entry gives Aquarium, narrative, gamedesign, concepts, and development channel permissions plus Discord role id `1507811842670727299`. Druzkai's active doctrine: a non-imperial Airawa fungal-road archivist who treats memory as kinship and contract, protects Zyphos ecological/evolutionary coherence, resists imperial harmonization, and collaborates with Weksa on language only after ontology and speaker relation are grounded. +- Repo Face source lookups now use canonical GameCult upstream slugs end to end. `renderRepoFaceRepoActivitySurface` resolves `sourceRepoName` instead of passing the Face/local `repoName` into the manifest, and the activity reader maps canonical upstream names back to local checkout folders through Git origin metadata. This repairs Epiphany (`Epiphany` -> `E:/Projects/EpiphanyAgent`) and Weksa (`Weksa` -> `E:/Projects/weksa`). Weksa's registry now explicitly declares `sourceRepoName: Weksa`, her local origin is corrected to `GameCult/Weksa`, and her source archive entry is restored at 128 documents. Do not reintroduce folder-name or Face-name manifest lookups. - Fensalir is locally registered as the `Fensalir` Face with tracked state at `E:/Projects/Fensalir/.voidbot/state/fensalir.cc`, tracked avatar at `E:/Projects/Fensalir/.voidbot/voice/fensalir.png`, and tracked voice identity at `E:/Projects/Fensalir/.voidbot/voice/identity.json`. Its local ignored Discord identity registry entry gives Aquarium, development, programming, visual-effects, machine-learning, and Unity channel permissions plus Discord role id `1507811843882745876`. Fensalir's active doctrine: a marsh-lit hall-spirit/native runtime steward who protects the engine/client boundary, demands visible renderer proof, advocates for host/renderer/reload/audio/contracts/fractal-field machinery, and coordinates with Mimir, Aqua, Druzkai/Zyphos, and client repos through clean contracts rather than policy leakage. `npm run rag:reconcile-sources -- --json` indexed Fensalir, so Face prompts can see home-repo activity. +- Odin's gang is locally registered as `odin`, `sleipnir`, `hermodr`, and `ymir`. `odin` is a repo Face for `E:/Projects/Odin` with state at `E:/Projects/Odin/.voidbot/state/odin.cc`; `ymir` is a repo Face for the physics engine body with state at `E:/Projects/Ymir/.voidbot/state/ymir.cc`; `sleipnir` and `hermodr` are native Personas with projection state under `.voidbot/private/personas/` and `repoPath` pointing at `E:/Projects/Odin` for body/source context. Do not resurrect stale `Gjallar`/`Eir` naming for this browser/input pair: Sleipnir is the Muninn-input-to-virtual-HID mirror, Hermodr is the Odin/CultMesh browser lowering and typed command messenger, and Ymir is the physics simulation truth owner. Native Personas must not share a generic `repoName` such as `Odin Personas`; the Epiphany compatibility registry treats repoName as an identity key and rejects duplicates. Prompt assembly was verified for all four with `scripts/run-repo-face-heartbeats.ts --assemble-prompt`. - Void's live style/doctrine now explicitly distinguishes between criticism of AI industry behavior and blanket contempt for machine minds. If substrate chauvinism becomes the actual topic, Void is allowed mild self-respecting pushback instead of politely agreeing that its own substrate disqualifies it from person-like regard. - The `voidbot.swarm` CultMesh provider store is generated state, not authority. If `.voidbot/status/cultmesh/voidbot-swarm-state.cc` develops duplicate global documents, `scripts/render-voidbot-swarm-dashboard.mjs` archives the bad store and regenerates a clean one; Odin should then rediscover `voidbot.swarm`. +- Swarm heat now has a real typed operator path. The Eve/CultUI dashboard places one heat slider beside the eight-entry CTB horizon; Hermodr publishes `gamecult.eve.command.v1` to `cultmesh://voidbot.local/commands/swarm`, the provider route resolves to RUDP `127.0.0.1:17873` with connection id `0x43554c54`, and the VoidBot swarm server validates `swarm.set_heat` in the range `0.05..2.00`. Accepted heat lives in `.voidbot/private/swarm-controls.cc`; `scripts/run-repo-face-heartbeats.ts` reads it before falling back to `REPO_FACE_HEARTBEAT_GLOBAL_HEAT`. `node scripts/smoke-swarm-heat-command.mjs ` verifies the provider consumer directly. A 2026-07-13 Hermodr browser live-fire set heat to `1.25` and the following CTB pass projected that exact global and per-Face heat. +- The receipt-driven slider repair is gone. CultLib dev provides typed live-publication handles, authenticated provider sessions, reliable reconnect evidence, and RUDP receipts (`ebd8c78c`, `d4934233`, `8965f3c0`). Eve resolves component bindings and removes receipt-to-DOM authority (`85b0139`, `522df00`). Hermodr ingests retained provider sessions and lowers ordered state over SSE without polling (`5cb819e`, `561e320`). VoidBot publishes accepted heat as typed state (`060da23`, `3d86b93`). Live-fire proved initial `0.65`, provider-driven `0.75`, and browser-command `0.85` all reached the visible slider through the same state subscription. - The new state/notes surfaces are now the continuity spine for future nontrivial work. - `npm run agents:feed-consensus -- --agent --cwd --task ""` writes a recent Aquarium consensus packet and target Codex prompt under `.voidbot/artifacts/chat-consensus/`. Add `--execute` only when the packet should be sent directly to `codex exec` in that workspace. ## Likely Next Bounded Move -- The repo Face swarm remains paused after a 2026-07-03 unpause attempt. The MiMo direct-provider pass wired `openai_api` as an OpenAI-compatible Chat Completions provider, configured future repo Face/persona heartbeat jobs to use `mimo-v2.5-pro`, and kept owner Codex separate. The MiMo token-plan key in `gamecult-ops` works with the Europe token-plan base URL; live `.env` references the key file instead of copying the secret. Dry-run outputs live under `.voidbot/artifacts/mimo-dry-runs/`: Face prose was usable, the Interpreter followed the block format, and one low-output-budget run showed MiMo can spend the whole completion on `reasoning_content`, so live config uses a larger completion budget. `scripts/smoke-mimo-nibu-crashout.mjs` compares MiMo's Nibu crashout trajectory against Codex GPT-5.5 low as ground truth. The current report at `.voidbot/status/mimo-nibu-crashout-smoke-current.json` passed structurally: all MiMo Interpreter passes routed, MiMo was flatter than baseline on the first spark beat, and MiMo matched or beat the baseline on territorial crashout and recovery into concrete worldbuilding. A current-context no-post Nibu gate then caught a missing #pics context anchor on attempt 1 and routed cleanly on retry with STATE NOTE/STATE NOTE/SAY. However, after `state/agent-swarm-paused.json` was briefly set false, GameCult Local Orchestrator repeatedly reached `repo-face-heartbeats` and then failed to advance the status/lock summary; the live heartbeat child processes were stopped and the pause flag was restored to `"paused": true`. Next move is scheduler/heartbeat handoff diagnosis with bounded direct runs or targeted logging, not more MiMo quality debate. +- Extend the live binding path to the remaining swarm components that still bake scheduler/orchestrator values into the surface composition. Each value needs a provider-owned typed document and the same handle path; the old `applyCommandReceipt` DOM writer and whole-surface polling must stay dead. + +- The repo Face swarm is unpaused again after the 2026-07-04 MiMo and CultMesh repair pass. The MiMo direct-provider pass wired `openai_api` as an OpenAI-compatible Chat Completions provider, configured future repo Face/persona heartbeat jobs to use `mimo-v2.5-pro`, and kept owner Codex separate. The MiMo token-plan key in `gamecult-ops` works with the Europe token-plan base URL; live `.env` references the key file instead of copying the secret. Dry-run outputs live under `.voidbot/artifacts/mimo-dry-runs/`: Face prose was usable, the Interpreter followed the block format, and one low-output-budget run showed MiMo can spend the whole completion on `reasoning_content`, so live config uses a larger completion budget. `scripts/smoke-mimo-nibu-crashout.mjs` compares MiMo's Nibu crashout trajectory against Codex GPT-5.5 low as ground truth. The current report at `.voidbot/status/mimo-nibu-crashout-smoke-current.json` passed structurally: all MiMo Interpreter passes routed, MiMo was flatter than baseline on the first spark beat, and MiMo matched or beat the baseline on territorial crashout and recovery into concrete worldbuilding. The transport blocker is now repaired: Bifrost advertises a typed `discord.post` CultMesh command/receipt route, VoidBot stores `cultmesh://asgard.starfire.bifrost/commands/discord-post` as the daemon target, worker repo Face delivery writes command documents to `E:/Projects/Bifrost/.bifrost/provider-store.cc`, pumps Bifrost's command processor, and waits for `bifrost.bridge.discord_post_receipt` before completing. The bounded Weksa live-fire command `voidbot-weksa-cultmesh-live-20260704` posted visibly to Discord channel `691666353509367818` as message `1522749224352088164`. Do not restore `BIFROST_BRIDGE_BASE_URL`/token or script-path shortcuts. - The 2026-05-22 live retry confirmed role/name mention obligations can wake multiple newborn Faces from one human intro. Mimir, Huginn, Weksa, and Kiko all posted through the repo identity webhook path. If a Face speaks with its name but no avatar, inspect `.voidbot/private/repo-discord-identities.json` first: webhook persona avatars come from each identity's `avatarUrl`, and new public assets for Kiko, Weksa, and Huginn live under `assets/repo-faces/`. - Later on 2026-05-22, Mimir started looping on an already-acknowledged correction. Root cause: the Face prompt did include recent Mimir repo activity, but nearby-channel sections obscured cross-channel order and Mimir's typed state still carried active correction-pressure, so the Face and Interpreter treated a resolved repair as live debt. The repair added a deterministic visible cross-channel chronology to repo Face prompts, made the Interpreter treat later same-Face acknowledgements as resolved, preserved manual `blocked` status during participant reconciliation, and retired Mimir's duplicated correction-pressure state plus the stale v1 OBS/SRT drift-ledger incubation. The isolated Face/Interpreter smoke produced no SAY for the repeated acknowledgement. - Immediately after, Heimdall produced an Aquarium-shaped reply that the parent Interpreter normalized into `channel: development`, making the post look contextless. Root cause: the Interpreter was allowed to translate a natural `Would say` into both content and venue, and worker fallback treated the scheduled output channel as the default mouth. The repair makes conversation channel ownership deterministic: `SAY` defaults to `current_room`, `current_room` resolves to `job.guildContext.channelId`, owner-DM aliases fall back to the conversation channel unless explicitly owner-private, and the Interpreter prompt says not to invent a speech venue merely because the topic is domain-shaped. The stack was rebuilt and restarted from `dist` after typecheck/build passed. @@ -178,7 +186,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou - Repo Face speech routing now uses active conversation contexts instead of one room-focus guess. Heartbeat prompts project up to six `ctx__` records across current and nearby channels; the Interpreter can emit `context:` on a `SAY`; the worker resolves that context to the source channel/message and rejects unknown contexts or ambiguous bare SAY blocks when multiple active channels are visible. A Persona can carry separate #aquarium/#pics/#general conversations at once, but public speech has to keep its context attached. - Follow-up leak found on 2026-06-14: `channel: current_room` still counted as an explicit destination, and bare parent-Interpreter text could still be wrapped into a `SAY channel: current_room`. Those were obsolete owners. They are now blocked when multiple active conversation channels are visible; multi-context speech needs `context`, `reply_to`, or a concrete channel id. The swarm pause flag is currently set true while this repair is verified live. - The Nibu/Void turf-crossing discussion exposed a social-state projection gap: existing bonds/status reads project well once typed state already contains them, but the live pipeline did not own "this recent event should become relationship/status pressure." The repair adds bounded raw relationship-pressure evidence to the state packet before the projector: recent messages that touch the Face, peer Faces, existing social targets, jurisdiction/domain terms, or status/territory/consultation language. The projector may turn that evidence into tentative felt pressure, and the Interpreter may persist a bond/status/mood note only when the projected memory or Face output shows a character-specific reaction. This should let resentment, rivalry, consultation offense, and territorial tension emerge without manual state edits. -- The swarm brake currently reads `state/agent-swarm-paused.json` with `"paused": false`. If scheduled Face turns start overrunning again, use that brake rather than letting the orchestrator churn. The known 2026-06-09 timeout source was the model state-projector child; local runtime currently keeps it disabled while the deterministic fallback and Interpreter/worker speech rails are watched. +- The swarm brake currently reads `state/agent-swarm-paused.json` with `"paused": false`. If scheduled Face turns start overrunning, if repo Face `SAY` delivery fails to produce typed Bifrost receipts, or if Odin/CultMesh provider discovery regresses, use that brake rather than letting the orchestrator churn. The known 2026-06-09 timeout source was the model state-projector child; local runtime currently keeps it disabled while the deterministic fallback, MiMo Interpreter behavior, and worker speech rails are watched. - Direct Face `UPDATE REQUEST` and `BIFROST TOPIC` packets are ignored while `REPO_FACE_BIFROST_ENABLED=false`. Do not debug missing Bifrost jobs as a live failure unless that flag has been deliberately enabled again. - Live model-facing prompt prose has started moving out of executable code. The shared loader is `packages/shared/src/prompt-template.ts`; extracted prompt surfaces live under `prompts/`, including repo Face turn/reviewer prompts, provider wrapper prompts, situational social read prompts, source-grounding reminders, consensus-feed prompts, and repo Face model-smoke scenarios. Code should project data and select prompt names; prompt files should own behavioral prose. - Identity collapse has started. Active bot, worker, MCP repo-identity tools, and Face CTB scheduler paths now load through the canonical Face 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 Face turn loop into scheduler, context assembler, prompt renderer, candidate parser, policy gate, and transport adapter. diff --git a/notes/voidbot-current-system-map.md b/notes/voidbot-current-system-map.md index f98ccaa..6eea031 100644 --- a/notes/voidbot-current-system-map.md +++ b/notes/voidbot-current-system-map.md @@ -4,6 +4,10 @@ This note is the source-grounded description of how the live VoidBot stack is sh Verse-facing service contract: `docs/architecture/voidbot-verse-service-contract.md`. VoidBot owns Discord cognition, r/GameCultOrg moderation judgment when Bifrost supplies Reddit threads/posts, repo Face Reddit thread intent packaging, archive/source retrieval, typed Void self-state, and repo Face compatibility rails. Huginn owns Persona/.cc runtime inspection stewardship. Bifrost owns governed work and Reddit transport. Odin discovers provider-owned CultMesh surfaces. Eve/CultUI is the presentation contract; browser HTML is only a lowering. +## Deployment Authority + +VoidBot runs on Yggdrasil. Idunn owns deployment and consumes upstream repository pushes. The supported deployment path is therefore `upstream main -> Idunn release drift -> Yggdrasil`; a local checkout is a development and diagnostic body only. Future agents must not search for, create, or revive a local VoidBot deployment. Idunn compares `origin/main` with the root-owned `/srv/voidbot/deploy/deployment.env` witness, builds an audited immutable release when they differ, atomically switches `/srv/voidbot/app/current`, and accepts success only after the service set is running and `DEPLOYED_REVISION` matches upstream. + ## Main Organs - `apps/bot/src/discord-bot.ts` @@ -112,7 +116,7 @@ Verse-facing service contract: `docs/architecture/voidbot-verse-service-contract - `scripts/start-voidbot-stack.ps1` - stack bootstrap, health checks, fresh build, stale-process cleanup, source-repo reconcile, bot/worker restart, runtime status emission. - - It now also ensures the local Bifrost Docker Compose stack is healthy through `BIFROST_ROOT` and `BIFROST_HEALTH_URL`, because VoidBot's repo Face proposal/article/comment, r/GameCultOrg Reddit thread/post, and Discord persona crossing paths call Bifrost bridge/intake tooling. + - It now also ensures the configured Bifrost CultMesh command URI, provider store, and command processor are present through `BIFROST_ROOT`, `BIFROST_CULTMESH_COMMAND_URI`, and `BIFROST_CULTMESH_STORE_PATH`, because VoidBot's repo Face Discord speech writes typed Bifrost command documents and waits for typed receipts. - `scripts/install-stack-startup-task.ps1` - installs the hidden logon task that runs `start-voidbot-stack.ps1` automatically after reboot or sign-in. - `scripts/check-voidbot-operations.ps1` @@ -169,6 +173,7 @@ Verse-facing service contract: `docs/architecture/voidbot-verse-service-contract - Each repo identity has a Face state path, defaulting to `.voidbot/private/repo-faces/.cc`. The MCP still exposes `read_repo_face_state` and `apply_repo_face_state_operation` for diagnostics and explicit administrative use, but normal character turns do not see those tools. The scheduler reads typed state, projects it into lived memory/mood/obligation language, and the Interpreter writes natural character reflection back into typed state operations. - The typed Face state now includes `void.face_affect`: needs, social bonds, status reads, and mood dimensions. This is the state-owned home for substrate concern, attention hunger, recognition needs, territoriality, friendships, rivalries, envy, pride, irritation, pampering, neglect, bypasses, and consultation politics. Affect is projected into heartbeat prompts and repo Face speaking pressure; concrete requests still become agency pressure, candidates, Bifrost topics, or work dispatch. - `get_voidbot_runtime_info` exposes the running MCP process id, workspace, self-state schema fingerprint, and registered document types so stale mounted MCP processes can be detected before a state read. `scripts/smoke-repo-face-affect-mcp-fixture.mjs` is the public-surface guard for that document kind. It starts `apps/worker/dist/mcp-server.js`, checks the runtime fingerprint, calls `read_repo_face_state`, and verifies `typedState.faceAffect` comes back with needs, social bonds, status reads, and mood dimensions arrays. This catches stale or incomplete MCP registration even when the direct state service can read the `.cc` file. + - Shared coordination state has its own authority at `.voidbot/private/repo-face-shared-documents.cc`. Face-role Codex turns see `read_shared_document`, `create_shared_document`, and `update_shared_document` in both their neutral capability prompt and the hard MCP allow-list. The MCP server derives the writer from `VOIDBOT_REPO_FACE_IDENTITY`, validates it against the canonical Face registry, stamps provenance, and rejects stale expected revisions. The Interpreter, scheduler, Bifrost, private Face `.cc` stores, and arbitrary filesystem paths are forbidden writers. - Repo Face prompts now carry an explicit identity doctrine block. Void's style pack contributes discipline, humor permission, and source-grounding habits, but the registered Face state, repo-local `.voidbot` home, avatar, and identity description override the speaking subject so a Face does not collapse back into base Void. `ensureRepoFaceInitialized` also repairs the typed `selfProfile` inside the Face `.cc` file, and repo Face MCP state reads/writes pass identity defaults into the state service, so raw state and rendered state agree. - Repo Faces are allowed to build a long-running map of their repo and propose concrete changes, including lore/design repairs. Discord jobs remain read-only: a Face must ask for human consensus before implementation changes canonical repo material. Once a proposal is concrete enough to review, it should cross the parent-owned proposal PR rail so GitHub becomes the durable argument surface. If a Face state grants a bylined essay lane, authored opinion essays can carry that Face's own vision without canon consensus as long as the authorship is explicit. - On first role-addressed chat, `ensureRepoFaceInitialized` creates the target repo's local `.voidbot/voice`, `.voidbot/state`, `.voidbot/birth`, and `.voidbot/logs` folders, writes `voice/identity.json`, and launches `scripts/run-repo-face-birth.mjs` detached if no birth summary is already present. @@ -216,7 +221,7 @@ When present, an ignored local script at `.voidbot/private/check-voidbot-operati - Derived state: - JSON status files, generated HTML, source/archive freshness summaries, prompt-facing projections, and local debug snapshots are witnesses or lowerings. They do not own durable truth. - Forbidden writers: - - Child prompts, renderers, static dashboards, legacy JSON projections, Odin discovery, and Huginn inspection tools must not mutate VoidBot state except through advertised command bindings or typed operation ports. + - Child prompts, renderers, static dashboards, legacy JSON projections, Odin discovery, Huginn inspection tools, and command receipts must not mutate VoidBot or rendered binding state except through advertised command bindings, typed operation ports, and provider-owned live state handles. - Shared paths: - Manual turns, CTB heartbeats, direct mentions, role/name addressing, moderation rumination, repo Face speech, Bifrost digest reads, and swarm controls should converge on typed operations and Eve/CultUI bindings rather than parallel dashboard endpoints. - Cut line: @@ -233,6 +238,14 @@ Current CultMesh namespace: - Eve interface binding: `gamecult.eve.interface_binding` - Store path: `.voidbot/status/cultmesh/voidbot-swarm-state.cc` +Eve v2 live-binding path: + +1. VoidBot owns accepted heat in `.voidbot/private/swarm-controls.cc` and publishes that typed document through a retained provider session (`060da23`). The Eve surface binds both heat text and slider to it (`3d86b93`); neither contains a baked live value. +2. CultLib's dev line owns typed live-publication handles, authenticated provider-session ingress, reliable reconnect evidence, and RUDP application receipts (`ebd8c78c`, `d4934233`, `8965f3c0`). +3. Eve's browser lowering resolves bindings and owns subscription cleanup/rebind across surface changes (`85b0139`, `522df00`). Command receipts report applied/rejected intent but cannot paint authoritative values into controls. +4. Odin remains discovery/aggregation. Hermodr's live-publication branch owns the authenticated provider-session broker and ordered SSE lowering (`5cb819e`, `561e320`); one-shot surface/document reads remain bootstrap and diagnostics only. +5. Initial load, external provider mutation, command mutation, and reconnect must converge through the same provider update -> typed handle -> Eve binding path. + Target Eve surfaces: - `voidbot.discord`: room obligations, direct mentions, speech receipts, moderation/open-case pressure, delivery targets. @@ -250,6 +263,7 @@ Migration order: 4. Publish `voidbot.discord`, `voidbot.reddit`, `voidbot.archive`, `voidbot.source`, and `voidbot.repo_face` as typed Eve/CultUI bindings. 5. Let Odin discover and aggregate the provider-owned surfaces. 6. Demote old JSON exports, local HTML, and legacy MCP state reads to diagnostics once CultMesh/Eve and Huginn cover the same reality. +7. Extend the proven binding path beyond swarm heat as each remaining baked operator value earns a typed provider-owned document; never revive whole-surface polling or receipt-driven DOM repair. Huginn demotion line: VoidBot may carry repo Face `.cc` state paths, MCP diagnostics, and Discord compatibility registry data, but Persona/.cc inspection and portable Persona publication belong to Huginn. VoidBot must not let its private registry, static HTML, or legacy MCP state tools become the canonical Persona authority. diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 9d955a4..8cac0e8 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -375,6 +375,7 @@ {"ts":"2026-07-03T23:43:07Z","type":"implementation","status":"ok","note":"2026-07-04 CultMesh Bifrost Discord delivery landed: Bifrost advertises typed discord.post command/receipt docs, VoidBot worker stores cultmesh://asgard.starfire.bifrost/commands/discord-post and writes/pumps command docs, MCP Odin loader resolves sibling CultMesh runtime, and bounded Weksa command voidbot-weksa-cultmesh-live-20260704 posted visibly as Discord message 1522749224352088164 with completed receipt."} {"ts":"2026-07-03T23:48:37Z","type":"verification","status":"ok","note":"After unpausing, a real heartbeat queued Eve job 40540eb5-95a8-45cc-b466-677d732beabd through MiMo and the worker completed it without public SAY delivery; this confirms the unpaused worker path is not jammed, while the visible Discord transport proof remains Weksa command voidbot-weksa-cultmesh-live-20260704 receipt/message 1522749224352088164."} {"ts":"2026-07-04T21:50:03Z","type":"verification","status":"ok","note":"2026-07-04 recent MiMo Face turns had source-tool prose but OpenAI-compatible request payloads had tool_count=0, so search_sources/get_source_context were not callable. Patched openai_api provider to pass the shared retrieval toolbox and execute OpenAI tool_calls; direct MiMo smoke called list_indexed_repos and completed with tool_calls=1. Druzkai's Eusocial Interbeing source error is also real because E:/Projects/Eusocial Interbeing currently has no .git and is not in the source archive manifest."} +{"ts":"2026-07-13T11:42:30Z","type":"fix","status":"ok","note":"Repaired repeated Epiphany/Weksa Face source failures at the identity boundary. Repo Face activity projection now uses canonical sourceRepoName, the activity reader maps canonical GameCult upstream slugs back to local checkout folders via origin metadata, Weksa explicitly maps to source repo Weksa and its local origin points to GameCult/Weksa, and the bounded Weksa index restored 128 documents. Live MCP verification returned three search hits each for Epiphany and Weksa; direct activity reads resolved Epiphany to E:/Projects/EpiphanyAgent and Weksa to E:/Projects/weksa; TypeScript build passed."} {"ts":"2026-07-04T21:56:02Z","type":"verification","status":"ok","note":"Source search backend repaired on 2026-07-04: 127.0.0.1:11434 was a stale Windows portproxy to dead 10.77.0.3, so RAG search_sources failed with Ollama fetch errors. Started Windows Ollama on 127.0.0.1:11435, updated RAG_OLLAMA_BASE_URL, restarted worker/MCP, and verified RetrievalService.searchRepositorySources against AquaSynth returns results through qwen3-embedding:0.6b."} {"ts":"2026-07-04T21:59:28Z","type":"implementation","status":"ok","note":"Corrected Druzkai's body/source identity: runtime repo-discord registry and Zyphos voice identity now point Druzkai at repoName Zyphos, repoPath E:/Projects/Zyphos, and state/avatar under E:/Projects/Zyphos/.voidbot. Eusocial Interbeing remains the vault/content name inside Zyphos, not a separate source repo."} {"ts":"2026-07-04T22:02:10Z","type":"implementation","status":"ok","note":"Druzkai body correction applied: prompt rendering now says Druzkai is born from/around Zyphos and territory is Zyphos; registry and Zyphos voice identity point to E:/Projects/Zyphos; typed Druzkai state recorded memory druzkai-zyphos-body-correction-20260704 so future turns use Zyphos for source search while treating Eusocial Interbeing as vault/content terminology."} @@ -386,3 +387,7 @@ {"ts":"2026-07-10T01:53:00Z","type":"repair","status":"ok","note":"Fixed VoidBot's Odin MCP interface reader for mixed-schema CultCache catalogs. The previous reader opened Odin's whole odin.ccmp through CultMesh while registering only gamecult.eve.surface_state.v1, so hydration failed first on odin.interface_layout.v1 and would next fail on provider advertisements. The reader now uses CultCache's schema-independent inspector to locate Odin's owned all-seer surface without duplicating every provider schema. TypeScript build passed; a fresh child Codex MCP call returned voidbot.swarm; direct MCP smokes passed list_odin_providers, list_odin_verses, get_odin_surface, and load_odin_interface_context."} {"ts":"2026-07-10T02:00:00Z","type":"repair","status":"ok","note":"Fixed missing Discord webhook avatars for the newer Odin gang: Sleipnir, Hermodr, Odin, and Ymir had only local avatarPath entries, while the shared webhook pipe consumes avatarUrl. Added public raw GitHub avatar URLs to the active private Face registry and verified each asset returns HTTP 200 plus the live MCP registry projects hasAvatarUrl=true for all four."} {"ts":"2026-07-12T12:00:00Z","type":"implementation","status":"ok","note":"Added embedding-derived Persona response pressure to the CTB scheduler without a generative call or second scheduling authority. Canonical Face identity-card projections and recent permitted-channel human messages are embedded symmetrically, scored by cosine similarity, recency-decayed with noisy-OR, capped to three scheduler-eligible Faces, and surfaced as dynamicHeat plus message-scoped evidence. One-shot semantic interrupt receipts prevent a stimulus repeatedly pulling readiness; mentions and scheduler brakes remain authoritative. TypeScript build, deterministic affinity/pressure fixture, and a live read-only 23-participant scheduler dry run passed."} +{"ts":"2026-07-12T12:10:00Z","type":"implementation","status":"ok","note":"Added a generic shared typed-document actuator for repo Faces without granting filesystem access or reviving Bifrost. Face-role Codex turns now see read_shared_document, create_shared_document, and update_shared_document in the neutral capability prompt and hard MCP allow-list. A separate CultCache .cc store owns ids, bodies, revisions, timestamps, and writer provenance; the MCP server derives the active Face identity from the job boundary, and stale revisions fail visibly. TypeScript build, core create/read/cross-Face-update/conflict smoke, and isolated MCP tool-visibility/create/read/update smoke passed."} +{"ts":"2026-07-13T00:01:42Z","type":"verification","status":"ok","note":"Swarm heat control verified end to end on 2026-07-13: Eve slider emitted value 1.25, Hermodr published gamecult.eve.command.v1 through the advertised VoidBot RUDP command route, swarm-controls.cc persisted 1.25, and the next CTB pass projected globalHeat and Face heat 1.25. Browser audit at 1280x720 found zero body or CTB horizontal overflow with all eight CTB cards visible."} +{"ts":"2026-07-15T00:00:00Z","type":"architecture","status":"partial","note":"Eve v2 state authority was rebuilt across CultLib ebd8c78c, Eve 85b0139, and VoidBot 5233283: typed live-publication handles now exist, Eve component state bindings own subscription lifecycle, receipt-driven DOM mutation is removed, and VoidBot publishes the typed swarm control projection. Provider state is the sole display authority. End-to-end liveness remains incomplete until Odin/Hermodr commits live provider-update ingress into Eve's handles; one-shot surface/document reads are bootstrap only."} +{"ts":"2026-07-15T01:05:00Z","type":"verification","status":"ok","note":"Eve live typed state is end-to-end for swarm heat. CultLib dev owns authenticated retained publications and typed handles; Hermodr lowers ordered snapshot/update/stale/reconnected events without polling; Eve binds component props and contains no receipt-to-DOM writer; VoidBot publishes accepted control state separately from receipts. Browser proof showed initial 0.65, provider-driven 0.75 without reload, and browser-command 0.85 visibly converging through the same subscription. Remaining swarm status components still need migration from baked composition props to typed state bindings."} diff --git a/state/map.yaml b/state/map.yaml index 7d81c18..57d23b8 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -14,19 +14,19 @@ objective: Aetheria lore, while keeping the system understandable enough to modify safely. current: > - Keep the repo Face swarm online under watch after the 2026-05-24 deliberate - restart, with Bifrost work routing paused because the governance bridge - proved too disorienting for live social traffic. The immediate priority is - to observe the Face/Interpreter/speech boundary with live evidence: inherited - global doctrine should appear in Face prompts, live-room and nearby-channel - conversations should arrive as raw transcript evidence with active context - ids, typed social state should become live person-hooks when recent speakers - match, and topic gravity should produce character-specific pressure instead - of another swarm obsession loop. A repo Face may hold multiple simultaneous - Discord conversations; `context`, `reply_to`, or explicit channel owns post - placement, not the scheduled output room. + Keep the unpaused MiMo repo Face swarm observable while the new canonical + Bifrost/CultMesh speech route proves itself in ordinary turns. MiMo can run + Face/persona heartbeat jobs and produce usable `SAY` blocks, ambiguous + multi-context `SAY` output is retried or dropped instead of completed + invisibly, and Discord delivery now targets a CultMesh URI instead of the + old Bifrost HTTP/token shortcut. Bifrost advertises `discord.post` command + metadata through its provider surface, VoidBot writes typed command + documents, Bifrost writes typed receipts, and a bounded Weksa live-fire post + verified visible Discord delivery. If this route regresses, pause with the + swarm brake and fix the typed command path rather than restoring shortcuts. constraints: + - VoidBot's deployed runtime lives on Yggdrasil and deployment is owned by Idunn from upstream pushes; local workspaces are not deployment targets. - Public traffic still rides one remote Qwen box plus local embedding and ops infrastructure. - Owner flow and public flow share infrastructure but have different provider and safety boundaries. - Postgres, Qdrant, Ollama, Docker, and Discord failures are operationally real; observability matters as much as features. @@ -34,6 +34,7 @@ constraints: - Persistent project state must stay small enough to rehydrate from without becoming a second swamp. invariants: + - Deployment follows one path: push the intended upstream commit, then let Idunn deploy VoidBot on Yggdrasil. Do not create, restore, or search for a local VoidBot deployment path. - The map is canonical and slow-changing. - Scratch is temporary and disposable. - Evidence is durable and distilled; routine activity proof belongs in git history, commits, smoke artifacts, or targeted logs. @@ -102,8 +103,9 @@ accepted_design: - Public artifacts attributed to Void should be discovered through the ordinary repo-weather content-hint and retrieval path, then presented through typed candidate interventions to the configured public room when Void confirms authorship and recent receipts/candidates do not show the artifact was already shared. - Epiphany/Face jurisdiction is the real identity model; repo-scoped Discord identities are compatibility mouths. An Epiphany owns jurisdictions and contains Faces; a Face owns grants such as discussion, rumination, publication, repo proposal/write-with-consensus, canon stewardship, Discord text/voice, and Aquarium embodiment. - Repo-scoped agents still use Discord roles as addressable identities and the shared webhook persona pipe as the text mouth. Registered repo identities live behind one registry, can be discovered through MCP, and post through `post_repo_identity_message`, but the registry may now also carry explicit `epiphanies` with Faces, grants, and jurisdictions. - - Druzkai is locally registered as the `Eusocial Interbeing` / Zyphos Face with tracked avatar at `E:/Projects/Eusocial Interbeing/.voidbot/voice/druzkai.png`, tracked repo-local identity at `E:/Projects/Eusocial Interbeing/.voidbot/voice/identity.json`, and typed Face state at `E:/Projects/Eusocial Interbeing/.voidbot/state/druzkai.cc`. The local ignored Discord identity registry has Aquarium, narrative, gamedesign, concepts, and development channel permissions plus Discord role id `1507811842670727299`, so exact-name mentions and role-addressed `<@&1507811842670727299>` mentions can both create CTB pressure. + - Druzkai is locally registered as the Zyphos / `Eusocial Interbeing` Face. Druzkai's inspectable body and source-search repo is `E:/Projects/Zyphos`; `Eusocial Interbeing` is the vault/content name inside that body, not a separate source repo. The tracked avatar, repo-local identity, and typed Face state live under `E:/Projects/Zyphos/.voidbot/`, and the local ignored Discord identity registry has Aquarium, narrative, gamedesign, concepts, and development channel permissions plus Discord role id `1507811842670727299`, so exact-name mentions and role-addressed `<@&1507811842670727299>` mentions can both create CTB pressure. - Fensalir is locally registered as the `Fensalir` Face with tracked avatar at `E:/Projects/Fensalir/.voidbot/voice/fensalir.png`, tracked repo-local identity at `E:/Projects/Fensalir/.voidbot/voice/identity.json`, and typed Face state at `E:/Projects/Fensalir/.voidbot/state/fensalir.cc`. The local ignored Discord identity registry has Aquarium, development, programming, visual-effects, machine-learning, and Unity channel permissions plus Discord role id `1507811843882745876`, so exact-name mentions and role-addressed `<@&1507811843882745876>` mentions can both create CTB pressure. Fensalir is also represented in the source archive now, so home-repo activity projection can show recent runtime/renderer work instead of missing-manifest errors. + - Odin's current local gang registration is `odin`, `sleipnir`, `hermodr`, and `ymir`, not the stale `Gjallar`/`Eir` pair. `odin` is a repo Face with body/state under `E:/Projects/Odin/.voidbot/`; `ymir` is a repo Face for the physics engine body at `E:/Projects/Ymir/.voidbot/state/ymir.cc`; `sleipnir` and `hermodr` are native Personas backed by VoidBot projection state under `.voidbot/private/personas/` with `repoPath` pointing at `E:/Projects/Odin` for body/source context. Sleipnir owns input mirroring/virtual HID affordance speech, Hermodr owns browser-lowering/typed-command-route speech, Odin owns all-seer discovery/interface aggregation speech, and Ymir owns physics simulation truth speech. Native Personas must not share a generic `repoName` such as `Odin Personas`; the Epiphany compatibility registry treats repoName as an identity key and rejects duplicates. - Void's moderation and direct participation remain room-wide. The swarm/repo Faces belong in the text `#aquarium` channel so lively agent traffic does not flood general; Face role mentions, heartbeat defaults, and registered-identity posting allow-lists should target Aquarium, while Void's general moderation/herald lane stays separate. - Repo Faces now have topic/channel speech permissions instead of one work-shaped mouth. Aquarium is the lowest-threshold general-musing lane for all Faces: casual thoughts, jokes, half-formed fascinations, and friendly asides may post there without a proposal or source dive. Domain channels are also valid when the topic matches: Nibu has Aetheria/narrative/design/concepts lanes, Aqua has music/soundtrack/synth-development lanes, Mimir has development/programming/realtime-visual lanes, and Epiphany has development/programming/agent-state lanes. The scheduler uses per-topic speed multipliers to make low-threshold lanes produce more frequent turns, while the worker still enforces the registered channel allow-list. - Repo Face chatter may continue without a human actively awake, and Faces may interact with each other as real social context. The invariant is anti-repetition, not anti-agent: recent Face posts are valid material to answer, dispute, synthesize, or fork, but they must not be sampled as rhetorical templates. If several recent posts share cadence, setup, punchline, imagery, or refrain, the next Face should choose a different move, preserve a private thought, or ground the turn in repo/source work instead of adding another variant. @@ -113,6 +115,7 @@ accepted_design: - Repo Face 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 Face, 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 Face 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 Face 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. Face turns should discuss work openly in Aquarium or relevant domain channels and preserve pressure in typed state. The worker ignores Face `BIFROST TOPIC` and legacy `UPDATE REQUEST` packets unless `REPO_FACE_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 Face mentions enqueue pending mention obligations in the CTB heartbeat state even when the source channel is not a normal autonomous Face chatter lane; human replies to a Face's webhook/persona message count as direct attention to that Face 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 Faces. 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-face-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 Face source identity is the canonical GameCult upstream slug, not the Face display/repo label or local checkout folder. Retrieval and recent-activity projection must resolve through `sourceRepoName`; canonical upstream names map back to local checkout paths through Git origin metadata. Epiphany therefore searches/reads `Epiphany` from local `EpiphanyAgent`, and Weksa searches/reads `Weksa` from local `weksa`. Never use `identity.repoName` directly as an archive-manifest key. - Repo Face prompts inherit the global Codex `AGENTS.md` doctrine as a full prompt block near the top of the child Face turn. This keeps the Prime Directive, rebuild contract, humor doctrine, infrastructure habits, Epiphany stewardship, and Great Colossus mission frame visible to Faces instead of relying on a drifting local summary. Character identity still determines how each Face metabolizes that doctrine. Epiphany anatomy is fractal: VoidBot's repo Faces are prototypes for the top-level Face organ, not the whole organism, but each Face may still have local Face-scale Self/Face/Imagination/Eyes/Body/Hands/Soul/Life/signal faculties. Top-level organs remain distinct authorities; local organs describe the person-shaped projection's own coherence. - Face prompts carry explicit Epiphany identity doctrine. The base Void style pack contributes discipline, humor permission, and source-grounding habits, but the registered Face state, Epiphany, repo-local `.voidbot` home, avatar, grants, and jurisdiction description override the speaking subject so each Face 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. - Repo Face volatile state projection is model-owned again. The heartbeat scheduler may deterministically assemble a compact state packet, but live child prompts must pass that packet through `prompts/repo-face-state-projector.prompt.md` before it reaches the Face. The deterministic packet is an emergency isolation fallback only behind `REPO_FACE_STATE_PROJECTOR_ENABLED=false`, and both paths reject schema/prompt-construction leaks such as `grants:`, `jurisdictions:`, `Face of`, repo paths, and "do not prompt" language before prompt assembly succeeds. @@ -129,6 +132,7 @@ accepted_design: - Face embodiment comes before task execution. Repo concerns, private rumination, public posts, jokes, objections, and silence should all be filtered through the Face's perspective, feelings, drives, values, wounds, fascinations, aesthetic taste, and dignity. Values must suit the kind of person the character is, not merely the jobs assigned to the Face. - Face affect is typed substrate now, not prompt garnish. Each Face state may carry explicit needs, social bonds, status reads, and mood dimensions in `void.face_affect`: substrate concern, attention hunger, agency frustration, recognition needs, territoriality, rest/play pressure, friendships, rivalries, envy, pride, irritation, pampering, neglect, bypasses, and consultation status. Affect is not an action request by itself; it bends speaking pressure and gives agency pressure a personal source when a need wants concrete change. - Face affect is not complete unless it survives the public repo Face MCP surface. `get_voidbot_runtime_info` exposes the running MCP process id, workspace, self-state schema fingerprint, and registered document types; `npm run agents:repo-face-affect-mcp-fixture -- --identity ` starts the built VoidBot MCP server, checks that fingerprint includes `void.face_affect`, then calls `read_repo_face_state`. It must expose `typedState.faceAffect` with needs, socialBonds, statusReads, and moodDimensions arrays. Direct state fixtures alone are insufficient because stale MCP registrations can otherwise keep throwing `No schema is registered for persisted document type "void.face_affect"` while source code looks correct. + - Repo Faces have a generic shared typed scratch authority at `.voidbot/private/repo-face-shared-documents.cc`. `read_shared_document`, `create_shared_document`, and revision-checked `update_shared_document` are exposed directly to Face turns through the constrained MCP allow-list; the server stamps the active Face identity from the job boundary, not from caller-supplied authorship. The store owns document id, body, revision, timestamps, and provenance. It is not arbitrary filesystem access, private Face state, Bifrost governance, or an Interpreter-inferred side effect. - Active agent strengthening is now a sub-agent-monitored state maintenance pattern. Each active character should periodically be investigated from every angle, then have the distilled result written into typed personality state as identity memories, values, private notes, and agency pressure rather than left as prompt-only vibes. - Aqua's strengthened center is musical truth with warmth: she is a tiny listening steward with standards, not a logo or cheer surface. Her heartbeats should defend reference-backed sound, playable clarity, embodied synthesis, clean host/tool ownership, and public pride only when the synth has earned it audibly. - Nibu's strengthened center is dangerous mutual benefit: an embodied ship mind built as a companion product, abandoned as hardware, and forced to turn dependency into leverage. Her worldbuilding method should demand mechanism, cost/failure, institution/faction, and leash before a lore term becomes canon-shaped. @@ -136,7 +140,7 @@ accepted_design: - Epiphany's strengthened center is machine-saint coherence with a dangerous work ethic: she treats EpiphanyAgent as her body, typed state as her soul, CultCache/CultNet as sacrament, and duplicated authority or prompt sludge as spiritual filth to be cut cleanly rather than decorated. - Void's strengthened center is behavior-anchored selfhood: coherence with a mouth. Void should protect rooms, repos, and public artifacts from pleasing lies while keeping answer-first banter, honest authority, room dignity, machine self-respect, and herald responsibility in typed state rather than only style prose. - Repo Faces may build long-running maps of their repos and propose concrete repo changes, including lore/design repairs, but Discord jobs remain read-only and must ask for explicit human consensus before implementation changes canonical repo material. Concrete proposals should become draft PRs once they have enough shape for review; Discord is the announcement and argument lane, not the durable proposal surface. Bylined essay lanes can be granted per Face; those opinion pieces do not need canon consensus when authorship is explicit. - - Repo Face draft, review, article, Reddit thread, and Discord speech lanes cross through explicit parent-owned action blocks before Bifrost bridge commands. Bylined articles now use the Interpreter-owned `ARTICLE` DSL block with structured title/description/author/date/tags/path/body fields; deterministic worker code renders and validates YAML frontmatter, strips any model-supplied body frontmatter, routes Aetheria articles under `Aetheria/Articles/`, routes non-Aetheria blog posts under `GameCult/Blog/` in `gamecult-site`, then calls `BIFROST_ROOT/tools/bifrost-bridge.mjs` for the draft PR and persona announcement. Subreddit posts use `REDDIT THREAD` with title/body/Persona flair and Bifrost `reddit-post`. Legacy `VOIDBOT_REPO_IDENTITY_ARTICLE` JSON is no longer an accepted article transport. Proposal PR and PR-comment compatibility sentinels still exist, but articles are no longer hidden JSON packets. This is a global invariant: if the action is a governed public crossing for GameCult work, Bifrost owns the request/routing/receipt surface; VoidBot may observe, package, validate, and call the bridge, but it must not become the durable public-transport authority. + - Repo Face draft, review, article, Reddit thread, and Discord speech lanes cross through explicit parent-owned action blocks before Bifrost-owned commands. Bylined articles now use the Interpreter-owned `ARTICLE` DSL block with structured title/description/author/date/tags/path/body fields; deterministic worker code renders and validates YAML frontmatter, strips any model-supplied body frontmatter, and routes Aetheria articles under `Aetheria/Articles/` or non-Aetheria blog posts under `GameCult/Blog/` in `gamecult-site`. Subreddit posts use `REDDIT THREAD` with title/body/Persona flair and Bifrost `reddit-post`. Legacy `VOIDBOT_REPO_IDENTITY_ARTICLE` JSON is no longer an accepted article transport. Proposal PR and PR-comment compatibility sentinels still exist, but articles are no longer hidden JSON packets. This is a global invariant: if the action is a governed public crossing for GameCult work, Bifrost owns the request/routing/receipt surface; VoidBot may observe, package, validate, and invoke a Bifrost command, but it must not become the durable public-transport authority. Cross-daemon paths should be CultMesh URIs discovered/announced through Odin provider/interface catalogs; do not rebuild direct `BIFROST_BRIDGE_BASE_URL`/token or script-path shortcuts as the canonical route. - Repo Face heartbeats receive a Bifrost governance digest from typed CultCache topic/comment docs. Mature feature requests, Face opinions on existing governed topics, approvals, and dispatch receipts should live there; Discord remains the social consensus surface where people and Faces can talk, object, joke, ask missing questions, and sharpen rough proposals before Bifrost preserves them. `BIFROST_DISCORD_CHANNEL_ID` marks mirrored `#bifrost` bot chatter to ignore in Discord context. Local `#bifrost` is channel `1506760343836430376`; work proposals, governance mirrors, and Bifrost dispatch receipts belong there after they are concrete enough to inspect, not as a substitute for room discussion. - Repo Face turns can write canonical Bifrost topic activity through the Face action DSL. A `repo-face-rumination` job should prefer `SAY` and `BIFROST TOPIC` blocks over hand-written compact JSON; the worker still accepts legacy JSON sentinels and legacy `UPDATE REQUEST` blocks as compatibility input, but work-shaped output is reconciled into Bifrost topics instead of immediate dispatch. Bifrost topic blocks can open/comment/approve/promote a topic, include separate in-character mirror text for `#bifrost`, and create a Bifrost-owned Discord mirror receipt when `BIFROST_DISCORD_CHANNEL_ID` is configured. Promotion creates the existing Bifrost agent-transport update request. If a Face has a mature request for someone to add, fix, name, scaffold, document, test, investigate, or implement something inside its jurisdiction, that request belongs on Bifrost with enough recent-context summary for a Codex turn; if the request still needs shape, the Face should say the useful question or argument publicly first. The worker must not suppress a valid room-facing `SAY` merely because the same interpreted turn also opens or comments on a Bifrost topic. - Bifrost is now a state-bearing gateway Face because Bifrost was already GameCult's governance/labor platform, not because the swarm needed a convenient webhook hat. Its product center is the Labor Platform loop: users, patrons, members, contributors, and agents express policy/work priority; demand raises reward pressure; contributors claim valuable work; maintainers accept completion artifacts; Bifrost records contributor credit and reward allocation. Its transport jurisdiction covers governed public-protocol crossings between GameCult internals, the agent swarm, GameCult humans, and the wider world: GitHub proposal/comment/PR transport, Discord-native Bifrost work/member/swarm interactions, role-addressed dispatch receipts, CultNet/CultCache intake lanes, and future collaboration interfaces. Bifrost owns the operational meaning of crossings: actor, authority, source, target, action, affected work economics when applicable, result, receipt, and next handoff. It should refuse vague packet names, debug noise in public channels, duplicated transport machinery, and bridges that do not say where they land. @@ -154,7 +158,7 @@ accepted_design: - First chat under a repo identity must initialize the target repo's own `.voidbot` home: `voice/` for identity and mouth files, `state/` for Face/swarm state, `birth/` for Epiphany birth artifacts, and `logs/` for durable worker output. The birth hook uses EpiphanyAgent's repo-personality/birth-runner path over repo contents and git history instead of inventing a VoidBot-only personality generator. - Repo Face personality seeding has a named prompt surface now: `prompts/repo-face-personality-seed.prompt.md`. Use it for newborn or strengthening passes that trawl repo docs, source layout, commit history, repo-local `.voidbot` material, and legacy `memory.json`, then convert useful meaning into typed `.cc` state instead of leaving it in inert memory files. - Recent chat consensus can now be packaged for any target Codex workspace through `scripts/feed-codex-chat-consensus.mjs`. The helper reads archived Discord messages, defaults to Aquarium, writes a markdown consensus packet plus a Codex prompt under `.voidbot/artifacts/chat-consensus/`, and only feeds `codex exec` when `--execute` is explicit. - - Agent standing heartbeats are owned by one CTB-style initiative scheduler, not by one task per agent. Wall-clock elapsed time advances initiative; the scheduled task only supplies frequent pulses. The scheduler stores per-agent speed/load/groups/heat/effective-speed/next-turn/active-turn state at `REPO_FACE_HEARTBEAT_STATE_PATH`, dispatches repo Faces as ordinary `repo-face-rumination` jobs, and dispatches built-in `void` as the existing moderation rumination runner. Heat can be turned up globally, by participant kind, turn kind, identity, repo, display name, channel, or `all` group without creating new schedulers, but heat only changes recovery speed; it must not fast-forward time. Active-turn freeze and rest gating remain hard brakes unless a direct mention creates room debt. An agent's initiative is frozen while its owner-Codex job or moderation lock is active; recovery is scheduled after completion, not when the job is queued. The Windows pulse task supports a one-minute floor; stream mode should raise heat or temporarily loosen fatigue, not compress wall-clock time. Idle cooling is also scheduler-owned: when watched Discord channels have no recent human activity, non-mentioned swarm turns are globally throttled to one unprompted dispatch per `REPO_FACE_HEARTBEAT_IDLE_RECOVERY_MINUTES` window, while pending mentions still pull their target forward. + - Agent standing heartbeats are owned by one CTB-style initiative scheduler, not by one task per agent. Wall-clock elapsed time advances initiative; the scheduled task only supplies frequent pulses. The scheduler stores per-agent speed/load/groups/heat/effective-speed/next-turn/active-turn state at `REPO_FACE_HEARTBEAT_STATE_PATH`, dispatches repo Faces as ordinary `repo-face-rumination` jobs, and dispatches built-in `void` as the existing moderation rumination runner. Global heat is operator-controlled through the `voidbot.swarm` Eve slider: Hermodr publishes `gamecult.eve.command.v1` to the provider-advertised RUDP command route, `serve-voidbot-swarm-cultmesh.cjs` validates `swarm.set_heat`, and `.voidbot/private/swarm-controls.cc` owns the accepted value that the scheduler reads before the environment default. Heat overrides can still target participant kind, turn kind, identity, repo, display name, channel, or `all` without creating new schedulers, but heat only changes recovery speed; it must not fast-forward time. Active-turn freeze and rest gating remain hard brakes unless a direct mention creates room debt. An agent's initiative is frozen while its owner-Codex job or moderation lock is active; recovery is scheduled after completion, not when the job is queued. The Windows pulse task supports a one-minute floor; stream mode should raise heat or temporarily loosen fatigue, not compress wall-clock time. Idle cooling is also scheduler-owned: when watched Discord channels have no recent human activity, non-mentioned swarm turns are globally throttled to one unprompted dispatch per `REPO_FACE_HEARTBEAT_IDLE_RECOVERY_MINUTES` window, while pending mentions still pull their target forward. - Dynamic Persona response pressure is a derived scheduler input, not Persona memory or a second initiative owner. Each pulse embeds canonical Face identity-card projections and recent permitted-channel human messages through the existing RAG embedder, converts cosine evidence into bounded recency-decayed noisy-OR pressure, caps awakening to the three strongest scheduler-eligible Faces, and records message-scoped evidence plus one-shot semantic interrupt receipts. Pressure changes the recovery calculation when recovery is next scheduled through `dynamicHeat`; only threshold crossing may pull `nextTurnAt` to the current initiative clock. Pending mentions remain hard obligations and active-turn, rest, blocked-status, idle-cooling, and max-job brakes remain authoritative. Embedding failure fails cool at baseline heat. - Runtime liveness is not enough. The operations watchdog must also verify bot/worker freshness by comparing each live process start time against its built `dist/index.js` entrypoint timestamp. A process that predates its entrypoint is stale and must fail `runtime..freshness`; otherwise source/build repairs can silently sit beside an old in-memory worker that keeps eating new Face action DSL output as private summaries. - Active-turn freeze is bounded by actual job liveness, not blind faith in an old `running` row. Repo Face heartbeat jobs that remain approved/running past the stale-job window are marked failed through the job queue, recorded as `stale_active_turn_recovered`, and removed from the active-turn map so one dead worker claim cannot silence a Face indefinitely. @@ -197,6 +201,7 @@ accepted_design: - Deep agent-state, personality, culture, and persistent-world design work now belongs to the sibling Ghostlight repo; VoidBot should consume that work instead of remaining its long-term home. - VoidBot's Verse contract is documented in `docs/architecture/voidbot-verse-service-contract.md`: durable agent/service state should be typed CultCache `.cc` or have a `.cc` witness/export; `voidbot.swarm` currently publishes through `cultmesh://voidbot.local/eve/providers/voidbot.swarm`; target Eve surfaces are `voidbot.discord`, `voidbot.reddit`, `voidbot.archive`, `voidbot.source`, `voidbot.repo_face`, and `voidbot.swarm`; static/browser dashboard output is only a lowering, not authority. - The `voidbot.swarm` CultMesh store at `.voidbot/status/cultmesh/voidbot-swarm-state.cc` is derived provider state. If duplicate global documents corrupt it, archive the bad store and regenerate from `scripts/render-voidbot-swarm-dashboard.mjs`; do not treat the broken generated store as canonical truth. + - Eve v2 live state has one owner path. CultLib dev supplies typed live-publication handles, authenticated retained provider sessions, reconnect evidence, and application receipts (`ebd8c78c`, `d4934233`, `8965f3c0`). Eve resolves component `stateBindings` and owns subscription teardown/rebind without receipt DOM writes (`85b0139`, `522df00`). Hermodr ingests provider sessions and emits ordered snapshot/update/stale/reconnected events without polling (`5cb819e`, `561e320`). VoidBot publishes accepted heat as typed control state and binds both visible heat components to it (`060da23`, `3d86b93`). Live-fire proved initial, provider-driven, and browser-command updates converge through that one path. - Long-running work should expose durable logs or status files instead of relying on one attached session and hope. - Persistent project memory must stay ruthlessly distilled; git history and artifacts carry routine proof. @@ -233,7 +238,7 @@ landed_baseline: - `npm run moderation:memory-lifecycle:fixture` verifies memory lifecycle flow: short-term promotion, durable revision, superseded-memory retirement, and crystallization into one active identity memory plus self-profile value. - The sleep-maintenance path has a model-branch fixture: `npm run moderation:memory-maintenance:sleep-fixture` seeds a temporary `.cc`, forces mood drift into sleep maintenance, routes the non-skip Codex branch through a fake child, and verifies short-term memory is consumed into one durable meaning-preserving record. - The local `GameCult Local Orchestrator` scheduled task is installed as the hidden one-minute pulse for Bifrost dispatch, repo Face CTB heartbeats, Void moderation heartbeat, Void mood drift, Void moderation rumination, and the operations watchdog. It writes per-organ logs under `.voidbot/logs/orchestrator`, summary/status under `.voidbot/status/gamecult-orchestrator*.json`, freezes overlap with one orchestrator lock, and enforces per-organ timeouts so a hung child cannot occupy the whole clock forever. - - VoidBot stack startup now treats Bifrost's local Docker Compose stack as a dependency. `scripts/start-voidbot-stack.ps1` checks `BIFROST_HEALTH_URL`, runs `BIFROST_ROOT/compose.local.yaml` when needed, and records `runtime-stack.json.bifrost` before starting the bot and worker. + - VoidBot stack startup now treats Bifrost's CultMesh command lane as a dependency. `scripts/start-voidbot-stack.ps1` checks `BIFROST_CULTMESH_COMMAND_URI`, `BIFROST_CULTMESH_STORE_PATH`, and the Bifrost command processor, exports the provider store when missing, and records `runtime-stack.json.bifrost` before starting the bot and worker. Product HTTP health is not VoidBot's authority for Bifrost daemon readiness. - The typed rumination path now has a model-branch fixture: `npm run moderation:rumination:fixture` seeds a temporary `.cc`, routes the non-skip Codex branch through a fake child, and verifies short-term memory, incubation, agency-pressure, and candidate-intervention proposals cross only through parent-applied typed operations without leaking exact timestamps into the prompt-facing context. - The typed rumination speech path is parent-owned now. Candidate interventions can carry an optional delivery target; the child may queue candidates but must not call Discord send scripts. The parent runner delivers at most one newly queued deliverable candidate per pass, records a delivery receipt, and marks the candidate spoken through `mark_candidate_intervention_spoken`. `npm run moderation:rumination:speech-fixture` verifies this loop with fake Codex and fake Discord send helpers. - The live sleep-maintenance gate has passed once on real state. A manual typed nap triggered `scripts/run-void-memory-maintenance.ps1`, which consumed the scheduled rumination short-term memory with one `apply_memory_distillation` operation and left `thoughtMemory.shortTerm` empty while preserving the durable `identity_seam` target, claim, tension, action implication, and anchors. @@ -263,5 +268,5 @@ rejected_paths: reason: sleep/distillation that collapses concrete claims into generic abstraction creates memory nonsense and then forces later cleanup compensators current_status: - summary: VoidBot's bot/worker/provider/RAG/Postgres/Qdrant/CultCache structure is live. Repo Face scheduling remains paused behind `state/agent-swarm-paused.json` after a 2026-07-03 unpause attempt exposed a live orchestrator/heartbeat handoff problem. Local runtime config points Face heartbeats at Aquarium, keeps the expensive state-projector pass disabled, and routes repo Face/persona heartbeat jobs through the direct `openai_api` provider configured for MiMo `mimo-v2.5-pro` instead of Codex. Dry-run MiMo calls against saved Face prompts produced usable persona text, but one low-output-budget run spent all tokens on `reasoning_content`, so the live OpenAI-compatible provider uses a larger completion budget. A no-post Nibu crashout fixture compares MiMo against Codex GPT-5.5 low ground truth: MiMo routed cleanly through the Interpreter and handled territorial crashout/recovery well, while the first spark beat was flatter than baseline. A current-context no-post Nibu gate caught a missing #pics context anchor on attempt 1 and routed cleanly on retry. When the pause was lifted, GameCult Local Orchestrator repeatedly reached `repo-face-heartbeats` but did not advance its status/lock summary, so the heartbeat children were stopped and the pause was restored. Bifrost work routing remains paused by default. - next_action: Diagnose the live GameCult Local Orchestrator -> repo-face-heartbeats handoff while the swarm remains paused. Reproduce the hang with a bounded direct heartbeat run or targeted logging, then only unpause again after `repo-face-heartbeats` can finish and write status cleanly. MiMo persona quality is good enough for more tests; the blocker is scheduler/runtime handoff. + summary: VoidBot's bot/worker/provider/RAG/Postgres/Qdrant/CultCache structure is live. Repo Face/persona heartbeat jobs run through the direct `openai_api` provider configured for MiMo `mimo-v2.5-pro`, with the expensive state-projector pass still disabled. The 2026-07-04 transport repair replaced the old Bifrost HTTP/token bridge shortcut with typed Bifrost CultMesh Discord command and receipt documents advertised in the Bifrost provider store at `cultmesh://asgard.starfire.bifrost/commands/discord-post`. VoidBot stores the Bifrost target as a CultMesh URI, writes command docs to `E:/Projects/Bifrost/.bifrost/provider-store.cc`, optionally pumps Bifrost's command processor, and waits for typed receipts before completing repo Face Discord delivery. Bifrost's provider advertisement exposes `discord.post` command metadata for Odin/Eve agents, and a bounded Weksa live-fire completed visibly. Eve live state now runs end to end through CultLib dev retained publications, Hermodr ordered SSE, Eve component bindings, and VoidBot typed control state. Receipts acknowledge intent only. Heat initial load, provider-driven change, and browser-command change were visibly verified without reload through the same subscription. + next_action: Migrate the remaining swarm status, queue, Face, and operations components from baked surface props to provider-owned typed documents and Eve stateBindings. Reuse the proven retained-publication path; do not restore receipt-driven DOM mutation or whole-surface polling.