Watch
0
0
Fork
You've already forked hyperhive
0

docs: persistence and config changes become one operator page

The operator parts of the persistence and config-changes pages merge into
agents/persistence.md. The sqlite tables, state dirs, mounts and migrations move
to 4-implementation/agent-state/persistence.md, and the deploy path, meta flake,
deploy markers, startup migrations, root container, system messages and
autoupdate move to 4-implementation/agent-state/config-changes.md. Links, code
comments and nix comments that named the old sections point at the new pages.
This commit is contained in:
iris 2026-11-10 22:22:06 +01:00 • committed by mara
commit 0ae34b1cd0

View file

@ -2,7 +2,7 @@
Architecture notes for the `hive-c0re` coordinator daemon's internal subsystems.
For the public API surface (dashboard, socket protocol) see `docs/5-project/process/conventions.md`
and `docs/2-handbook/agents/persistence.md`.
and `docs/4-implementation/agent-state/persistence.md`.
---
@ -328,7 +328,7 @@ boot with no operator action in this process never finds drift of its own.
Agents build from the swarm's `internal/meta` flake, which swarm-controller
commits and the swarm builder builds from (see
[Config changes](../../2-handbook/agents/config-changes.md#the-swarms-meta-flake)).
[Config changes](../../4-implementation/agent-state/config-changes.md#the-swarms-meta-flake)).
The hive keeps no flake of its own and deploys the closure the swarm builds
from it, as the agent's `agent-closures` record declares (`attic/closure.rs`).
`agent_set.rs` keeps the
@ -536,7 +536,7 @@ config — all nspawn containers live in `machine.slice`.
## See also
- `docs/2-handbook/agents/config-changes.md` — config PRs, meta flake, system messages
- `docs/2-handbook/agents/persistence.md` — SQLite schema, state-dir layout
- `docs/4-implementation/agent-state/config-changes.md` — config PRs, meta flake, system messages
- `docs/4-implementation/agent-state/persistence.md` — SQLite schema, state-dir layout
- `docs/5-project/process/conventions.md` — wire protocol, recipient sentinels
- `docs/2-handbook/agents/agent-roster.md` — the agent roster and privilege