Design 47 H2: H-A-627, tier-bound counts no time a mover waits for the operator's yes

The operator answered at 20:43 CET ("Yes, pause it"): main.505's tier 1 went late
while the bus module waited on a yes, so tier 2 was never written, the second time
of the kind. The pause is read from the assigner's own asks (ADR 0596 §4), kept in
the tier progress as clock-from and paused-from, and checked by two rows of the
existing tier test.
This commit is contained in:
2026-11-23 20:57:27 +01:00
parent 224d2c0fd0
commit 9ea26f24bf
@@ -22,6 +22,7 @@ decisions:
- "ADR 0640"
- "ADR 0603"
- "ADR 0550"
- "ADR 0596"
---
# Design 47, milestone H2: lead answers, continued again
@@ -414,3 +415,42 @@ design now.
of `buildstep` (ADR 0686 §5). The build runner, the Go build module's by ADR 0593 §1, is outside this line. How it is
checked: ADR 0686 §9's checks (no build module imports a package of mesh-delivery-sdk or of the builder); the seat
`mesh-builds`' definition names the step runner's verbs. ADR 0593 §1, ADR 0686 §3, §4; principles 7 and 9.
## The operator's answers (2026-11-23 from 20:43 CET)
- **H-A-627 (`tier-bound` counts no time a mover waits for the operator's yes, read from the assigner's own `asks`,
20:45)** 23 Nov, the operator's answer of 20:43 CET to the lead's design question ("Yes, pause it"), amends §751's
`tier-bound`, H-A-56 and H-A-75. The case: pipeline main.505's tier 1 held the bus module on one machine while it
waited for the operator's yes, asked from 18:54 to 19:28 CET; at 19:22 the assigner found the tier late, so tier 2
(the gate, the forge module, the pipeline runner, the indexer, the status view, the builder and the tool runner) was
never written; the second meeting of the kind, after main.502 (and a near miss at main.495). ADR 0682 §8 decides a
bound per step of the order whose end fails the pipeline, and §9 makes the operator's yes the asker's, not the want
rule's; how the bound counts a wait on the operator is the design's own, and the operator answered it. (1) **What
pauses the count.** `tier-bound` counts no time during which the seat `mesh-wants`' state `asks` (G §717: the asks of
the operator the assigner writes and deletes and the teller offers, not the step asks of the seat's work queue) holds
a key of any kind but `assignments` that names a mover of the tier by its module, by the mover's fingerprint where the
kind's key names one (every kind but `record`, whose key names the composition), and, where the key names a machine
(every kind but `hold`), by one of the present placing machines on which §751 finds that mover not running. One such
key pauses the count of the whole tier, which has one bound (H-A-56). The yes is read there because `asks` is the
assigner's own state (ADR 0596 §4): the node-engine's phase `waiting-yes` is another module's state (ADR 0596 §2), and
the want carries the yes only once it is given. (2) **Which part keeps what.** The assigner keeps the pause in the
tier progress of its state `written` (H-A-56), whose value gains `clock-from`, the time `tier-bound` counts from (in
`since`'s form; written equal to `since` when a tier's progress starts; absent read as `since`), and `paused-from`,
the time the standing pause began (absent while the bound counts). The tiers' judgement of each pass (H-A-256) reads
`asks` as that pass leaves it: the first pass that finds such a key writes `paused-from` with its own time, never
earlier than `since`; the first pass that finds none moves `clock-from` later by the time since `paused-from` and
deletes `paused-from`, both by compare-and-set as the progress is written. A tier is late only with no `paused-from`
and its time at or past `clock-from` plus `tier-bound`; only that time is armed on the one deadline timer (H-A-56),
and a paused tier arms none. The next tier's progress starts with `clock-from` its own `since` and no `paused-from`;
both go with the key when the assigner deletes it (H-A-75). Both are kept on the bus, so a restart keeps a pause, and
the first pass after it ends a pause whose key is gone. The teller and the operator channel keep nothing new, and no
event is added: the wait is said by its ask, offered again at each lapse while its key stands. (3) **What is said and
read.** The assigner's journal says a pause's start (the pipeline, the tier, the module, the machine and the ask's
key) and its end (how long the count stood still and when the tier is now late); `assigner_written` answers
`clock-from` and `paused-from` with the progress, and its description names them. A tier already said `tier-late`
stays ended: `pipeline-wanted` is said once (H-A-75), and no later pause reopens it; the finding `tier-late` and its
body are unchanged. How it is checked: two rows of the table of §751's tier test of the assigner
(`TestAPipelinesWantsAreWrittenTierByTier`, in mesh-delivery), never a new top-level test function: with the
provider's `record` ask standing in `asks` from minute 5 to minute 45 of tier 1, nothing is late at minutes 30 and 69
and `tier-late` is raised at minute 70; with the provider running at minute 50, the consumer's want is written then.
ADR 0682 §8, §9; ADR 0596 §2, §4; principles 1, 3 and 4.