Design 47 H2b: write the lead's answers H-A-778 to H-A-790 as lines, so the prepare finds every queued row decided

Round 3 of H2b's design. The lead's answers to the writer's round-2 questions become lines 856 to 868 (a withdrawn
build ends superseded, bridge_owed by pull request, a reader's declared form, the race detector per module, the pin
specification's seven owed changes, a whole-ledger repair as an act, mesh_wait's at) and amend 844 (the tool
runner's bundles in a file per module, never its unit). Rows 50 and 54 leave H2b on the operator's answer of 22:53
(H-A-787), and section 10's milestone column says so. Every cited row carries its first words and the file says how
rows are counted (H-A-788). The glossary gains package pin and form of kept data; the lead answers lose the retired
word console, which the words test refused.
This commit is contained in:
2026-11-27 00:46:33 +01:00
parent 5e76494e6a
commit f39df9ebb3
4 changed files with 365 additions and 114 deletions
+12
View File
@@ -650,6 +650,11 @@ controller (the planner, the rollout) until release 6 of ADR 0429; from each rel
repository, that imports a package of one): the modules a take-in's one pipeline runs and delivers (A-476a; ADR
0573 §3; ADR 0682). Not every module of the revision.
*Not:* ~~moving module~~ (hq)
- **package pin** — the version a catalog entry names for one mesh package its module's build resolves, keyed by the
package's Go module path; an empty version stands for none published yet in the series the module accepts. The
indexer writes it at a take-in and again at a package's release (design 47 H's pin specification; H §860 to §866).
Design 47's pin specification and its lead answers say "pin" for it. Not the **pin** of Provisioning, a person's
choice of provider (see [Homonyms](#homonyms)).
- **run on request** — a pipeline run for a named commit or group that delivers nothing, asked by the runner's verb
`run`; the indexer builds its candidate from the runner's `run-started` (ADR 0666 §18).
- **artifact reference** — an artifact written `<module>:<artifact>`, such as `mesh-grants:program`: the end of a
@@ -1147,6 +1152,11 @@ becomes a message). **Decided by** ADR 0227, 0231, 0240, 0252, 0283, 0564, 0668.
configuration gives its instances an end: an ended instance's snapshot carries the lifetime of its state key and goes
with it, and a rebuild leaves none of an instance past that lifetime (ADR 0597 §8, ADR 0690 §2). Distinct from the stream snapshot; a ledger's snapshot store is never bare where
it could be read as where the bus keeps its stream snapshots.
- **form** of kept data — a number each kept data's declaration names, raised by its holder whenever it changes how it
writes that data; a declaration naming none is form 0 (design 47 G §295). A module that decodes another module's
kept value names the form it decodes, `reads-form`, on the manifest entry through which the value reaches it, and a
writer that raises a form is delivered after the readers that declare the new one (ADR 0666 §14; design 47 H §858).
Not a **form-only version** of a record.
## Connectivity — how nodes and modules reach one another
@@ -1520,6 +1530,8 @@ renaming one sense, the old sense moves to a *Not:* line and becomes mechanical.
| | whether the machines a change touches still compose | **composition check** | Delivery |
| | the pipeline step that composes each machine's declaration with a change, from milestone G's delivery | **composition step** | Delivery |
| membership | the subjects a bus account is issued | **membership** | Provisioning |
| pin | a person's choice of provider for a consumer, which resolution respects | **pin** | Provisioning |
| | a catalog entry's version of one mesh package its module's build resolves | **package pin** | Delivery |
| binding | the names on the bus of a module's bus state, in its membership | **binding** of bus state | Data |
| | a consumer's tie to the data a provider keeps for it | **sticky binding** | Data |
| | which host ports and addresses a placement gives a module | a placement's **bindings** | Core |
@@ -2054,7 +2054,9 @@ ADR 0667's checks, of milestone G itself:
`package-published`, that a second take-in waits and is placed on the first's end, on a cancel and on a set-aside,
that a pipeline waiting on its `approval` step does not count and is placed first when answered, that a newer
take-in moving the same module supersedes it in the waiting pipeline, that `pipelines-stalled` is raised when
pipelines wait and none runs, and that a restart starts no pipeline of its own.
pipelines wait and none runs, and that a restart starts no pipeline of its own. From H2b (design 47 H §856): a
mover whose build the builder withdrew leaves its pipeline, waiting or running, which fails nothing for it, and the
newer pipeline delivers it.
113. **A want is the newest released version whose pipeline passed, written tier by tier** (design 47 H §750, §751,
§771, §772, §824 to §826). The assigner's whole test: a module released with a passed pipeline is wanted on every placing
machine whatever build an acting part runs; a version whose pipeline failed is not wanted; an older end heard after
@@ -2202,7 +2204,7 @@ release reports the controller's code lines against research 063's baseline (acc
| L7 | History and records leave the controller (ADR 0571): the builder keeps its build log, one entry at a build's start and one at its end, from which build history and durations are read and the module mesh-catalog asks the builds it missed; the artifact sweep is the seat `mesh-artifact-sweep`, held by artifact-store-tools beside the artifact store, its keep set from the store's own listing, the wants and the build log, sweeping at each build's end from the lease write and recording each deletion in the hand-act log; disk readings are disk-load's own state on every node; who holds which seat is the state `seat-holders` of the seat `mesh-placement` (now `mesh-module-assigner`), and tools are found by the tool runners' announcements; what a node runs is its want and its have; the grants part writes `grants.<module>.<fingerprint>` and keeps memberships in its own state; root-free is a probe of the self-check; no manifest but the controller's reads, invokes or consumes `mesh-controller`, but a named list kept to the lease write, so the lease write's check passes (ADR 0189, ADR 0547 §11, ADR 0549 §6) | — | mesh-sdk, mesh-controller (its pin only), mesh-delivery (builder, indexer, assigner, grants part, view), mesh-catalog (artifact-store-tools, disk-load, the backup seat's holder, mounts, nfs-server, minio, mesh-watcher, the messenger, the self-check, the module mesh-catalog, docker), mesh-tools (the tool runner) | 1955 |
| B0 | The bootstrap delivery: every check, a lone pull request's as a group of one and a verdict carried after a trunk move included, is judged by a checking program built from the change's own heads in the build seat's sandbox, which also makes the heads' one seat list that the check hands the manifest validator and the composer; it brings no seat definition and no manifest field, so the running checker checks it (ADR 0644; *The bootstrap delivery, and the one milestone after it*) | 26 needs it | mesh-sdk (`go/delivery`: the seat `node-build-go`'s ask `run` and the checker's record of which checking program judged; `go/composer`: the request's seat list), mesh-catalog (mesh-build-go: the run step, the refused answer, the kept programs' tools and sweep), mesh-delivery (checker: the checking program and its command), hq (this design, the glossary) | 1921 |
| G | Two graphs and one revision view: the catalog graph and the assignment graph kept per revision, a change delivered as its graph difference, the acting parts' rules on their seats as bounded waits that hold their modules when the new version fails, the check on the change's own acting parts, the revision view and each process's own build, the gate's delivery record, and the trace's links (ADR 0656); no part reads a pull request's description (ADR 0659); every delivery part reaches the forge through the seat `git` and names no other module; nothing holds an approved merge for another check; and, one milestone with them, research 086's pipelines: a change of any module goes from a commit on a watched branch to the machines through its module's pipeline, its policy in its registration, ordered by edges between artifacts, with no Approve per merge and no hand act, the checker gone (ADR 0666, ADR 0667). Test counts at its start (G's prepare, 2026-11-09): mesh-delivery 665 unit and 68 integration, the node-engine (`mesh-host`) 1,742 unit; each other repository's and each catalog module's from the last check's verdict, read in the joint prepare | 26 to 62, 63 to 106 | mesh-sdk (the runtime: the fingerprint, the view, the definition reader, the seat list's one wiring), mesh-contracts and the domains' contracts modules (`acts`, the new verbs and events, the seat `mesh-grants`, the seat `git`'s verbs), mesh-delivery (indexer, assigner, checker until its removal, builder, grants part, gate's view, forge bridge, watchman, the new pipeline runner `mesh-delivery-pipeline`, `contracts` and `sdk` moved under `modules/`), mesh-catalog (the gate, the build modules, the forge module, mesh-issues, mesh-knowledge, the `node-backup` holder, the router, nats: a module's kept data on the bus as a backed-up item and the object store beside each state), mesh-sdk (also its small object store package, for values of any size), the node-engine (`mesh-host`), hq | 1966, 1961 (retargeted to this row's shape), 1660, 1972, 1721, 1783, 1785, 1794, 1791, 1373, 595; 1962 goes back with 1958, whose assignment entry it needs (ADR 0641 §3) |
| H | The build-and-delivery system delivers itself by its one model, in six releases (H0 to H5, the plan's section 6): one merge call of the seat `git`'s `merge-pull` naming one or more pull requests is a delivery's start and its group; the gate names the merged heads one source revision and opens its record; the indexer takes it in (a commit, the fingerprints of its repositories' modules, one catalog revision) and names the movers; one pipeline per take-in, none in parallel (`pipelines-at-once`, default 1); a want is the newest released version whose pipeline passed; the forge's event is the watchdog (`head-untaken`); every delivery part wakes on its inputs alone and reads no other part's state; the per-pull-request paths, the catch-up by comparison, the sweep and the checker go; one clean state placed by hand once, after which every release is delivered by its own pipeline (ADR 0682, ADR 0681, ADR 0666, ADR 0667; design 47 H §734 to §774); and, in H2b, a delivery that goes on once its tier found `tier-late` runs, and no ask about a wait on an outside cause for a module that runs its wanted build, with every line earlier answers queued for H2b (ADR 0691; design 47 H §824 to §855) | 110 to 121 | mesh-delivery, mesh-catalog, `mesh-host`, mesh-tools, mesh-sdk, mesh-contracts, hq | opened by each release's prepare |
| H | The build-and-delivery system delivers itself by its one model, in six releases (H0 to H5, the plan's section 6): one merge call of the seat `git`'s `merge-pull` naming one or more pull requests is a delivery's start and its group; the gate names the merged heads one source revision and opens its record; the indexer takes it in (a commit, the fingerprints of its repositories' modules, one catalog revision) and names the movers; one pipeline per take-in, none in parallel (`pipelines-at-once`, default 1); a want is the newest released version whose pipeline passed; the forge's event is the watchdog (`head-untaken`); every delivery part wakes on its inputs alone and reads no other part's state; the per-pull-request paths, the catch-up by comparison, the sweep and the checker go; one clean state placed by hand once, after which every release is delivered by its own pipeline (ADR 0682, ADR 0681, ADR 0666, ADR 0667; design 47 H §734 to §774); and, in H2b, a delivery that goes on once its tier found `tier-late` runs, and no ask about a wait on an outside cause for a module that runs its wanted build, with every line earlier answers queued for H2b (ADR 0691; design 47 H §824 to §868) | 110 to 121 | mesh-delivery, mesh-catalog, `mesh-host`, mesh-tools, mesh-sdk, mesh-contracts, hq | opened by each release's prepare |
An issue is in one row only (ADR 0493 §2): where a row named an issue another row names too, the last row keeps it and the
earlier row says so in words (the operator, 2026-10-26). Milestone M1 makes each row a record of the issue tracker
@@ -62,7 +62,8 @@ before any code is written.
the wait on an outside cause of a module that runs its wanted build, the assigner's owed events, its put and the
version it pairs with a build (§824 to §835).
- [H2b-the-lines-h2-left](H2b-the-lines-h2-left.md): release H2b's lines beyond the assigner: the kept seat events,
the program durables, and every line an earlier answer queued for H2b (§836 to §855).
the program durables, every line an earlier answer queued for H2b, and the lines of the lead's answers to its
questions (§836 to §868).
- [H-3-corrections-and-what-retires](H-3-corrections-and-what-retires.md): the contradictions corrected in place, what
retires, the stale state dropped once, and the tests per module against the budget (§763 to §765, §774).
@@ -446,7 +447,7 @@ own pipeline), in this order, the next starting when the previous one's delivery
| H0 | the design says the one model whole (section 4) | hq, the knowledge base | the four reviewers by architectural domain approve the batch; the operator's four answers are in |
| H1 | the one chain works with no hand act (section 5) | `mesh-delivery`, `mesh-catalog`, `mesh-host`, `mesh-tools`, `mesh-sdk`, `mesh-contracts` | the two proofs of step 7 |
| H2 | the builder, the build modules and the registries follow the latest lines (section 3.4; versions, publish again, the floor, a step with nothing to run, a module with no registration) | mesh-delivery, mesh-catalog | a version is skipped by nothing; every registered module has a pipeline with steps |
| H2b | the assigner (the holder of the seat `mesh-wants`) goes on with a delivery whose tier ended `tier-late` once that tier runs, writes the want of a mover a later pipeline carries at the version its earlier pipeline never wrote, asks nothing about a wait on an outside cause for a module that runs its wanted build, owes and says again every event the bus refused, puts the newest passed version and takes a fingerprint by 12 digits (H §824 to §835; ADR 0691; H-A-775, H-A-777); and every line an earlier answer queued for H2b, with note 70's two faults fixed as kinds (H-A-776; [H2b-the-lines-h2-left](H2b-the-lines-h2-left.md), H §836 to §855): a program's event hub hears every pattern it registers (mesh-sdk, every module with a program rebuilding once), the never-bound durables go once, a run-once or scheduled module has no program durable (the grants part), TypeScript mesh packages are edges at take-in (the indexer, `mesh-build-node`), a secret's change is judged by its digest (the node-engine), the forge module prunes (mesh-sdk's TypeScript package, gitea), the packet filter's whole test (`nftables`), the tool runner's purge row and its bundle served before the old one stops (`mesh-tools`), `node-files`' digest and attributes (`mesh-files`), the bus module's tools answer a refusal (`nats`), the hub's findings off its loop and a bound on every kept value and answer (mesh-sdk), the integration count by tag (`mesh-build-go`), two new problems of `validate` (the manifest validator), `runner_reconcile`, `runner_keys` and the version paired by parts (the runner), two pull loops through the SDK (the watchman, the grants part), the indexer's recompute at a rules change, the decoder's table test, and a failed plan said once (the builder) | mesh-delivery (the assigner, the runner, the indexer, the manifest validator, the builder, the grants part, the watchman, the teller, the delivery view), mesh-sdk (Go and TypeScript), mesh-catalog (`mesh-build-go`, `mesh-build-node`, `nats`, `mesh-files`, `nftables`, gitea), `mesh-tools`, `mesh-host` | a delivery whose tier ended `tier-late` goes on once that tier runs; `operator-channel.asks` holds no ask of a wait on an outside cause for a module that runs its wanted build; the teller says a widening after a pipeline and the delivery view's pipelines page follows the runner's events; `durable-orphaned` names no gitea durable |
| H2b | the assigner (the holder of the seat `mesh-wants`) goes on with a delivery whose tier ended `tier-late` once that tier runs, writes the want of a mover a later pipeline carries at the version its earlier pipeline never wrote, asks nothing about a wait on an outside cause for a module that runs its wanted build, owes and says again every event the bus refused, puts the newest passed version and takes a fingerprint by 12 digits (H §824 to §835; ADR 0691; H-A-775, H-A-777); and every line an earlier answer queued for H2b, with note 70's two faults fixed as kinds (H-A-776; [H2b-the-lines-h2-left](H2b-the-lines-h2-left.md), H §836 to §868): a program's event hub hears every pattern it registers (mesh-sdk, every module with a program rebuilding once), the never-bound durables go once, a run-once or scheduled module has no program durable (the grants part), TypeScript mesh packages are edges at take-in (the indexer, `mesh-build-node`), a secret's change is judged by its digest (the node-engine), the forge module prunes (mesh-sdk's TypeScript package, gitea), the packet filter's whole test (`nftables`), the tool runner's purge row and its bundle served before the old one stops (`mesh-tools`), `node-files`' digest and attributes (`mesh-files`), the bus module's tools answer a refusal (`nats`), the hub's findings off its loop and a bound on every kept value and answer (mesh-sdk), the integration count by tag (`mesh-build-go`), two new problems of `validate` (the manifest validator), `runner_reconcile`, `runner_keys` and the version paired by parts (the runner), two pull loops through the SDK (the watchman, the grants part), the indexer's recompute at a rules change, the decoder's table test, and a failed plan said once (the builder); a mover whose build was withdrawn leaves its pipeline (the runner), `bridge_owed` reads one pull request's acts (the forge bridge), a reader declares the form it reads and its writer is delivered after it (the indexer), the race detector where a manifest asks it (the indexer, the runner, `mesh-build-go`), the pin specification's seven owed changes (the indexer, the runner, `mesh-build-go`, the manifest validator), the tool runner's bundles in a file per module (`mesh-tools`, `mesh-host`), a whole-ledger repair as an act and `mesh_wait`'s `at` (`mesh-tools`, mesh-sdk) | mesh-delivery (the assigner, the runner, the indexer, the manifest validator, the builder, the grants part, the watchman, the teller, the delivery view, the forge bridge), mesh-sdk (Go and TypeScript), mesh-catalog (`mesh-build-go`, `mesh-build-node`, `nats`, `mesh-files`, `nftables`, gitea), `mesh-tools`, `mesh-host` | a delivery whose tier ended `tier-late` goes on once that tier runs; `operator-channel.asks` holds no ask of a wait on an outside cause for a module that runs its wanted build; the teller says a widening after a pipeline and the delivery view's pipelines page follows the runner's events; `durable-orphaned` names no gitea durable; a bundle's move restarts no tool runner |
| H3 | the gate and the forge module carry only the one model; groups by the operator's answer; the forge module without its merge-check machinery | mesh-catalog, mesh-delivery | a group of two repositories delivers as one; every delivery record ends |
| H4 | every delivery part wakes on its inputs alone and is steered by its tools (sections 3.6, 7): the shared wake-up shape (mesh-config's full pass per event and its reads through module tools, the indexer's re-read after every verdict, the node-engine's retry clocks, the build modules' idle pull), the view and the watchman without reads of another part's state, the SDK's generic state tools with the fill against a cap, the missing tools per module, rates on the bus | `mesh-sdk`, `mesh-delivery`, `mesh-catalog`, `mesh-host` | the bus's slow consumers and behind counts at 0 for an hour; every module's tools pass the principle-4 table |
| H4b | the grants part says what it holds as events and reads nothing of another part's bus state (ADR 0596) | `mesh-delivery` | the grants part's own `filling` and `room` and no bucket watch in its code |
@@ -582,11 +583,11 @@ Added by the lead at 19:50 CET, from the run of 18:40 to 19:50; a row met again
| A module held for a failed restore point kept the hold across the node-engine's start, and no operator's ask was raised for it, so the hold was for good; the node-engine. Settled by H-A-180 (the hold's cause is judged again at the start and on every change of placements). | settled in H1 |
| The forge bridge kept each owed event whole in its state `performed`, filling its kept data to 51 MB of the template's 64 MiB (19,530 keys, the condition "kept data is filling up"); the forge bridge. Settled by H-A-181 and H-A-182 (the outcome, when, and the act's pull request; the act stays in the gate's stream `owed`). | settled in H1 |
| The finding `restore-point-missing` did not reach the conditions after the first move without a point: the finding's wiring to the condition keeper; the node-engine. | H2 |
| The recovery module is placed nowhere, and the assigner derives no placement from the holder of the seat mesh-broker (G §554); the assigner (`mesh-delivery-assigner`). | H2 |
| The recovery module is placed nowhere, and the assigner derives no placement from the holder of the seat mesh-broker (G §554); the assigner (`mesh-delivery-assigner`). || later (plan section 8; the operator, 2026-11-26 22:53 CET, H-A-787) |
| A pipeline record with 112 or 129 movers exceeds the bus's 1 MiB message limit once its steps are placed, so two pipelines were cancelled; the record's shape (steps per mover key) and the limit as a setting; the pipeline runner. | H2 |
| A change to the SDK package folds in about 112 importers and a change in the catalog repository about 60, so the first re-pin of those repositories cannot run until the pipeline record is reshaped (the row above); the pipeline runner. | H2 |
| Met again on the tool runner's pipeline: a superseded build makes the older pipeline fail instead of its mover leaving it (the row of 18:40 on a withdrawn build); the pipeline runner and the builder. | H2 |
| The gate's owed acts run at about ten times the design's estimate (about 80 note acts per delivery record per pull request), and the gate's own stream `owed` takes the same rate; the gate (`mesh-delivery-gate`). | H2 |
| The gate's owed acts run at about ten times the design's estimate (about 80 note acts per delivery record per pull request), and the gate's own stream `owed` takes the same rate; the gate (`mesh-delivery-gate`). || H3 (the operator, 2026-11-26 22:53 CET, H-A-787) |
| The forge bridge's `bridge_owed` by pull request still reads every key of its state in the tool runner's process; the forge bridge. | H2 |
| A refused consumer creation is tried again for longer than the tools' wait for an answer, so a person sees a timeout instead of the refusal; the bus module's tools. | H2 |
| Met again: the SDK's finding write for an unhandled event waits up to 3 s on the bus inside the event loop, seen as a 90 s test (the row of 18:40); mesh-sdk. | H2 |
@@ -5,10 +5,13 @@ design: 47
milestone: H2b
updated: 2026-11-26
decisions:
- "ADR 0686"
- "ADR 0684"
- "ADR 0682"
- "ADR 0668"
- "ADR 0666"
- "ADR 0635"
- "ADR 0597"
- "ADR 0596"
- "ADR 0595"
- "ADR 0593"
@@ -31,14 +34,23 @@ rebuild is the build and delivery system's work (design-it-as-it-should-be).
The queue it carries:
- **H-A-334 (4):** the findings of section 10 of [H-deliver](H-deliver-the-delivery-system.md) that are marked H2, rows
41 to 102. H2's own part never wrote them: it took rows 103 to 199.
41 ("A bundle reload of the tool runner") to 102 ("A restart of a node's tool runner"). H2's own part never wrote
them: it took rows 103 ("The thirteen issues the lead held") to 199 ("The two reviews came back at 21:34").
- **H-A-336 and H-A-348.**
- **The "noted for H2b" lines of [H2-lead-answers](H2-lead-answers.md):** H-A-389, H-A-411 (3), H-A-453 (3), H-A-454
(third addendum), H-A-456, H-A-464 with its addendum, H-A-465, H-A-466 and H-A-472 (second addendum).
- **The lead's answers to this file's questions of round 2,** H-A-778 to H-A-788 in
[H2-lead-answers-6](H2-lead-answers-6.md), and two lines met on 2026-11-26, H-A-789 and H-A-790.
A queued item that needs no line is named in *What needs no line*, with the record or line that settles it, and an item
whose shape no record settles is in *Questions this file leaves open*.
**How this file counts a row.** A row is cited by its number in section 10's own count, with its first words beside it
in quotation marks. Section 10 counts from the first row of its second table, the one the lead added at 18:40 CET on
2026-11-20: row 1 is "Validate's base was read as the source number minus one". The sixteen rows of its first table
(14:22 CET) are not counted. So row n is the (n + 16)th row of section 10's tables, their header rows not counted, and
section 10's own rows cite one another by the same count.
The rows of section 10 are findings of 2026-11-20 and 2026-11-21. For each line drawn from a row, H2b's prepare reads
whether H2 or a later fix already built it (playbook 07, step 0b). A line already built is marked built in the
prepare's table and adds no code.
@@ -162,134 +174,358 @@ prepare's table and adds no code.
## The findings of H1's live run, rows 41 to 102 (H-A-334 (4))
- §844 **The tool runner serves a module's new tools bundle before it stops the old one.** (rows 41 and 102;
H-A-158, H-A-160; principle 3) When it loads one module's new tools bundle, the tool runner (`mesh-tools`) starts
the new bundle and subscribes its subjects, then stops the old bundle's subscriptions that the new one no longer
names, and only then stops the old bundle. This is make before break, as H-A-160 has it for a re-serve. No subject
is unserved in between, and no other module's tools stop: today a tool runner's restart, made to load one module's
bundle, silenced every seat verb served inside it for about two minutes. What exists today, and its fate: a bundle
reload unloads before it serves (row 41). Separately, a change of any bundle's fingerprint in the runner's
environment (`MESH_TOOL_ENV`) restarts the whole runner (older-strandings reader, 2026-11-26). How the runner then
learns of a moved bundle without a restart is question 11 below. Built in H2b (the tool runner). How it is checked:
whole (tool runner): calls made all through a bundle's reload are each answered, and another module's verb answers
throughout.
- §845 **The seat `node-files`' `stat` answers a file's digest and its attributes.** (rows 42 and 70; principle 4)
`stat` gains two inputs, `digest` (true: the answer carries `sha256` of a regular file's content) and `attributes`
(true: the answer carries the file's attribute flags, such as immutable and append-only). A file over
`digest-max-mib` (a setting of the holder, default 512) is answered "too large to digest", never read whole. The
holder is `mesh-files`. The node-engine's composition record carries `at`, the time of the apply whose words it
answers, so stale words are read as stale. A copy to another node is issue 903's. Built in H2b (`mesh-files`; the
node-engine). How it is checked: unit (`mesh-files`): a digest and an immutable flag are answered; a file over the
bound is refused; unit (node-engine): the record's words carry their apply's `at`.
- §846 **The bus module's tools answer a refusal at once.** (row 56; ADR 0668 §1; principle 3) The bus module's
(`nats`) tools retry only a transport fault, within their own call's bound, and never a refusal. A consumer
creation that the bus refuses is answered at once with the bus's words, so a person sees the refusal, not a
timeout. Built in H2b (`nats`, in mesh-catalog). How it is checked: unit: a refused creation answers its refusal
within one try.
- §847 **The event hub writes no finding inside its event loop.** (row 57; H-A-90; principle 1) The finding for an
unhandled event (H-A-90), and §836's `events-unheard`, are handed to the findings writer off the hub's event loop:
the loop never waits on the bus for a finding. Built in H2b (mesh-sdk). How it is checked: unit (event hub): with
the findings writer blocked, the loop goes on handling events.
- §848 **A level's test count is the tests that run only under its tag.** (row 58; ADR 0548; the test budget) The Go
build module (`mesh-build-go`) counts a module's integration tests as the top-level tests listed under the tag
`integration` that are not listed without it, and its unit tests as those listed without any tag. Both are read
with `go test -list`, and the counts go into the step's result and the mover's `over-budget`. What exists today,
and its fate: the integration count takes in every untagged test, as with the watchman's 100 on 2026-11-25 (97
unit and 3 integration). Built in H2b (`mesh-build-go`). How it is checked: unit: a module of 97 untagged tests and
one tagged test with two subtests counts 97 and 1.
- §849 **`validate` refuses an undeclared mesh package and a series that differs.** (rows 63 and 64; H-A-186,
H-A-188; §745) The manifest validator that the step `validate` runs gains two problems, both counted as new:
- §844 **The tool runner serves a module's new tools bundle before it stops the old one, and learns of the move from
that module's own file.** (rows 41 ("A bundle reload of the tool runner") and 102 ("A restart of a node's tool
runner"); H-A-158, H-A-160, H-A-786; principles 2, 3 and 7)
1. **Make before break.** When it loads one module's new tools bundle, the tool runner (`mesh-tools`) starts the new
bundle and subscribes its subjects, then stops the old bundle's subscriptions that the new one no longer names,
and only then stops the old bundle. This is make before break, as H-A-160 has it for a re-serve. No subject is
unserved in between, and no other module's tools stop. Today a bundle reload unloads before it serves (row 41),
and a tool runner's restart, made to load one module's bundle, silenced every seat verb served inside it for
about two minutes (row 102).
2. **One file per module, never the unit.** The node-engine (`mesh-host`) writes each module's bundle entry and tool
environment, that module's part of what `MESH_TOOL_MODULES` and `MESH_TOOL_ENV` carry today, in the same form,
into a file of that module's own in the tool runner's bundle directory: `<module>.env` beside that module's
entrypoint, mode 0600, owned by the tool runner's account, rendered as every composed file is, so
`node-engine.composition` names it. The tool runner reads every such file at its start. Its watch (`runner.reconcile`,
`reload`), which already reloads one module alone when that module's entrypoint file appears, changes or goes,
also reloads that module alone, by 1., when its file changes, and unloads it when its file goes. The runner's
unit environment keeps only the runner's own words: its credential files, the operator account and the mesh
MCP server's address. A bundle's move then changes no unit.
What exists today, and its fate: the node-engine rewrites `MESH_TOOL_MODULES` and `MESH_TOOL_ENV` in the runner's
unit environment at every bundle's move, so any bundle's move restarts the whole runner and, on the operator's
desktop, drops the mesh MCP server (older-strandings reader, 2026-11-26); they leave the unit. The runner subscribes
to no `running` event of the seat `node-engine` (read on mesh-tools main, H-A-786), and none is added. Built in H2b
(the tool runner; the node-engine). How it is checked:
- whole (tool runner): calls made all through a bundle's reload are each answered; a module's file changed under a
running runner reloads that module alone, and every other module's verb answers throughout;
- unit (node-engine): a bundle's move rewrites that module's file and not the runner's unit.
- §845 **The seat `node-files`' `stat` answers a file's digest and its attributes.** (rows 42 ("The seat node-files has
no verb") and 70 ("The node-engine (`mesh-host`) on one machine said"); principle 4) `stat` gains two inputs,
`digest` (true: the answer carries `sha256` of a regular file's content) and `attributes` (true: the answer carries
the file's attribute flags, such as immutable and append-only). A file over `digest-max-mib` (a setting of the
holder, default 512) is answered "too large to digest", never read whole. The holder is `mesh-files`. The
node-engine's composition record carries `at`, the time of the apply whose words it answers, so stale words are read
as stale. A copy to another node is issue 903's. Built in H2b (`mesh-files`; the node-engine). How it is checked:
unit (`mesh-files`): a digest and an immutable flag are answered; a file over the bound is refused; unit
(node-engine): the record's words carry their apply's `at`.
- §846 **The bus module's tools answer a refusal at once.** (row 56 ("A refused consumer creation is tried again");
ADR 0668 §1; principle 3) The bus module's (`nats`) tools retry only a transport fault, within their own call's
bound, and never a refusal. A consumer creation that the bus refuses is answered at once with the bus's words, so a
person sees the refusal, not a timeout. Built in H2b (`nats`, in mesh-catalog). How it is checked: unit: a refused
creation answers its refusal within one try.
- §847 **The event hub writes no finding inside its event loop.** (row 57 ("Met again: the SDK's finding write");
H-A-90; principle 1) The finding for an unhandled event (H-A-90), and §836's `events-unheard`, are handed to the
findings writer off the hub's event loop: the loop never waits on the bus for a finding. Built in H2b (mesh-sdk).
How it is checked: unit (event hub): with the findings writer blocked, the loop goes on handling events.
- §848 **A level's test count is the tests that run only under its tag.** (row 58 ("Met again: the build node counts
untagged tests"); ADR 0548; the test budget) The Go build module (`mesh-build-go`) counts a module's integration
tests as the top-level tests listed under the tag `integration` that are not listed without it, and its unit tests
as those listed without any tag. Both are read with `go test -list`, and the counts go into the step's result and
the mover's `over-budget`. What exists today, and its fate: the integration count takes in every untagged test, as
with the watchman's 100 on 2026-11-25 (97 unit and 3 integration). Built in H2b (`mesh-build-go`). How it is
checked: unit: a module of 97 untagged tests and one tagged test with two subtests counts 97 and 1.
- §849 **`validate` refuses an undeclared mesh package and a series that differs.** (rows 63 ("Nine Go packages other
modules import") and 64 ("A package artifact's declared series (0.1)"); H-A-186, H-A-188; §745) The manifest
validator that the step `validate` runs gains two problems, both counted as new:
- an entry's requirement that names a mesh package path which no module of the catalog declares as a package
artifact;
- a package artifact whose declared series is not its module's version series.
The validator is `mesh-judge`, in the indexer's module (H-A-411 (4)). Built in H2b (the manifest validator). How it
is checked: unit (the validator): each problem is refused, naming the path or the two series.
- §850 **Every kept value and every answer has a bound, and a larger answer is an object.** (row 65; ADR 0666 §16;
H §761; principles 3 and 11) mesh-sdk's state writer refuses a value over `value-max-kib` (a setting of each module,
default 64), naming the key and the size. The refusal is loud: it is said in the writer's journal and returned to
the caller. A tool's or a seat verb's answer over the bus's per-message limit is sent as an object's name, read
through the module's object store, as H §761 has it for the indexer: one rule in mesh-sdk's tool harness and seat
pass. This is the lead's proposal of row 65, whose scope the operator's answer for H2b took in (H-A-776). The
pipeline runner (`mesh-delivery-pipeline`) gains `runner_reconcile` (a pipeline, and a `why`), which compares a
pipeline's record with its mover keys (H-A-187). It names each mover whose key disagrees with the step log. With a
`why`, it writes those keys again from the step log, recorded in the hand-act log. Built in H2b (mesh-sdk; the
runner). How it is checked:
- §850 **Every kept value and every answer has a bound, and a larger answer is an object.** (row 65 ("A pipeline
record of 112 or 129 movers"); ADR 0666 §16; H §761; principles 3 and 11) mesh-sdk's state writer refuses a value
over `value-max-kib` (a setting of each module, default 64), naming the key and the size. The refusal is loud: it is
said in the writer's journal and returned to the caller. A tool's or a seat verb's answer over the bus's
per-message limit is sent as an object's name, read through the module's object store, as H §761 has it for the
indexer: one rule in mesh-sdk's tool harness and seat pass. This is the lead's proposal of row 65, whose scope the
operator's answer for H2b took in (H-A-776). The pipeline runner (`mesh-delivery-pipeline`) gains
`runner_reconcile` (a pipeline, and a `why`), which compares a pipeline's record with its mover keys (H-A-187). It
names each mover whose key disagrees with the step log. With a `why`, it writes those keys again from the step log,
recorded in the hand-act log. Built in H2b (mesh-sdk; the runner). How it is checked:
- unit (mesh-sdk): a value over 64 KiB is refused; an answer over the limit arrives as an object and is read whole;
- unit (runner): a mover key left behind is named and written again.
- §851 **Two durable pull loops go through mesh-sdk's consume.** (row 75; H-A-196, H-A-197) The watchman's
dead-letter loop and the grants part's main loop bind their durables through mesh-sdk's consume function, which
guards one pull loop per durable. Neither calls the bus client directly. Built in H2b (the watchman; the grants
part). How it is checked: the code review refuses a direct durable pull in the delivery repository.
- §852 **A change of the indexer's rules takes every repository in again at its start.** (row 88; H-A-208 to H-A-210)
The indexer keeps, in its modules state, the build fingerprint of the indexer that computed the state. At its
start, when its own build's fingerprint differs from that one, it takes in again every registered repository at
its kept merge commit, as `indexer_take_in_again` does: no catalog revision is kept and no gate is asked. It says
each repository in its journal, and then records its own fingerprint. The tool stays the hand form of this act.
Built in H2b (the indexer). How it is checked: whole (indexer): a start under another build of the indexer
recomputes every repository once, and a second start under the same build recomputes none.
- §853 **The runner's state keys are listed by prefix, a page at a time.** (row 93; principle 4) `runner_keys` (a
`prefix`, an optional `after`, at most 500 keys) lists the keys of the runner's states. A whole list would exceed
the bus, and no key listing exists today. Built in H2b (the runner). How it is checked: unit: a prefix over 1200
keys answers three pages.
- §854 **Every tool value a daemon decodes is decoded in a table test.** (row 94; principle 3) For each module whose
tools write asks that its daemon decodes (the indexer's take-in asks among them), one table test sends each tool's
value through the daemon's decoder. The prepare names those modules. Built in H2b (each such module). How it is
checked: the test fails on a field added to a tool and missing from the decoder.
- §855 **The builder keeps a failed plan and says it once.** (row 101; principle 3) A plan that finds no seat to build
an artifact (such as "no seat builds an artifact of language go and kind package") is kept per module and
artifact, and said once in the builder's journal. It is planned again only when the seat list changes, never at
each entry or definition it hears. Built in H2b (the builder). How it is checked: unit (builder): a hundred entries
heard with no seat give one line, and a changed seat list makes it plan again.
- §851 **Two durable pull loops go through mesh-sdk's consume.** (row 75 ("With H-A-196 and H-A-197 built");
H-A-196, H-A-197) The watchman's dead-letter loop and the grants part's main loop bind their durables through
mesh-sdk's consume function, which guards one pull loop per durable. Neither calls the bus client directly. Built in
H2b (the watchman; the grants part). How it is checked: the code review refuses a direct durable pull in the
delivery repository.
- §852 **A change of the indexer's rules takes every repository in again at its start.** (row 88 ("The reading of the
module graph (H-A-201) runs at a take-in"); H-A-208 to H-A-210) The indexer keeps, in its modules state, the build
fingerprint of the indexer that computed the state. At its start, when its own build's fingerprint differs from
that one, it takes in again every registered repository at its kept merge commit, as `indexer_take_in_again` does:
no catalog revision is kept and no gate is asked. It says each repository in its journal, and then records its own
fingerprint. The tool stays the hand form of this act. Built in H2b (the indexer). How it is checked: whole
(indexer): a start under another build of the indexer recomputes every repository once, and a second start under
the same build recomputes none.
- §853 **The runner's state keys are listed by prefix, a page at a time.** (row 93 ("The joined pipeline runner
(`mesh-delivery-pipeline`) crashed"); principle 4) `runner_keys` (a `prefix`, an optional `after`, at most 500 keys)
lists the keys of the runner's states. A whole list would exceed the bus, and no key listing exists today. Built in
H2b (the runner). How it is checked: unit: a prefix over 1200 keys answers three pages.
- §854 **Every tool value a daemon decodes is decoded in a table test.** (row 94 ("The indexer
(`mesh-delivery-indexer`) refused its own take-in-again tool's ask"); principle 3) For each module whose tools write
asks that its daemon decodes (the indexer's take-in asks among them), one table test sends each tool's value
through the daemon's decoder. The prepare names those modules. Built in H2b (each such module). How it is checked:
the test fails on a field added to a tool and missing from the decoder.
- §855 **The builder keeps a failed plan and says it once.** (row 101 ("The builder keeps one reservation per module"),
its "Also seen"; principle 3) A plan that finds no seat to build an artifact (such as "no seat builds an artifact of
language go and kind package") is kept per module and artifact, and said once in the builder's journal. It is
planned again only when the seat list changes, never at each entry or definition it hears. Built in H2b (the
builder). How it is checked: unit (builder): a hundred entries heard with no seat give one line, and a changed seat
list makes it plan again.
- §856 **A mover whose build the builder withdrew leaves its pipeline, and the pipeline fails nothing for it.** (rows
22 ("A newer pipeline withdraws an older pipeline's build") and 53 ("Met again on the tool runner's pipeline");
H-A-778, H-A-223, H-A-225, H-A-244 (1), H-A-283, H-A-284 (1); principles 3 and 7) The case: a newer revision moves
a mover's fingerprint, and the builder's take-over of the series by the newer fingerprint withdraws the older build,
ending it `superseded` (H-A-225). Today the older pipeline's build step then ends failed, and the pipeline fails with
it. So, in the runner (the holder of `mesh-pipeline-runner`, `mesh-delivery-pipeline`):
1. **The step ends `superseded`.** A build step whose build the builder ended `superseded` ends `superseded`, never
`failed`.
2. **The mover leaves, as H-A-223 has it.** Its other open steps end `superseded`, its running asks are cancelled,
and the end judgement (H-A-163) counts it as left, so the pipeline passes or fails on its other movers alone. The
newer revision's pipeline carries the mover. A pipeline whose every mover left ends `superseded`. This holds
whether the pipeline waits or runs (H-A-244 (1)).
3. **A re-pin of the same source keeps the mover.** H-A-283's exception stands: a re-pin revision of the same source
moves no mover out. The pipeline keeps it, ends each of its steps `superseded` and places them again from the
re-pin revision's entry, the build first (H-A-284 (1)).
ADR 0682 §7 says "a running pipeline runs to its end and is never superseded", and H §748 says so too. H-A-223 is
against that clause; the record's correction is the lead's to put to the operator, and until it is decided H §748
reads with this line (H-A-778). What exists today, and its fate: section 10 marks H-A-223 and H-A-244 built in H1,
so the prepare reads main for each of 1. to 3.; what rows 22 and 53 met is the build step's failed end on a
withdrawn build, which ends `superseded` as above. `runner_show` answers the step's outcome. Built in H2b (the
runner). How it is checked: whole (runner): a pipeline whose mover's build is withdrawn ends without failing for
it, and the newer pipeline delivers that mover; a re-pin of the same source keeps the mover and asks its build again.
- §857 **`bridge_owed` by pull request reads that pull request's acts from its subject, never every key.** (row 55
("The forge bridge's `bridge_owed` by pull request"); H-A-779, H-A-181; G §162, §168; principles 4 and 7) The forge
bridge keeps one key per performed act in its state `performed`, keyed `<of>.<base64 of the act's id>`
(`groups.PerformedKey`), so no key filter can name a pull request. With `repository` and `number`, `bridge_owed`
reads the act ids of that pull request from the gate's stream `owed` on its subject
`mesh.seat.mesh-delivery.event.owed.<repository>.<number>` (G §162), then gets each act's key in `performed`, and
answers each act with its outcome and when, as G §168 has it; an act said on the stream and absent from `performed`
is answered as not performed. The key form does not change, and `bridge_owed` still answers by pull request or by
id, never the whole state (H-A-181). An answer over the bus's per-message limit is sent as an object (§850). What
exists today, and its fate: `performedRows` lists every key of `performed` when the call names a pull request; it
reads the stream as above. Built in H2b (the forge bridge, mesh-delivery). How it is checked: unit (the bridge's
tools): a call by pull request lists no key of `performed` and answers only that pull request's acts.
- §858 **A reader declares the form it reads, and a writer that raises it is delivered after its readers.** (row 78
("A package artifact's steps lacked"); H-A-780; ADR 0666 §14, §16; G §295; ADR 0682 §8, §9; principles 3 and 7;
design-it-as-it-should-be) G §295 has each kept data declare a `form`, raised by its holder when it changes how it
writes that data. ADR 0666 §14 decides that "a format a running reader cannot read is preceded by its reader", by an
edge "B delivered before A delivers". This line is the reader's side:
1. **The reader declares it.** A module that decodes another module's kept value or a seat's value names, on the
manifest entry through which the value reaches it (the `consumes` entry of the event that carries it, or the
`invokes` entry of the verb that answers it), `reads-form`: the name of the kept data as its writer's `requires`
declares it, and the `form` it decodes. An entry that names none reads form 0, as G §295 reads a declaration that
names none. The indexer reads it, as it reads every manifest.
2. **The catalog graph derives the edge.** At a take-in whose revision raises the `form` of a kept data to N, the
indexer writes an edge "B delivered before A delivers" (ADR 0666 §14) from every mover whose `reads-form` names
that kept data at N (B) to the module that writes it (A). The runner computes the tiers from it as from every edge
(§746), so the assigner writes the writer's want only once those readers report `running` on their placing
machines (ADR 0682 §8, §9; §751, §824).
3. **A higher form is refused, loudly.** A reader that meets a value of a form above the one it declares refuses
it, naming the value and both forms. How the reader learns a value's form is question 1 below.
What exists today, and its fate: no reader declares a form; row 78's one case was avoided by H-A-202, which kept the
entry's form. Built in H2b (the indexer; the runner and the assigner order by the edge as by every edge). How it is
checked: whole (indexer): a writer whose new manifest raises a form gets the edge after each reader that declares
it; unit (the readers' decode, in mesh-sdk's event hub and views): a higher form is refused, named.
- §859 **The race detector runs per module, on its unit level, where its manifest asks it.** (row 93 ("The joined
pipeline runner (`mesh-delivery-pipeline`) crashed"); H-A-783; ADR 0548; principles 10 and 11) A Go artifact of a
module's manifest carries `race`, true or false, default false. The indexer writes it into the artifact's catalog
entry. The runner's unit step ask carries it from the entry, as it carries the entry's pins (H-A-203). The Go build
module (`mesh-build-go`) runs that ask's unit tests with `-race` when it is true, and the step's result names it.
The integration level runs without it: its time is bounded, and build capacity is the scarcest resource (ADR 0548).
H2b sets `race: true` for every module of the delivery system that has a long-running program; the need is row 93's
concurrent start path of the runner, and the prepare lists the modules it sets. Built in H2b (the indexer's entry;
the runner's unit ask; `mesh-build-go`; the manifests of the delivery repository). How it is checked: unit (Go build
module): a unit step with `race` runs `-race`, one without does not; whole (indexer): an artifact's `race` is in its
entry.
## The pin specification's seven owed changes (rows 82 and 89, H-A-782)
Section 8 of [the pin specification](H-pins-spec-and-gaps.md) lists seven changes still missing on 2026-11-21, named
in row 82 ("The entries of modules not changed since") and row 89 ("The pin kind (rows 62, 66, 72"). Each is a line
here, its owner settled by H-A-782; the prepare marks each built where main already has it. "Pin" means the package
pin, as in the specification. Each is checked by its row in its owner's tests, the suites the specification's section
5 lists.
- §860 **A re-pin is kept as the next revision of the same source, and the modules it moved are movers.** (S12 to
S14; H-A-211, H-A-212, H-A-213; ADR 0684 §1, §3; principle 1) When a module's release re-pins kept entries (S12),
the indexer keeps the re-pinned entries as the next revision of the one module graph (the newest + 1), with the same
`source` and its `call` naming the release ("release of <module> <version>", H-A-213 (2), (3)), and says
`catalog-revision`. The modules whose fingerprint the re-pin moved are its movers (S14), and the runner starts one
pipeline for that revision, keyed by it (H-A-213 (2), (4); ADR 0684 §3). H-A-211's "on every watched branch" is
moot: the module graph names no branch (ADR 0684 §1). Built in H2b (the indexer; the runner). How it is checked:
whole (indexer): a package's release keeps one revision with the same source, whose re-pinned importer is a mover;
whole (runner): that revision starts one pipeline carrying it.
- §861 **A step held for a pin is asked in the same pipeline once its build passed and its pins have versions.** (S28;
H-A-206, H-A-283, H-A-284; principle 3) S28 holds a Go artifact's lint, unit and integration steps while a pin of
its entry has no version. Today, when the build passes, nothing asks the held steps, so a `required` one keeps the
pipeline from ending. So the runner judges each held step again at its mover's build end and at each re-pin revision
of the same source that keeps the mover (H-A-283). Once the build passed and every pin of the mover's entry, at the
revision the pipeline keeps for its fingerprint (H-A-284 (2)), has a version, it asks the step with those pins
(H-A-203). A same-source re-pin that moves the mover's fingerprint ends its steps `superseded` and places them again,
the build first (H-A-284 (1)). A held step still waiting when the build's `package-wait-minutes` passes ends as S28
has it. Built in H2b (the runner). How it is checked: whole (runner): a mover whose build passed while its unit step
waited for a publish has its unit step asked with the published pin, and the pipeline ends.
- §862 **A failed re-pin on the registry's published event is not acknowledged, so it is heard again.** (S15;
H-A-167; principle 3) The indexer acknowledges the package registry seat's `published` only once the re-pin it makes
is kept, as its path for `version-released` already does. A failed re-pin is said in the journal, naming the path,
the version and the error, and is left unacknowledged, so the bus delivers the event again at the indexer's pace
(`redeliver-pace-first`, H-A-773 (4)). What exists today, and its fate: `heardVersion`'s path for the registry's
`published` acknowledges after a failed `Recompute`, so that re-pin is lost until the next publish; it no longer
does. Built in H2b (the indexer). How it is checked: unit (indexer): a re-pin that fails once is not acknowledged,
and its redelivery re-pins.
- §863 **The indexer refuses a run on request's candidate whose entry has an empty pin, by its own check.** (S8, L10;
H-A-782 (4); H §749; ADR 0686 §1, §4; principle 3) The indexer's candidate check (`checkCandidateModule`) refuses a
candidate module whose entry names a package with an empty version, naming the module and the path ("<path> has no
published version in its series"). The refusal is the indexer's own, since a pipeline's pins are the indexer's (H
§749), and never a form of mesh-sdk or of a seat's contract, so a delivering pipeline's entry keeps its empty
version (S8) and its build waits for the publish (S27). What exists today, and its fate: `checkCandidateModule` runs
the delivery SDK's `PackageVersions.Check`, which accepts only a commit or a semantic version in any entry it is
given; the indexer judges the empty version itself, and that check goes with the delivery SDK (ADR 0686 §4). Built
in H2b (the indexer). How it is checked: unit (indexer): a candidate with an empty pin is refused, naming the path;
a delivering entry with an empty pin is kept.
- §864 **The indexer answers one entry's pins and paths at a revision.** (S16; H-A-204; principle 4) The indexer's
tool `indexer_entry_pins` takes `module` and `revision` (default the newest kept) and answers that module's entry at
that revision: its fingerprint, its `packages` (each path with its version, empty for none yet) and its `paths`,
without the whole revision. A revision not kept, or a module not in it, is refused, naming it. What exists today,
and its fate: the seat `mesh-catalog`'s verb `entry` answers one whole entry by fingerprint, not at a revision, and
stays. Built in H2b (the indexer). How it is checked: unit (indexer tools): an entry is answered at a kept revision
below the newest; a revision not kept is refused.
- §865 **A same-repository requirement is built from the tree at any version, and "same repository" is the module's
registered repository.** (S3, S31, L8; H-A-198, H-A-202, H-A-782 (6); principles 7 and 11) The Go build module
(`mesh-build-go`) builds every requirement of the module's own repository from the fetched tree, transitively
through those modules' own go.mod files, whether go.mod names it at the zero version or at a real one, and keeps
those directories in the narrowed tree (S31). A requirement is of the same repository when its module path lies under
the repository the ask's fetch names, which is the module's registered repository (ADR 0666 §2), never a written
owner name. What exists today, and its fate: `takeZeroRequirements` and `ownZeroPackageDirs` take only a
requirement at the zero version from the tree and decide by a literal owner prefix (L8), and one at a real version
is fetched through the Go seat while the fingerprint takes the tree (S18); both change as above. Built in H2b
(`mesh-build-go`, in mesh-catalog). How it is checked: unit (Go build module): a same-repository requirement at a
real version is built from the tree; a repository under another owner name is the same repository when the fetch
names it.
- §866 **A go.mod that is not tidy is refused, so the indexer pins only what go.mod lists.** (S1, S2; H-A-201,
H-A-782 (7); principle 7) The catalog's check of H-A-186, the manifest validator of the step `validate`
(`mesh-judge`, §849), refuses a module whose go.mod `go mod tidy` would change, naming the module and each line it
would add or remove. So every transitive requirement of another repository is listed in the go.mod (`// indirect`
where it is one), and the indexer pins what the go.mod files list (S1, S2), reading no pinned package's own go.mod.
What exists today, and its fate: the indexer follows only same-repository go.mod files (S2's gap), and stays so; the
prepare lists every go.mod on main that is not tidy, and H2b tidies each in the same release
(design-it-as-it-should-be). Built in H2b (the manifest validator). How it is checked: unit (the validator): a go.mod
that is not tidy is refused, naming its line; a tidy one passes.
## Two of the tool runner's answers, met on 2026-11-26
- §867 **A repair of a whole ledger is an act: it answers at once, says its progress and its end, and reads the
history once.** (issue 1984 note 71; H-A-789; ADR 0597 §8, §10; G §554; principles 3, 4 and 11) The tool runner
(`node-tools`) serves each module's ledger repairs (ADR 0597 §10) as the tools `ledger_rebuild`, `ledger_snapshot`,
`ledger_reindex` and `ledger_lag`. Over a whole ledger each reads the whole history to list the instances, then
makes about four bus round trips per instance, with no progress line, no end and no `why`: `ledger_lag` timed out
at the gate's start at 21:39 and 21:41 CET on 2026-11-26, and H-A-692 (3)'s rebuild of the gate's ledger met the
same kind. So, for a repair that names a whole ledger (a repair that names one instance stays a call that answers
its result):
1. **It answers at once.** The call answers `accepted` with the act's id `act`, `busy` naming the act that runs on
that ledger (one act at a time per ledger, and no queue), or `error`, and nothing more, as G §554 shapes the
recovery module's verbs. These answers are forms of mesh-sdk's `buscalls`. Before it answers `accepted`, the tool
runner writes the act in its state `repair-acts` (template `state`, `max-mib` 8, as H-A-411 (2) gives a state that
names no cap): the key `<node>.<module>.<ledger>`, the value the act's id, the repair, its `why`, who called and
when. The key is deleted once the act's end is said (4.). At its start, the tool runner ends every act the state
still holds as `stopped`, so its caller asks again (G §554).
2. **It reads the history once.** The act reads the ledger's history once, in order, and folds each operation into
its instance, instead of one read per instance; it then writes each instance's state, snapshot or index entries
as the repair does today.
3. **It says its progress.** It writes a journal line every `repair-progress-every` instances (a setting of the tool
runner, a whole number from 1, default 1000), naming the act, the ledger and the instances done.
4. **It says its end.** It ends with the tool runner's event `repair-ended`, on
`mesh.mod.node-tools.event.repair-ended.<node>.<module>`, naming `act`, the ledger, the repair, `outcome`
(`done`, `failed` with its error, or `stopped`) and the instances written, skipped and refused; for `ledger_lag`,
the instances whose state is behind and each index behind. A person and a watcher hear it with `mesh_wait`; a
caller told `busy` asks again on the `repair-ended` of the act it was named.
5. **A repair takes a why.** Every repair but `ledger_lag` takes a `why`, written in the hand-act log (the seat
`mesh-hand-acts`) before it runs; one without is refused.
`ledger_repairs` reads the state `repair-acts`. What exists today, and its fate: `Ledger.Rebuild` and `Ledger.Lag`
(mesh-tools) read the whole history to list the instances, then make about four round trips per instance; they take
1. to 5. Whether a module's own call of a whole repair (the gate's start, H-A-690 (2)) is answered the same way is
question 2 below. Built in H2b (the tool runner; mesh-sdk's `buscalls` forms). How it is checked: whole (tool
runner): a rebuild of a ledger of 30000 instances answers within a second, says its progress, and its `repair-ended`
names the counts; a second rebuild while one runs answers `busy`; a restart while an act runs ends it `stopped`;
unit: a repair without a `why` is refused.
- §868 **Every `mesh_wait` answer carries the time it answered.** (H-A-790; principles 3 and 4) The mesh MCP server's
`mesh_wait` (the tool runner's loopback mode) answers, heard or timed out, with `at` beside `waited`: the time it
answered, in UTC, in RFC 3339 form with seconds. So an agent with no shell reads the time from the answer. The
case: on 2026-11-26 two watchers on the gate's ledger rebuild stopped early, each saying it had no clock and no tool
answered a time. What exists today, and its fate: `mesh_wait` answers only `waited`; meanwhile the mesh-watcher's
agent definition counts its bound in waited time. Built in H2b (the tool runner's mesh MCP server). How it is
checked: unit (the mesh MCP server): a timed-out wait's answer carries `at` within a second of the clock.
## What needs no line
- **Rows built or decided elsewhere.**
- Row 49: a finding reaches the conditions through its observer's `findings` state (G §383, §461); a fault of code.
- Row 59 is H2 §791, row 66 is H-A-628's refusal of an empty pin, row 69 was in build then, and row 73 is H-A-493.
- Row 74 is H2 §755 and §756, rows 86 and 99 are H2 §801, and row 97 is H-A-163, with the queue's setting the
lead's act.
- Row 91: ADR 0684 §1 has no branch in the module graph.
- Row 98: an importer is a mover whose steps run in the SDK change's pipeline (ADR 0682 §4, §6).
- Row 102: the retry of a seat that answers no responders is H2 §775, and one owner per finding kind is G §580.
- **The time of a package load (row 41):** the 28 s it takes to load a package is a figure, with nothing owed.
- Row 49 ("The finding `restore-point-missing` did not reach"): a finding reaches the conditions through its
observer's `findings` state (G §383, §461); a fault of code.
- Row 59 ("Met again: the step outputs store keeps 0 bytes") is H2 §791, row 66 ("The builder's step path pinned a
package") is H-A-628's refusal of an empty pin, row 69 ("The seat mesh-grants's verb `grants-for` was cut") was
in build then, and row 73 ("The builder writes a git tag") is H-A-493.
- Row 74 ("A build that fails this way is asked again") is H2 §755 and §756, rows 86 ("The Node and the Go build
modules' tools") and 99 ("The builder was restarted by hand") are H2 §801, and row 97 ("On the build node the
SDK's own integration test") is H-A-163, with the queue's setting the lead's act.
- Row 91 ("With revision numbers no longer the gate's source"): ADR 0684 §1 has no branch in the module graph.
- Row 98 ("With the SDK's new guard against a second pull loop"): an importer is a mover whose steps run in the SDK
change's pipeline (ADR 0682 §4, §6).
- Row 102 ("A restart of a node's tool runner"): the retry of a seat that answers no responders is H2 §775, and one
owner per finding kind is G §580.
- **The time of a package load (row 41, "A bundle reload of the tool runner"):** the 28 s it takes to load a package
is a figure, with nothing owed.
- **Rows the operator moved out of H2b** (H-A-787; the operator's answer of 2026-11-26 at 22:53 CET). Section 10's
milestone column says so for both.
- Row 50 ("The recovery module is placed nowhere") goes to the later milestone that plan section 8 names: moves
already go on without a restore point and say `restore-point-missing` (H-A-177, H-A-178), and placing the
recovery module would add a hold on a failed restore point in the release that rebuilds every module.
- Row 54 ("The gate's owed acts run at about ten times") goes to H3, the gate's release: an H2b fix of acts that H3
rewrites would be work removed again (principle 7).
- **Row 80 ("The seat mesh-catalog's hand-written digest helpers"): the hand-written clients' import of the delivery
SDK** (H-A-781). ADR 0686 §2 (a seat's contract holds its forms, never logic, and a seat has no client; it changes
ADR 0625 §3) and §4 (there is no domain SDK, and mesh-delivery-sdk is dissolved) leave nothing to import once ADR
0686 is built. The prepare reads main: a hand-written client or an import of the delivery SDK still there is listed
as a disagreement for ADR 0686's own milestone (its §5), not built in H2b.
- **Answers whose shape a record settles.**
- H-A-389: §745 already has `validate` run the validator built from the candidate's own heads.
- H-A-454, third addendum, a permission composer in mesh-sdk (H-A-784): ADR 0682 §10 lets every account the grants
part composes, an enrolling node's excepted, publish and subscribe on every subject and call every seat verb, so
a whole test under a process's composed grants proves nothing a test on the module's account does not; and a
composer in mesh-sdk would put logic one module owns into the shared runtime (ADR 0686 §1). The prepare reads
whether the grants part still composes a process account with a `bus` of its own narrower than ADR 0682 §10 (as
H-A-454's correction of 03:40 has it) and lists it as a disagreement if so.
- H-A-464 and its addendum: ADR 0682 §10 lets every account do the seat work, so they wait on a record that
brings scoped grants back.
- H-A-465: the baseline-words shape would hold a revision for the indexer that reads its words, which ADR 0682 §4
ends; the lenient read of H-A-465 stands.
- H-A-466: its ordering edge served one bootstrap, and every node-engine has run a fixed build since (principle 7).
- H-A-472, second addendum, a field naming who reads a module's events (H-A-785): its fifth addendum settled it. No
field says that a tools bundle hears events, and none is added: the tool runner makes `<node>_<module>_tools`
itself at a child's first subscribe and removes it when the module leaves, and the grants part composes the plain
durable only for a module with a program of its own. §836 and §838 close the program's side, and
`durable-orphaned` says a plain durable composed for a stream only the tools read.
## Questions this file leaves open
Each comes with the writer's recommendation; the lead answers each, or sends it on.
1. **Row 50, the recovery module's placement.** G §554 decides it (from the holder of `mesh-broker`), but the plan's
section 8 says the recovery module is a later milestone's. Recommendation: keep it out of H2b, since placing it
starts restore points the operator has not seen yet.
2. **Row 53, a superseded build.** Should a mover whose build is withdrawn leave a running pipeline? ADR 0682 §7 never
supersedes a running pipeline. Recommendation: the withdrawn build's step ends `superseded`, which fails nothing,
and the mover stays for the newer pipeline.
3. **Row 54, the gate's owed acts.** The row names a rate and no act owed. Recommendation: no line; H3 rewrites the
gate's acts.
4. **Row 55, `bridge_owed` by pull request.** It reads every key. Recommendation: a key filter on the pull request's
part of the key, once the prepare reads the key's form.
5. **Row 78, the ordering edge for a change of a kept value's form.** The row allows two shapes. Recommendation: the
readers declare the form they read, and the delivery orders a writer that raises it after them.
6. **Row 80, the hand-written clients' import of the delivery SDK.** It concerns ADR 0625 §3, which this writer has
not read. Recommendation: the prepare reads it.
7. **Rows 82 and 89, the pin specification's open changes.** These are its section 8's seven, of 2026-11-21.
Recommendation: the prepare holds them against main before any line.
8. **Row 93, the race detector over every module's suites.** It costs build capacity, the scarcest resource.
Recommendation: only the unit level, and only for the delivery repository's modules.
9. **H-A-454, third addendum: a permission composer in mesh-sdk.** This would contradict the grants module being its
only home (ADR 0593 §1). Recommendation: the grants part offers a test helper behind its seat.
10. **H-A-472, second addendum: who reads a module's events.** The thorough shape is a field naming that reader.
Recommendation: each `consumes` entry carries `by` (`program`, `tools` or both, default both), and the grants part
composes the durables from it.
11. **How the tool runner hears a moved bundle without a restart (§844).** Today the node-engine writes each bundle's
fingerprint into the runner's unit environment, so any bundle's move restarts the runner, and on the desktop that
drops the mesh MCP server. Recommendation: the runner reads its bundles' fingerprints from the node-engine seat's `running`
events, which it already hears, so a bundle's move changes no unit. This changes the node-engine and the tool
runner, so the lead's answer is needed.
1. **How a reader learns a value's form (§858, 3.).** The refusal of a higher form needs the value, or the message it
comes on, to say its form, and G §295 declares the form only in the writer's manifest; mesh-sdk reads no manifest
(ADR 0686 §5). Recommendation: the node-engine provisions each kept data's declared `form` to its writer and each
entry's `reads-form` to its reader, as it provisions settings; mesh-sdk's state writer and event say set it as a
message header, a value with none reading form 0; and the reader's decode compares the two.
2. **A module's own call of a whole repair (§867).** At its start the gate asks `lag` and a whole `reindex` of each
index behind, and begins its start pass only once they are done (H-A-690 (2)); its `lag` is the call that timed out
at 21:39 and 21:41. H-A-789 makes a whole repair an act and keeps a call for one instance. Recommendation: the
gate's whole calls are acts too, and the gate begins its start pass on their `repair-ended`, which puts the gate
among H2b's modules; otherwise the same timeout comes back at the gate's next start.
3. **A reader that is not a mover and still declares a lower form (§858).** Such a reader gets no edge and refuses
the writer's values once the writer runs. Recommendation: `validate` refuses a change that raises a form while a
module of the revision declares a lower one for it, naming each such reader, so a raise ships only with its readers.