NATS10: the bus module serves no restore point tool and keeps no state kept

Reverts bbd9f638, c2e017a4 and b6884796; cmd/mesh-nats-snapshot/restore.go is as before them. The manifest test
asserts the claim serves only the reading verbs and the keeper's state is asked, requests, spent.

Builds: design 47 G §554, §555

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 15:45:03 +01:00
parent 9f62e0a2ba
commit bea1c446ea
16 changed files with 126 additions and 1395 deletions
-13
View File
@@ -136,19 +136,6 @@ a put of the assigner (novox/hq ADR 0546, ADR 0565 clauses 8 and 9). In this ord
tested) and the manifest's shape (programs mounted read-only, named in `restart-on`, no image built from
a Dockerfile).
## A module's kept data, backed up and restored with its delivery (milestone G)
The keeper takes, on its own account, a restore point of one module's kept data on the bus before the module moves across a
change of that kept data's `form`, and restores it beside the live data when a want takes the module back (design 47, *A
module's kept data on the bus*). Its seat verbs, served by the tools and handed to the keeper as requests:
`mesh-broker.snapshot-kept` (the data as the server's snapshot, the module's consumers' positions and the catch-up tool, in
one directory under the keeper's state), `mesh-broker.restore-kept` (the live data is snapshotted into a set-aside
directory under a name of its own and only then removed; the restore point is put in its place and the consumers on other
streams are set back; with `aside-only` it sets the live data aside and restores nothing, with `discard-aside`, naming data
set aside, it removes that data on a call that says why, recorded first, and restores nothing). Both are called by the
holder of `node-backup` on the same node alone. The backup holder
keeps the restore points; it calls these verbs through the seat.
## Files it does not know
Each directory or archive this module declares says how it treats a file it did not write (ADR 0422, ADR 0416).