Design 47 H2: H-A-480, a rank wait is never overwritten by the composer's hold

This commit is contained in:
2026-11-22 15:58:05 +01:00
parent ac7654bc72
commit 218c40206e
@@ -979,3 +979,9 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
already pins a candidate revision from pipeline-started to pipeline-ended; a rerun of a step in an ended pipeline
pins the revision again at the reopening, and is refused by name ("its revision <r> is gone; start the mover again
at the head") when the revision is already removed. P4, P-failure-loud.
- **H-A-480 (a rank wait is never overwritten by the composer's hold, 17:40)** The node-engine's composer marks a module
not composed from a have it read before it writes; a rank wait written between the read and the write is lost and
never written again. The write of a mark is a compare-and-set on the have's revision (a write that lost the race
reads again and keeps the other cause as the rule already says), a module waiting for its rank is never marked, and
a mark on a module that never ran is cleared at the next pass that composes it. The composer's watch goroutine ends
with the agent's stop. P4, P-failure-loud.