diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-2.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-2.md index 402919f4..1eae8266 100644 --- a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-2.md +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-2.md @@ -14,7 +14,6 @@ decisions: - "ADR 0640" - "ADR 0632" - "ADR 0614" - - "ADR 0603" - "ADR 0593" - "ADR 0563" - "ADR 0550" @@ -36,8 +35,9 @@ decisions: # Design 47, milestone H2: lead answers, continued This file continues [H2-lead-answers.md](H2-lead-answers.md) from H-A-568 on, since that file passed its 60 KB bound: -H-A-568 to H-A-587 moved here from it with round 2 of their review, and every later answer is written here alone. -Each line names the record or the principle that settles it. +H-A-568 to H-A-587 moved here from it, and H-A-588 to H-A-593 were written here; H-A-594 on, round 2 of the review of +H-A-568 to H-A-587 among them, are in [H2-lead-answers-3.md](H2-lead-answers-3.md). Each line names the record or the +principle that settles it. ## From the review by architectural domain of H-A-534 to H-A-567 (2026-11-23 from 15:20 CET) @@ -492,159 +492,4 @@ and how each is checked. twice at one version, and no H-A-589 journal line names a Go program, a bundle, an archive or a package (H-A-591), read from the holders' `refused` events and journals. Principle 3. -## Round 2 of the review by architectural domain of H-A-568 to H-A-587 (2026-11-23 from 15:58 CET) - -All four reviewers by architectural domain did not approve H-A-568 to H-A-587 in their second round; the lines below -write each of their findings as an amendment of the answer it corrects, citing the record or the principle that settles -it. - -- **H-A-594 (the movers a failed pipeline leaves are carried in closed groups, reopening it when the head's pipeline has - ended, 15:58)** 23 Nov, round 2 of the review by architectural domain of H-A-568 to H-A-587 (all four reviewers), - amends H-A-571, H-A-581 and §786: (1) **The head's revision** is the newest module graph revision whose - `take-in.taken` the runner has handled. A take-in whose pipeline key the runner finds held already (by a pipeline it - keyed by that revision for carried movers) adds its entries to that pipeline as movers (H §743, §746; ADR 0684 §3). - (2) **What is carried together.** At a pipeline's end `failed`, `cancelled` or `could-not-run`, its unfinished movers - (§786: own required steps all passed or never ran) are carried only in groups closed under the pipeline's delivery - edges: a mover goes only together with every mover it has an edge from in that pipeline (H §746), since the order - between movers exists only inside one pipeline (ADR 0682 §8, §9; ADR 0666 §14). A mover with an edge, directly or - through others, from a mover that failed or could not run (each counted as failed, H-A-566), or that waits on such a - mover's publish, is not carried: it stays in `unfinished`, tied to that mover, and goes on with it when it passes (by - `rerun`, in its reopened pipeline) or in the pipeline of the newer fingerprint that moves it. A predecessor a newer - revision moved counts as carried by that revision's pipeline. (3) **Where a group goes.** It is added to the head's - pipeline while that pipeline waits or runs; when the head's revision has no pipeline, the runner starts one keyed by - it; when the head's pipeline has ended, the runner reopens the failed pipeline for the group under that pipeline's own - key and revision (ADR 0684 §3: an unfinished pipeline keeps its pipeline's revision; G-24 §727: a step asked again - reopens its pipeline). Its passed steps are carried, not run again (ADR 0666 §8), and the reopened pipeline says - `pipeline-ended` again with a higher end count, the end from which alone the assigner writes wants (G-24 §727). No - mover waits for an unrelated take-in. `start` (H-A-571), `runner_unfinished_place` (one key, with `why`) and the carry - at a pipeline's end follow this one rule: once the head's pipeline has ended they reopen, never refuse; `start` of a - module whose own step failed reopens its pipeline as `rerun` does. (4) **What is said.** Each mover added to a - pipeline is said by the runner's new event `mover-added`, on that pipeline's subject as `pipeline-started` is - (H §746), carrying `pipeline`, `revision`, `module`, `fingerprint` and either `from` (the pipeline it came from) or - `caller` (`start`'s caller, as the runtime proved it), declared in the seat `mesh-pipeline-runner`'s definition under - its events family (§821), the definition regenerated and its form raised. The failed pipeline's `unfinished` value of - a mover carried elsewhere gains `carried-by`, the pipeline that carries it, and the mover leaves that failed - pipeline's movers, so none of its later ends names it. The carrying pipeline writes the mover's want at its passed - `pipeline-ended` (H §750, §751) and the runner deletes its `unfinished` key then; when the carrying pipeline ends - otherwise, the key stays, `pipeline` naming that pipeline and `carried-by` cleared. The carry skips a key whose - `carried-by` pipeline waits or runs. (5) **The keys left today.** The runner of this change carries, at its start, - every key of `unfinished` whose `carried-by` pipeline neither waits nor runs, by (2) and (3), as at a pipeline's end, - among them the keys, about 110, that pipelines main.454 to main.493 left. H2's milestone plan names that start as the - step after the runner's delivery, read with `runner_unfinished` before and after. How it is checked: whole (runner, - with a stub build seat): of a pipeline whose node-engine fails and whose gitea passes, gitea stays in `unfinished` - until the node-engine passes, and then both are wanted; a group joins a running head pipeline, said by `mover-added` - with `from`; with the head's pipeline ended, the failed pipeline reopens under its key and says `pipeline-ended` with - a higher end count; a take-in finding its key held adds its entries there; a key whose `carried-by` pipeline runs is - skipped. ADR 0682 §8, §9; ADR 0684 §3; ADR 0666 §8, §14; principles 3, 4 and 10. -- **H-A-595 (a failed record pins the revision its mover's entry comes from; the first `widens` is kept, 16:00)** 23 - Nov, round 2, amends H-A-566 and H-A-572 (1): the record `failed..` is written for each mover that did - not pass at a pipeline's end `failed`, `cancelled` or `could-not-run`, not at `failed` alone, and pins the revision - the mover's entry comes from (its kept revision, H-A-285, else the pipeline's own) and that revision's `base` - (H-A-151), still at most two revisions per record. The `unfinished` value gains `widens`, the mover's part of `widens` - as the first pipeline that moved it computed it (H-A-582); a carrying or reopened pipeline says it in its - `pipeline-ended` from that value and never computes it again. How it is checked: whole (indexer): a kept mover's - record pins its kept revision and that revision's `base`, at a `cancelled` end as at a `failed` one; whole (runner): a - carried mover's `widens` equals its first pipeline's. ADR 0666 §23; principle 3. -- **H-A-596 (the tool runner's build that answers `stopping` is never wanted, 16:01)** 23 Nov, round 2, amends H-A-570 - (6): done at 15:47 CET by the lead: the key `main.node-tools` of the runner's `unfinished` was dropped with - `runner_unfinished_drop`, because its fingerprint 3b09a323 carries the tool runner's `stopping` answer, which H-A-570 - withdraws; no carry may bring it back. How it is checked: live, after H2's delivery: no want of `node-tools` on any - machine names the fingerprint 3b09a323, read through the seat `mesh-wants`. Principle 3. -- **H-A-597 (a late `running` moves a record's time only from a machine present at its end, 16:02)** 23 Nov, round 2, - amends H-A-585: the gate applies only the first `running` of a mover's version from each machine the record counted - present at its end; that `running`, when later than `ended`, writes `ended` and `delivery-time` again. A `running` - from a machine that was away at the end (a machine back, ADR 0603 §7) or a repeated one marks the mover's entry - (G §144) and leaves `ended` and `delivery-time` as they are. When the time moves, the gate says `record-ended` again - with `ends`, its end count, one higher (as `pipeline-ended`'s end count, G-24 §727), so the self-check's probe and the - status view hear the moved time as an event. This replaces the rule for a machine back in the gate's held commit - fa345c83. How it is checked: whole (gate): a late `running` from a present machine moves the time and says - `record-ended` with `ends` 2; one from a machine that was away, and a second one from the same machine, move nothing. - Principle 3. -- **H-A-598 (an npm package's test-file patterns are a setting of the indexer, 16:03)** 23 Nov, round 2, amends H-A-573: - the patterns are used by the indexer's digest rule alone, so they are the indexer's setting `npm-test-files`, a list - of patterns with the default of H-A-573 (`**/*.test.*`, `**/*-test.*`, `**/*_test.*`, `**/test.*` and everything under - a `test` directory), declared in the indexer's manifest and read by its settings reader (H-A-370); the Node build - module declares nothing for it and the indexer reads no other module's manifest for it. How it is checked: unit - (indexer): with the setting given one pattern, a file it matches leaves the digest unchanged and another file changes - it; the code review finds no pattern in the indexer's code. Principles 7 and 11. -- **H-A-599 (the step held for the runner's view is bounded by `stalled-bound` and stays running, 16:04)** 23 Nov, round - 2, amends H-A-577 (2): the held step's `wait-held` carries as `bound` the runner's setting `stalled-bound` (§790, - default 5 minutes) and as `clock-from` the time it was held. The held step keeps the outcome `running`, and the runner - says no `step-started` when it holds it, so the watchman raises `pipeline-stands` once that bound has passed from - `clock-from`, also after a restart of its own, since it seeds its open waits from the runner's `stands` (G §75), which - lists the held step. The wait ends when the view holds that revision or a newer one (`how` `ran`, the step judged - again as H-A-562 (2) says), when the catalog answers that revision gone (`how` `failed`: the pipeline ends failed - naming "revision gone", as H-A-496 has it for a kept revision), by `runner_rerun` (`released`), or at its - pipeline's end or cancel (`superseded`). How it is checked: whole (runner and watchman): with `stalled-bound` at one - minute, a held step raises `pipeline-stands` after one minute, again after the watchman restarts, and ends `ran` when - the view takes the revision in. ADR 0666 §24; principles 3 and 11. -- **H-A-600 (the bus module's tool that narrows a live consumer's filter is built in H2, 16:05)** 23 Nov, round 2, - amends H-A-587 and replaces the lead's answer to its question: a hand act with no tool is the second of its kind after - H-A-500 (the instruction tools-are-how-a-module-is-spoken-to). So the bus module (the holder of `mesh-broker`) gains - in H2 the tool `nats_consumer_narrow`: given a stream, a durable consumer, `remove` (the filter subjects to remove) - and `why`, it removes those filters by the consumer's create-or-update call (ADR 0640 §2's call), keeping its other - settings and its delivery position; it refuses to remove every filter of a consumer and a subject the consumer does - not filter, and is a hand act recorded through mesh-hand-acts before it is asked (ADR 0640 §3). The indexer's handlers - that acknowledge with no work the subjects it no longer consumes (H-A-578 (2)) go in the indexer's first change after - that tool has narrowed its consumer; the narrowing is named among the hand acts after H2's delivery in its milestone - plan. How it is checked: whole (bus module): a narrowed consumer keeps its delivery position and is delivered no - message of a removed subject; a call removing every filter is refused. ADR 0640 §2, §3; principle 4. -- **H-A-601 (a superseded end without its revision ends the step could-not-run, 16:06)** 23 Nov, round 2, amends - H-A-574: a `superseded` end without `revision` is not refused but ends the step `could-not-run`, naming the builder - and "a superseded end without its revision", said in the runner's `step-ended` as every end is; `rerun` asks it again. - How it is checked: unit (runner): such an end ends the step `could-not-run` with those words, and a `rerun` asks the - step again. Principles 3 and 4. -- **H-A-602 (a token file goes only once the vault holds its token and the forge revoked it; the pass back, 16:07)** 23 - Nov, round 2, amends H-A-575 and H-A-579 (1): gitea's TypeScript bundle deletes a token file only once this start's - own-put of that account's token has answered and the token the file holds has been deleted at the forge; with an empty - vault a refused own-put leaves the files and their tokens as they are. A return to the earlier build changes the - declared owner back, and the node-engine runs the pass of H-A-579 (1) the other way by the same rules: the units - stopped, what lies below the directories given to the earlier account (H-A-550's rules, the earlier account now the - one given to), the directories, the units started; once the files are deleted the earlier build's stand-in has none to - read, so that return publishes only until then. H-A-583 (4) gains the pass back. How it is checked: whole (gitea): - with the vault refusing the own-put, both files stay; unit (node-engine): the directory of H-A-583 (4) given back to - the earlier account keeps the same three entries as they were. ADR 0550 §1; principles 2 and 3. -- **H-A-603 (`again-delays` span the tool runner's restart, 16:08)** 23 Nov, round 2, amends H-A-570 (5) and §799's - default: the tool runner's absence at a restart is at most its `drain-bound` (30 s), the 15 s it is given to stop its - bundles (H-A-358) and its start, which §775 counts at 20 to 50 s, so 95 s; the build modules' `again-delays` default - becomes "15s,90s", whose sum, 105 s, spans it, the first run again still after 15 s. A publish still meeting no - responders at its third run ends the step failed with `publish: no responders` (ADR 0664 §2), and `rerun` asks it - again. How it is checked: the conformance kit's publish row with the default delays; H-A-583 (1) measures the absence. - ADR 0664 §1, §2; principle 11. -- **H-A-604 (the acceptance tests as round 2 has them, 16:09)** 23 Nov, round 2, amends H-A-583: (1) names its act: the - seat `node-service-manager`'s verb `restart` of the tool runner's unit on the machine that serves the registry seats, - called once the publishing build step has started. (3) is the runner's whole test with a stub build seat, covering - H-A-594 (2) to (5) and H-A-595, plus a live check after H2's delivery: every mover of main.457 whose own steps passed - is wanted on its placing machines, read through the seat `mesh-wants`. (4) gains the pass back of H-A-602. Principle - 3. -- **H-A-605 (four notes of round 2, 16:10)** 23 Nov, round 2: (1) H-A-568: ADR 0686 §5, proposed and not in force, would - move mesh-sdk's manifest reads, `ManifestNeeds` included, to the indexer; if it is accepted before H-A-568 is built, - both moves land as one change of mesh-sdk. (2) H-A-572 (2): the runner clears a module's `pipeline-failed` (H §770) - when its registrations view no longer names the module, as the indexer frees its failed record. (3) H-A-578 (5): the - stream that keeps `versions-filled` is dropped by the bus module's `nats_drop`, by warrant after its snapshot - (H-A-126), once the new builder runs, named among the hand acts after H2's delivery in its milestone plan. (4) H-A-569 - (2): the manifest validator's need rules carry a version, `needs-rules`, a number in its package `judge` raised with - every change of those rules; each module graph revision the indexer writes carries it as the field `needs-rules` (the - seat `mesh-catalog`'s revision form, raised with H-A-580's), and a take-in derives the rule needs of unmoved entries - again only when its own `needs-rules` is higher than its base revision's (absent read as 0), reading each unmoved - entry's manifest from the entry itself (its field `manifest`, the manifest it carries whole). How it is checked: unit - (indexer): a take-in with unchanged `needs-rules` derives nothing for unmoved entries; one with a higher number - derives each from the entry's `manifest`. Principles 3 and 7. -- **H-A-606 (a publish is asked again on ADR 0674's events, never on a timer; A-457's pause withdrawn, 16:12)** 23 Nov, - the lead's item K of round 2: A-457 and A-457a ask a failed or unanswered publish again after a growing pause - (`publish-pause` doubled per try up to `publish-pause-max`, `publish-tries` tries) and A-457 says the publish "is - never waited on a `running` or `manifest-reads-changed` event any more", while ADR 0674 decides that a version left - unpublished is published again once per event that says a registry seat's holder or its node is back (§2), one at a - time per holder and queued at most once (§3), and that nothing waits on a timer (§4). A design follows its record, so: - A-457's timer path, its putting of every unreleased reservation on the queue at the builder's start, and A-457a's - settings `publish-pause`, `publish-pause-max` and `publish-tries` with their tries and next try go; A-473's ask at a - build's end stays the first try. A publish that fails or is not answered leaves the version reserved, with - `version-unreleased` naming the holder's words (ADR 0674 §3), and it is published again only by G §588's event path: - the node-engine seat's `running` of a module whose entry claims the registry seat of the missing artifacts' kind, or - its `manifest-reads-changed` with `why` `returned` of the node that holder runs on, each acted on once by its sequence - (state `acted`), queued per holder in the state `publish-queue` and taken up again from it at the builder's start, or - by `builder_publish_again` at any time. A-457b is withdrawn: `republish-max-versions` (G §633, 50 unless set) is read - again as §588's bound per event. Where H-A-590 (2) says the item "spends none of its `publish-tries`", it reads: the - queued version ends at once at such a refusal. How it is checked: whole (builder): a publish refused once stays - reserved and is not asked again until a registry holder's `running` is heard, then is asked once; the code review - finds no timer, pause or count of tries on the publish path. ADR 0674 §2 to §4; principles 1 and 3. +H-A-594 and every later answer are in [H2-lead-answers-3.md](H2-lead-answers-3.md). diff --git a/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md new file mode 100644 index 00000000..e4034ccc --- /dev/null +++ b/03-DESIGN/01-to-be/47-milestones/H2-lead-answers-3.md @@ -0,0 +1,178 @@ +--- +layer: to-be +status: in-progress +design: 47 +milestone: H +updated: 2026-11-23 +decisions: + - "ADR 0684" + - "ADR 0682" + - "ADR 0674" + - "ADR 0666" + - "ADR 0664" + - "ADR 0640" + - "ADR 0603" + - "ADR 0550" +--- +# Design 47, milestone H2: lead answers, continued again + +This file continues [H2-lead-answers-2.md](H2-lead-answers-2.md) from H-A-594 on, since that file passed its 60 KB +bound: it opens with round 2 of the review by architectural domain of H-A-568 to H-A-587, and every later answer is +written here. Each line names the record or the principle that settles it. + +## Round 2 of the review by architectural domain of H-A-568 to H-A-587 (2026-11-23 from 15:58 CET) + +All four reviewers by architectural domain did not approve H-A-568 to H-A-587 in their second round; the lines below +write each of their findings as an amendment of the answer it corrects, citing the record or the principle that settles +it. + +- **H-A-594 (the movers a failed pipeline leaves are carried in closed groups, reopening it when the head's pipeline has + ended, 15:58)** 23 Nov, round 2 of the review by architectural domain of H-A-568 to H-A-587 (all four reviewers), + amends H-A-571, H-A-581 and §786: (1) **The head's revision** is the newest module graph revision whose + `take-in.taken` the runner has handled. A take-in whose pipeline key the runner finds held already (by a pipeline it + keyed by that revision for carried movers) adds its entries to that pipeline as movers (H §743, §746; ADR 0684 §3). + (2) **What is carried together.** At a pipeline's end `failed`, `cancelled` or `could-not-run`, its unfinished movers + (§786: own required steps all passed or never ran) are carried only in groups closed under the pipeline's delivery + edges: a mover goes only together with every mover it has an edge from in that pipeline (H §746), since the order + between movers exists only inside one pipeline (ADR 0682 §8, §9; ADR 0666 §14). A mover with an edge, directly or + through others, from a mover that failed or could not run (each counted as failed, H-A-566), or that waits on such a + mover's publish, is not carried: it stays in `unfinished`, tied to that mover, and goes on with it when it passes (by + `rerun`, in its reopened pipeline) or in the pipeline of the newer fingerprint that moves it. A predecessor a newer + revision moved counts as carried by that revision's pipeline. (3) **Where a group goes.** It is added to the head's + pipeline while that pipeline waits or runs; when the head's revision has no pipeline, the runner starts one keyed by + it; when the head's pipeline has ended, the runner reopens the failed pipeline for the group under that pipeline's own + key and revision (ADR 0684 §3: an unfinished pipeline keeps its pipeline's revision; G-24 §727: a step asked again + reopens its pipeline). Its passed steps are carried, not run again (ADR 0666 §8), and the reopened pipeline says + `pipeline-ended` again with a higher end count, the end from which alone the assigner writes wants (G-24 §727). No + mover waits for an unrelated take-in. `start` (H-A-571), `runner_unfinished_place` (one key, with `why`) and the carry + at a pipeline's end follow this one rule: once the head's pipeline has ended they reopen, never refuse; `start` of a + module whose own step failed reopens its pipeline as `rerun` does. (4) **What is said.** Each mover added to a + pipeline is said by the runner's new event `mover-added`, on that pipeline's subject as `pipeline-started` is + (H §746), carrying `pipeline`, `revision`, `module`, `fingerprint` and either `from` (the pipeline it came from) or + `caller` (`start`'s caller, as the runtime proved it), declared in the seat `mesh-pipeline-runner`'s definition under + its events family (§821), the definition regenerated and its form raised. The failed pipeline's `unfinished` value of + a mover carried elsewhere gains `carried-by`, the pipeline that carries it, and the mover leaves that failed + pipeline's movers, so none of its later ends names it. The carrying pipeline writes the mover's want at its passed + `pipeline-ended` (H §750, §751) and the runner deletes its `unfinished` key then; when the carrying pipeline ends + otherwise, the key stays, `pipeline` naming that pipeline and `carried-by` cleared. The carry skips a key whose + `carried-by` pipeline waits or runs. (5) **The keys left today.** The runner of this change carries, at its start, + every key of `unfinished` whose `carried-by` pipeline neither waits nor runs, by (2) and (3), as at a pipeline's end, + among them the keys, about 110, that pipelines main.454 to main.493 left. H2's milestone plan names that start as the + step after the runner's delivery, read with `runner_unfinished` before and after. How it is checked: whole (runner, + with a stub build seat): of a pipeline whose node-engine fails and whose gitea passes, gitea stays in `unfinished` + until the node-engine passes, and then both are wanted; a group joins a running head pipeline, said by `mover-added` + with `from`; with the head's pipeline ended, the failed pipeline reopens under its key and says `pipeline-ended` with + a higher end count; a take-in finding its key held adds its entries there; a key whose `carried-by` pipeline runs is + skipped. ADR 0682 §8, §9; ADR 0684 §3; ADR 0666 §8, §14; principles 3, 4 and 10. +- **H-A-595 (a failed record pins the revision its mover's entry comes from; the first `widens` is kept, 16:00)** 23 + Nov, round 2, amends H-A-566 and H-A-572 (1): the record `failed..` is written for each mover that did + not pass at a pipeline's end `failed`, `cancelled` or `could-not-run`, not at `failed` alone, and pins the revision + the mover's entry comes from (its kept revision, H-A-285, else the pipeline's own) and that revision's `base` + (H-A-151), still at most two revisions per record. The `unfinished` value gains `widens`, the mover's part of `widens` + as the first pipeline that moved it computed it (H-A-582); a carrying or reopened pipeline says it in its + `pipeline-ended` from that value and never computes it again. How it is checked: whole (indexer): a kept mover's + record pins its kept revision and that revision's `base`, at a `cancelled` end as at a `failed` one; whole (runner): a + carried mover's `widens` equals its first pipeline's. ADR 0666 §23; principle 3. +- **H-A-596 (the tool runner's build that answers `stopping` is never wanted, 16:01)** 23 Nov, round 2, amends H-A-570 + (6): done at 15:47 CET by the lead: the key `main.node-tools` of the runner's `unfinished` was dropped with + `runner_unfinished_drop`, because its fingerprint 3b09a323 carries the tool runner's `stopping` answer, which H-A-570 + withdraws; no carry may bring it back. How it is checked: live, after H2's delivery: no want of `node-tools` on any + machine names the fingerprint 3b09a323, read through the seat `mesh-wants`. Principle 3. +- **H-A-597 (a late `running` moves a record's time only from a machine present at its end, 16:02)** 23 Nov, round 2, + amends H-A-585: the gate applies only the first `running` of a mover's version from each machine the record counted + present at its end; that `running`, when later than `ended`, writes `ended` and `delivery-time` again. A `running` + from a machine that was away at the end (a machine back, ADR 0603 §7) or a repeated one marks the mover's entry + (G §144) and leaves `ended` and `delivery-time` as they are. When the time moves, the gate says `record-ended` again + with `ends`, its end count, one higher (as `pipeline-ended`'s end count, G-24 §727), so the self-check's probe and the + status view hear the moved time as an event. This replaces the rule for a machine back in the gate's held commit + fa345c83. How it is checked: whole (gate): a late `running` from a present machine moves the time and says + `record-ended` with `ends` 2; one from a machine that was away, and a second one from the same machine, move nothing. + Principle 3. +- **H-A-598 (an npm package's test-file patterns are a setting of the indexer, 16:03)** 23 Nov, round 2, amends H-A-573: + the patterns are used by the indexer's digest rule alone, so they are the indexer's setting `npm-test-files`, a list + of patterns with the default of H-A-573 (`**/*.test.*`, `**/*-test.*`, `**/*_test.*`, `**/test.*` and everything under + a `test` directory), declared in the indexer's manifest and read by its settings reader (H-A-370); the Node build + module declares nothing for it and the indexer reads no other module's manifest for it. How it is checked: unit + (indexer): with the setting given one pattern, a file it matches leaves the digest unchanged and another file changes + it; the code review finds no pattern in the indexer's code. Principles 7 and 11. +- **H-A-599 (the step held for the runner's view is bounded by `stalled-bound` and stays running, 16:04)** 23 Nov, round + 2, amends H-A-577 (2): the held step's `wait-held` carries as `bound` the runner's setting `stalled-bound` (§790, + default 5 minutes) and as `clock-from` the time it was held. The held step keeps the outcome `running`, and the runner + says no `step-started` when it holds it, so the watchman raises `pipeline-stands` once that bound has passed from + `clock-from`, also after a restart of its own, since it seeds its open waits from the runner's `stands` (G §75), which + lists the held step. The wait ends when the view holds that revision or a newer one (`how` `ran`, the step judged + again as H-A-562 (2) says), when the catalog answers that revision gone (`how` `failed`: the pipeline ends failed + naming "revision gone", as H-A-496 has it for a kept revision), by `runner_rerun` (`released`), or at its + pipeline's end or cancel (`superseded`). How it is checked: whole (runner and watchman): with `stalled-bound` at one + minute, a held step raises `pipeline-stands` after one minute, again after the watchman restarts, and ends `ran` when + the view takes the revision in. ADR 0666 §24; principles 3 and 11. +- **H-A-600 (the bus module's tool that narrows a live consumer's filter is built in H2, 16:05)** 23 Nov, round 2, + amends H-A-587 and replaces the lead's answer to its question: a hand act with no tool is the second of its kind after + H-A-500 (the instruction tools-are-how-a-module-is-spoken-to). So the bus module (the holder of `mesh-broker`) gains + in H2 the tool `nats_consumer_narrow`: given a stream, a durable consumer, `remove` (the filter subjects to remove) + and `why`, it removes those filters by the consumer's create-or-update call (ADR 0640 §2's call), keeping its other + settings and its delivery position; it refuses to remove every filter of a consumer and a subject the consumer does + not filter, and is a hand act recorded through mesh-hand-acts before it is asked (ADR 0640 §3). The indexer's handlers + that acknowledge with no work the subjects it no longer consumes (H-A-578 (2)) go in the indexer's first change after + that tool has narrowed its consumer; the narrowing is named among the hand acts after H2's delivery in its milestone + plan. How it is checked: whole (bus module): a narrowed consumer keeps its delivery position and is delivered no + message of a removed subject; a call removing every filter is refused. ADR 0640 §2, §3; principle 4. +- **H-A-601 (a superseded end without its revision ends the step could-not-run, 16:06)** 23 Nov, round 2, amends + H-A-574: a `superseded` end without `revision` is not refused but ends the step `could-not-run`, naming the builder + and "a superseded end without its revision", said in the runner's `step-ended` as every end is; `rerun` asks it again. + How it is checked: unit (runner): such an end ends the step `could-not-run` with those words, and a `rerun` asks the + step again. Principles 3 and 4. +- **H-A-602 (a token file goes only once the vault holds its token and the forge revoked it; the pass back, 16:07)** 23 + Nov, round 2, amends H-A-575 and H-A-579 (1): gitea's TypeScript bundle deletes a token file only once this start's + own-put of that account's token has answered and the token the file holds has been deleted at the forge; with an empty + vault a refused own-put leaves the files and their tokens as they are. A return to the earlier build changes the + declared owner back, and the node-engine runs the pass of H-A-579 (1) the other way by the same rules: the units + stopped, what lies below the directories given to the earlier account (H-A-550's rules, the earlier account now the + one given to), the directories, the units started; once the files are deleted the earlier build's stand-in has none to + read, so that return publishes only until then. H-A-583 (4) gains the pass back. How it is checked: whole (gitea): + with the vault refusing the own-put, both files stay; unit (node-engine): the directory of H-A-583 (4) given back to + the earlier account keeps the same three entries as they were. ADR 0550 §1; principles 2 and 3. +- **H-A-603 (`again-delays` span the tool runner's restart, 16:08)** 23 Nov, round 2, amends H-A-570 (5) and §799's + default: the tool runner's absence at a restart is at most its `drain-bound` (30 s), the 15 s it is given to stop its + bundles (H-A-358) and its start, which §775 counts at 20 to 50 s, so 95 s; the build modules' `again-delays` default + becomes "15s,90s", whose sum, 105 s, spans it, the first run again still after 15 s. A publish still meeting no + responders at its third run ends the step failed with `publish: no responders` (ADR 0664 §2), and `rerun` asks it + again. How it is checked: the conformance kit's publish row with the default delays; H-A-583 (1) measures the absence. + ADR 0664 §1, §2; principle 11. +- **H-A-604 (the acceptance tests as round 2 has them, 16:09)** 23 Nov, round 2, amends H-A-583: (1) names its act: the + seat `node-service-manager`'s verb `restart` of the tool runner's unit on the machine that serves the registry seats, + called once the publishing build step has started. (3) is the runner's whole test with a stub build seat, covering + H-A-594 (2) to (5) and H-A-595, plus a live check after H2's delivery: every mover of main.457 whose own steps passed + is wanted on its placing machines, read through the seat `mesh-wants`. (4) gains the pass back of H-A-602. Principle + 3. +- **H-A-605 (four notes of round 2, 16:10)** 23 Nov, round 2: (1) H-A-568: ADR 0686 §5, proposed and not in force, would + move mesh-sdk's manifest reads, `ManifestNeeds` included, to the indexer; if it is accepted before H-A-568 is built, + both moves land as one change of mesh-sdk. (2) H-A-572 (2): the runner clears a module's `pipeline-failed` (H §770) + when its registrations view no longer names the module, as the indexer frees its failed record. (3) H-A-578 (5): the + stream that keeps `versions-filled` is dropped by the bus module's `nats_drop`, by warrant after its snapshot + (H-A-126), once the new builder runs, named among the hand acts after H2's delivery in its milestone plan. (4) H-A-569 + (2): the manifest validator's need rules carry a version, `needs-rules`, a number in its package `judge` raised with + every change of those rules; each module graph revision the indexer writes carries it as the field `needs-rules` (the + seat `mesh-catalog`'s revision form, raised with H-A-580's), and a take-in derives the rule needs of unmoved entries + again only when its own `needs-rules` is higher than its base revision's (absent read as 0), reading each unmoved + entry's manifest from the entry itself (its field `manifest`, the manifest it carries whole). How it is checked: unit + (indexer): a take-in with unchanged `needs-rules` derives nothing for unmoved entries; one with a higher number + derives each from the entry's `manifest`. Principles 3 and 7. +- **H-A-606 (a publish is asked again on ADR 0674's events, never on a timer; A-457's pause withdrawn, 16:12)** 23 Nov, + the lead's item K of round 2: A-457 and A-457a ask a failed or unanswered publish again after a growing pause + (`publish-pause` doubled per try up to `publish-pause-max`, `publish-tries` tries) and A-457 says the publish "is + never waited on a `running` or `manifest-reads-changed` event any more", while ADR 0674 decides that a version left + unpublished is published again once per event that says a registry seat's holder or its node is back (§2), one at a + time per holder and queued at most once (§3), and that nothing waits on a timer (§4). A design follows its record, so: + A-457's timer path, its putting of every unreleased reservation on the queue at the builder's start, and A-457a's + settings `publish-pause`, `publish-pause-max` and `publish-tries` with their tries and next try go; A-473's ask at a + build's end stays the first try. A publish that fails or is not answered leaves the version reserved, with + `version-unreleased` naming the holder's words (ADR 0674 §3), and it is published again only by G §588's event path: + the node-engine seat's `running` of a module whose entry claims the registry seat of the missing artifacts' kind, or + its `manifest-reads-changed` with `why` `returned` of the node that holder runs on, each acted on once by its sequence + (state `acted`), queued per holder in the state `publish-queue` and taken up again from it at the builder's start, or + by `builder_publish_again` at any time. A-457b is withdrawn: `republish-max-versions` (G §633, 50 unless set) is read + again as §588's bound per event. Where H-A-590 (2) says the item "spends none of its `publish-tries`", it reads: the + queued version ends at once at such a refusal. How it is checked: whole (builder): a publish refused once stays + reserved and is not asked again until a registry holder's `running` is heard, then is asked once; the code review + finds no timer, pause or count of tries on the publish path. ADR 0674 §2 to §4; principles 1 and 3.