Implement M5.7 local world publication and recovery

This commit is contained in:
dingo
2026-09-26 19:26:30 -04:00
parent 207f9e6953
commit 56f533c738
13 changed files with 874 additions and 14 deletions
+14 -2
View File
@@ -143,10 +143,22 @@ verified durable failure domain containing the complete causal recovery chain
and referenced payloads before acknowledgment; restoring an older backup cannot silently undo
permadeath. That admission/DR requirement is a World0 launch gate.
## Implemented M5.7 local file publication boundary
[ADR-0048](../adr/0048-local-publication.md) and
[the manifest schema](../../schemas/local-world-manifest.md) implement a single-writer
development file backend over the M5.6 codecs. Immutable checksum-named payloads
are installed before alternating manifests; atomic replacement of the inactive
manifest is the commit point. Recovery validates the selected snapshot and replays
its optional one-segment journal into a detached store. Pre-publication failures
retain the previous generation; a post-publication interruption requires reopen
and recovers the new one. Orphan files are retained. This is not the M7 fenced,
multi-worker or host-loss durability contract above.
## Implemented M5.6 local world codec boundary
[ADR-0047](../adr/0047-world-codec.md) and [the codec contract](../world/WORLD_CODEC.md)
implement bounded canonical buffers carrying world/frame IDs, base versions, covered
command high-water, resident cells, debris and exact retry state. Detached replay
verifies predecessor and final state. This is in-memory codec validation, not the
production durability contract above. File publication/crash recovery is M5.7.
verifies predecessor and final state. This remains an in-memory codec beneath
M5.7's local file publication adapter.