Record live swarm restart state

This commit is contained in:
Meta Vens 2026-05-27 18:31:10 +01:00
commit f751642856
2 changed files with 16 additions and 18 deletions

View file

@ -16,7 +16,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou
## Current Shape
- The Discord bot listener is live, but the unattended swarm is down as of 2026-05-26: `state/agent-swarm-paused.json` is paused, the `GameCult Local Orchestrator` scheduled task is disabled, the worker process is stopped, and CTB active-load residue has been cleared.
- The Discord bot listener, worker, dashboard, and unattended swarm are live as of the explicit 2026-05-27 operator restart: `state/agent-swarm-paused.json` has `"paused": false`, the `GameCult Local Orchestrator` scheduled task is enabled, and the dashboard is available at `http://127.0.0.1:8787/`.
- The swarm had leaked owner-reply/Mind scaffolding into public Discord twice on 2026-05-26. The first failure wrapped parent Mind in the owner Discord reply prompt and let malformed plain Mind prose become public `SAY`. The second thaw attempt showed the deeper split: malformed parent Mind output caused the worker to ask the Face to revise, and that retry path turned owner-question boilerplate into Bifrost/Nibu `SAY`. The current worker retries malformed Mind output as Mind-owned interpretation, drops to diagnostic private summary instead of re-prompting the Face when Mind stays malformed, and never preserves raw dropped prose as the job summary. `scripts/inspect-model-output-logs.mjs` now flags repo-face parent interpreter records missing an `INTERPRETATION` decision. A post-fix thaw queued multiple Face turns and live model-output inspection reported zero warnings, but the operator then explicitly ordered the swarm brought all the way down.
- 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.
- The repo-controlled pause flag is `state/agent-swarm-paused.json`. While it is missing or has `"paused": false`, swarm runners may operate. While it has `"paused": true` or is malformed, the Face heartbeat runner skips and the orchestrator skips agent-swarm organs. This is the brake. Do not route around it.
@ -36,7 +36,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou
- Prompt-facing rumination chronology is projected by `scripts/lib/void-rumination-context-projection.ps1`. Exact timestamps stay in typed state/status/cursors; the child context gets relative phrases like `5 minutes ago`, including recent Discord messages, repo activity, receipts, memory timestamps, and sleep/speech timing.
- `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 local pulse owner is one hidden scheduled task: `GameCult Local Orchestrator`. It invokes repo Face CTB heartbeats, repo Face memory maintenance, Void mood drift, Void moderation rumination, and the operations watchdog with one lock, one status surface, per-organ logs, and per-organ timeouts when it is enabled. As of the explicit 2026-05-26 shutdown, that task is disabled and should not be re-enabled without operator approval. The Bifrost dispatch organ remains wired but is skipped unless `BIFROST_DISPATCH_ENABLED=true`. The repo Face memory-maintenance organ is deliberately not blocked by `state/agent-swarm-paused.json`; pause silences public swarm mouths, but Life still cleans state when the orchestrator is running. The old per-organ tasks are disabled and should remain disabled unless testing one organ in isolation.
- The local pulse owner is one hidden scheduled task: `GameCult Local Orchestrator`. It invokes repo Face CTB heartbeats, repo Face memory maintenance, Void mood drift, Void moderation rumination, and the operations watchdog with one lock, one status surface, per-organ logs, and per-organ timeouts when it is enabled. As of the explicit 2026-05-27 startup, that task is enabled by operator order. The Bifrost dispatch organ remains wired but is skipped unless `BIFROST_DISPATCH_ENABLED=true`. The repo Face memory-maintenance organ is deliberately not blocked by `state/agent-swarm-paused.json`; pause silences public swarm mouths, but Life still cleans state when the orchestrator is running. 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`.
- `npm run moderation:rumination:fixture` proves the non-skip typed rumination branch without spending a live model call: it seeds a temporary `.cc`, routes the runner through a fake Codex child, and verifies short-term memory, incubation, agency pressure, and candidate intervention proposals are parent-applied typed operations with no exact timestamp leakage in the prompt-facing context.
- `npm run moderation:rumination:speech-fixture` proves queued speech has a parent-owned action loop: fake Codex queues one candidate with a delivery target, fake Discord send writes a receipt, and the parent runner marks the candidate spoken through typed state. The child prompt now forbids direct send-script calls.
@ -154,7 +154,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou
## Likely Next Bounded Move
- Keep the swarm paused until the operator explicitly asks to thaw it. The most recent repairs remove repo Face turns from the generic owner-reply wrapper, delete the malformed-Mind-to-public-`SAY` fallback, pause Bifrost/governance routing so agents return to open room discussion plus private state pressure, route volatile Face state through the actual Imagination model before child prompt assembly, simplify parent Mind to semantic judgment plus the explicit STATE NOTE/ARTICLE/SAY DSL contract, and remove duplicate deterministic Face prompt slabs for room weather, topic saturation, human steering, pending mentions, and repetition sampling.
- Watch the live swarm after the explicit 2026-05-27 restart. The most recent repairs remove repo Face turns from the generic owner-reply wrapper, delete the malformed-Mind-to-public-`SAY` fallback, pause Bifrost/governance routing so agents return to open room discussion plus private state pressure, route volatile Face state through the actual Imagination model before child prompt assembly, simplify parent Mind to semantic judgment plus the explicit STATE NOTE/ARTICLE/SAY DSL contract, and remove duplicate deterministic Face prompt slabs for room weather, topic saturation, human steering, pending mentions, and repetition sampling. Verify fresh model-output logs keep showing `INTERPRETATION` decisions plus explicit DSL actions before public posts, and that Face speech stays legible to readers without assuming hidden context.
- 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.

