Merge pull request 'Design 47 G: the lead's answer A-456b (the release record is bounded; a publish item ends with its release)' (#650) from design/47-G-lead-answers-64 into main

This commit was merged in pull request #650.
This commit is contained in:
2026-11-17 00:24:02 +00:00
@@ -1435,3 +1435,10 @@ the principle that settles it, cited as "design 47 G A-n".
node's module, and only when its running build has no entry; and only a store with no known address (the holder
opens no listen, or two) holds the modules that fetch from it: every other fault of finding the store still refuses
the node, as before (principle 3). (From the review of A-461: novox's placement of `distribution` names no build.)
- **A-456b** (A-456a, A-457a; principles 7, 11 and 3) The builder's record of releases is one key per module,
`released.<module>`, holding its last `released-kept` releases (fingerprint and version; a setting, default 16), the
oldest dropped when a newer one is written; a rerun of an older build's step than those is judged as a build with
no reservation. A publish item is deleted when its reservation is dropped or taken over, and when its release is
written; never because its artifacts are published, so a release that never comes is tried again. At its start the
builder asks an item for every reservation of a done build, whatever its artifacts. (From the review of A-456a and
A-457a: one key per release filled the 1 MiB state for good, and an item went before its release.)