Add startup task for stack resurrection

This commit is contained in:
Meta Vens 2026-04-30 16:41:44 +01:00
commit fe05427159
10 changed files with 109 additions and 2 deletions

View file

@ -26,6 +26,7 @@ Git history and smoke artifacts carry routine proof. `state/evidence.jsonl` shou
- Interaction-memory logic is no longer one thousand-line slab; event/tone analysis, shared constants, and profile synthesis are split across `packages/core/src/interaction-memory-*.ts`.
- 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.
- Ops health, backup verification, offsite sync, and dashboard surfaces already exist.
- 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 watchdog now supports ignored local extension checks, so adjacent-service fire signals can ride the same owner DM alert path without hardcoding private project gossip into the public repo.
- The new state/notes surfaces are now the continuity spine for future nontrivial work.

View file

@ -85,6 +85,8 @@ This note is the source-grounded description of how the live VoidBot stack is sh
- `scripts/start-voidbot-stack.ps1`
- stack bootstrap, health checks, fresh build, stale-process cleanup, bot/worker restart, runtime status emission.
- `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`
- watchdog for process liveness, Qdrant, Postgres, Ollama, Discord auth, backup freshness, offsite sync freshness, and optional ignored local extension checks.
- `scripts/backup-voidbot-state.ps1`

View file

@ -18,6 +18,7 @@ Use the persistent project-state surfaces to keep future work source-grounded an
- add a real restore-drill cadence instead of stopping at backup verification
- reduce dependence on interactive workstation logon where practical
- keep the stack startup task installed and visible so reboots do not quietly leave runtime dead
- keep watchdog signals and dashboard diagnostics honest when dependencies are degraded
- keep adjacent-service checks behind private local extensions so VoidBot does not quietly mutate into a generic infra panic funnel