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
+36 -5
View File
@@ -1,10 +1,41 @@
# Validation report
Recorded 2026-09-19. Latest verified Linux delivery: **run 1402 passed** on
`4c2cc04ac47d37c6191a9ef02d4bbba716a930dc`. Native checks apply to base commit `8ab48d3` plus the
foundation-delivery working changes committed with this report. Simulation rules
and snapshot format remain version 1; the only C++ change is benchmark metadata.
Results below distinguish executed checks from pending Linux/cluster gates.
Recorded 2026-09-19; subsequent gate evidence is appended by date below. Latest
historical verified Linux delivery at the time of the foundation report was **run
1402** on `4c2cc04ac47d37c6191a9ef02d4bbba716a930dc`. Native check history and later
gate-specific results are kept separate. Results distinguish executed checks from
pending Linux/cluster gates.
## M5.7 local publication - 2026-09-26
Added the single-writer local filesystem adapter and manifest v1 under ADR-0048.
The implementation is in `include/evo/world/local_files.hpp` and
`src/world/local_files.cpp`; `schemas/local-world-manifest.md` defines the durable
bytes. The commit point is replacement of the inactive manifest slot after the
referenced payload has been written, flushed, installed and directory-flushed.
Recovery validates the snapshot and optional journal before returning a new store.
FNV is only a corruption check; this is not host-loss durability or the M7 region
ownership system.
Executed on Windows x64 / MSVC 19.44.35207:
- `tools/windows-check.ps1 -Preset release -Action check`: configure/build passed;
47/47 CTests passed with `NDEBUG`.
- `tools/windows-check.ps1 -Preset analysis -Action check`: clang-tidy 19 and
warnings-as-errors build passed; 47/47 CTests passed.
- `tools/windows-check.ps1 -Preset asan -Action check`: build passed; 47/47 CTests
passed. The Windows preset is not Linux ASan+UBSan evidence.
- `tools/windows-check.ps1 -Preset release -Action format`: passed.
- `git diff --check`: passed before commit.
New coverage validates checkpoint/journal/recovery, compaction over a published
journal, exclusive writer lock, all three injected publication boundaries, corrupt
manifest and missing published payload failure. Before-manifest failures recover
the previous generation; after-manifest replacement recovers the new generation.
Actual power-cut/full-disk behavior, POSIX syscall path, Linux CI/libFuzzer, and
filesystem-controller flush guarantees remain unverified locally. There is no
automatic orphan cleanup, production storage adapter, Kubernetes deployment or
World0 change.
## Tools and host