Design 47 H2: H-A-568 to H-A-583, the review's corrections of H-A-534 to H-A-567

The four reviews by architectural domain found answers that decided what
records or principles already settle: a judging rule in mesh-sdk, a
delivery gap queued and merges ordered by hand, a transport-fault class
no record holds, a second pipeline on a taken key, a test-file list kept
twice, a transition reading of the step end, a secret stand-in nobody
ends, and waits and stranded movers left unsaid. Each correction now
cites the clause or principle that settles it, so the developers build
from lines instead of from the lead's earlier guesses.
This commit is contained in:
2026-11-23 15:30:28 +01:00
parent d407e39684
commit 9c4ad57c4c
3 changed files with 283 additions and 2 deletions
@@ -2,8 +2,14 @@
layer: to-be
status: in-progress
code: [mesh-controller, mesh-catalog modules/mesh-delivery-gate, mesh-catalog modules/gitea, mesh-delivery, mesh-host, mesh-sdk, mesh-vault, mesh-contracts, mesh-tools, mesh-networking, hq 00-META/checks]
updated: 2026-11-20
updated: 2026-11-23
decisions:
- "ADR 0685"
- "ADR 0684"
- "ADR 0640"
- "ADR 0370"
- "ADR 0349"
- "ADR 0266"
- "ADR 0682"
- "ADR 0681"
- "ADR 0673"
@@ -3,8 +3,22 @@ layer: to-be
status: in-progress
design: 47
milestone: H
updated: 2026-11-20
updated: 2026-11-23
decisions:
- "ADR 0685"
- "ADR 0684"
- "ADR 0668"
- "ADR 0664"
- "ADR 0640"
- "ADR 0632"
- "ADR 0618"
- "ADR 0614"
- "ADR 0593"
- "ADR 0563"
- "ADR 0550"
- "ADR 0370"
- "ADR 0349"
- "ADR 0266"
- "ADR 0682"
- "ADR 0681"
- "ADR 0667"
@@ -1909,3 +1909,264 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
that fails for a cause outside itself (main.454's mesh-sdk, refused by the vault) would fail every later pipeline of
its branch. So: (3) is withdrawn; a failed mover waits for `rerun`, `start` (H-A-565 (2)) or a new fingerprint,
its revision kept by H-A-565 (1) and H-A-566; §786 and H-A-414 stand. Source: §786, H-A-414; principle 3.
## From the review by architectural domain of H-A-534 to H-A-567 (2026-11-23 from 15:20 CET)
The four reviewers by architectural domain read H-A-534 to H-A-567 against the knowledge base and the principles; each
line below writes one correction and names the answer it withdraws or amends. The H2 lines cited here as §775 to §820
(§786, §799 and §813 among them) are in H2's milestone part, `H2-the-delivery-systems-owed-work.md` and
`H2-stores-and-tools.md`, on hq's branch `design/47-H2-part`, not yet merged.
- **H-A-568 (the runs-as need is a rule of the manifest validator, never mesh-sdk's, 15:20)** 23 Nov, amends H-A-556:
H-A-556 put "a manifest that declares `runs-as` needs `directory-contents-owner`" into mesh-sdk's
`catalogue.ManifestNeeds` (mesh-sdk #213, merged), while the manifest validator, the indexer's, names what a manifest
needs (ADR 0614 §4), code that judges and only some modules need is its owner module's (ADR 0593 §1), and only the
indexer reads a manifest (the operator, 2026-11-23 about 13:40 CET, relayed by the lead). So: the rule moves into the
manifest validator (mesh-delivery, module mesh-delivery-indexer, package `judge`), applied where the take-in writes an
entry's `needs`, beside the words, forms and seats `catalogue.ModuleNeeds` names; `ManifestNeeds` loses its `runs-as`
line and its test row, so mesh-sdk names only what the contract's words, forms and seats need, as before #213. The
capability's name stays mesh-sdk's constant `ReadDirectoryContentsOwner`: more than one part reads it (the node-engine
states it in `readsNow`, the indexer names it, the assigner compares the two), and ADR 0593 §1 keeps such names in
mesh-sdk. mesh-sdk and mesh-delivery change in one merge call; the need is named before and after the move, so no
order between them is needed. How it is checked: unit (manifest validator): a manifest with `runs-as` needs
`directory-contents-owner` and one without does not; unit (mesh-sdk): `ManifestNeeds` of a manifest with `runs-as`
names no `directory-contents-owner`. ADR 0614 §4, ADR 0593 §1; principle 9.
- **H-A-569 (H-A-560 withdrawn: one pipeline orders the move to runs-as, and every take-in derives the manifest
validator's own needs for every entry, 15:22)** 23 Nov: H-A-560 queued a gap of the build and delivery system to a
later milestone and ordered this delivery's merges by hand, against design-it-as-it-should-be (a gap is built in the
milestone that meets it, and the order between modules is the module graph's) and H-A-554 (1); with H-A-568 its
mesh-sdk order goes too. So, withdrawing H-A-560: (1) The order of this delivery: the pull requests of the node-engine
(`mesh-host`), the indexer (mesh-delivery), gitea's manifest (mesh-catalog) and mesh-sdk are merged in one call of the
seat `git`'s `merge-pull`, so they are one source revision, one take-in and one pipeline (ADR 0682 §1, §2, §6;
H §746). The seat `node-engine`'s acting rule (step `compose`, on `every`) gives every other mover an edge "B has
acted for A's new version" from the node-engine (ADR 0666 §14; G §711), so gitea is in a later tier than the
node-engine and the assigner writes gitea's want only once the new node-engine runs on every present placing machine
(ADR 0682 §8; H §751). This order rests on no need: the running indexer makes the take-in with its own build (ADR 0682
§4), whose manifest validator may not hold H-A-568's rule yet. (2) The gap is built in H2: at every take-in the
manifest validator derives the needs of its own rules (H-A-568's runs-as rule and any later one) for every entry of
the revision it writes, not only for the movers', from the manifest each entry names: it removes from an entry's
`needs` every capability one of its rules names and adds those its rules derive. The needs of words, forms and seats
stay as the module's own move computed them, since they read the templates' text, which the take-in reads only in the
repositories a source revision moves (ADR 0632 §2). A need is no input of a fingerprint, so a changed need moves no
module (ADR 0593 §4, read for needs). So the first take-in after a new manifest validator runs carries its rule to
every entry. How it is checked: whole (indexer): at the take-in after a rule is added, an entry of a module that does
not move gains the rule's need and keeps its fingerprint; H2's milestone plan names this pipeline's tiers (the
node-engine before gitea). Design-it-as-it-should-be; ADR 0614 §4, ADR 0666 §14, ADR 0682 §4, §8; principle 7.
- **H-A-570 (`stopping` withdrawn: a stopping tool runner takes its subscriptions down, so a call meets no responders,
15:25)** 23 Nov, withdraws H-A-542's answer, H-A-544 and H-A-549 (1), and amends §813 (12) as H-A-369 has it:
`stopping` was a class of transport fault only lead answers decided. ADR 0664 §1 and ADR 0668 §1 name the transport
faults and hold no such class, the build seats' conformance kit carries none (ADR 0664 §6), mesh-sdk's `stdio` asked
every call again, those not marked safe to repeat among them (against ADR 0668 §2), and no edge delivered the tool
runner's new answer after the callers that read it, so a caller of the earlier mesh-sdk read `stopping` as a refusal
and ended its kept call, the harm H-A-369 avoided. No class of its own is needed: no responders is one already
(ADR 0664 §1, ADR 0668 §1), read so by every caller of every mesh-sdk. So: (1) Once told to stop, the tool runner
unsubscribes from every subject it answers calls on (the bus's own drain of those subscriptions) before it finishes
the calls in flight within `drain-bound`; a call made after the stop began meets no responders at once wherever no
other tool runner serves it, until the new runner subscribes. A call cut at the bound stays as §813 (12) has it. (2)
mesh-sdk's `stdio` `Ask` (Go `go/stdio.go`, TypeScript `src/stdio/index.ts`) makes its call once and asks nothing
again itself: a call its caller marks safe to repeat is called again by the tool runner's kept call (§775) or a
process's (`process/call.go` `CallKept`) through no responders as through every transport fault, and a call not marked
is made once and its fault said (ADR 0668 §1, §2). (3) `stopping` goes whole: the tool runner's typed answer
(mesh-tools), `ErrorKindStopping`, `ErrStopping` and their readers in mesh-sdk's Go and TypeScript `stdio`, in
`busretry` and in `process/call.go`, and its reading in mesh-delivery-sdk's `PublishFault` and `sdkstep.Passing`,
whose reading of no responders (§799, H-A-390) stays the one shared place. No insight of ADR 0664 or ADR 0668 is
needed. (4) `ask-bound` (H-A-549 (2)) stays a setting, default 60 s: the tool runner declares it in its manifest
beside `drain-bound`, so the node-engine composes it (H-A-370), and hands it to each bundle it starts as it hands a
bundle its other values, where mesh-sdk's `stdio` reads it in both languages; no other module declares it. At the
bound's end the caller's result is the fault "no answer within <bound>", a call's own deadline, which a kept call
reads as a transport fault (ADR 0668 §1) and a build step as its run's failure (ADR 0664 §1 names no deadline for a
step). (5) A publish made while the tool runner that serves the registry seats restarts meets no responders, so its
build step ends its run `again` (§799; ADR 0664 §1), given again after 15 s and then 60 s (`again-delays`): their sum,
75 s, is the bound the runner's absence at a restart must stay under (its `drain-bound` of 30 s, the 15 s it is given
to stop its bundles, H-A-358, and its start), measured by H-A-583's live test. (6) The order: mesh-sdk, mesh-tools and
mesh-delivery merge in one call, so one pipeline. Every module that builds against mesh-sdk's package artifacts, whose
`calls` the tool runner's artifact `states`, has an edge from the tool runner (G §545, §605), so the tool runner is in
an earlier tier and stops answering `stopping` before any caller loses its reading of it. How it is checked: whole
(tool runner): a call made one second after the stop began meets no responders within a second, and a call in flight
finishes; unit (mesh-sdk, both languages): `Ask` met by no responders asks nothing again and returns that fault; unit
(mesh-delivery-sdk): `PublishFault` reads no responders as a transport fault; the code review finds no `stopping` left
in mesh-sdk, mesh-tools or mesh-delivery. ADR 0664 §1, §6; ADR 0668 §1, §2; principles 3 and 7.
- **H-A-571 (a module the head's pipeline does not carry joins that pipeline, 15:28)** 23 Nov, amends H-A-565 (2), which
started a second delivering pipeline at the head: a delivering pipeline's key is the module graph revision it runs
(ADR 0684 §3), and the head's pipeline holds that key. So: the runner's `start` for a module the head's pipeline does
not carry adds the module to that pipeline as a mover while the pipeline waits or runs: its steps are asked in the
pipeline's build order, its tier is computed with the other movers', and the pipeline's `pipeline-ended` names it
(H §746); the step log says it was added by `start`, with the caller. Where the head's revision has no pipeline,
`start` starts one for that module alone, keyed by that revision, as §786 does for movers when a revision moves
nothing. Once the head's pipeline has ended, `start` refuses, naming the module's failed pipeline and `rerun`, whose
revision the module's failed record keeps (H-A-566, H-A-572), so a failed mover is never stranded. Each call is
written in the hand-act log, as every hand act of the runner is. How it is checked: whole (runner): `start` of a
module the running head pipeline does not carry adds it and that pipeline's `pipeline-ended` names it; `start` after
the head's pipeline ended refuses, naming `rerun`. ADR 0684 §3; principle 4.
- **H-A-572 (the failed record's bound, its end and its tools, 15:30)** 23 Nov, amends H-A-566: (1) Its bound: one
record `failed.<branch>.<module>` per module and branch (`failed.<module>` once ADR 0684 is built), held on at most
the pins its pipeline's own record held (that pipeline's revision and its `base`, H §743, H-A-151), so at most two
revisions per failed mover. The indexer's state `pins` keeps the records under its cap (4 MiB), and a write the full
state refuses is said in the indexer's journal and asked again at the kept-call pace (§820). A failed record has no
age bound; a failed mover is loud while it waits, since its `pipeline-failed` (H §770) stands until a later pipeline
passes it. (2) Its end, beside H-A-566's: the indexer frees the record from every pin when its module leaves the
registrations and, until ADR 0684 is built, when its branch leaves the module's registration, both heard on
`registration-changed` (ADR 0666 §2). Once ADR 0684 is built, a change of a module's branch is a take-in of that
branch's head for that module alone (ADR 0684 §2), whose `pipeline-started` frees the record as H-A-566 says. (3) Its
tools: `indexer_pins` reads every pin with its records, the failed ones among them; `indexer_pin_drop` gains the
argument `record`, which drops that one record from every pin that holds it and leaves the pins' other records, a hand
act with its `why`, recorded through mesh-hand-acts as every call of that tool is. How it is checked: whole (indexer):
a failed record is freed when its module leaves the registrations; `indexer_pin_drop` with `record` drops it alone and
another record of the same pin stays. ADR 0656 §2; principles 4 and 7.
- **H-A-573 (the files an npm package's digest leaves out are a value of the Node build module, 15:32)** 23 Nov, amends
H-A-547 (1), which wrote `node --test`'s default test-file patterns into the indexer: a second list of what only the
Node build module knows (principles 11 and 12; H-A-546 (1): one rule, read from that module). So: the Node build
module (seat `node-build-node`) declares in its manifest's `config` the value `test-files`, the patterns of the files
it takes as an npm package's tests, default the five of H-A-547 (1) (`**/*.test.*`, `**/*-test.*`, `**/*_test.*`,
`**/test.*` and everything under a `test` directory). The indexer reads that value from the manifest of the entry that
claims `node-build-node` in the revision it computes, and leaves out of an npm package's digest `node_modules` and the
files the patterns match; it holds no pattern of its own. How it is checked: unit (indexer): a change to a file the
patterns match leaves the package's digest as it was and a change to any other file changes it; the code review finds
no test-file pattern in the indexer. Principles 11 and 12.
- **H-A-574 (the superseded end's revision is a field of the step end's new form, 15:34)** 23 Nov, amends H-A-561, whose
"an end that names no revision (a builder without this change) is taken as before (H-A-508)" keeps the earlier form
for the delivery's sake (design-it-as-it-should-be; ADR 0666 §14). So: the seat `mesh-builds`' step end (`step-ended`,
the contract's `StepEnded`) gains the field `revision`, a whole number, the module graph revision of the entry that
supersedes, present exactly when `outcome` is `superseded` and absent otherwise; the seat's definition is regenerated
and its form raised by one (3 on main today), with the generated contracts. The runner refuses a `superseded` end
without `revision`, loudly, naming the step and the builder, as an end its contract does not allow, and never reads it
as H-A-508's. The order is the module graph's: the runner's `invokes` of `seat:mesh-builds.step` is an edge "B runs a
version that serves A" from the builder (ADR 0666 §14), so in their one pipeline the builder is in an earlier tier and
every end the new runner hears is the new builder's. Between the two tiers the runner of the earlier form reads an end
of the new form as it read the earlier one, since its contract reader refuses no field it does not know (as on main),
and moves the mover out as H-A-508 has it. How it is checked: unit (runner): a superseded end without `revision` is
refused, naming the step; unit (contracts): `revision` is read on a superseded end; H2's milestone plan names the two
tiers. Design-it-as-it-should-be; ADR 0666 §14; principle 3.
- **H-A-575 (who ends the token-file stand-in and the token files, and when, 15:36)** 23 Nov, amends H-A-564: its
stand-in reads secrets from files outside the vault, against ADR 0550 §1 (every secret the mesh keeps lives in the
vault, with three named exceptions, this not among them), and named no one who ends it. So: it ends in H-A-543's own
change of gitea. That change removes the Go bundles' stand-in (package-registry, forge) and their line at start naming
the source; gitea's TypeScript bundle writes no token file again and, at its first start under its own account and
only once its vault get of `module/gitea/*` has answered, deletes every token file it kept under its state directory,
saying once in its journal which it deleted (principle 12: gitea removes its own files). If the vault refuses
`<machine>.gitea`, the files stay, and the recovery is a return to the earlier build, one value in the placement
(ADR 0682 §8), whose stand-in reads them. How it is checked: whole (gitea): after a start under its own account with
the vault answering, no token file is left under its state directory and a Go bundle reads its token from the vault
alone; the code review finds no read of a token file left in the Go bundles. ADR 0550 §1; principles 3 and 12.
- **H-A-576 (the catalog's checks are the manifest validator; a get without runs-as, 15:38)** 23 Nov, amends H-A-543 and
H-A-545 (3): H-A-543's "the catalog's checks" are the manifest validator, the indexer's rules the step `validate` runs
(ADR 0682 §5; H-A-568), and it refuses a manifest whose `invokes` names `seat:mesh-vault.own-put` and that declares no
`runs-as`, naming the module and the verb (H-A-545 (3)). A get is not refused there: a manifest's `invokes` does not
say which part makes a call (tools run by the tool runner, or a process under an account of its own, ADR 0680 §1), and
claude-code names `seat:mesh-vault.get` with no `runs-as` today. Until the operator's answer to whether the manifest
validator refuses that too, the vault's own refusal at the call is the one check of a get: it hands a value only to an
account of its own (ADR 0349 §11, ADR 0550 §3), and the tool runner's account names every call it carries (ADR 0370
§1), so such a get fails loudly at its first call. ADR 0550 §3, ADR 0682 §5; principle 3.
- **H-A-577 (the revision waits are said, bounded and told apart; a passed-over end is said, 15:40)** 23 Nov, amends
H-A-557 (3), H-A-562 and H-A-563 (2), and H-A-555 and H-A-561 for the passed-over end: (1) The builder's revision wait
(H-A-155, H-A-156; it holds H-A-557 (3)'s new ask) is a step's wait as G-4 §234 has every one: for each entry of the
ask it says `wait-held` and, at its end, `wait-ended` on its stream `waits` (G-17 D-10), on
`mesh.stream.mesh-delivery-builder.event.wait-held.<module>.<fingerprint>.revision` and
`.wait-ended.<module>.<fingerprint>.revision` (the last token keeps it apart from that key's toolchain wait, kept last
per subject), with the wait's fields (§498, §629): `step` `build`, `on` `revision:<R>` (R the module graph revision
the ask names), `bound` its `revision-wait-minutes` (default 2) and `clock-from` the ask's arrival. It is kept in the
state `waits` under `<module>.<fingerprint>.revision`, deleted at its end; `wait-ended`'s `how` is `ran` when the
picture holds R, `failed` at the bound (the ask then fails as H-A-155 has it) and `released` by `builder_release`,
which ends it as the bound does, since a build with no version is never made (H-A-155). `builder_waits` reads it, and
at its start the builder says `wait-held` again for every such key, as for the toolchain wait. (2) The runner's step
held for its view (H-A-562, H-A-563 (2)) says `wait-held` and `wait-ended` on its seat (G §73) with `step` the held
step's kind (`build` for H-A-557's re-ask), `on` `revision view` and `words` naming the revision it waits for. Its
`bound` is five minutes, the watchman's owed progress (ADR 0666 §24; G §75), no setting of its own: past it the
watchman raises `pipeline-stands` naming the step, cleared at the wait's end; the wait itself ends only when the view
holds the revision (`how` `ran`, the step judged again as H-A-562 (2) says), by `runner_rerun` (`released`), or at its
pipeline's end or cancel (`superseded`). A waiter tells it from an approval step's wait by `step` (an approval's is
`approval`, §534) and by `on`, and the watchman times it as a wait that owes progress, never as a wait on a person.
(3) A superseded end the runner passes over is said as an event, not only in its journal (ADR 0666 §24): the step
asked again says `step-started` with `rerun` and the runner as the caller (G §73), and the step log names the revision
the passed-over end named and the pipeline's own. How it is checked: whole (builder): an ask whose revision the
picture does not hold says `wait-held` with `on` `revision:<R>` and `wait-ended` `ran` once it does; whole (runner): a
step held for the view says both events with `on` `revision view`, and a passed-over end is followed by a
`step-started` with `rerun`. ADR 0666 §24; principles 3 and 4.
- **H-A-578 (what goes with `outdated` and the version floor, and what stays on the bus, 15:42)** 23 Nov, amends
H-A-552, H-A-553 (2), H-A-558 (1) and H-A-559: (1) `floor-silent` joins the retired list of the writer that raised it,
the builder, so one raised before is cleared at the builder's start (H-A-247 (3)), as H-A-558 (3) does for the
indexer's `indexer-call-unanswered`. (2) A `consumes` entry that goes (H-A-558 (1), H-A-559) leaves its filter on the
indexer's durable consumer, since the grants part never narrows a filter for a dropped entry (ADR 0640 §3). So the
indexer acknowledges at once, with no work, each event of a subject its manifest no longer consumes, and says one
journal line per such subject at the first one after its start, so `event-unhandled` (H-A-169) stays clear, as the
runner's main hub acknowledges `take-in.taken` (H-A-500); the subjects it so acknowledges are those this change
removes, listed once beside the hub's handlers. (3) A state that goes (`build-edges`) is kept data no accepted
manifest asks for once the change is taken in, dropped by the keeper's `nats_drop` by warrant after its snapshot, and
the heard keys that go (`branch-build.<module>.<branch>` and the others) by `nats_bucket_remove` with their prefix
(H-A-126); each is named among the hand acts that follow H2's delivery in its milestone plan. (4) H-A-559's "the
developer removes any further one it finds without asking" is withdrawn: it leaves the builder a choice. A further
state, key, hearing, consume or prune that only `outdated` reads is a design question to the lead (playbook 07, step
0b), answered in this file before it goes. (5) H-A-552 needs no order between the builder and the indexer: the
`versions-filled` the indexer said once stays kept on its seat's stream with no age limit (G-7 §372) and the grants
part removes no subject a manifest drops (ADR 0640 §3), so a builder of the earlier form that starts after the new
indexer still reads it and reserves, and the new builder waits on nothing. That stream is dropped by hand only once
the new builder runs, as kept data no accepted manifest asks for (H-A-126). How it is checked: whole (indexer): an
event of a subject no longer consumed is acknowledged and raises no `event-unhandled`; unit (builder): a held
`floor-silent` is cleared at start. ADR 0640 §3; principles 3 and 7.
- **H-A-579 (the owner pass runs with the module stopped and leaves hard links; the group `docker` and `root-free`,
15:44)** 23 Nov, amends H-A-545 (1) and (2) and H-A-550: (1) When a module's account changes (`runs-as` added,
H-A-543), the node-engine stops the module's units, gives what lies below its directories the new owner (H-A-550,
H-A-554 (2)), then the directories themselves, and then starts the units under the new account, so no process of the
earlier account writes beneath a directory while it is given (principle 2). (2) An entry with more than one hard link
is left with its owner, with one journal line naming its path and its link count: its other names may lie outside the
directory, which the pass never crosses (H-A-550; principle 3). (3) gitea's account in the group `docker` is a way to
root (ADR 0266 §14), but the node-engine judges ways to root only for a `user` declared `root: never` (ADR 0266 §12),
the agent account, and `root-free` answers from that verdict (ADR 0563 §6). gitea's user declares no `root: never`, so
no `root-free` answer changes; inside the mesh every module is trusted (principle 6). How it is checked: H-A-583's
unit test of the pass; unit (node-engine): the module's units are stopped before the pass and started after it.
ADR 0266 §12, §14, ADR 0563 §6; principles 2, 3 and 6.
- **H-A-580 (an imported package's digest is read from its publisher's entry, 15:46)** 23 Nov, amends H-A-540 and
H-A-541, which had the indexer digest a kept package by its own files when it computes an importer: ADR 0685 §6
decides that a package's digest is read from the publishing module's entry, never from the forge's listing or a
mapping of a name to a forge path. So: when the indexer computes a module's entry, it digests each package of that
module's package artifacts by its files (a Go package by H-A-524's rule, an npm package by H-A-546 (1) as H-A-573
amends it) and keeps them on that artifact of the entry as `digests`, one item `{package, digest}` per package
(`package` its Go import path or npm name), the seat `mesh-catalog`'s definition regenerated and its form raised. An
importer's fingerprint reads each imported package's digest from the entry that publishes it in the revision being
computed (H-A-540's filter), so a publisher that moves in the same take-in is read at its new digests; an import no
entry publishes is outside the mesh. The forge mapping of the `packages` state and Resolve goes in milestone H with
ADR 0684's work, as ADR 0685 §9 builds it. How it is checked: unit (indexer): an importer's fingerprint changes when a
file of the package it imports changes in its publisher's entry, and not when a file of another package of that
publisher changes. ADR 0685 §6, §9; principle 7.
- **H-A-581 (the movers beside a failed one are carried, never delivered from the failed pipeline, 15:50)** 23 Nov,
issue 1984 note 2, amends §786: main.457 kept 91 movers at a revision of the same source (H-A-283) and failed for one
of them, the builder's publish, and none of the 91 was delivered, the indexer's build among them, all of whose steps
passed. A pipeline passes only when every mover's required steps passed (H §746), and a want names only a version
whose pipeline passed (ADR 0682 §8), so no mover is delivered from a failed pipeline on its own outcome; a mover a
re-pin kept (H-A-283, H-A-284) is a mover of that pipeline like any other. So: at a pipeline's end `failed`,
`cancelled` or `could-not-run`, each mover whose own required steps all passed or never ran, kept movers included, is
kept in `unfinished` (§786), and the runner adds it at once to the pipeline of the head's revision while that pipeline
waits or runs (as H-A-571's `start` adds a module), starts one for those movers alone keyed by the head's revision
when that revision has none (ADR 0684 §3), and otherwise adds it to the next take-in's pipeline (§786). Its steps
whose build-input fingerprint and policy did not change are carried there, not run again (ADR 0666 §8), so that
pipeline's pass delivers it. `runner_unfinished_place` follows the same rule at once for one key; once the head's
pipeline has ended it refuses, naming the next take-in as what carries the mover. A mover whose own required step
failed stays as H-A-414 and H-A-567 have it. That a module's delivery waits for the other movers of its pipeline is
ADR 0682 §8's; the carry keeps the module the unit (principle 10) without a want from a failed pipeline. How it is
checked: whole (runner): of a pipeline of three movers, one kept by a re-pin, one fails its unit step;
`pipeline-ended` names the other two in `unfinished`, the head's running pipeline carries them with their passed steps
carried, and its pass delivers them. ADR 0682 §6, §8; ADR 0666 §8; ADR 0684 §3; principles 3 and 10.
- **H-A-582 (a pipeline's `widens` is computed against its own base revision, 15:52)** 23 Nov, issue 1984 note 2, amends
G §71, which has the running runner compute `widens` "from the sources of the change against those of the watched
branch": an older revision's pipeline compared with the branch's newest says "was" for a newer fingerprint that is no
part of its change. A widening is said for what the change alters (ADR 0666 §23), and no comparison of the module
graph names a branch (ADR 0684 §1). So: the runner computes `widens` from the sources of each mover at the pipeline's
revision against those at the `base` that revision names (H §743, H-A-151), never against a branch's newest; a mover
carried into another pipeline (H-A-571, H-A-581) is compared against the `base` of the revision whose take-in moved
it. How it is checked: unit (runner): with a newer revision taken in, an older pipeline's `widens` names only what its
own movers change against its `base`. ADR 0666 §23, ADR 0684 §1; principle 3.
- **H-A-583 (the acceptance tests of H-A-568 to H-A-582, by level, 15:54)** 23 Nov: each a step of its module's existing
whole test or of a live proof, never a new top-level test function (the test budget), beside each line's own check:
(1) Live: a pipeline's package publish made while the tool runner that serves the registry seats restarts passes, its
build step ending a run `again` on no responders and passing at its second or third run; the runner's absence, from
its stop to its first answer, is measured and stays under the 75 s of `again-delays`, and nothing says `stopping`
(H-A-570). (2) Integration (the runner whole, against the real bus): a superseded end naming a revision older than the
pipeline's, heard after an end naming a newer one, is passed over, its step asked again with `step-started` and
`rerun`, and the mover stays; a superseded end without `revision` is refused (H-A-555, H-A-557, H-A-561, H-A-563,
H-A-574, H-A-577 (3)). (3) Live: a mover that failed for a cause outside itself is run again with `rerun` after a
newer take-in that did not move it, passes and is wanted, and `indexer_pins` then shows its failed record freed; the
movers of that failed pipeline whose own steps passed are carried by the head's pipeline and wanted (H-A-565 (1),
H-A-566, H-A-571, H-A-572, H-A-581). (4) Unit (the node-engine's `applyDirectory`): a directory whose declared owner
changes, holding a nested resource with an owner of its own, an entry of a user other than the previous owner and a
file with two hard links, keeps those three and what lies below the first two as they were, and gives every other
entry the new owner, the contents before the directory (H-A-550, H-A-554 (2), H-A-579). Principle 3.