View file

@ -14,17 +14,15 @@ objective:
Aetheria lore, while keeping the system understandable enough to modify
safely.
current: >
Keep the unattended swarm down after the 2026-05-26 Mind/owner-reply leaks
and the subsequent live thaw. The repo Face pause flag is active, the
GameCult Local Orchestrator scheduled task is disabled, the worker process is
stopped, and CTB active-load residue has been cleared; the Discord bot
listener remains up. The second thaw attempt proved malformed parent Mind
output was being treated as a Face retry, allowing owner-question boilerplate
to become public Bifrost/Nibu SAY. The worker now treats malformed Mind
output as Mind-owned retry/drop and the model-output inspector flags
interpreter records missing INTERPRETATION decisions, but the swarm should
not be restarted without an explicit operator order and a controlled live
verification plan.
The operator explicitly restarted the repo Face swarm on 2026-05-27 after
dashboard pause/unpause control was restored. The repo Face pause flag is
false, the GameCult Local Orchestrator scheduled task is enabled, the bot and
worker are live, and a controlled repo-face-heartbeats pulse queued fresh
Face turns. Bifrost dispatch remains disabled by default. The 2026-05-26
owner-reply/Mind leak repairs are still the key safety seam: malformed parent
Mind output must stay Mind-owned retry/drop, public Face output must route
only through explicit STATE NOTE/ARTICLE/SAY actions, and live model-output
logs should keep showing INTERPRETATION decisions before public speech.
constraints:
- Public traffic still rides one remote Qwen box plus local embedding and ops infrastructure.
@ -61,10 +59,10 @@ data_flow:
- keep persistent state lean enough that re-entry sharpens the next turn instead of drowning it
active_subgoals:
- Treat `notes/agent-swarm-teardown-plan-2026-05-21.md` as the historical teardown authority and the restart checklist. The repo Face swarm is currently down after the 2026-05-26 owner-reply/Mind leaks and live-thaw flood: pause flag active, orchestrator disabled, worker stopped, bot listener still up. Restart only by explicit operator order with controlled evidence that the scheduler, prompt, model-output logs, parent Mind retry/drop ownership, and worker side-effect rails still have explicit observable boundaries.
- Treat `notes/agent-swarm-teardown-plan-2026-05-21.md` as the historical teardown authority and the restart smell ledger. The repo Face swarm is currently live by explicit 2026-05-27 operator order: pause flag false, orchestrator enabled, bot/worker live, dashboard available at `http://127.0.0.1:8787/`. Keep watching live Face turns for owner-reply/Mind leakage, prompt scar tissue, orphaned side-thread replies, and stale attractor relapse.
- Make the new project-state surfaces the default continuity path for nontrivial VoidBot work.
- Keep the rebuilt moderation/self-state foundation on canonical CultCache `.cc` typed operations, never an editable JSON working projection.
- Keep the typed moderation, mood, repo Face, and watchdog organs behind the single `GameCult Local Orchestrator` scheduled pulse when the swarm is deliberately running; the per-organ scheduled tasks are legacy installer surfaces and should stay disabled unless a deliberate isolation test needs one. Bifrost dispatch is disabled by default behind `BIFROST_DISPATCH_ENABLED=false` until the governance bridge is rebuilt cleanly. As of the explicit 2026-05-26 shutdown, the orchestrator task is disabled and must not be re-enabled without operator approval.
- Keep the typed moderation, mood, repo Face, and watchdog organs behind the single `GameCult Local Orchestrator` scheduled pulse when the swarm is deliberately running; the per-organ scheduled tasks are legacy installer surfaces and should stay disabled unless a deliberate isolation test needs one. Bifrost dispatch is disabled by default behind `BIFROST_DISPATCH_ENABLED=false` until the governance bridge is rebuilt cleanly. As of the explicit 2026-05-27 startup, the orchestrator task is enabled by operator order.
- Keep legacy moderation mirrors, whole-state projection commits, and deleted memory-organ compensators from re-entering the active path before adding more moderation, mood, agency, or public-lane behavior.
- Keep public-lane limits, moderation, and provider behavior constrained enough that one 4060 Ti box does not get flayed for sport.
- Preserve boring observability and startup discipline around Postgres, Qdrant, Ollama, Docker, backups, scheduled tasks, watchdogs, and any private local fire-signal extensions.
@ -265,5 +263,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, but the repo Face swarm brake is active after live turns leaked owner-reply/Mind text into public Discord. The fixed worker stack was restarted on 2026-05-26, parent Mind prompts now bypass the owner-reply wrapper, malformed plain Mind output no longer becomes SAY, and the Mind prompt has been slimmed to semantic judgment plus a strict STATE NOTE/ARTICLE/SAY DSL contract. Imagination/Face prompt assembly now has fewer deterministic compensators; raw transcript/repo/state facts go to Imagination, and the Face prompt no longer gets duplicate room-weather/topic-saturation/human-steering/repetition slabs. Repo Face memory maintenance is now a separate orchestrator organ that runs while the swarm brake is active, and the 2026-05-26 cleanup left all registered repo Faces with zero short-term residue. Repo Faces now carry local-fractal-organ capacity stance; controlled dry run `.voidbot/status/repo-face-organ-awareness-dry-run-nibu-weksa-aqua-firstpass-3.json` passed offline for nibu/weksa/aqua with all three routing on first attempt, and `.voidbot/status/repo-face-organ-awareness-dry-run-7.json` remains the broader six-Face passing reference. gpt-5.4 typecheck/build checks pass. Bifrost work routing remains paused by default.
next_action: Keep the swarm paused until the operator explicitly asks to thaw it. Before thawing, run one controlled live repo Face turn or dry-run against the current room and confirm the latest model-output logs show an `INTERPRETATION` block plus explicit DSL actions, no owner-reply/owner-question language crossing into Discord, no scar-tissue prompt prose leaking into public speech, and Face output that shows either named local organs or equivalent functional self-location rather than fake sub-agent cosplay.
summary: VoidBot's bot/worker/provider/RAG/Postgres/Qdrant/CultCache structure is live, and the repo Face swarm was restarted by explicit operator order on 2026-05-27. The dashboard pause flag is false, `GameCult Local Orchestrator` is enabled, and Bifrost work routing remains paused by default. The fixed worker stack was restarted on 2026-05-26, parent Mind prompts now bypass the owner-reply wrapper, malformed plain Mind output no longer becomes SAY, and the Mind prompt has been slimmed to semantic judgment plus a strict STATE NOTE/ARTICLE/SAY DSL contract. Imagination/Face prompt assembly now has fewer deterministic compensators; raw transcript/repo/state facts go to Imagination, and the Face prompt no longer gets duplicate room-weather/topic-saturation/human-steering/repetition slabs. Repo Face memory maintenance is now a separate orchestrator organ, and the 2026-05-26 cleanup left all registered repo Faces with zero short-term residue. Repo Faces now carry local-fractal-organ capacity stance; controlled dry run `.voidbot/status/repo-face-organ-awareness-dry-run-nibu-weksa-aqua-firstpass-3.json` passed offline for nibu/weksa/aqua with all three routing on first attempt, and `.voidbot/status/repo-face-organ-awareness-dry-run-7.json` remains the broader six-Face passing reference. gpt-5.4 typecheck/build checks pass.
next_action: Watch the live swarm after the 2026-05-27 restart. Fresh model-output logs should keep showing an `INTERPRETATION` block plus explicit DSL actions before public posts, no owner-reply/owner-question language crossing into Discord, no scar-tissue prompt prose leaking into public speech, and Face output that is legible to readers while showing either named local organs or equivalent functional self-location rather than fake sub-agent cosplay.