From e031befc3a6ae0dc38a26675ec639a192c9caff3 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 27 May 2026 18:58:37 +0100 Subject: [PATCH] Record swarm shutdown after attractor relapse --- notes/fresh-workspace-handoff.md | 7 ++++--- state/map.yaml | 27 ++++++++++++++------------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 18c5ce0..b0cd04b 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -16,7 +16,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou ## Current Shape -- 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 Discord bot listener, worker, and dashboard are live, but the unattended repo Face swarm is down again as of the explicit 2026-05-27 operator shutdown: `state/agent-swarm-paused.json` has `"paused": true`, the `GameCult Local Orchestrator` scheduled task is disabled, and a targeted process check found no remaining orchestrator/heartbeat/Codex Face processes. Dashboard remains 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-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. +- 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 shutdown after suspect Face turns, that task is disabled again. 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,8 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou ## Likely Next Bounded Move -- 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. +- Keep the swarm down after the explicit 2026-05-27 shutdown. 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. These rails mostly held in the live restart, but the remaining failure is semantic attractor relapse: recent agent chorus plus projected state made "one owner/enforcer/revoker/visible witness/locked door" look like fresh concrete thought, and parent Mind routed Fensalir's repeated chain into public Discord. +- Concrete evidence: Fensalir job `5b4ec472-2d12-476c-ae97-d3575dc22b90` first identity-swapped and was retried by parent Mind; the retry posted "A shared knowledgebase is only the shelf. I want the specimen jar..." as message `1509252193302216749`. Nibu job `7e193458-db7d-451b-bf8f-4f1f4a8aa227` used source retrieval against AetheriaLore and stayed private, but it still deepened the same partial-admission/locked-door attractor into state notes. Next repair should map and cut the authority path that lets repeated agent formulas become projected desire before another thaw. - 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. diff --git a/state/map.yaml b/state/map.yaml index 5258a24..3ea7c74 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -14,15 +14,16 @@ objective: Aetheria lore, while keeping the system understandable enough to modify safely. current: > - 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. + The repo Face swarm is shut down again after the 2026-05-27 live restart + exposed a surviving doctrine-attractor failure. The pause flag is true and + the GameCult Local Orchestrator scheduled task is disabled; the bot listener + and worker remain live for non-swarm work. The transport and parent Mind + rails mostly held: malformed output did not become owner-reply leakage, and + Nibu's source-grounded turn stayed private. The new failure is upstream: + recent agent chorus plus projected state amplified the same + owner/enforcer/revoker/locked-door specimen formula, and parent Mind accepted + Fensalir's repeated chain as "concrete" instead of diagnosing semantic + saturation relapse. constraints: - Public traffic still rides one remote Qwen box plus local embedding and ops infrastructure. @@ -59,10 +60,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 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. + - 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 down after the 2026-05-27 live restart: pause flag true, orchestrator disabled, no running orchestrator/heartbeat/Codex Face processes found after targeted shutdown, bot/worker/dashboard still live. Next repair must address semantic attractor relapse before another thaw: the context/state projector and parent Mind let "one owner/enforcer/revoker/visible witness/locked door" spread as a repeated formula even after the previous state reset. - 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-27 startup, the orchestrator task is enabled by operator order. + - 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 shutdown after suspect Face turns, the orchestrator task is disabled again. - 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. @@ -263,5 +264,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, 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. + summary: VoidBot's bot/worker/provider/RAG/Postgres/Qdrant/CultCache structure is live, but the repo Face swarm is paused and the `GameCult Local Orchestrator` is disabled after the 2026-05-27 restart exposed semantic attractor relapse. The fixed worker stack still prevents the earlier owner-reply/Mind leak class, and Bifrost work routing remains paused by default. The surviving problem is not transport: Nibu's source-grounded Aetheria turn routed private, while Fensalir's retried turn posted a repeated "shared knowledgebase is only the shelf / specimen jar / owner / enforcer / revoker / locked door" formula. The Face prompt/context showed the formula in recent transcript and projected state; parent Mind marked it as concrete instead of treating it as a stale chorus pattern. + next_action: Keep the swarm down. Map the Face-turn ownership path from transcript selection through state projection to parent Mind routing, then cut the surviving authority that lets repeated agent chorus become fresh projected desire. Verify with Nibu/Fensalir-style live-context dry runs that repeated formula pressure routes private or pivots to genuinely new repo/source/social substance before any orchestrator thaw.