Capsule blocks step 2: mkcapsule makes no claims -- a later write overwrites

Captain Bob ruled "Overwrite. That's it. Deterministic and final", within
a capsule and across capsules, "consistent with VOCABULARY FORGET & FENCE
philosophy, not implementation". Of what only prevented collisions:
"All of it goes".
- The cross-capsule collision gate is gone.
- tools/capsule-reserved.txt and its check are gone.
- The interactive resolver and its claim registry are gone.
- BLOCK_MAP.md says "Blocks used", and marks a shared number "the later
  write overwrites". It is a convenience, not a gate.
- An unknown option is refused with the usage. A removed mode was
  otherwise taken for the capsules directory, with its next argument as
  the output file.

Test first: scripts/test_mkcapsule_overwrite.sh, 9 checks.
- The before-run failed 7. A repeat within one capsule already built,
  since there was never a check for it.
- After: all 9 pass.

step 1's test still passes, the amd64 build is clean, all 40 capsules
lint, and the mesh boot passes 109 checks with POST 990/990.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
Claude
2026-11-18 19:44:32 +00:00
parent 6f9900f805
commit f30005e1f6
9 changed files with 461 additions and 626 deletions
+14 -1
View File
@@ -88,7 +88,20 @@ Each step is test first, then POST and the protocol:
The plan as written: `block_subsystem.h` and the kernel read
it, and `mkcapsule` is given it at build time in place of its literal 2048.
2. **`mkcapsule`.**
2. **`mkcapsule`. Built 2026-11-18** (rulings: overwrite within a capsule too, "consistent with
VOCABULARY FORGET & FENCE philosophy, not implementation"; of what only prevents collisions, "All of
it goes"):
- the cross-capsule collision gate is gone;
- so are `tools/capsule-reserved.txt` with its check, and the interactive resolver with its claim
registry;
- the map says "Blocks used", and marks a shared number "the later write overwrites";
- an unknown option is refused with the usage, so a removed mode is never taken for the capsules
directory.
A repeat within one capsule had no check to remove. Tested by `scripts/test_mkcapsule_overwrite.sh`,
9 checks, in `logs/20261118-mkcapsule-overwrite/`.
The plan as written:
- Its floor comes from the knob.
- Its cross-capsule collision check goes, since a later write overwrites.
- `BLOCK_MAP.md` says "Blocks used".