Surface swarm turn reliability stats

This commit is contained in:
Meta Vens 2026-06-07 04:57:42 +01:00
commit 737c896361
5 changed files with 316 additions and 8 deletions

View file

@ -66,6 +66,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou
- State storage is no longer one persistence omnibus; `packages/core/src/state-storage.ts` is now a thin factory over domain-specific Postgres/file store modules plus bootstrap/migration helpers.
- Source archive storage is no longer one giant JSON monolith; `packages/rag/src/source-document-archive.ts` now keeps a small manifest at `.voidbot/rag/source-documents.json` and per-repo shards under `.voidbot/rag/source-documents.repos/`.
- Ops health, local backup verification, and dashboard surfaces already exist. Raven-backed offsite sync is disabled by config and should not be treated as a live health requirement.
- `voidbot.swarm`'s Eve TUI/status dashboard now includes derived turn reliability telemetry. `scripts/render-voidbot-swarm-dashboard.mjs` reads heartbeat history and the tail of `.voidbot/logs/model-outputs.jsonl`, then publishes parent-Interpreter route/retry/drop/malformed counts and turn/job failure counts into `turnReliability` in `.voidbot/status/swarm-state.json`, `.voidbot/status/cultmesh/voidbot-swarm-state.cc`, and the local HTML HUD.
- The stack has a dedicated logon startup task path now, so a reboot does not have to mean manual necromancy for bot and worker.
- The operations health probe now supports ignored local extension checks, so adjacent-service fire signals can become probe issues without hardcoding private project gossip into the public repo. Idunn owns the decision to restart or escalate to the operator.
- Source repo discovery now reconciles automatically during `npm run stack:start` and through the watchdog path, so new repos under `SOURCE_REPO_ROOT` stop waiting for manual hook folklore before they get indexed.

View file

@ -237,7 +237,7 @@ Target Eve surfaces:
- `voidbot.archive`: archived Discord corpus status, import/backfill health, bot-directed-prompt exclusion, history vector freshness.
- `voidbot.source`: repo/lore shard freshness, indexed coverage, Qdrant collection health, detached reindex jobs.
- `voidbot.repo_persona`: registered identities, repo-local `.cc` witnesses, channel grants, prompt assembly status, Bifrost digest availability, Huginn inspection readiness.
- `voidbot.swarm`: CTB order, active turns, pending mention queues, heat/cadence controls, orchestrator status, selected Persona state witness.
- `voidbot.swarm`: CTB order, active turns, pending mention queues, heat/cadence controls, orchestrator status, selected Persona state witness, and derived turn reliability stats for parent-Interpreter route/retry/drop/malformed outcomes plus turn/job failures.
Migration order: