Design 47 H2: role names for the nodes named in the lead answers (hq is public), and the glossary's words taken from the H2b writer

This commit is contained in:
2026-11-26 22:09:18 +01:00
parent 99e8e11237
commit a55e051f88
2 changed files with 16 additions and 16 deletions
@@ -972,17 +972,17 @@ mesh-delivery 3b1f03ce, mesh-tools 393449e, mesh-catalog 17e1bfb6 and mesh-sdk b
path passes; a row of the indexer's recompute test: packages moved, no fingerprint moved, a revision is kept with no
movers.
- **H-A-766 (a first view behind the revision its owner said is read again until it holds it, 23:40)** 25 Nov, issue 1984;
met twice tonight (21:28 and 23:21 CET): the indexer's tool runtime re-reads its view of the trunk on a heard
met twice tonight (21:28 and 23:21 CET): the indexer's tools bundle re-reads its view of the trunk on a heard
catalog-revision, and when that re-read times out (10 s and 6 s over 189 entries) it keeps the older revision until
the next event, which may never come; the grants part, told the indexer's modules up to 531, asked the view again,
got 529 and stopped; no grant of a new fingerprint was written and two puts waited (recovered by a restart of the
tool runtime at 23:37 and grants_first_view_again). So (1) the indexer's tool runtime reads its view of the trunk again
tool runner at 23:37 and grants_first_view_again). So (1) the indexer's tools bundle reads its view of the trunk again
after a failed re-read, with a backoff (a setting, default 5 s doubling to 1 min), until it holds the newest revision
heard, each failure said once per revision with its cause; (2) a reader of a first view that is answered at a
revision below the one its owner said (the grants part's first views, read through the SDK's views) asks again with
the same backoff until the answer holds that revision, and says so while it waits, never stopping at the older one;
(3) the indexer serves a tool that reads its view of the trunk again now, by hand (principle 4). Principles 3 and 4.
How it is checked: a row of the tool runtime's view test, a re-read that fails once then answers: the view holds the
How it is checked: a row of the indexer's tools bundle's view test, a re-read that fails once then answers: the view holds the
newest revision without a second event; a row of the SDK's first-view reader, an answer below the said revision then
one at it: the reader holds the said revision; live: no grant is missing for a revision the indexer said.
- **H-A-767 (H-A-766's settings, and its (2) held already, 23:43)** 25 Nov, issue 1984; two questions of its develop: (a) the
@@ -992,7 +992,7 @@ mesh-delivery 3b1f03ce, mesh-tools 393449e, mesh-catalog 17e1bfb6 and mesh-sdk b
1 min until it holds the revision heard, and says so; its row of an answer below the said revision passes on main), so
the SDK is not changed (principle 7); the indexer's first view answers the revision its values are read at, never the
revision of its mark, so a reader is never told it holds a revision it does not. How it is checked: H-A-766's row of
the tool runtime, and a row of the indexer's first view: values held at 529 with a mark at 531 answer revision 529.
the indexer's tools bundle, and a row of the indexer's first view: values held at 529 with a mark at 531 answer revision 529.
- **H-A-768 (a mover that goes on takes its commit and repository from the head's entry too, 23:53)** 25 Nov, issue 1984;
met twice (mesh-build-node in main.531, distribution in main.530 reopened at 23:50): the builder refused "the entry of
<module> at <fp> is of <module> at <commit>", because the runner asks a carried, placed, reopened or rerun mover with
@@ -1032,25 +1032,25 @@ mesh-delivery 3b1f03ce, mesh-tools 393449e, mesh-catalog 17e1bfb6 and mesh-sdk b
(the carry at a take-in and at a pipeline's end, `start`, `runner_unfinished_place`, `rerun`, the rerun of a test
run, the held-behind list), each failing without its change; a row with the view at the pipeline's revision or older
drops nothing, in the carry, the place and `start` as in the ties.
- **H-A-771 (a module whose move the judge finds unchanged is not backed up before its apply, 03:55)** 26 Nov, issue 1984;
where met: on ace at 03:40:55 the node-engine 0.1.402 backed up lidarr (a 5.6 GB database) before applying a
- **H-A-771 (a module whose move the node-engine judges unchanged is not backed up before its apply, 03:55)** 26 Nov, issue 1984;
where met: on the home-server at 03:40:55 the node-engine 0.1.402 backed up lidarr (a 5.6 GB database) before applying a
composition whose one difference is `env.MESH_FINGERPRINT` (judged "unchanged"); the backup did not end within its 10
minutes, lidarr was held and the operator asked "The backup of lidarr failed on ace" (03:51), nfs-server and zfs held
minutes, lidarr was held and the operator was asked about the failed backup of lidarr on the home-server (03:51), nfs-server and zfs held
behind it, and the agent's loop stood still 03:40:48 to 03:50:55, so its own module was applied 15 minutes late. H-A-710
says a difference of that value alone recreates nothing and asks nothing; ADR 0429 §14's backup before the apply
protects a change of the module, of which there is none. So the agent backs up a module with data before its apply
only when the judge finds the move changed (any judgement but `unchanged`); an unchanged move applies with no backup,
only when the node-engine judges the move changed (any judgement but `unchanged`); an unchanged move applies with no backup,
no hold and no ask. Principles 3 and 7. How it is checked: a row of the agent's apply test: a data module that ran
before, whose composition differs only in `env.MESH_FINGERPRINT`, is applied with no backup ask; one whose judgement is
`recreates` or `moves-data` is backed up first, as today.
- **H-A-772 (H-A-771's judgement is of what the machine applied; the operator's `again` backs up whatever it says; a hold
for a backup H-A-771 no longer asks ends by itself, 04:02)** 26 Nov, issue 1984; on develop's two questions (mesh-host
for a backup H-A-771 no longer asks ends by itself, 04:02)** 26 Nov, issue 1984; on develop's two questions (`mesh-host`
fix/47-H2-771-unchanged-no-backup): (1) The judgement that decides H-A-771's backup compares the composition to what the
machine applied (its applied composition), never to a have that names a held composition not yet applied: in issue
1585's shape (the have naming the want's composition while the machine runs an older one) the move is changed and is
backed up (principle 3: what the engine judges is the machine). The operator's answer `again` to a backup ask backs the
module up whatever the judgement says, since the operator asked it. (2) A module held for a failed backup of a move the
judge finds unchanged (lidarr on ace, 26 Nov 03:50) is held for a backup H-A-771 no longer asks: at its next pass the
node-engine judges unchanged (lidarr on the home-server, 26 Nov 03:50) is held for a backup H-A-771 no longer asks: at its next pass the
engine applies it with no backup, ends the hold and says so, and the hold's ask is taken back as a stale ask is
(principles 3 and 7). (3) (04:21, on review round 1) A hold after a failed backup the operator asked with `again` stays
until the operator answers again, whatever the judgement, since (1) gives the operator's `again` the decision; the end
@@ -1088,7 +1088,7 @@ mesh-delivery 3b1f03ce, mesh-tools 393449e, mesh-catalog 17e1bfb6 and mesh-sdk b
its bound, which is what the finding says, and no special case for the pass is added (principles 3 and 7). Issue 1984
note 8's two rows (1984/AC5) then expect version-unreleased, cleared at the version-released.
- **H-A-774 (the node-engine takes its locks in one order, and a stop or a run's end that cannot finish says why and
ends, 20:12)** 26 Nov, issue 1984; on g14's node-engine standing still from 19:13 to its restart at 19:53 (research-
ends, 20:12)** 26 Nov, issue 1984; on the laptop's node-engine standing still from 19:13 to its restart at 19:53 (research-
readers, 26 Nov 19:53 and 20:11: the early composition pass holds the composer's lock and asks the session's node
record, which waits on the haves lock; the haves pass holds the haves lock and asks the composer for a manifest; the
stop then waits on the session's saying lock, held by a link's facts waiting on the haves lock; no goroutine trace
@@ -1108,9 +1108,9 @@ mesh-delivery 3b1f03ce, mesh-tools 393449e, mesh-catalog 17e1bfb6 and mesh-sdk b
still rolls back a version that never reports, so a build that stalls at every start is not kept (principles 3 and 7).
The launcher's change and its row in launch_test.sh are part of this fix. (4) The bound is one setting, `end-bound`, a
number of seconds, minimum 1, default 60, in the form of `compose-ask-bound` (a config entry and the file
/var/lib/mesh-host/end-bound, read at the engine's start), counted from a run's end or the stop's signal, under the
`/var/lib/mesh-host/end-bound`, read at the engine's start), counted from a run's end or the stop's signal, under the
launcher's 75 s stop grace; it is not named `stop-bound`, so that it is not read as the stop's wait for an apply in
flight (principles 11 and 8). A fact beside it: the packaged unit says TimeoutStopSec=120, but g14's installed unit has
flight (principles 11 and 8). A fact beside it: the packaged unit says TimeoutStopSec=120, but the laptop's installed unit has
no such line (its stop waited the service manager's 90 s on 26 Nov); the installed unit differs from the packaged one,
noted on issue 1984, not part of this fix.
(5) (20:47, on develop's report) Past the bound, the end first says its line and writes the stacks, then waits for an
@@ -1746,7 +1746,7 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
standard library and the module's own packages; the indexer keeps a package when it lies under a package artifact a
module of the module graph publishes (H-A-540) and digests each by its own files (ADR 0593 §2). Principle 7.
- **H-A-542 (a stopping tool runner says so; every caller asks again, 11:33)** 23 Nov: main.440's
mesh-delivery-contracts build failed at 10:24Z because novox's tool runner, serving both package registry seats,
mesh-delivery-contracts build failed at 10:24Z because the control-node's tool runner, serving both package registry seats,
restarted during the publish: after its stop it answers nothing (§813 (12), H-A-369), the caller's wait ends in a bare
"timeout", and the publish path counts only "no responders" and "bundle exited" as passing (§799, H-A-390). The second
failure of the kind (a registry holder silent within the 30 s bound; first 2026-11-15). So: amends H-A-369: a tool
@@ -1756,7 +1756,7 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
`stopping` as passing, in one shared place, never in each module's word list. A bare "timeout" stays a failure.
Principle 3 (failure is loud: silence is not an answer).
- **H-A-543 (a module that keeps an own secret runs as its own account, 11:44)** 23 Nov: gitea 0.1.316 (main.431)
asks the vault for `module/gitea/*` (C4) from inside novox's tool runner, which names every call `novox.node-tools`;
asks the vault for `module/gitea/*` (C4) from inside the control-node's tool runner, which names every call `<control-node>.node-tools`;
the vault refuses it (VA1), so every gitea tool and the seat git's merge-pull failed from 10:34Z (the second time: the
first 2026-11-22 20:14). So: a module that gets or own-puts a secret of its own runs as its own account: gitea's
manifest gains `runs-as` and its broker own secret, the mechanism mesh-vault already uses, so it runs in its own
@@ -1887,7 +1887,7 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
publish. So: gitea's Go bundles read their token from the vault and, when the vault refuses the caller's account, from
the token files gitea's own TypeScript bundle keeps under its state directory, saying once at start which source they
use; the fallback ends with H-A-543's delivery, when the vault serves `<machine>.gitea`. A recovery of the bootstrap,
merged and delivered the normal way, placed by hand on novox first. Principle 3.
merged and delivered the normal way, placed by hand on the control-node first. Principle 3.
- **H-A-565 (a failed pipeline's movers are never stranded, 13:22)** 23 Nov, the second time today: main.440's
mesh-delivery movers (11:24) and main.454's mesh-sdk (12:49) failed, their revisions were removed, the runner's
`rerun` refuses ("its revision is gone; start the mover again at the head") and its `start` refuses ("the pipeline