Compare commits
333
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cae753296 | ||
|
|
b4b1fb2f9f | ||
|
|
9246148808 | ||
|
|
d4eb197b49 | ||
|
|
f9be4ef0be | ||
|
|
c7f317263d | ||
|
|
ee89b8575d | ||
|
|
1cdfa6ff70 | ||
|
|
8aa702714e | ||
|
|
cea6404ccd | ||
|
|
9ea26f24bf | ||
|
|
224d2c0fd0 | ||
|
|
aa768f550a | ||
|
|
fcfc101da4 | ||
|
|
11dbae7c2b | ||
|
|
a6f6396aeb | ||
|
|
4189746951 | ||
|
|
0f45c563bf | ||
|
|
9c4ad57c4c | ||
|
|
d407e39684 | ||
|
|
77b21315c8 | ||
|
|
597160fc45 | ||
|
|
1b28636621 | ||
|
|
d3a1ca8a03 | ||
|
|
03d87ae524 | ||
|
|
7c10032c2e | ||
|
|
a1e3e9c882 | ||
|
|
18164c2125 | ||
|
|
809933bd88 | ||
|
|
3d2a65417c | ||
|
|
fbcb1549e3 | ||
|
|
81d531362c | ||
|
|
f333f7b0bc | ||
|
|
b19934ac5c | ||
|
|
0e59eab9d7 | ||
|
|
9554b86ee4 | ||
|
|
68faa7e545 | ||
|
|
33ddf3e1ed | ||
|
|
fb5764f3c9 | ||
|
|
46d31fea38 | ||
|
|
e997ffe773 | ||
|
|
b67f22332f | ||
|
|
2f10b917df | ||
|
|
0cf5265410 | ||
|
|
cc0446993a | ||
|
|
db2c647637 | ||
|
|
5b3cfaea4f | ||
|
|
ca522af699 | ||
|
|
d72433c167 | ||
|
|
3aa3aaaa6c | ||
|
|
a5d37df7fa | ||
|
|
82b3a56b38 | ||
|
|
1b022cff64 | ||
|
|
40a0f0eba3 | ||
|
|
b1d0628b33 | ||
|
|
d7e7d20468 | ||
|
|
948086f153 | ||
|
|
1b1e1984a5 | ||
|
|
bcbd43f85e | ||
|
|
f870d24bda | ||
|
|
7dc6592b4b | ||
|
|
91e7532ec8 | ||
|
|
e682e8dcf3 | ||
|
|
0065f24871 | ||
|
|
1d82e80d52 | ||
|
|
5406f70efa | ||
|
|
59613061b7 | ||
|
|
c379e42e09 | ||
|
|
45c02022c1 | ||
|
|
997bb748ed | ||
|
|
6b10cec681 | ||
|
|
6434b6eeba | ||
|
|
6227576d57 | ||
|
|
e09bac8ccc | ||
|
|
0307bd4398 | ||
|
|
e430897c59 | ||
|
|
c39a020c84 | ||
|
|
0aa3e2dcdc | ||
|
|
44e10ff089 | ||
|
|
99f05f97f3 | ||
|
|
692b125fb5 | ||
|
|
9b3d574d1a | ||
|
|
a9456ad5fe | ||
|
|
3780a1b795 | ||
|
|
debf26ab57 | ||
|
|
1c74e0655c | ||
|
|
4db76ecb1e | ||
|
|
9b0a236cc6 | ||
|
|
2d31e82e6c | ||
|
|
608eec9ed1 | ||
|
|
87f81bbb79 | ||
|
|
750123b6a3 | ||
|
|
166a4b0975 | ||
|
|
2fba6b41f2 | ||
|
|
5b8eed10e3 | ||
|
|
c5ae8c32dd | ||
|
|
7fd1ed62c0 | ||
|
|
16db30b1e3 | ||
|
|
5699982915 | ||
|
|
bb1e99d845 | ||
|
|
a47904606c | ||
|
|
cb50af4b59 | ||
|
|
e6ec6722de | ||
|
|
32a8ce3c52 | ||
|
|
0a6e952701 | ||
|
|
600fa29566 | ||
|
|
b65eb9033f | ||
|
|
dd0e58af5c | ||
|
|
8e2035d3bc | ||
|
|
e4924a477d | ||
|
|
48cff5171a | ||
|
|
4954d68add | ||
|
|
7e2e95066d | ||
|
|
ac30f659e7 | ||
|
|
effaf81609 | ||
|
|
2b473d16e3 | ||
|
|
c8140b9fb8 | ||
|
|
3d8e033930 | ||
|
|
2a470989a9 | ||
|
|
18269c9858 | ||
|
|
094593255c | ||
|
|
cad0fd6681 | ||
|
|
b3c2f00707 | ||
|
|
9e0923ce63 | ||
|
|
7d80c7e691 | ||
|
|
402d05e668 | ||
|
|
dd3c0eed2f | ||
|
|
684de504e7 | ||
|
|
f466ec71ef | ||
|
|
ecc9934f02 | ||
|
|
2dd5d7ff58 | ||
|
|
30c6d51e70 | ||
|
|
fc6555113c | ||
|
|
40ff0ff2ae | ||
|
|
983e696765 | ||
|
|
ecddaf357a | ||
|
|
9c377cd2b5 | ||
|
|
c16a5376eb | ||
|
|
cde266bbed | ||
|
|
62ca6a2da4 | ||
|
|
27565af14d | ||
|
|
c1a72294ff | ||
|
|
5863f396a0 | ||
|
|
b7d01fce07 | ||
|
|
3105d8fa73 | ||
|
|
6b3356ba28 | ||
|
|
9b60f5d1e3 | ||
|
|
075a537b58 | ||
|
|
49217475e9 | ||
|
|
4ffe1fd8b1 | ||
|
|
9feaea711f | ||
|
|
1b336cf08b | ||
|
|
571bb261d0 | ||
|
|
cc125479a3 | ||
|
|
4333c3d8c2 | ||
|
|
c2712b5cd1 | ||
|
|
364552d2b2 | ||
|
|
5bbe18d56b | ||
|
|
abd562e40a | ||
|
|
10627efcbd | ||
|
|
17346cccf3 | ||
|
|
218c40206e | ||
|
|
ac7654bc72 | ||
|
|
0f71246646 | ||
|
|
60f426471f | ||
|
|
f2d0ecd11b | ||
|
|
59bc826d6f | ||
|
|
646c2c3cd8 | ||
|
|
33ba181557 | ||
|
|
f6b0a843b2 | ||
|
|
9c0e90231c | ||
|
|
bf02dc3a44 | ||
|
|
947dbb590e | ||
|
|
2e1a6688ec | ||
|
|
cb1b717638 | ||
|
|
e520f4a5a1 | ||
|
|
8ae2aab29f | ||
|
|
4f9c6410e9 | ||
|
|
8fd62a2495 | ||
|
|
3eb01ece44 | ||
|
|
d42904e533 | ||
|
|
38070a4f75 | ||
|
|
1e985bac5c | ||
|
|
0abe9589d2 | ||
|
|
743b2c53c1 | ||
|
|
c975e5b39a | ||
|
|
e9192d7c7e | ||
|
|
dd758d6e5f | ||
|
|
0db5b941de | ||
|
|
0dbcb115f9 | ||
|
|
1ea623bf1e | ||
|
|
0058f2671c | ||
|
|
e104dae99c | ||
|
|
aa4bd831b7 | ||
|
|
5fd71bf9a2 | ||
|
|
b2d54d567f | ||
|
|
cbf3d8acb3 | ||
|
|
60b653cbcc | ||
|
|
32d1aef305 | ||
|
|
fb09134ba4 | ||
|
|
dc8796cdb0 | ||
|
|
0b0760adab | ||
|
|
7f0b70df75 | ||
|
|
c5e4c2e1da | ||
|
|
5b45d8f92b | ||
|
|
c18e113c7e | ||
|
|
4e534ae0cd | ||
|
|
0477e04643 | ||
|
|
3679bec24a | ||
|
|
5aa3b4b8c4 | ||
|
|
93039639e5 | ||
|
|
9553ce0e83 | ||
|
|
c4cfceefa9 | ||
|
|
e098ffdef5 | ||
|
|
ee2e2bc438 | ||
|
|
50a890676c | ||
|
|
96b8f0c293 | ||
|
|
86b9b25c39 | ||
|
|
ea6d9aa8fe | ||
|
|
1324d2183d | ||
|
|
e67a8f1bae | ||
|
|
2e2f1072ee | ||
|
|
7485c2cb29 | ||
|
|
24c678418f | ||
|
|
fb218be9c7 | ||
|
|
ecc590da57 | ||
|
|
7df293752f | ||
|
|
ad98ab82f7 | ||
|
|
3f62a62d09 | ||
|
|
e1af8b445c | ||
|
|
608b72247e | ||
|
|
04fb9e7499 | ||
|
|
66f96ba36b | ||
|
|
1b1f7b6925 | ||
|
|
720e7e7870 | ||
|
|
f2f7330c75 | ||
|
|
c951849dfc | ||
|
|
c1a5b310fe | ||
|
|
3b29f26c77 | ||
|
|
13e53e498c | ||
|
|
bc56c7db9c | ||
|
|
65d7ee37d9 | ||
|
|
5d9b701de7 | ||
|
|
a5fa22a4b8 | ||
|
|
6de57ebb11 | ||
|
|
e853f9a4e7 | ||
|
|
4ecf9e2206 | ||
|
|
702f226920 | ||
|
|
d78897ee1d | ||
|
|
1db1271e27 | ||
|
|
ea92464a46 | ||
|
|
bf39c5ae3f | ||
|
|
6daefe666f | ||
|
|
4d8c853f46 | ||
|
|
9ca54b463e | ||
|
|
199b8e9631 | ||
|
|
66c70e6627 | ||
|
|
2ba6b946f0 | ||
|
|
f987fbe3f2 | ||
|
|
7dca93c025 | ||
|
|
7a7a1ffea5 | ||
|
|
15ef740ef5 | ||
|
|
3900d17bb1 | ||
|
|
531df30528 | ||
|
|
e9bb740c7e | ||
|
|
56deca5f34 | ||
|
|
d5fbf23107 | ||
|
|
9b981693df | ||
|
|
c3246cfeb4 | ||
|
|
decac6fc68 | ||
|
|
9981bcbfc3 | ||
|
|
270f469fa1 | ||
|
|
94f77b2dde | ||
|
|
1dbc2844dc | ||
|
|
51c636b91f | ||
|
|
8d1f4ee027 | ||
|
|
19e8535719 | ||
|
|
28def7eae5 | ||
|
|
cc7408eaa3 | ||
|
|
dfbca1458d | ||
|
|
6d90185f49 | ||
|
|
149955dbd2 | ||
|
|
40ad6a10bf | ||
|
|
ad5284889b | ||
|
|
cc556c857a | ||
|
|
48cff82289 | ||
|
|
b6d44d1bd6 | ||
|
|
e6c7bc1d06 | ||
|
|
d98e61a6e2 | ||
|
|
bc1c1561f3 | ||
|
|
032c4319f8 | ||
|
|
80745b3e02 | ||
|
|
88ea67c7b4 | ||
|
|
781b614100 | ||
|
|
4238e98f0d | ||
|
|
268b65e6db | ||
|
|
230d48c3f4 | ||
|
|
9f7619d3c4 | ||
|
|
f59b63e3e2 | ||
|
|
b0f8d434e6 | ||
|
|
9dea4eefed | ||
|
|
9c9342d8bf | ||
|
|
b2f2ac7580 | ||
|
|
64a927c144 | ||
|
|
415f28d73c | ||
|
|
ee8a7e706a | ||
|
|
ad7f141623 | ||
|
|
befabda4d1 | ||
|
|
00059d7325 | ||
|
|
6177ae66ac | ||
|
|
59864fc478 | ||
|
|
b1cef2c617 | ||
|
|
9e6ca94df0 | ||
|
|
bea4380a8b | ||
|
|
b37cb3985d | ||
|
|
ad94daa421 | ||
|
|
87ded62dd1 | ||
|
|
fbd39168f4 | ||
|
|
47515b8730 | ||
|
|
f2dfc50f8d | ||
|
|
05fac9854c | ||
|
|
3f9240f731 | ||
|
|
70e333055c | ||
|
|
acf3431207 | ||
|
|
eb5476d319 | ||
|
|
fea6f12ebb | ||
|
|
e320b964a9 | ||
|
|
d444ac1cde | ||
|
|
de9f20c0e1 | ||
|
|
04fb76dd53 | ||
|
|
a293e235eb | ||
|
|
8e37cfbb21 | ||
|
|
94e8564cc2 |
@@ -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"
|
||||
@@ -716,3 +730,9 @@ Added by the lead at 21:30 CET, from the run of 19:50 to 21:30; a row met again
|
||||
| The pipeline runner's open branch (rows 190, 193 and 195) gained H-A-326 and H-A-328 at 21:25 in three commits: a step held waiting on a package's publish counts as nothing open for the stalled rule; the seat mesh-builds gains the read verb `published` (module, artifact and fingerprint; answering published, version and digest), served by the builder from a reservation of that fingerprint whose artifact is marked published, or from a kept release of it; and the runner, when it writes a mover's wait on a package, asks it once per package and fingerprint and places the mover at once when the answer is published, the journal saying "placed from the published record" apart from an event; a package published before the pipeline existed thus no longer holds a pipeline until a restart. Two manifests and the seat's definition changed, so the manifest validator runs before the branch's third review; the approved head of row 190 is superseded by this one (rows 190, 193 and 195); the pipeline runner (`mesh-delivery-pipeline`) and the builder. Owed: the answer's time, never filled because the builder keeps no publish time, with that record. | H1's tail (the runner and the builder) |
|
||||
| The manifest validator's run on the pipeline runner's branch (row 197) at 21:28 found the change adding no problem: with the branch's seat definition, the change case's verdicts equal the trunk case's for every one of 157 manifests. But the builder's and the runner's manifests are refused in both cases, on fifteen and three lines naming verbs of the registry and build seats that the validator program does not see in the repositories' trunk seat files (they declare acts and accepts), lines the live validate of the same modules passed today; every developer and reviewer runs the validator this way, because the live answer of the seat list is too large to read into a session. The branch's third and last review began at 21:30 (rows 190, 196 and 197); the pipeline runner (`mesh-delivery-pipeline`), the builder and the indexer's manifest validator. Owed, by H-A-329: the seat mesh-catalog answers the seat list as one object a validator run takes; and the validate step counts only the problems new against its before case for a touched module (the reader found it counts every problem). | H1's tail (the runner); H2 (the validator's reads) |
|
||||
| The two reviews came back at 21:34 and 21:35, neither approving. The packet filter's group (row 196): five findings, one a real fault (the holder accepted an expiry without seconds that the node-engine's time reader refuses, so every later compose would have withheld the filter), the others form (the verbs served before the holder's start had said started; the holder copying the seat's names instead of importing the generated package, the copies already drifted; the seat definition's description of the default set stale; the stored copy of the node's grant lacking the event's subscription), all in one developer's hands; the holder's ten-second bound on its converged ask stays a value (H-A-330). The pipeline runner's branch (row 197), third round: one finding, the published answer never carrying its time, and never the digest for a release, which the builder did not keep; H-A-331 settles it (the publish time kept on the mark from now on, a release keeping its digest, both absent for older records and said so; a withdrawn number never answered published). The lead takes a fourth look at that one commit rather than a fourth round: the rule of three rounds bent for a detail of form, and said here (rows 196, 197 and 198); the packet filter module, the node-engine, the pipeline runner (`mesh-delivery-pipeline`) and the builder. | other (the packet filter); H1's tail (the runner) |
|
||||
| At 21:40 the operator said not to wait for them, and at 21:41 approved ADR 0683, so the lead stopped holding on the merges and prepared them instead: the four reviewed code branches were pushed and their pull requests opened for the operator's merge (the delivery repository's #317, the change of the assigner and the runner; #318, the teller's test; #319, the pipeline runner's placing fix, approved at its fourth look; and the node-engine's #244, the fix of the restart loop), beside hq's #797 (this record) and #798 (the packet filter's design amendments, now resting on an accepted decision); the runner's branch had its manifest validator run (row 198), and the base of #317 sits seventeen commits behind main but merges clean. The packet filter's group had its five findings fixed in one commit per repository and entered its second review round at 21:44. And the next milestone's design began: a writer turns every item the H1 record names as owed into H2's design lines, with the two proofs that show a change delivered in under ten minutes with no hand act and no restart (ADR 0282), for the reviews by architectural domain and the prepare that follow (rows 173, 187 and 199); the runbook. | H1 (closed); other (the packet filter); H2 (begun) |
|
||||
| At 21:47 the operator said the lead can and should merge the pull requests, and at 21:48 that they cannot be bothered with them, so merges are the lead's from here, as the mesh's rule on merges says, and the lead will not put a merge to the operator again. By the lead's reading, the earlier refusals were the lead session's own permission check reading the handovers' words ("the operator decides", "a check refused the earlier dispatch") as routing around a review, not a rule of the mesh; a plain handover quoting the operator passed. An agent merges the six at 21:48, in this order: the node-engine's #244 first (it ends the restart loop; its pipeline delivers the node-engines, and then the held puts are released); the delivery repository's #317, #318 and #319 as one call; then hq's #797 and #798, through the forge's interface (rows 174, 187 and 200); the runbook. | H1 (closed); other |
|
||||
| The merges landed: the node-engine's fix (#244) merged at 21:48:30, and its pipeline passed at 21:50:53, two and a half minutes from merge to pass, the node-engine's want moving on the home server and the control-node at 21:51 (the other two and the node-engines' restarts are being read; the held puts of row 183 are released once the restart loop has stopped); the three delivery fixes (#317, #318 and #319) merged as one call at 21:49, and their pipeline of 23 movers runs. hq's two pull requests (#797, this record, and #798, the packet filter's designs) have no merge path in the mesh: the forge tool never merges (ADR 0266), and the merge verb takes only a watched branch, which hq, registering no module, is not; the lead session's permission check refused dispatching hq's registration as a source, so the operator merges them at the forge for now. The fix of the journal lines (H-A-320 (1)) is built and in review (rows 176, 200 and 201); the node-engine, the pipeline runner (`mesh-delivery-pipeline`), the indexer (`mesh-delivery-indexer`), the gate and the checker. Owed, by H-A-332: a repository with no module registers as a source only; its own check runs as the mesh's; its pull requests merge like any other. | H1 (closed); H2 (hq as a source, the journal lines) |
|
||||
| The node-engine's fix is delivered: the new node-engine ran on the home server and the operator's desktop from 21:52, each restarting the tool runner once more for a real change (a secret filled) and then no more; the held puts of row 183 were released at 21:54 (the home server) and 21:58 (the operator's desktop and the control-node), and the loop of rows 179 to 181 is over. One smaller flap of the same kind remains: the reads runtime restarts for the node-files holder's words derived from held modules' stubs, and H-A-335 extends the held-module rule to every runtime process the node-engine composes (in build). The fix of the journal lines (H-A-320 (1)) went to a second round under H-A-333 (every said end writes its line in the one place the event is said; the builder's answered line at its one finish; the asked line kept). The next milestone's design part, H2 "the delivery system's owed work", was written (forty-three lines, §775 to §817, with the two proofs: a change delivered in under ten minutes, read from the gate's new delivery time, with no hand act and no restart by hand) and pushed, with hq as a watched source as a line (H-A-334) and the bend of the destroy channel kept; its four reviews by architectural domain run, and a progressive insight on ADR 0668 adds the fault class "away" (rows 181, 200 and 202); the node-engine, the pipeline runner (`mesh-delivery-pipeline`) and the builder. | H1 (closed); H2 (begun) |
|
||||
| The pipeline of the three merged delivery fixes (rows 146, 170, 184, 187 and 190: the cut placing, the stranded want of room, the versioned end) ended failed at 22:00: the control-node's node-engine restarted its tool runner for a changed fingerprint in one module's words at 21:59, while the forge's bundle took a package's first chunk, so the publish died and the contracts module's build failed, and every mover downstream was not asked; the change itself was sound (every test run passed, and the same build passed on its next try at 22:05). The next merge's pipeline (the journal-lines fix, row 202, merged at 22:01) carried the same movers and re-pinned them to the published packages at 22:06, so nothing was run again by hand. A design's part is reviewed before its prepare: the four reviews by architectural domain of H2's part reported thirty-seven musts and notes in twelve minutes, answered in one batch (H-A-338 to H-A-341) and applied by the writer; and a TypeScript bundle's mesh packages get no catalog edge before its first build (H-A-336, owed in H2b) (rows 146, 170, 179, 184, 187, 190, 202 and 203); the node-engine, the tool runner (`node-tools`) and the Node build module. Owed, by H-A-342: a publish refused by a holder that is away ends the run again like a fetch; and the tool runner drains its calls in flight at a stop, within a bound, before the node-engine starts the new one. | H1 (closed); H2 (begun) |
|
||||
| The reads runtime's restarts (row 203) are over: the node-engine's fix (a held module's share of the holders' merged words comes from what runs; H-A-335 and H-A-337) was reviewed in two rounds, merged at 22:20 and delivered by its pipeline in three minutes (passed at 22:24), and the new node-engine ran on all four nodes by 22:26; no restart of the reads runtime since 21:57 on any node. Each new node-engine's first pass restarted the tool runner once with a false why (a secret said changed that did not change), as main.151's node-engine had at 21:52, and the mesh MCP server dropped for a minute each time; H-A-348 owes the fix to H2b (the judgement reads what the running unit holds, never only the node-engine's memory). The pipeline of the journal-lines fix (row 202) failed twice on the Node build module's integration tests, three tests, on two build nodes; their kind (H-A-347): since the toolchain lock pins no SDK (G §571), they had read the SDK from a stale toolchain through the "installed last" fallback for ten days, until the desktop installed the current lock at 19:26; the fix (the shared setup supplies the SDK the skipped fetch would place) is in review, and the fallback gains a journal line. The two insights are accepted: ADR 0668 at version 17 (the fault class "away") and ADR 0664 at version 16 (a holder that is away, and the forge's 401 or 5xx on a source fetch, end a run again). H2's part passed the second look of the four reviews (every must answered but six, which are answered as H-A-344 and applied), and is hq's pull request #799, for the operator (rows 202, 203 and 204); the node-engine, the Node build module and the knowledge base. | H1 (closed); H2 (begun) |
|
||||
|
||||
@@ -1999,3 +1999,320 @@ Where two preparers disagreed, the chosen one is named.
|
||||
publish) and a kept release keeps the published digest with its version; the verb published answers at and digest
|
||||
where kept and leaves them absent for marks and releases written before this change, the form's descriptions saying
|
||||
so; a withdrawn number is never answered published. P-failure-loud (an absent field, never an invented time).
|
||||
- **H-A-332 (hq merges like every other repository, 21:53)** Met tonight: no mesh tool merges an hq pull request (the
|
||||
forge tool never merges by ADR 0266; the seat git's merge-pull takes only a watched branch, and hq, registering no
|
||||
module, is not one), while hq's checks were meant to run as the mesh's (ADR 0527) and the operator wants no merge
|
||||
put to them (2026-11-21 21:48). So hq's main becomes a watched source: a repository with no module registers as a
|
||||
source only (branch, its own check command as its one check), the gate watches it, the checker runs its check as
|
||||
mesh/check, and merge-pull merges its pull requests like any other; until built, hq's pull requests are merged by
|
||||
the operator at the forge. Owed, the next milestone, in the indexer (the registration's source-only form), the gate
|
||||
and the checker. merges-need-no-approval, P7.
|
||||
- **H-A-333 (an ask placed is a journal line too; every said end writes its line, 21:55)** Amends H-A-320 (1): the
|
||||
runner writes a line when it places an ask ("<pipeline> <mover> <step> asked on <seat>") as well as when a step
|
||||
ends, and the ended line is written wherever a step-ended event is said (the unanswered-bound end, the end at
|
||||
placing, a supersede, a re-pin, the approval's end, the start pass, the verbs that end a step), in the one place
|
||||
that says the event; the builder writes its answered line in the one place an ask is answered (BuildStep's finish),
|
||||
naming the pipeline, the movers, the step and the outcome, the per-entry "existing build / built now" line beside
|
||||
it. P-failure-loud.
|
||||
- **H-A-334 (H2's part: two answers, 21:55)** For design 47 H2's part: (1) hq as a watched source is a design line, not an
|
||||
operator question: the operator wants no merge put to them (21:48) and hq's checks were meant to be the mesh's (ADR
|
||||
0527), as H-A-332 says; (2) the destroy-level answers' channel stays the approve-level bend of H-A-237 until a
|
||||
research effort designs the destroy proof's channel (an operator question only when that research is proposed);
|
||||
(3) the error kind "away" widening ADR 0664 §1 and ADR 0668 §1 is a progressive insight on ADR 0668 proposed by the
|
||||
record writer; (4) the items of section 10 rows 41 to 102 marked H2 go into a second part, H2b, written next; design
|
||||
47's main file's size is a separate reshaping run. act-on-the-intent, P7.
|
||||
- **H-A-335 (the held-module rule covers every runtime's slice, 21:58)** With the fixed node-engine on the home server the
|
||||
tool runner stopped restarting (none in five minutes after the hold's release), but the reads runtime restarted
|
||||
twice in two minutes "because MESH_TOOL_ENV (mesh-reads (MESH_SECRET_PLACES)) changed": the node-files holder's
|
||||
words are still derived from held modules' stub manifests pass by pass. H-A-306 (2) holds for every runtime process
|
||||
the engine composes from module slices (the reads runtime's secret places included): a held module's slice is copied
|
||||
from what runs. Fixed in the node-engine next, the same kind (fix-a-bug-met-twice). P3.
|
||||
- **H-A-336 (a TypeScript bundle's mesh packages are edges before its first build, 22:02)** Met in the packet filter
|
||||
group's review: the catalog graph gets a TypeScript bundle's package edges only after its first build (the Go side
|
||||
reads imports with go list; the TypeScript side reads nothing at take-in), so a bundle newly importing a mesh
|
||||
package (the holder importing the node-engine's and the packet filter's generated packages) is built before those
|
||||
packages publish and refuses every verb. Owed, H2b, in the indexer and the Node build module: at take-in the
|
||||
indexer reads a TypeScript module's package.json dependencies on @novox packages as edges of the catalog graph, as
|
||||
it reads Go imports; until then the recovery of the moment is a rerun of the bundle's build step after the packages
|
||||
publish. P-NATS-native, design-it-as-it-should-be (a gap built in the delivery system, not worked around).
|
||||
- **H-A-337 (a held module's share of merged words, 22:03)** Amends H-A-335 for words that merge every module's
|
||||
contribution into one list and lose the giver (the secret places): while any module is held, the places are those
|
||||
the modules not held compose, merged with every place in what runs, then reduced as today, so a pass with the same
|
||||
held set gives the same value, a module that answered still adds its new places, and a place a module dropped stays
|
||||
refused until no module is held (refusing more, never less); words that name their owner per entry (the owned
|
||||
paths) take the composed entries of modules not held plus the running entries whose owner names a held module.
|
||||
Both in the resolution, given the held set and each runtime process's running words. P3, ADR 0310 §5.
|
||||
- **H-A-338 (H2's part after the security and upgrade review, 22:05)** (1) The forge token is a secret: kept where the
|
||||
module keeps secrets (the vault's own, never plain in a state), the read tool masks it, each new mint deletes the
|
||||
old token at the forge. (2) A source-only registration's check names a build seat and a step kind (for hq
|
||||
node-build-go, unit at the repository root), run in that seat's sandbox, never a free command; merge-pull judges it
|
||||
by the registration's policy, the same as a module's (ADR 0527 §1). (3) The install kind names its source (the npm
|
||||
registry seat), an integrity-checked install (npm ci), no install scripts, the archive kept under the lock's digest.
|
||||
(4) ask-taken and version-reserved are declared in their seats' definitions, so only the holder publishes them.
|
||||
(5) builder_publish_drop, builder_publish_first (with a why) and bridge_owed_again are written in the hand-act log;
|
||||
an act performed again checks its preconditions again. (6) The ids a holder took live in its own state taken, key
|
||||
<seat>.<ask>, with the ask's bound as TTL. (7) A rebuilt asks stream carries no messages and is rebuilt before the
|
||||
new builder and assigner start. (8) form is left out while it is 1 and an absent form reads as 1; the edge "the
|
||||
tolerant node-engine before the assigner writes run" is named. (9) Every fingerprint changes once at H2's
|
||||
delivery; every module becomes a mover of that one pipeline (a build with the same content is reused, the engines
|
||||
restart nothing whose composition is unchanged); the indexer and the builder take the new fingerprint function in
|
||||
one release. (10) Ledgers and the hand-act log are never pruned; the foundation's old sections are exempt from the
|
||||
cap refusal; a delivery module is one whose manifest claims a delivery seat (the validator reads that). The main
|
||||
file's size and the H file's size are their own reshaping run (H-A-334 (4)). P-security, P3.
|
||||
- **H-A-339 (H2's part after the seams and tools review, 22:05)** (1) A foundation part declares each entry in its old
|
||||
section with its cap there (H-A-229, ADR 0619, ADR 0666 §4); so for the validator's rule. (2) An owner prunes when
|
||||
it hears the bus module's full condition for its own entry, down to prune-target; no periodic read. (3) hq's merge
|
||||
check is a pipeline step on the seat node-build-go run by the runner, judged by merge-pull from the runner's step
|
||||
events as for any module (ADR 0666 §11; the checker is gone). (4) Every holder of a kept call (the node-engine's
|
||||
compose-candidate, the forge module's git verbs, the registry) keeps the ids it took as H-A-338 (6) says, each named
|
||||
in its part. (5) §776 rests on the insights on ADR 0668 §1 and ADR 0664 §1 (proposed), accepted before the prepare.
|
||||
(6) The install kind is a step the runner asks of the Node build seat; the step's end carries the archive object's
|
||||
name (ADR 0666 §16). (7) Every new store names its form, cap, per-key TTL where it has one, and deleter (unfinished,
|
||||
outputs, publishes, token, dry-runs); a put refused by a full queue is said and asked again with the kept-call
|
||||
pacing. (8) The table of tools gains: what waits on the mesh-wants and mesh-builds queues and a drop of one ask;
|
||||
place-now for an unfinished mover; prune-now and keep-now; a read of the token lease and of dry-runs; whether the
|
||||
registrations view has been read; the before case's problems validate does not count. Notes taken: a changed shared
|
||||
form rebuilds every module (said once per such line); the output verb's node from the step key; the unbuildable
|
||||
list worked out again at every start. P7, P-NATS-native, tools-are-how-a-module-is-spoken-to.
|
||||
- **H-A-340 (H2's part after the running and testing review, 22:05)** (1) The work queue names its consumer settings
|
||||
(ack wait, in-progress interval, max ack pending, max deliveries, duplicates window, ADR 0436 §6); a holder pulls
|
||||
every ask at once and says ask-taken at the pull, so the bound counts from the pull, never from queue length
|
||||
(H-A-241). (2) The holder's compose bound is the setting compose-ask-bound (10 s). (3) Every store names its cap,
|
||||
the gate's ledger included; the prune trigger is the full condition (H-A-339 (2)). (4) Past mint-lease the waiter
|
||||
creates the lease itself; the token and the lease have per-key TTLs. (5) H2's own delivery is one pipeline of every
|
||||
module, builds with the same content reused and unchanged compositions not restarted, before the proofs run; its
|
||||
size and time are named. (6) A setup-starved NOT RUN ends the run again by §799's delays; a third ends the step
|
||||
could-not-run. (7) §794's cost is a unit test counting one read and one write per event, not a wall clock. (8) Each
|
||||
module ends H2 with fewer tests than it starts with, counts named per module. (9) Every line names its case,
|
||||
including take-in-waiting, record-too-large and the third run's failure. (10) The proofs are read from the gate's
|
||||
record (class core, delivery-time under ten minutes, no over-budget) and an empty hand-act log for every delivery
|
||||
part from merge-called to the last running, with no other pipeline holding the slot. Notes taken: jitter in the
|
||||
pacing; one journal line per seat; a key read twice between pages said; the head entry's count; the publish items'
|
||||
move with a message id; tags read once per take-in; the verb a build module calls to learn away. P3,
|
||||
P-failure-loud, test-budget.
|
||||
- **H-A-341 (H2's part after the health and events review, 22:06)** (1) ADR 0282 §7 stands: the self-check's probe
|
||||
reads the gate's times and raises over-budget with the class as its id, naming the revision and its longest phase;
|
||||
the next delivery of the class clears it; the gate raises nothing. (2) prune-mark 70 % and prune-target 50 %, below
|
||||
the bus module's raise mark; the owner judges its fill from the store's own figures at each write it makes (no poll,
|
||||
no timer; amends H-A-339 (2) and H-A-340 (3)). (3) version-tagged-elsewhere clears at the module's next
|
||||
version-released; record-too-large clears when the entry is next written within 64 KiB or at the record's end.
|
||||
(4) A work-queue ask is re-put only on a transport fault of its put; its bound counts from the pull (H-A-340 (1));
|
||||
a step ended by its bound drops its ask (ADR 0664 §4). (5) Beside the two lines per step, the per-mover wait
|
||||
lines (H-A-326 (3), §787) and §775's fault lines stay. (6) Every seat event body and verb answer carries form and is
|
||||
decoded tolerantly (H-A-338 (8) on an absent form). (7) outputs and the install archives: max-age 7 days and a cap;
|
||||
the builder deletes; output answers "no longer kept" past it. (8) A fetch's 401, 5xx or connection fault ends the
|
||||
run again (§799), no seat call needed. (9) The H file joins the main file's reshaping run (H-A-334 (4)). Notes
|
||||
taken: the consumes lists (runner: the two ask-taken; indexer: version-reserved); pipeline-ended carries unfinished
|
||||
and a mover kept or added again is a journal line; the builder's health names an event backlog older than five
|
||||
minutes; §790's and §803's tests show the clear; dry-run keys deleted at the indexer's start. P-NATS-native,
|
||||
P-failure-loud, map-onto-how-the-mesh-is-built.
|
||||
- **H-A-342 (a tool runner's restart kills calls in flight, 22:08)** The delivery fixes' pipeline failed at 21:59: the
|
||||
control-node's node-engine restarted its tool runner for a changed fingerprint in one module's words while the
|
||||
forge's bundle was taking a package's first chunk, so the publish died (SIGTERM) and the contracts module's build
|
||||
failed; every mover downstream was not asked. The next merge's pipeline carried the same movers and the build
|
||||
passed on its second try. Two lines for H2: (1) a publish or fetch refused by a holder away (no responders, a
|
||||
bundle exited) is a transport fault: the build module ends the run again (§799 covers publish as fetch), the
|
||||
runner's delays carry the retry; (2) the tool runner drains at a stop: it takes no new call once stopped, finishes
|
||||
the calls in flight within a bound (setting drain-bound, 30 s), then exits, and the node-engine waits that bound
|
||||
before it starts the new one; a bundle's call that outlives the bound is cut and said. No repository fix for this
|
||||
instance; nothing to rerun (main.155 carries it). P-NATS-native, P-failure-loud, fix-a-bug-met-twice (the restart
|
||||
loop of row 179 killed calls the same way).
|
||||
- **H-A-343 (the runner's events are waited on by name, 22:11)** A session waiting on a pipeline's end could not: the
|
||||
mesh MCP server's wait refuses "mesh-pipeline-runner.pipeline-ended" because the catalog's half names neither a
|
||||
seat nor a module of that name for the event, so the watcher read the journal on a timer. H2 line: every event the
|
||||
runner says (pipeline-started, step-ended, pipeline-ended, the re-pin) is declared in its seat's definition under
|
||||
the seat's events family, so a wait by seat and event name is answered and nobody polls; the same for the builder's
|
||||
and the indexer's events (ask-taken, version-reserved, H-A-338 (4)). Its check: the seat list carries the family;
|
||||
mesh_wait on each name is answered in the whole-module test. P-NATS-native, map-onto-how-the-mesh-is-built.
|
||||
- **H-A-344 (H2's part after the second look, 22:16)** (1) taken, unfinished, token-lease and every state whose
|
||||
deleter the stores table names other than the prune are never pruned; such a store refuses when full, said in the
|
||||
owner's journal. (2) A process refused at the forge first reads the vault's token; it takes the lease and mints only
|
||||
when the refused token is the vault's current one (unit test: two processes, one holding the old token, mint one
|
||||
token in all). (3) A foundation part (ADR 0619 §1, ADR 0666 §4) declares each of its stores (unfinished, publishes,
|
||||
taken, dry-runs, the findings stream) in its old section with the same cap and life (H-A-229); every other owner
|
||||
asks for it in requires by its template; so in the stores table and in §783. (4) assigner_keep_now (why) runs the
|
||||
keeping of the assignment graph's revisions at once, written in the hand-act log; its row in the tools table.
|
||||
(5) The findings stream: events template, max-bytes 8 MiB, max-age 7 days, in the stores table. (6) An ask untaken
|
||||
past ask-unanswered-bound from asked-at ends could-not-run, naming the seat's holder as not taking (unit, runner),
|
||||
never a slot held without end. (7) The fill is judged from the figures the write's own answer gives, no extra read.
|
||||
(8) outputs and the install archives are deleted by the objects store's own max-age of 7 days (the bus deletes),
|
||||
no sweep; the build module that keeps them is their owner (the line holds over H-A-341 (7)). (9) §799's third-run
|
||||
why is fetch: <words> or publish: <words>, whichever met the fault; the kit's test expects publish: for the publish
|
||||
case. (10) The forge module writes its token through the vault seat's own verb (named in §808), never into another
|
||||
module's store (ADR 0596). The main file's and the H file's sizes stay with the reshaping run. P3, P12,
|
||||
P-NATS-native, tools-are-how-a-module-is-spoken-to.
|
||||
- **H-A-345 (the forge token's write verb, 22:18)** §808 names the vault seat's own verb for both the read and the write
|
||||
of the forge module's token. The verb own reads a module's own secrets; if the seat serves no write of a module's
|
||||
own secret, that write verb is a gap of this milestone, built on the vault's seat beside own (a module writes only
|
||||
its own secrets through it, named by the caller's account), and the prepare's build map says which. P12, ADR 0596.
|
||||
- **H-A-346 (the packet filter group ships before trunk's test races are fixed, 22:23)** The group's last finding, a
|
||||
racy node-engine test, widened into trunk's own races in the same test function (measured on main before the
|
||||
change). The group carries only the fix of the race the review named (the ghost held until read, the data race on
|
||||
the shadow's field), and the rest of that test's kind is a small fix of its own on a branch from main, reviewed and
|
||||
merged apart, so the operator's allowance is not held by trunk's flakiness. rules-are-weighed (a cheap split; the
|
||||
thorough fix starts in the same turn), fix-a-bug-met-twice.
|
||||
- **H-A-347 (the Node build module's tests and the toolchain fallback, 22:26)** The three tests failed since the
|
||||
desktop installed the current toolchain lock at 19:26: the lock pins no SDK since G §571 (the fetch step places
|
||||
it), the tests skip the fetch and had read the SDK from a stale toolchain through the "installed last" fallback for
|
||||
ten days. (1) A whole-module test supplies every input the step it skips would place (here a small SDK with the
|
||||
stdio export in the workspace's node_modules), never read from what a machine happens to keep; fixed so. (2) The
|
||||
"installed last" fallback of ADR 0533 §3 stands for a build, and writes one journal line naming the toolchain it
|
||||
took and the lock it stood in for, so the next such stand-in is readable (H2, the Node build module). P3,
|
||||
P-failure-loud, nothing-moved-in-five-minutes (make it visible).
|
||||
- **H-A-348 (a new node-engine's first pass restarts the tool runner for a secret that did not change, 22:27)** The
|
||||
engine of main.157 started on all four nodes at 22:24-22:26 and each first pass restarted the tool runner "because
|
||||
claude-code.secret-gitea-read changed", the same words as the first pass of main.151's engine at 21:52; the mesh
|
||||
MCP server dropped for a minute each time. The secret did not change: the new engine judges "changed" against what
|
||||
it remembers of the secret's value, and a fresh engine remembers nothing. Owed, H2b, the node-engine: the judgement
|
||||
of a secret's change reads what the running unit holds (its rendered environment or a digest kept beside the unit),
|
||||
never only the engine's memory, so an engine's own delivery restarts nothing whose inputs are the same. Its test:
|
||||
two engines in a row over one bus, the second's first pass restarts no runtime. P3, P-failure-loud (a restart with
|
||||
a false why is a lie of its own), fix-a-bug-met-twice (second engine delivery, same line).
|
||||
- **H-A-349 (H2 prepare, the design questions, 22:38)** DQ-1 the seats take one kind, step; keep step (P7). DQ-2 the
|
||||
mesh-wants stream is rebuilt empty with mesh-builds, before the new holders start (H-A-338 (7)). DQ-3 the wrappers are
|
||||
named by package and type in §782. DQ-4 AgainID and the ask2. keys go (one way per thing, P3). DQ-5 the foundation
|
||||
parts among the delivery modules are listed in §814 (the indexer, the builder, the runner, the assigner, the gate,
|
||||
the teller and the contracts module; ADR 0619 §1). DQ-6 the publish queue's consumers are declared in requires and
|
||||
the message id carries the class. DQ-7 the vault's seat gains a two-step sealed write of a module's own secret
|
||||
modelled on licence-put, and the forge module reads its token through get; H2 builds it (H-A-345, P12). DQ-8 an
|
||||
unpublished package of the same repository enters the fingerprint by its directory's tree, never by the head
|
||||
commit (P3: the same source, the same fingerprint). DQ-9 the source-only registration's key is source.<owner>.<name>
|
||||
with origin, branches, policy and check. DQ-10 the seat list is an objects store seat-lists, 64 MiB, the newest two
|
||||
kept, in §820. DQ-11 the node-engine's rule mark stays and the scope words follow it. DQ-12 the composition key is
|
||||
named in §813 (1) and run stays a string. DQ-12b the node-engine's composition-diff is a seat verb. DQ-13 the
|
||||
event is re-pinned. DQ-14 each pull request's check reports the module's starting and ending counts; the budget is
|
||||
held to the check's way of counting (test-budget). DQ-15 mesh-sdk's TypeScript helpers carry away as the Go ones
|
||||
do (P9: one shape on every side). DQ-16 the gate reads a module's class from the manifest's class field the
|
||||
indexer carries in the catalog entry, never from a list of its own (P-the-mesh-owns-the-truth); a module with no
|
||||
class is a leaf. Principles named inline.
|
||||
- **H-A-350 (H2 prepare, design meets code, 22:38)** DMC-1 the queue settings live in the seat definition and are derived
|
||||
once, in mesh-sdk (P9). DMC-2 away is an error kind of each seat, git first; the kit tests each. DMC-3 tags answers
|
||||
{tag, commit} items and raises its form. DMC-4 the seat generator stays in mesh-delivery's seatgen package; §780 builds
|
||||
it there. DMC-5 §802 is built in the indexer, the one fingerprint function. DMC-6 the check-needs marker file goes;
|
||||
the manifest field replaces it in the same release (one way per thing). DMC-7 the build module passes its
|
||||
again-delays with its again; the runner applies them. DMC-8 runner_show and runner_movers are built; §816's cancel
|
||||
is the verb cancel. DMC-9 validate's before case and its count are the assigner's; the tool is
|
||||
assigner_validate_before. DMC-10 the seat is mesh-artifact-sweep and list gains module. DMC-11 nats_consumers is a
|
||||
new tool of the bus module. DMC-12 converged, the verbs' timeout and the packet filter's allow are the packet filter
|
||||
group's (ADR 0683), merged this evening; H2 builds none of them and reads them from main. DMC-13 mesh-sdk gains one
|
||||
settings reader for a process and a bundle. DMC-14 the runtime's write answer carries Fill (H-A-344 (7)). DMC-15
|
||||
drop is added to mesh-builds and mesh-wants. DMC-16 the build-step part's output and current replace the old forms
|
||||
and the part's form rises. The stale copies contracts/ and sdk/ at mesh-delivery's root are removed in H2 (one copy
|
||||
per thing, P3), a subtask of its own. Principles named inline.
|
||||
- **H-A-351 (how the ask id travels, 22:47)** (a): the kept call sets a request header the tool runner copies into the
|
||||
call's _meta as mesh/ask beside mesh/call; holders read it with one mesh-sdk helper on both sides (Go stdio and
|
||||
TypeScript); no verb's input gains a field. One shape for every seat and both languages (P9); the one change in
|
||||
mesh-tools (the tool runner copies the header) is that developer's subtask, relayed. P9, P7.
|
||||
- **H-A-352 (the form of a seat definition, 22:47)** (1) mesh-sdk's seat definition reader gains form on the definition
|
||||
and on a part (absent reads 1, below 1 refused; tolerant of unknown fields, H-A-309); the mesh-sdk developer builds
|
||||
it, the generator reads it. (2) The generator's check compares the new definition against the generated contract
|
||||
in the tree: each generated contract carries const Form and a digest of the definition's fields (names and types of
|
||||
every value, event, accept and answer); the compare fails when the digest differs while Form is equal. (3) One form
|
||||
per seat definition, a part's own form for what it adds; every message type gains the wire field form (left out
|
||||
while 1); generated tolerant decoders Decode<Type>(raw) answer the value and the form read. P3, P9, H-A-338 (8).
|
||||
- **H-A-353 (who keeps the bundles alive during the drain, 22:48)** The service manager's stop signals the tool runner's
|
||||
whole group, so the bundles die with their calls. The node-engine composes the tool runner's unit with KillMode=mixed
|
||||
(the stop signal to the runner alone) and a stop timeout above drain-bound; the runner, after its drain, stops its
|
||||
bundles itself as its launcher's stop already does. A node-engine line beside §813 (12); the runner's part stays as
|
||||
written. P3, P-failure-loud (a drain that cannot finish is no drain).
|
||||
- **H-A-354 (where away lands among the seats' error kinds, 23:01)** §776 lands where a seat already declares its own
|
||||
error kinds (the seat git first, in the delivery repository's contracts module); a seat without error kinds gains
|
||||
away when it first declares kinds, and no error form is invented per seat for one kind. In mesh-contracts nothing
|
||||
now. P3 (one way per thing), P9.
|
||||
- **H-A-355 (where run sits and who defines composition-diff, 23:04)** (1) §813 (1): run (the pipeline's sequence, a
|
||||
decimal string) sits on the want value the node-engine applies, in the seat mesh-wants' definition, written by
|
||||
compare-and-set per want key; the node-engine keeps the applied run per module and journals it; the compositions
|
||||
state carries no run. (2) §813 (3): composition-diff is defined on the seat node-engine in mesh-contracts, a K4 row
|
||||
built before the node-engine's E5: input module and against (a revision or a digest); answer per resource: the
|
||||
resource, its entries with name, running and other; a secret's value masked. P3, P7.
|
||||
- **H-A-356 (a connection's busiest subscriptions, 23:04)** §813 (5): each connection carries its five busiest
|
||||
subscriptions (subject, queue group, messages), read with subscription detail, always; the bound keeps the answer
|
||||
small, as the subscriptions tool's limit does. The trunk's race in the bus tools' test of a person's request handed
|
||||
to the keeper is fixed in the same subtask (fix-a-bug-met-twice: a goroutine outliving what it reads, the kind of
|
||||
tonight). P3, test-budget.
|
||||
- **H-A-357 (the derived accept rules' comment, 23:04)** §813 (4): the mark on the older firewall's rules stays as it is
|
||||
(the reconciling reads it); each derived accept rule of the packet filter's table carries the one comment
|
||||
"derived <modules joined by ,> <protocol>/<port> scope <any|private-network|local-network>" (everywhere is any,
|
||||
the mesh is private-network, the local network is local-network; a machine-only rule renders nothing) and no mark,
|
||||
since the table is loaded whole and never reconciled rule by rule; the packet filter holder's rules listing reads
|
||||
that form (the mesh-catalog developer's P1). P3, tools-are-how-a-module-is-spoken-to.
|
||||
- **H-A-358 (how drain-bound reaches the unit, 23:05)** The declaration's process gains drain-bound (seconds, for a
|
||||
process that stays up; a mesh-sdk subtask); the composer sets it on the tool runner's process from the module's
|
||||
setting drain-bound (default 30); the applier writes KillMode=mixed and a stop timeout of drain-bound plus 15 s
|
||||
for a process that carries it (the 15 s for the runner to stop its bundles after its drain); no process is
|
||||
special-cased by its id. P3, P9 (the declaration carries what the unit needs; the applier reads no settings).
|
||||
- **H-A-359 (a bundle takes an ask once too, 23:09)** A bundle's kept state has no create-if-absent, so a bundle holder
|
||||
(the forge module, in TypeScript) cannot take an ask once by its id. The tool runner gains the state act create
|
||||
(with a TTL), the SDK's bundle state gains TakeOnce with its TypeScript twin, the same shape as the process side
|
||||
(P9: one shape on every side); built in mesh-tools beside the ask-id copy, and in mesh-sdk. P9, ADR 0668 §2.
|
||||
- **H-A-360 (the name and the caller of a module-wide own secret, 23:09)** (1) Stored as module/<module>/<name>;
|
||||
own-put's second step answers that full name; get takes the full name. (2) It is answered to a process of the module
|
||||
(the caller's account <node>.<module>) and to a call the tool runner makes on that module's bundle's behalf, judged
|
||||
the way the vault already judges a bundle's own-secret read today (the module named in the call, not the runner's
|
||||
account); the developer reads that path and reuses it, never a second judgement. P12, P3.
|
||||
- **H-A-359a (correction, 23:11)** The runtime's state act create already exists for bundles (create with a TTL,
|
||||
refused when the key exists); nothing is built in mesh-tools for H-A-359. mesh-sdk's bundle state gains TakeOnce
|
||||
over it and its TypeScript twin; the taken state's name and key have one definition both sides refer to. P9.
|
||||
- **H-A-361 (a pipeline ends failed after a hand-off, 23:12)** Met twice tonight (the group's pipeline at 22:51, the
|
||||
catalog fix's at 23:00): seconds after newer pipelines took movers away (H-A-223), the older pipeline ended failed
|
||||
with every kept mover's steps counted as not passed, though none had been asked. The kind: the end judgement
|
||||
counts a step never placed as a failure. Fix in the runner: a step not asked is open, never failed; after a
|
||||
hand-off the pipeline places or keeps its remaining steps and ends only when every kept step has ended, and the
|
||||
journal says the hand-off and what stays. Checked first against the undelivered fixes riding main.165 (the end
|
||||
with nothing open, the versioned end): if they already cover it, nothing more; else a small fix from main.
|
||||
Recovery of the moment: the group's build asked again by hand (22:12 UTC). fix-a-bug-met-twice, P-failure-loud.
|
||||
- **H-A-362 (the work queue's settings in the seat definition, 23:12)** seatdef's message gains max-age,
|
||||
duplicates-window, ack-wait and in-progress as duration strings and max-msgs, max-ack-pending and max-deliveries
|
||||
as integers; mesh-sdk's bus composition derives the work-queue stream and its one shared worker from them; the
|
||||
grants part moves onto that derivation and its own copy goes (a mesh-sdk subtask, then the delivery developer's
|
||||
D1b). P9 (derived once), P3.
|
||||
- **H-A-363 (the tool runner's bus tests flake on a build node, 23:15)** The tool runner's integration level failed main.165
|
||||
on one bus test and main.115 on another of the same package, each once in 336: the second of the kind. Recovery:
|
||||
the step asked again; the kind (a timing or ordering assumption on an embedded bus, or a goroutine outliving its
|
||||
settings) is fixed for the whole package on a branch from main. fix-a-bug-met-twice, H-A-327.
|
||||
- **H-A-364 (the node-engine takes an ask once, 23:15)** (a) mesh-sdk gains an exported state constructor over a
|
||||
key-value bucket (process.StateOver); the node-engine declares the state taken (key-ttl, 8 MiB) in its manifest,
|
||||
reads the ask id from the request header, and takes it once within compose-ask-bound. (b) compose-candidate is a
|
||||
read: a repeat within the bound joins the run the first started and gets the same answer composed once; a repeat
|
||||
after that run ended is composed again; no answer is kept in taken. P9, P3, ADR 0668 §2.
|
||||
- **H-A-365 (the definition reader stays strict, 23:15)** H-A-352 (1)'s tolerance is the generated message decoders'
|
||||
(H-A-309: a reader tolerant, a writer validating its own value strictly); the seat definition reader keeps refusing
|
||||
unknown fields and reads form absent as 1. P3.
|
||||
- **H-A-366 (a bundle purges an object's leftovers, 23:15)** The registry's purge of a deleted object's chunks is an
|
||||
objects act of the runtime: mesh-sdk's bundle objects gain Purge, served by the tool runner, the same shape as the
|
||||
process side's; the registry's program does not open its own connection for it. P9, P12.
|
||||
- **H-A-367 (the build-step part's forms, 23:19)** Yes to the four, part form 2: (1) output takes the ask and answers
|
||||
the ask, the output's last 64 KB, its size, the failing tests with their words, and whether it is no longer kept;
|
||||
call and chunks go. (2) current answers the node, whether it takes asks, why not (paused, capacity 0, unhealthy),
|
||||
since when, its capacity and the asks it runs (id, kind, module, started), whoever asked them. (3) the step's end
|
||||
gains not-run as a list of test and reason. (4) the Node build seat accepts the kind install (id, asker, pipeline,
|
||||
module, commit, the lock's text at the commit); the step's end gains the archive object's name; a step ask names
|
||||
the archive the Go build module unpacks. P3, P7, tools-are-how-a-module-is-spoken-to.
|
||||
- **H-A-368 (a starved setup says so in one line, 23:22)** §800: a whole-module test whose setup wait on the bus passes
|
||||
the setup bound fails with the one exported line "mesh: setup starved:" and its words; every build module reads
|
||||
that line in the test output (never an assertion's words) and ends the run again; the bound is half of the level's
|
||||
bound and 30 s when the level's bound is unset (a developer's own run). P-failure-loud, P9.
|
||||
- **H-A-369 (a call after the tool runner's stop, and drain-bound's reader, 23:22)** §813 (12) amended: a call that
|
||||
arrives after the stop began gets no answer (the caller's kept call paces and meets the new runner), never a
|
||||
refusal, which would end the kept call; a call cut at the bound is said in the journal and unanswered. drain-bound
|
||||
is read through the one settings reader (H-A-370), 30 s until that reader lands. P-NATS-native, ADR 0664 §1.
|
||||
- **H-A-370 (the one settings reader's word, 23:22)** §781: the node-engine composes every setting the module declares
|
||||
as the word MESH_CONFIG_<KEY> (the key upper-cased, '-' and '.' as '_'), the value as text (a duration as "10m"),
|
||||
into the process's environment and the module's slice of the tool runner's words alike; mesh-sdk's reader takes a
|
||||
setting by its key from that word, in a process and a bundle alike, with typed readers (a duration with a default);
|
||||
the per-module file words (the runner's *_FILE words) go. The node-engine's developer builds the word (E3's
|
||||
counterpart), the SDK's the reader. P9, P3.
|
||||
- **H-A-371 (an archive-only lane of a module without Go code, 23:23)** Since A-447a the Go build seat refuses a fetch
|
||||
whose module directory chooses no Go module; the builder sends that directory with every lane, and an archive is
|
||||
packed by the Go build seat, so every module with an archive artifact and no Go code (the packet filter holder and
|
||||
36 others) cannot build: five failures of one fingerprint on three build nodes tonight, sixteen modules at 23:17.
|
||||
Fix in the Go build module: a directory that chooses no Go module is an empty scope (the empty scope file written),
|
||||
never a refusal; a Go bundle or package whose directory holds no go.mod still fails at its build step, naming it.
|
||||
A-447a's "none chosen fails naming it" ends for the fetch. Test: an archive-only lane of a module with no Go code
|
||||
fetches and packs. Recovery: rerun the build step of each failed pipeline's movers once the Go build module is
|
||||
delivered. fix-a-bug-met-twice (the kind, 37 modules), P-failure-loud.
|
||||
- **H-A-372 (a bundle published by digest marks no reservation, 23:23)** The Node build module publishes every bundle
|
||||
with an empty version, so the builder says "package-published not said … a by-digest publish" and the bundle is
|
||||
not marked against its reservation. Fix in the Node build module: the publish carries the version the ask
|
||||
reserved. Test: a bundle's publish names the ask's version. P3, P-failure-loud.
|
||||
- **H-A-373 and later** are in H2-lead-answers.md (this file was split at 00:13 CET on 22 Nov; it ends at H-A-372).
|
||||
|
||||
@@ -0,0 +1,495 @@
|
||||
---
|
||||
layer: to-be
|
||||
status: in-progress
|
||||
design: 47
|
||||
milestone: H
|
||||
updated: 2026-11-23
|
||||
decisions:
|
||||
- "ADR 0685"
|
||||
- "ADR 0684"
|
||||
- "ADR 0682"
|
||||
- "ADR 0680"
|
||||
- "ADR 0668"
|
||||
- "ADR 0656"
|
||||
- "ADR 0640"
|
||||
- "ADR 0632"
|
||||
- "ADR 0614"
|
||||
- "ADR 0593"
|
||||
- "ADR 0563"
|
||||
- "ADR 0550"
|
||||
- "ADR 0370"
|
||||
- "ADR 0349"
|
||||
- "ADR 0266"
|
||||
- "ADR 0674"
|
||||
- "ADR 0267"
|
||||
- "ADR 0605"
|
||||
- "ADR 0606"
|
||||
- "ADR 0611"
|
||||
- "ADR 0666"
|
||||
- "ADR 0664"
|
||||
- "ADR 0498"
|
||||
- "ADR 0487"
|
||||
- "ADR 0595"
|
||||
- "ADR 0596"
|
||||
---
|
||||
# Design 47, milestone H2: lead answers, continued
|
||||
|
||||
This file continues [H2-lead-answers.md](H2-lead-answers.md) from H-A-568 on, since that file passed its 60 KB bound:
|
||||
H-A-568 to H-A-587 moved here from it, and H-A-588 to H-A-593 were written here; H-A-594 on, round 2 of the review of
|
||||
H-A-568 to H-A-587 among them, are in [H2-lead-answers-3.md](H2-lead-answers-3.md). Each line names the record or the
|
||||
principle that settles it.
|
||||
|
||||
## From the review by architectural domain of H-A-534 to H-A-567 (2026-11-23 from 15:30 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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:30)** 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.
|
||||
- **H-A-584 (a get without runs-as is not refused by the manifest validator, 15:33)** 23 Nov, the lead's answer of
|
||||
15:31 CET to H-A-576's open question, amends H-A-576: the manifest validator does not refuse a manifest whose
|
||||
`invokes` names `seat:mesh-vault.get` and that declares no `runs-as`; the vault's refusal at the call, which hands a
|
||||
value only to an account of its own (ADR 0349 §11, ADR 0550 §3), is the one check of such a get, and it is loud at the
|
||||
first call (principle 3). Holding claude-code's deliveries for it would block work no principle asks to block
|
||||
(principle 7); claude-code's move to an account of its own stays issue 569's. The refusal of own-put without
|
||||
`runs-as` (H-A-545 (3), H-A-576) stands. How it is checked: unit (manifest validator): a manifest naming
|
||||
`seat:mesh-vault.get` without `runs-as` is accepted, one naming `seat:mesh-vault.own-put` without it is refused.
|
||||
Principles 3 and 7.
|
||||
- **H-A-585 (the gate applies a `running` heard after its record ended to that record, 15:33)** 23 Nov, the lead's
|
||||
answer of 15:31 CET: mesh-sdk's `stdio` hands each event to the module on its own goroutine, and the gate hears the
|
||||
assigner's `wanted` and the node-engine seat's `running` on two consumers that no ordering joins, so a record can end
|
||||
on `wanted` before the last `running` of its movers is applied, and that delivery's time is lost (issue 721, note 11).
|
||||
So: the gate (the holder of `mesh-delivery`) applies a `running` that names a mover of a record already ended to that
|
||||
ended record: it marks the mover running on that machine (G §144), and when that `running` is later than the
|
||||
record's `ended` it writes `ended` and `delivery-time` again from it (H2 §810, H-A-394 (3)), keeping the record's
|
||||
`class` as it was read when the record opened; it says `record-ended` no second time, and writes one journal line
|
||||
naming the record, the module, the machine and both times (principle 3: nothing fails silently). `gate_times` and the
|
||||
self-check's probe read the written time at their next read. Events of one consumer are not put in order by the
|
||||
runtime for this: it would not join the two consumers (principle 7). How it is checked: whole (gate): a record whose
|
||||
`wanted` is applied before its last mover's `running` ends, then takes that `running` with its later `ended` and
|
||||
`delivery-time` and a journal line. Principles 3 and 7.
|
||||
- **H-A-586 (the window before a new rule's needs reach every entry is accepted, 15:33)** 23 Nov, the lead's answer of
|
||||
15:31 CET, amends H-A-569 (2): an entry the take-in wrote with an older manifest validator lacks a newer rule's need
|
||||
until the next take-in, which derives it (H-A-569 (2)); a machine away that returns in that window applies its own
|
||||
node-engine want last (H §771), so the earlier node-engine may apply such a module's want there first. The window is
|
||||
accepted, not closed: the machines present are ordered by the pipeline's tiers (H-A-569 (1)), and a rule change
|
||||
meeting a machine away within it is rare and loud at that module's health (the instruction rules-are-weighed).
|
||||
Nothing is built for it. Principle 7.
|
||||
- **H-A-587 (a live consumer's filter is narrowed by a tool of the bus module, queued, 15:33)** 23 Nov, the lead's
|
||||
answer of 15:31 CET, amends H-A-578 (2): narrowing a filter for a dropped `consumes` entry is a hand act (ADR 0640
|
||||
§3), and every recovery has a tool (principle 4), while `nats_consumer_remove` refuses a durable of a module of an
|
||||
accepted manifest (H-A-127, H-A-128). So the bus module (the holder of `mesh-broker`) gets a tool that narrows one
|
||||
live consumer's filter to what its module's manifest consumes, a hand act with its `why`; it is queued on issue 329 and
|
||||
not built in this milestone. Until it exists, the indexer's handlers that acknowledge with no work the subjects it no
|
||||
longer consumes (H-A-578 (2)) stay. Principle 4; ADR 0640 §3.
|
||||
|
||||
## Partly published versions (issue 1984 note 3, 2026-11-23 from 15:50 CET)
|
||||
|
||||
Issue 1984 note 3: a build that publishes some of its artifacts under its reserved version and then fails keeps that
|
||||
version when it is built again (H-A-225; H §755), packs new digests and has them refused by the registries as held at
|
||||
another digest: 214 refused publishes over 17 versions of 10 modules on 23 Nov, and main.457's 91 movers stranded by
|
||||
one of them, mesh-delivery-builder's 0.1.216. The lines below say how such a version is completed, when a build again
|
||||
takes a new number, how every build module is held to one digest per source, the tool that recovers today's versions
|
||||
and how each is checked.
|
||||
|
||||
- **H-A-588 (a partly published version is completed from what a store keeps, else built again under its own number,
|
||||
15:52)** 23 Nov, issue 1984 note 3; amends G §588 and H §755. (1) A reserved version V of a fingerprint F is partly
|
||||
published when a registry seat holds at least one artifact of the module at V and not all of them, as each seat's
|
||||
`versions` answers it (ADR 0605 §2). `version-unreleased` (G §369) names it, with the artifacts held and those
|
||||
missing, whether the build that reserved V ended done or failed. (2) When every missing artifact's digest is on the
|
||||
reservation and a store keeps its bytes (the holder's own, or the artifact store by digest, A-417), V is completed
|
||||
by the builder's publish again: the stored artifacts are sent by their digests under V and nothing is built
|
||||
(ADR 0674 §1; G §588, A-457). This path is unchanged. (3) When a missing artifact's bytes are kept by no store, V is
|
||||
completed by building F again under V, never by publishing from a copy. That is the case of a build that ended
|
||||
failed, whose packed files leave its node with the failed key (ADR 0498 §2); of a package, whose bytes no store but
|
||||
its registry keeps (A-490); and of a publish again refused `not stored` (A-417). The build again takes F's standing
|
||||
reservation (ADR 0606 §1: a fingerprint keeps its number; H-A-225) unless H-A-590 withdraws it. The build module
|
||||
builds the module whole, as every build ask has it. Each artifact a registry already holds at V for F is answered
|
||||
with the held version and digest (H-A-589), and a reproducible build gives it that digest anyway (H-A-591); the
|
||||
missing ones are stored, and the catalog then says `version-released` (G §349). G §588's "its build key is built
|
||||
again by `builder_build_again`, which reserves anew" reads "under its standing reservation, or at the next free
|
||||
number by H-A-590". (4) Before a build module is asked for F again (by the runner's build step, `runner_rerun`,
|
||||
`builder_build_again` or the builder's start pass), the builder reads the registries' record of the module's
|
||||
artifacts at V, the read H-A-275 makes. It writes on the reservation the held digest of each artifact a registry
|
||||
holds at V for F and marks it published, as H-A-274 marks one held at the built digest; the marking says
|
||||
`package-published` of it once, as every marking does (ADR 0666 §15). So the artifacts a failed build published are
|
||||
on its reservation, though a build records its digests only at its end (A-415, A-490j). In the builder
|
||||
(mesh-delivery). How it is checked: H-A-593 (1) and (5). ADR 0674 §1, ADR 0606 §1, ADR 0498 §2; principles 3 and 7.
|
||||
- **H-A-589 (a rebuild of a fingerprint a registry holds is answered with the held version; each holder keeps the
|
||||
fingerprint of what it holds, 15:55)** 23 Nov, issue 1984 note 3; amends H-A-393, H-A-474 and A-490j for the rebuild
|
||||
of a held fingerprint, which ADR 0605 §4 answers and they refused: "a rebuild of a fingerprint the seat already
|
||||
holds answers the held version and stores nothing". (1) The rule holds for every holder of the four registry seats:
|
||||
the distribution module for `container-image-registry` and `oci-artifact-registry`, and the gitea module's Go bundle
|
||||
for `go-package-registry` and `npm-package-registry` (ADR 0605 §1). A holder may hold an artifact's name at V at
|
||||
digest D and be given a `publish` that names V with another digest and the fingerprint the holder keeps for that
|
||||
name and V. It then asks `reserved` as it does for every publish (G §381), naming D. When the answer holds V
|
||||
reserved or released for the module, the holder says `published` with D and the publish's name, version, kind, tag,
|
||||
fingerprint and commit. It stores nothing, drops the transfer and its parts (ADR 0611 §1), and writes one journal
|
||||
line naming the name, V, both digests and the fingerprint. When it keeps another fingerprint for V, or none, it
|
||||
refuses and names both digests and both fingerprints (H-A-393; ADR 0605 §4: "a held version offered with other
|
||||
bytes"). The same digest is answered as held (H-A-474). (2) The fingerprint it keeps: each holder keeps a state of
|
||||
its own, `fingerprints` (the template `state`, ADR 0595, reached by the holder alone, ADR 0596 §2). It holds one key
|
||||
per name and version, `<name>.<version>`, each token escaped as a key's name is (G §73), with the digest and the
|
||||
fingerprint the publish named. The holder writes the key when it stores the version and deletes it when it says
|
||||
`removed`. A key is about 0.3 KiB, and the state is capped at 16 MiB, about 50,000 versions held. Past 80 % the
|
||||
holder writes a finding, cleared below; at the cap it refuses a new publish with `refused` naming the cap, as its
|
||||
incoming store does (design 51). A version stored before this change has no key. (3) The seats' verb `versions`
|
||||
answers each version's `fingerprint` beside its digest, absent where none is kept, and is the read of that state.
|
||||
The four seats' definitions in mesh-delivery-contracts gain the field; they are regenerated and each form is raised
|
||||
by one. (4) A build module whose publish is answered `published` with another digest than it built names, in its
|
||||
step result, the digest the seat answered for that artifact (ADR 0605 §9: a done key names the reference its seat
|
||||
answered), and writes both digests in its step log. mesh-delivery-sdk's shared publish does it for every build
|
||||
module. So the builder records the held digest, and A-490j's "version taken" is not met by such a rebuild. (5) The
|
||||
cases every registry seat holder runs, mesh-delivery-sdk's `publishconformance` (A-490a), gain the three cases of
|
||||
(1), and each holder's tests run them for every seat it fills. (6) The order is the module graph's: the builder's
|
||||
`invokes` of the seats' `versions` gives an edge "B runs a version that serves A" from each holder (ADR 0666 §14).
|
||||
So the holders are in an earlier tier than the builder of H-A-590, and no such builder reads a holder that keeps no
|
||||
fingerprint yet. How it is checked: H-A-593 (2) and (4). ADR 0605 §2, §4, §9; ADR 0611 §1; principles 2 and 3.
|
||||
- **H-A-590 (a build again keeps its number unless a registry holds that number for another build; then it takes the
|
||||
next free number, 15:58)** 23 Nov, issue 1984 note 3; amends H-A-225 and H §755, and widens H-A-275 and H-A-279 from
|
||||
a done build to every build again. (1) A build again of F takes F's standing reservation V (H-A-225; ADR 0606 §1),
|
||||
except when a registry holds an artifact of the module at V for another fingerprint or with none kept (H-A-589 (3)).
|
||||
V is then held elsewhere. The builder withdraws V, a gap kept in the key's withdrawn numbers (H-A-226). It raises
|
||||
`version-held-elsewhere` (scope module), naming the artifact, the seat, both digests and the fingerprint V is held
|
||||
for when one is kept (H-A-279). Then it reserves the next number no registry holds (H-A-275), for a build that ended
|
||||
failed as for a done one. The reserver (`versions.Reserver.Reserve`) makes this check before it answers a standing
|
||||
reservation, from the read of the registries it already makes for the held numbers. `reservations.movedElsewhere`
|
||||
stays the done build's path from its publish item and makes the same withdrawal. A read that does not answer keeps
|
||||
the standing reservation and is said in the builder's journal, as the reserve's read is said today; the next ask
|
||||
reads again. (2) A refusal for other bytes is never asked again as it stands (ADR 0605 §4: "a version refused for
|
||||
other bytes is not published again"). The builder's publish item ends at once at such a refusal and spends none of
|
||||
its `publish-tries` (A-457a); (1) follows at the next build of F. A build step whose run met it ends failed at its
|
||||
first run and names it (ADR 0664 §2: it is no transport fault). (3) Bound: one withdrawal per number held elsewhere.
|
||||
The next number is one no registry held when it was reserved, so a fingerprint meets such a refusal at most once per
|
||||
held number. (4) So a build again of the same fingerprint takes a new number only for a number another build holds,
|
||||
never for its own published artifacts (H-A-589). In the builder (mesh-delivery). How it is checked: H-A-593 (1) and
|
||||
(5). ADR 0605 §4, ADR 0606 §1; principles 2 and 3.
|
||||
- **H-A-591 (every build module builds one source at one version to one digest, in any folder and at any time; the kit
|
||||
holds it, 16:01)** 23 Nov, issue 1984 note 3: each build again of mesh-delivery-builder's fingerprint at 0.1.216
|
||||
packed its program at a new digest. ADR 0267 §6 decides it: an unchanged build source gives an identical artifact,
|
||||
for every kind, and nothing in it varies with the commit, the clock or the path it was built at. Issue 721's report
|
||||
asks the same of the build ("build reproducibly (-trimpath, -buildvcs=false, no commit or time stamped into the
|
||||
binary)"), and its triage named reproducible builds as needing a design; these lines are that design. The version is
|
||||
an input of the build (G §370), so one source at one version gives one digest. (1) Go (mesh-build-go) builds with
|
||||
`-trimpath` and `-buildvcs=false`, and no `.git` is in what the build sees (ADR 0267 §6); no commit and no time is
|
||||
stamped into the program, its version alone (G §370). No path of the build's own workspace is in any file it writes
|
||||
into the tree it compiles: a `go.mod` or `go.work` line the build writes, a `replace` into the workspace among them,
|
||||
names its directory relative to the file that holds it. Nothing in the program's build settings varies per ask.
|
||||
mesh-build-go keeps a workspace per ask. (2) A bundle or an archive the build module packs itself has its entries in
|
||||
byte order of their paths, each entry's time the Unix epoch, its owner and group 0 and its mode as in the tree. A Go
|
||||
module zip and an npm package are packed in their toolchain's own form, which the case of (4) holds as it holds the
|
||||
rest. (3) An image (mesh-build-image) has its creation time and the time of every file in its layers set to the Unix
|
||||
epoch (buildah's `--timestamp`), and no label or annotation the module adds names a commit, a folder, a time or a
|
||||
node; the version's tag and label (G §370) stay. Issue 721's "a commit belongs in an image label" does not hold
|
||||
against ADR 0267 §6 (nothing varies with the commit): a build's commit is read from its build record, never from the
|
||||
image. A Dockerfile's own step that fetches over the network may still give other bytes (ADR 0487 §6, §8), and
|
||||
H-A-589 answers that rebuild with the held version. (4) The build modules' conformance kit
|
||||
(`sdk/steprun/conformance` in mesh-delivery-sdk, G §680) gains the case `reproducible`. It builds the kit's fixture
|
||||
of each kind the module builds twice, in two workspace folders of different paths and lengths and at least a second
|
||||
apart, and requires each artifact's digest to be equal; when they differ it names the artifact and both digests. The
|
||||
image fixture has no step that fetches. Every build module's tests run it, and mesh-catalog's failure-kit check
|
||||
(`checks/failurekit`, A-489b; ADR 0664 §6) refuses a build module whose tests do not. (5) Today's cause in
|
||||
mesh-build-go is a guess (issue 1984 note 3: the workspace per ask and the `replace` lines written into it); its
|
||||
developer runs the case first and fixes what it names. In mesh-delivery-sdk (the case) and mesh-catalog (the build
|
||||
modules and the check). How it is checked: H-A-593 (3) and (6). ADR 0267 §6, ADR 0664 §6; issue 721; principle 3.
|
||||
- **H-A-592 (the drop of a reservation names its version and says what it forgets; today's versions, 16:04)** 23 Nov,
|
||||
issue 1984 note 3; amends G §369's `builder_reserved_drop` (ADR 0666 §25: a tool for every act). (1)
|
||||
`builder_reserved_drop` (class `act`, written in the hand-act log) takes `module`, `series`, `version` and `why`.
|
||||
`version` is new and required: the tool refuses when the key holds another version and names the one that stands, so
|
||||
a reservation a newer build took after it was read is never dropped. It also refuses while the reservation's
|
||||
fingerprint is building (its build key, which `builder_stuck` reads), until that build ends or its ask is dropped
|
||||
(ADR 0664 §4), so no late publish lands on a number given again. (2) It forgets the key whole: the version, its
|
||||
fingerprint, the artifacts' recorded digests and its withdrawn numbers (H-A-226). It also forgets the version's
|
||||
publish item (A-456b) and its `version-unreleased`, which it clears. `reserved` then refuses V ("no reservation of
|
||||
version V", H-A-387), so a late publish at V is refused. It keeps what the registries hold at V, a gap never
|
||||
released (H-A-226) that the series' next reserve skips (H-A-275) and only a registry's own removal deletes. It keeps
|
||||
the builder's record of releases (A-456b) too. Its answer and its hand-act record name what it forgot: the version,
|
||||
the fingerprint, the artifacts the registries hold at V and the withdrawn numbers. (3) No narrower tool is added:
|
||||
the drop that names its version is the narrow form, and a withdrawal is H-A-590's by itself. (4) Today's 17 versions
|
||||
of 10 modules (issue 1984 note 3, mesh-delivery-builder's 0.1.216 among them): before H-A-588 to H-A-591 are
|
||||
delivered, each is recovered by `builder_reserved_drop` of its key as the tool stands (module and series), with this
|
||||
answer as its `why`, then by `runner_rerun` of its failed build step. The reserve then takes the next number no
|
||||
registry holds and builds the fingerprint afresh. Once those lines are delivered, no hand act is needed: what the
|
||||
registries hold of those versions keeps no fingerprint (H-A-589 (2)), so the next build of each withdraws its
|
||||
version by H-A-590 and takes the next free number. In the builder (mesh-delivery). How it is checked: H-A-593 (5)
|
||||
and (6). ADR 0666 §25; principle 4.
|
||||
- **H-A-593 (the acceptance tests of H-A-588 to H-A-592, by level, 16:06)** 23 Nov: each is a step of its module's
|
||||
existing whole test, a row of an existing table or a case of a kit, never a new top-level test function (the test
|
||||
budget), as H-A-583 has it. (1) Unit (the builder's reserver, a table): a standing V of F with an artifact held at V
|
||||
for F is kept, and the held digest is written on it; with an artifact held at V for another fingerprint, or held
|
||||
with none kept, V is withdrawn, the next number no registry holds is reserved and `version-held-elsewhere` names
|
||||
both digests; a registry read that does not answer keeps V and is said (H-A-588 (4), H-A-590 (1)). (2) Unit
|
||||
(`publishconformance`, run by distribution's and gitea's tests for each seat they fill): a publish at a held V with
|
||||
another digest and the kept fingerprint is answered `published` with the held digest, and nothing is stored; with
|
||||
another fingerprint, or none kept, it is refused naming both digests and both fingerprints; the same digest is
|
||||
answered as held; `versions` answers the kept fingerprint (H-A-589 (1) to (3)). (3) Unit, or integration where the
|
||||
kind's tool must run (mesh-build-image's buildah): the kit's `reproducible` case in each build module's tests gives
|
||||
one digest per artifact from two folders; the failure-kit check refuses a build module fixture whose tests do not
|
||||
run it (H-A-591). (4) Unit (mesh-delivery-sdk's shared publish): a publish answered with another digest names the
|
||||
answered digest in the step result and both digests in the step log (H-A-589 (4)). (5) Whole (the builder, against
|
||||
the real bus and a fake registry holder): a build of F publishes two of three artifacts at V and fails on the third.
|
||||
Built again, the two are answered with their held digests, the third is stored and V is released, with no refusal
|
||||
and no new number. The same with the two held and no fingerprint kept withdraws V, builds and releases the next
|
||||
number, and clears `version-held-elsewhere` at that release. A refusal for other bytes ends the publish item at once
|
||||
with its tries unspent (H-A-588, H-A-590). Unit (the builder's tools): `builder_reserved_drop` naming another
|
||||
version refuses and names the standing one, and it refuses while the fingerprint builds; naming its version, it
|
||||
removes the key, the publish item and the finding, and the next reserve takes the next free number (H-A-592). (6)
|
||||
Live, after delivery: the next build of each fingerprint of today's 17 versions ends released at the next free
|
||||
number, after at most one withdrawal and no refusal. Over the next day no holder refuses a publish for other bytes
|
||||
twice at one version, and no H-A-589 journal line names a Go program, a bundle, an archive or a package (H-A-591),
|
||||
read from the holders' `refused` events and journals. Principle 3.
|
||||
|
||||
H-A-594 and every later answer are in [H2-lead-answers-3.md](H2-lead-answers-3.md).
|
||||
@@ -0,0 +1,600 @@
|
||||
---
|
||||
layer: to-be
|
||||
status: in-progress
|
||||
design: 47
|
||||
milestone: H
|
||||
updated: 2026-11-23
|
||||
decisions:
|
||||
- "ADR 0593"
|
||||
- "ADR 0686"
|
||||
- "ADR 0618"
|
||||
- "ADR 0668"
|
||||
- "ADR 0656"
|
||||
- "ADR 0606"
|
||||
- "ADR 0605"
|
||||
- "ADR 0578"
|
||||
- "ADR 0283"
|
||||
- "ADR 0684"
|
||||
- "ADR 0682"
|
||||
- "ADR 0674"
|
||||
- "ADR 0666"
|
||||
- "ADR 0664"
|
||||
- "ADR 0640"
|
||||
- "ADR 0603"
|
||||
- "ADR 0550"
|
||||
- "ADR 0596"
|
||||
---
|
||||
# Design 47, milestone H2: lead answers, continued again
|
||||
|
||||
This file continues [H2-lead-answers-2.md](H2-lead-answers-2.md) from H-A-594 on, since that file passed its 60 KB
|
||||
bound: it opens with round 2 of the review by architectural domain of H-A-568 to H-A-587, and every later answer is
|
||||
written here. Each line names the record or the principle that settles it.
|
||||
|
||||
## Round 2 of the review by architectural domain of H-A-568 to H-A-587 (2026-11-23 from 15:56 CET)
|
||||
|
||||
All four reviewers by architectural domain did not approve H-A-568 to H-A-587 in their second round; the lines below
|
||||
write each of their findings as an amendment of the answer it corrects, citing the record or the principle that settles
|
||||
it.
|
||||
|
||||
- **H-A-594 (the movers a failed pipeline leaves are carried in closed groups, reopening it when the head's pipeline has
|
||||
ended, 15:56)** 23 Nov, round 2 of the review by architectural domain of H-A-568 to H-A-587 (all four reviewers),
|
||||
amends H-A-571, H-A-581 and §786: (1) **The head's revision** is the newest module graph revision whose
|
||||
`take-in.taken` the runner has handled. A take-in whose pipeline key the runner finds held already (by a pipeline it
|
||||
keyed by that revision for carried movers) adds its entries to that pipeline as movers (H §743, §746; ADR 0684 §3).
|
||||
(2) **What is carried together.** At a pipeline's end `failed`, `cancelled` or `could-not-run`, its unfinished movers
|
||||
(§786: own required steps all passed or never ran) are carried only in groups closed under the pipeline's delivery
|
||||
edges: a mover goes only together with every mover it has an edge from in that pipeline (H §746), since the order
|
||||
between movers exists only inside one pipeline (ADR 0682 §8, §9; ADR 0666 §14). A mover with an edge, directly or
|
||||
through others, from a mover that failed or could not run (each counted as failed, H-A-566), or that waits on such a
|
||||
mover's publish, is not carried: it stays in `unfinished`, tied to that mover, and goes on with it when it passes (by
|
||||
`rerun`, in its reopened pipeline) or in the pipeline of the newer fingerprint that moves it. A predecessor a newer
|
||||
revision moved counts as carried by that revision's pipeline. (3) **Where a group goes.** It is added to the head's
|
||||
pipeline while that pipeline waits or runs; when the head's revision has no pipeline, the runner starts one keyed by
|
||||
it; when the head's pipeline has ended, the runner reopens the failed pipeline for the group under that pipeline's own
|
||||
key and revision (ADR 0684 §3: an unfinished pipeline keeps its pipeline's revision; G-24 §727: a step asked again
|
||||
reopens its pipeline). Its passed steps are carried, not run again (ADR 0666 §8), and the reopened pipeline says
|
||||
`pipeline-ended` again with a higher end count, the end from which alone the assigner writes wants (G-24 §727). No
|
||||
mover waits for an unrelated take-in. `start` (H-A-571), `runner_unfinished_place` (one key, with `why`) and the carry
|
||||
at a pipeline's end follow this one rule: once the head's pipeline has ended they reopen, never refuse; `start` of a
|
||||
module whose own step failed reopens its pipeline as `rerun` does. (4) **What is said.** Each mover added to a
|
||||
pipeline is said by the runner's new event `mover-added`, on that pipeline's subject as `pipeline-started` is
|
||||
(H §746), carrying `pipeline`, `revision`, `module`, `fingerprint` and either `from` (the pipeline it came from) or
|
||||
`caller` (`start`'s caller, as the runtime proved it), declared in the seat `mesh-pipeline-runner`'s definition under
|
||||
its events family (§821), the definition regenerated and its form raised. The failed pipeline's `unfinished` value of
|
||||
a mover carried elsewhere gains `carried-by`, the pipeline that carries it, and the mover leaves that failed
|
||||
pipeline's movers, so none of its later ends names it. The carrying pipeline writes the mover's want at its passed
|
||||
`pipeline-ended` (H §750, §751) and the runner deletes its `unfinished` key then; when the carrying pipeline ends
|
||||
otherwise, the key stays, `pipeline` naming that pipeline and `carried-by` cleared. The carry skips a key whose
|
||||
`carried-by` pipeline waits or runs. (5) **The keys left today.** The runner of this change carries, at its start,
|
||||
every key of `unfinished` whose `carried-by` pipeline neither waits nor runs, by (2) and (3), as at a pipeline's end,
|
||||
among them the keys, about 110, that pipelines main.454 to main.493 left. H2's milestone plan names that start as the
|
||||
step after the runner's delivery, read with `runner_unfinished` before and after. How it is checked: whole (runner,
|
||||
with a stub build seat): of a pipeline whose node-engine fails and whose gitea passes, gitea stays in `unfinished`
|
||||
until the node-engine passes, and then both are wanted; a group joins a running head pipeline, said by `mover-added`
|
||||
with `from`; with the head's pipeline ended, the failed pipeline reopens under its key and says `pipeline-ended` with
|
||||
a higher end count; a take-in finding its key held adds its entries there; a key whose `carried-by` pipeline runs is
|
||||
skipped. ADR 0682 §8, §9; ADR 0684 §3; ADR 0666 §8, §14; principles 3, 4 and 10.
|
||||
- **H-A-595 (a failed record pins the revision its mover's entry comes from; the first `widens` is kept, 15:56)** 23
|
||||
Nov, round 2, amends H-A-566 and H-A-572 (1): the record `failed.<branch>.<module>` is written for each mover that did
|
||||
not pass at a pipeline's end `failed`, `cancelled` or `could-not-run`, not at `failed` alone, and pins the revision
|
||||
the mover's entry comes from (its kept revision, H-A-285, else the pipeline's own) and that revision's `base`
|
||||
(H-A-151), still at most two revisions per record. The `unfinished` value gains `widens`, the mover's part of `widens`
|
||||
as the first pipeline that moved it computed it (H-A-582); a carrying or reopened pipeline says it in its
|
||||
`pipeline-ended` from that value and never computes it again. How it is checked: whole (indexer): a kept mover's
|
||||
record pins its kept revision and that revision's `base`, at a `cancelled` end as at a `failed` one; whole (runner): a
|
||||
carried mover's `widens` equals its first pipeline's. ADR 0666 §23; principle 3.
|
||||
- **H-A-596 (the tool runner's build that answers `stopping` is never wanted, 15:56)** 23 Nov, round 2, amends H-A-570
|
||||
(6): done at 15:47 CET by the lead: the key `main.node-tools` of the runner's `unfinished` was dropped with
|
||||
`runner_unfinished_drop`, because its fingerprint 3b09a323 carries the tool runner's `stopping` answer, which H-A-570
|
||||
withdraws; no carry may bring it back. How it is checked: live, after H2's delivery: no want of `node-tools` on any
|
||||
machine names the fingerprint 3b09a323, read through the seat `mesh-wants`. Principle 3.
|
||||
- **H-A-597 (a late `running` moves a record's time only from a machine present at its end, 15:56)** 23 Nov, round 2,
|
||||
amends H-A-585: the gate applies only the first `running` of a mover's version from each machine the record counted
|
||||
present at its end; that `running`, when later than `ended`, writes `ended` and `delivery-time` again. A `running`
|
||||
from a machine that was away at the end (a machine back, ADR 0603 §7) or a repeated one marks the mover's entry
|
||||
(G §144) and leaves `ended` and `delivery-time` as they are. When the time moves, the gate says `record-ended` again
|
||||
with `ends`, its end count, one higher (as `pipeline-ended`'s end count, G-24 §727), so the self-check's probe and the
|
||||
status view hear the moved time as an event. This replaces the rule for a machine back in the gate's held commit
|
||||
fa345c83. How it is checked: whole (gate): a late `running` from a present machine moves the time and says
|
||||
`record-ended` with `ends` 2; one from a machine that was away, and a second one from the same machine, move nothing.
|
||||
Principle 3.
|
||||
- **H-A-598 (an npm package's test-file patterns are a setting of the indexer, 15:56)** 23 Nov, round 2, amends H-A-573:
|
||||
the patterns are used by the indexer's digest rule alone, so they are the indexer's setting `npm-test-files`, a list
|
||||
of patterns with the default of H-A-573 (`**/*.test.*`, `**/*-test.*`, `**/*_test.*`, `**/test.*` and everything under
|
||||
a `test` directory), declared in the indexer's manifest and read by its settings reader (H-A-370); the Node build
|
||||
module declares nothing for it and the indexer reads no other module's manifest for it. How it is checked: unit
|
||||
(indexer): with the setting given one pattern, a file it matches leaves the digest unchanged and another file changes
|
||||
it; the code review finds no pattern in the indexer's code. Principles 7 and 11.
|
||||
- **H-A-599 (the step held for the runner's view is bounded by `stalled-bound` and stays running, 15:56)** 23 Nov, round
|
||||
2, amends H-A-577 (2): the held step's `wait-held` carries as `bound` the runner's setting `stalled-bound` (§790,
|
||||
default 5 minutes) and as `clock-from` the time it was held. The held step keeps the outcome `running`, and the runner
|
||||
says no `step-started` when it holds it, so the watchman raises `pipeline-stands` once that bound has passed from
|
||||
`clock-from`, also after a restart of its own, since it seeds its open waits from the runner's `stands` (G §75), which
|
||||
lists the held step. The wait ends when the view holds that revision or a newer one (`how` `ran`, the step judged
|
||||
again as H-A-562 (2) says), when the catalog answers that revision gone (`how` `failed`: the pipeline ends failed
|
||||
naming "revision <R> gone", as H-A-496 has it for a kept revision), by `runner_rerun` (`released`), or at its
|
||||
pipeline's end or cancel (`superseded`). How it is checked: whole (runner and watchman): with `stalled-bound` at one
|
||||
minute, a held step raises `pipeline-stands` after one minute, again after the watchman restarts, and ends `ran` when
|
||||
the view takes the revision in. ADR 0666 §24; principles 3 and 11.
|
||||
- **H-A-600 (the bus module's tool that narrows a live consumer's filter is built in H2, 15:56)** 23 Nov, round 2,
|
||||
amends H-A-587 and replaces the lead's answer to its question: a hand act with no tool is the second of its kind after
|
||||
H-A-500 (the instruction tools-are-how-a-module-is-spoken-to). So the bus module (the holder of `mesh-broker`) gains
|
||||
in H2 the tool `nats_consumer_narrow`: given a stream, a durable consumer, `remove` (the filter subjects to remove)
|
||||
and `why`, it removes those filters by the consumer's create-or-update call (ADR 0640 §2's call), keeping its other
|
||||
settings and its delivery position; it refuses to remove every filter of a consumer and a subject the consumer does
|
||||
not filter, and is a hand act recorded through mesh-hand-acts before it is asked (ADR 0640 §3). The indexer's handlers
|
||||
that acknowledge with no work the subjects it no longer consumes (H-A-578 (2)) go in the indexer's first change after
|
||||
that tool has narrowed its consumer; the narrowing is named among the hand acts after H2's delivery in its milestone
|
||||
plan. How it is checked: whole (bus module): a narrowed consumer keeps its delivery position and is delivered no
|
||||
message of a removed subject; a call removing every filter is refused. ADR 0640 §2, §3; principle 4.
|
||||
- **H-A-601 (a superseded end without its revision ends the step could-not-run, 15:56)** 23 Nov, round 2, amends
|
||||
H-A-574: a `superseded` end without `revision` is not refused but ends the step `could-not-run`, naming the builder
|
||||
and "a superseded end without its revision", said in the runner's `step-ended` as every end is; `rerun` asks it again.
|
||||
How it is checked: unit (runner): such an end ends the step `could-not-run` with those words, and a `rerun` asks the
|
||||
step again. Principles 3 and 4.
|
||||
- **H-A-602 (a token file goes only once the vault holds its token and the forge revoked it; the pass back, 15:56)** 23
|
||||
Nov, round 2, amends H-A-575 and H-A-579 (1): gitea's TypeScript bundle deletes a token file only once this start's
|
||||
own-put of that account's token has answered and the token the file holds has been deleted at the forge; with an empty
|
||||
vault a refused own-put leaves the files and their tokens as they are. A return to the earlier build changes the
|
||||
declared owner back, and the node-engine runs the pass of H-A-579 (1) the other way by the same rules: the units
|
||||
stopped, what lies below the directories given to the earlier account (H-A-550's rules, the earlier account now the
|
||||
one given to), the directories, the units started; once the files are deleted the earlier build's stand-in has none to
|
||||
read, so that return publishes only until then. H-A-583 (4) gains the pass back. How it is checked: whole (gitea):
|
||||
with the vault refusing the own-put, both files stay; unit (node-engine): the directory of H-A-583 (4) given back to
|
||||
the earlier account keeps the same three entries as they were. ADR 0550 §1; principles 2 and 3.
|
||||
- **H-A-603 (`again-delays` span the tool runner's restart, 15:56)** 23 Nov, round 2, amends H-A-570 (5) and §799's
|
||||
default: the tool runner's absence at a restart is at most its `drain-bound` (30 s), the 15 s it is given to stop its
|
||||
bundles (H-A-358) and its start, which §775 counts at 20 to 50 s, so 95 s; the build modules' `again-delays` default
|
||||
becomes "15s,90s", whose sum, 105 s, spans it, the first run again still after 15 s. A publish still meeting no
|
||||
responders at its third run ends the step failed with `publish: no responders` (ADR 0664 §2), and `rerun` asks it
|
||||
again. How it is checked: the conformance kit's publish row with the default delays; H-A-583 (1) measures the absence.
|
||||
ADR 0664 §1, §2; principle 11.
|
||||
- **H-A-604 (the acceptance tests as round 2 has them, 15:56)** 23 Nov, round 2, amends H-A-583: (1) names its act: the
|
||||
seat `node-service-manager`'s verb `restart` of the tool runner's unit on the machine that serves the registry seats,
|
||||
called once the publishing build step has started. (3) is the runner's whole test with a stub build seat, covering
|
||||
H-A-594 (2) to (5) and H-A-595, plus a live check after H2's delivery: every mover of main.457 whose own steps passed
|
||||
is wanted on its placing machines, read through the seat `mesh-wants`. (4) gains the pass back of H-A-602. Principle
|
||||
3.
|
||||
- **H-A-605 (four notes of round 2, 15:56)** 23 Nov, round 2: (1) H-A-568: ADR 0686 §5, accepted at 16:04, moves
|
||||
mesh-sdk's manifest reads, `ManifestNeeds` included, to the indexer, and both moves land as one change of mesh-sdk, as
|
||||
H-A-622 writes it. (2) H-A-572 (2): the runner clears a module's `pipeline-failed` (H §770)
|
||||
when its registrations view no longer names the module, as the indexer frees its failed record. (3) H-A-578 (5): the
|
||||
stream that keeps `versions-filled` is dropped by the bus module's `nats_drop`, by warrant after its snapshot
|
||||
(H-A-126), once the new builder runs, named among the hand acts after H2's delivery in its milestone plan. (4) H-A-569
|
||||
(2): the manifest validator's need rules carry a version, `needs-rules`, a number in its package `judge` raised with
|
||||
every change of those rules; each module graph revision the indexer writes carries it as the field `needs-rules` (the
|
||||
seat `mesh-catalog`'s revision form, raised with H-A-580's), and a take-in derives the rule needs of unmoved entries
|
||||
again only when its own `needs-rules` is higher than its base revision's (absent read as 0), reading each unmoved
|
||||
entry's manifest from the entry itself (its field `manifest`, the manifest it carries whole). How it is checked: unit
|
||||
(indexer): a take-in with unchanged `needs-rules` derives nothing for unmoved entries; one with a higher number
|
||||
derives each from the entry's `manifest`. Principles 3 and 7.
|
||||
- **H-A-606 (a publish is asked again on ADR 0674's events, never on a timer; A-457's pause withdrawn, 15:56)** 23 Nov,
|
||||
the lead's item K of round 2: A-457 and A-457a ask a failed or unanswered publish again after a growing pause
|
||||
(`publish-pause` doubled per try up to `publish-pause-max`, `publish-tries` tries) and A-457 says the publish "is
|
||||
never waited on a `running` or `manifest-reads-changed` event any more", while ADR 0674 decides that a version left
|
||||
unpublished is published again once per event that says a registry seat's holder or its node is back (§2), one at a
|
||||
time per holder and queued at most once (§3), and that nothing waits on a timer (§4). A design follows its record, so:
|
||||
A-457's timer path, its putting of every unreleased reservation on the queue at the builder's start, and A-457a's
|
||||
settings `publish-pause`, `publish-pause-max` and `publish-tries` with their tries and next try go; A-473's ask at a
|
||||
build's end stays the first try. A publish that fails or is not answered leaves the version reserved, with
|
||||
`version-unreleased` naming the holder's words (ADR 0674 §3), and it is published again only by G §588's event path:
|
||||
the node-engine seat's `running` of a module whose entry claims the registry seat of the missing artifacts' kind, or
|
||||
its `manifest-reads-changed` with `why` `returned` of the node that holder runs on, each acted on once by its sequence
|
||||
(state `acted`), queued per holder in the state `publish-queue` and taken up again from it at the builder's start, or
|
||||
by `builder_publish_again` at any time. A-457b is withdrawn: `republish-max-versions` (G §633, 50 unless set) is read
|
||||
again as §588's bound per event. Where H-A-590 (2) says the item "spends none of its `publish-tries`", it reads: the
|
||||
queued version ends at once at such a refusal. How it is checked: whole (builder): a publish refused once stays
|
||||
reserved and is not asked again until a registry holder's `running` is heard, then is asked once; the code review
|
||||
finds no timer, pause or count of tries on the publish path. ADR 0674 §2 to §4; principles 1 and 3.
|
||||
|
||||
## Round 3 of the review by architectural domain of H-A-568 to H-A-606 (2026-11-23 from 16:08 CET)
|
||||
|
||||
The four reviewers by architectural domain did not approve round 2 at 11dbae7c; this is the last round (playbook 07).
|
||||
Each line below amends the answer it corrects and names the record clause or principle that settles it.
|
||||
|
||||
- **H-A-607 (the runner starts no pipeline by itself to carry a mover; the carry rides a pipeline that waits or runs,
|
||||
and the hand tools reopen, 16:08)** 23 Nov, the lead's answer to round 3, read against ADR 0682 whole; amends H-A-594
|
||||
(3) and (5), H-A-581 and H-A-571. ADR 0682 §6: the runner starts a delivering pipeline on its own only on
|
||||
`take-in.taken` and on `package-published` for a module with a "B published before A builds" edge, "never by a sweep,
|
||||
a comparison at its start or a timer", and its verbs stay; §7: a running pipeline runs to its end. So: (1) **What
|
||||
goes.** H-A-594 (3)'s reopen of a failed pipeline on another pipeline's `pipeline-ended`, its start of a pipeline
|
||||
keyed by the head's revision when that revision has none, and H-A-594 (5)'s carry of every key at the runner's start
|
||||
go. (2) **What the runner does by itself.** At a pipeline's end `failed`, `cancelled` or `could-not-run`, it adds each
|
||||
closed group (H-A-594 (2)) to the head's pipeline when that pipeline waits or runs, which starts nothing (§786); every
|
||||
other group waits in `unfinished` and is added to the pipeline the next `take-in.taken` starts, as §786 has it, each
|
||||
mover whose fingerprint is still its entry's at that revision. (3) **What a person does.** The runner's verbs stay
|
||||
(ADR 0682 §6): `start` (H-A-571, with its pipeline keyed by the head's revision when that revision has none), `rerun`
|
||||
(G-24 §727, which reopens the failed pipeline), and `runner_unfinished_place`, which places one key's closed group, or
|
||||
with `all` true every key whose pipeline neither waits nor runs, each group by (2) when the head's pipeline waits or
|
||||
runs and otherwise by reopening the failed pipeline for that whole group under its own key and revision (ADR 0684 §3);
|
||||
a failed step inside the group is asked again as `rerun` asks it. Each call is one hand act with its `why`, written
|
||||
through mesh-hand-acts. (4) **Today's keys.** H2's milestone plan names the hand acts after the runner's delivery:
|
||||
first `runner_unfinished_drop` of every key whose module a newer revision already delivered at another fingerprint
|
||||
(H-A-555), such as `main.adwaita`, whose key names 7f986fd6 while the wants of its machines name bddccff9, then one
|
||||
`runner_unfinished_place` with `all` true; `runner_unfinished` is read before and after. How it is checked: whole
|
||||
(runner, with a stub build seat): a failed pipeline's group joins a running head pipeline; with none running, nothing
|
||||
starts until the next `take-in.taken`, whose pipeline carries the group; `runner_unfinished_place` with `all` reopens
|
||||
the failed pipeline for a group when the head's pipeline has ended; the runner's start carries nothing. ADR 0682 §6,
|
||||
§7; ADR 0684 §3; principles 3 and 4.
|
||||
- **H-A-608 (a mover not delivered pins the revision its entry comes from, and is read there, 16:08)** 23 Nov, round 3
|
||||
(running), amends H-A-595 and H-A-594 (3): §749 frees a pipeline's pin at its `pipeline-ended`, so the keys left today
|
||||
name revisions 455, 457 and 459 that the indexer no longer keeps (it keeps 439, 458 and 460 to 493). So: the indexer's
|
||||
record `failed.<branch>.<module>` (H-A-566, H-A-595) is written for every mover a `pipeline-ended` names in
|
||||
`unfinished`, as for one whose own step failed, both being movers not delivered; it pins the revision the mover's
|
||||
entry comes from (its kept revision, H-A-285, else the pipeline's) and that revision's `base`, and is freed as H-A-566
|
||||
and H-A-572 (2) say. A pipeline that carries or reopens a mover reads its entry at that kept revision, else at the
|
||||
head's revision when the entry there has the same fingerprint (§786); a mover found at neither is dropped from
|
||||
`unfinished` with one journal line naming its fingerprint and the revisions looked at, since a newer revision moved it
|
||||
or its entry is gone. How it is checked: whole (indexer): a revision a mover named in `unfinished` comes from stays
|
||||
after its pipeline's end, with its `base`; whole (runner): a mover whose kept revision is gone is read at the head's
|
||||
revision at the same fingerprint, and one found at neither is dropped and said. ADR 0656 §2; principle 3.
|
||||
- **H-A-609 (a reopened pipeline is judged over its carried group alone; the gate hears `mover-added`, 16:08)** 23 Nov,
|
||||
round 3 (health, seams), amends H-A-594 (4) and H-A-597: (1) A pipeline reopened by `runner_unfinished_place` is
|
||||
judged over the carried group alone: the failed mover and the movers tied to it leave the movers its reopened end
|
||||
judges and stay in `unfinished` as before, so one failed mover beside one independent mover gives two ends, the second
|
||||
passed for the independent one, and no third. A reopened pipeline is never reopened from its own reopened end; only a
|
||||
person's `rerun` or `runner_unfinished_place` reopens it again. (2) The gate consumes `mover-added`, declared in its
|
||||
manifest's `consumes`, and counts the mover in the record of the pipeline that carries it (G §144); a pipeline's
|
||||
`pipeline-ended` with a higher end count reopens the gate's record of that pipeline, which ends again when the group's
|
||||
movers run and says `record-ended` with `ends` one higher (H-A-597). (3) A take-in whose pipeline key is held adds its
|
||||
entries (H-A-594 (1)) and says one `mover-added` per entry with `take-in` (the source revision) in place of `from` or
|
||||
`caller`. How it is checked: whole (runner): one failed and one independent mover give two `pipeline-ended`, the
|
||||
second passed for the independent mover, and no third; whole (gate): a `mover-added` counts the mover in the carrying
|
||||
record, and a reopened pipeline's passed end reopens and ends that record with `ends` 2. ADR 0682 §8; ADR 0666 §9;
|
||||
principle 3.
|
||||
- **H-A-610 (a tie ends when the failed mover leaves the registrations, 16:08)** 23 Nov, round 3 (seams), amends H-A-594
|
||||
(2): a mover's tie to a failed mover is read from its `unfinished` key's `pipeline` and that pipeline's edges between
|
||||
its movers at its revision; it ends when the failed mover's module leaves the registrations (its record freed, H-A-572
|
||||
(2)), and the movers tied to it are then carried as any closed group (H-A-607 (2)). How it is checked: whole (runner):
|
||||
a tied mover is carried at the next take-in after the failed mover's module leaves the registrations. ADR 0666 §2;
|
||||
principles 3 and 10.
|
||||
- **H-A-611 (the watchman times the step held for the view by the wait it hears, 16:08)** 23 Nov, round 3 (health),
|
||||
amends H-A-599: the watchman's manifest `consumes` the seat `mesh-pipeline-runner`'s `wait-held` and `wait-ended`, and
|
||||
it times only a wait whose `on` is `revision view`, by that wait's `bound` from its `clock-from`, raising
|
||||
`pipeline-stands` past it and clearing it at the wait's end; an `approval` step's wait owes no progress and is never
|
||||
timed (ADR 0666 §24; ADR 0283). At its start it seeds its open waits from the runner's `stands` (G §75). How it is
|
||||
checked: whole (watchman): a held wait with `on` `revision view` raises `pipeline-stands` after its bound, also after
|
||||
a restart of the watchman; an `approval` wait held twice as long raises nothing. ADR 0666 §24; principle 3.
|
||||
- **H-A-612 (a holder's `fingerprints` state is spoken for by the bus module's fill condition, 16:08)** 23 Nov, round 3
|
||||
(health), amends H-A-589 (2): its unnamed finding past 80 % goes. The state is kept data with a cap that refuses a
|
||||
write when full (H-A-589 (2), §812), and the bus module's fill condition speaks for a kept store as it does for the
|
||||
gate's ledger (§809), so a second condition for one cause is a part with no need (principle 7). The refusal at the cap
|
||||
stays as H-A-589 (2) says it. How it is checked: the code review finds no fill finding in the registry holders.
|
||||
Principles 3 and 7.
|
||||
- **H-A-613 (the publish again rides the work queue `publishes`, one send in flight per holder, as a kept call, 16:08)**
|
||||
23 Nov, round 3 (seams, running), amends H-A-606: (1) The queue is the builder's work queue `publishes` (§793,
|
||||
H-A-461), not the state `publish-queue`, which H-A-461 removed. An event of ADR 0674 §2 puts each version it publishes
|
||||
again once, on `publish.<holder>.again.<module>.<version>` with the message id
|
||||
`<holder>.again.<module>.<version>.<sequence>`, `<sequence>` the event's stream sequence, so the same event heard
|
||||
again puts nothing. The stream keeps at most one message per subject and refuses a new one while one is held, so a
|
||||
version queued or being sent is not queued again (ADR 0674 §3). (2) At most one send is in flight per holder over both
|
||||
classes, `live` first (ADR 0674 §3: one publish at a time to each holder); §793's four sends in flight become one. (3)
|
||||
The consumers' ack wait is G §369's publish bound, the builder's setting `publish-ack-minutes` (default 10), and the
|
||||
builder marks a message in progress while its call waits, so it is given again only when the builder itself stopped;
|
||||
the publish values of the builder's re-ask state go. (4) The publish and its publish again are §775's kept call,
|
||||
marked safe to repeat since the holder takes a version once by its name and version (ADR 0668 §2): no responders, a
|
||||
passed deadline and `away` are waited out at the kept-call pace (ADR 0668 §1), `call-unanswered` written after five
|
||||
minutes (§3). Only an answered failure or a refusal ends the send: the version stays reserved with
|
||||
`version-unreleased` naming the holder's words, and is published again only on ADR 0674 §2's next event or by
|
||||
`builder_publish_again`. How it is checked: whole (builder): two events of one return queue a version once; a second
|
||||
holder's version waits while one send to the first runs; a publish met by no responders is called again and passes
|
||||
when the holder answers; a refused one waits for the next `running`. ADR 0674 §2, §3; ADR 0668 §1 to §3; principles 1
|
||||
and 3.
|
||||
- **H-A-614 (H-A-569's and H-A-570's pull requests merge in one call, so no build of the tool runner with `stopping` is
|
||||
wanted, 16:08)** 23 Nov, round 3 (security), amends H-A-596, H-A-569 (1) and H-A-570 (6): H-A-569's call changes
|
||||
mesh-sdk's `catalogue`, which the tool runner (`node-tools`) imports, so that call moves the tool runner as a code
|
||||
dependent (ADR 0682 §4); were it merged before H-A-570's change, the tool runner would be built from mesh-tools at its
|
||||
merge of #90 (e8f58540) or later, which answers `stopping`. So the pull requests of H-A-569 and H-A-570 (mesh-sdk,
|
||||
mesh-tools, mesh-delivery, the node-engine's `mesh-host` and mesh-catalog) are merged in one call of `merge-pull`: one
|
||||
take-in, one pipeline, their orders held by its tiers (ADR 0682 §6, §8). How it is checked: live, after H2's delivery:
|
||||
no want of `node-tools` names the fingerprint of any build of mesh-tools from e8f58540 on that lacks H-A-570's change,
|
||||
3b09a323 among them, read through the seat `mesh-wants`. ADR 0682 §4, §6; principle 3.
|
||||
- **H-A-615 (`nats_consumer_narrow` refuses a subject the module still consumes, 16:08)** 23 Nov, round 3 (security),
|
||||
amends H-A-600: the tool judges a durable's module as H-A-127 and H-A-128 do (its name `<node>_<module>` or a prefix
|
||||
`<node>_<module>_`, against the keeper's accepted set), and refuses to remove a filter subject that the accepted
|
||||
manifest of that module still consumes, naming the subject; the keeper's accepted set carries each module's `consumes`
|
||||
beside the module, decoded from the same accepted manifest (ADR 0578 §3: a part decodes a manifest and takes its
|
||||
verdict, never judging it). How it is checked: one row of the bus module's whole test: a call removing a subject the
|
||||
module's accepted manifest consumes is refused and the consumer keeps it. ADR 0640 §3; principles 3 and 4.
|
||||
- **H-A-616 (an artifact held with no kept fingerprint counts as held for F when its digest is F's, 16:08)** 23 Nov,
|
||||
round 3 (security), amends H-A-589 (1) and H-A-590 (1): ADR 0606 §1 keeps a numbered fingerprint's number. So an
|
||||
artifact a registry holds at V with no fingerprint kept counts as held for F, and F keeps V, when its digest equals
|
||||
the digest F's reservation records for that artifact; it counts as held elsewhere only when the reservation records
|
||||
another digest or none. The 17 versions of issue 1984 note 3 record none, so they are still withdrawn by H-A-590. How
|
||||
it is checked: a row of H-A-593 (1)'s table: an artifact held at V with no fingerprint and the reserved digest keeps
|
||||
V; one with another digest withdraws it. ADR 0606 §1; ADR 0605 §4; principle 3.
|
||||
- **H-A-617 (who hears a second `record-ended`, and its form, 16:08)** 23 Nov, round 3 (health), amends H-A-597, whose
|
||||
"so the self-check's probe and the status view hear the moved time as an event" is wrong: `record-ended` carries no
|
||||
`delivery-time` (H-A-25) and only the watchman consumes it, and the self-check's probe reads `gate_times` (H-A-396),
|
||||
so the probe reads a moved time at its next read. The second `record-ended` is the event of the record's new end; the
|
||||
watchman takes a second end of a record it cleared already as nothing new. `ends` is a field of the seat
|
||||
`mesh-delivery`'s event `record-ended`, its definition regenerated and its form raised by one. How it is checked: unit
|
||||
(contracts): `ends` read on `record-ended`; whole (watchman): a second `record-ended` of a cleared record raises and
|
||||
clears nothing. Principles 3 and 7.
|
||||
- **H-A-618 (three notes of round 3, 16:08)** 23 Nov, round 3: (1) H-A-589 (6): the registry holders (distribution and
|
||||
gitea, mesh-catalog), the seats' contracts (mesh-delivery-contracts), the conformance cases and the builder
|
||||
(mesh-delivery) merge in one call of `merge-pull`, since the order between their modules exists only inside one
|
||||
pipeline (ADR 0682 §8, §9). (2) H-A-589 (4) and (5) and H-A-591 (4): ADR 0686, accepted at 16:04, dissolves
|
||||
mesh-delivery-sdk (its §4): the shared publish goes behind the one module that serves the step runner, and the
|
||||
conformance cases become fixtures of the registry and build seats' definitions in their contracts modules (its §2),
|
||||
run by each holder's and build module's tests, as H-A-624 writes it. (3) H-A-602: a token file holds only the token
|
||||
and its scopes, so gitea's TypeScript bundle finds the token at the forge by listing the account's tokens through the
|
||||
forge's own interface and matching the last eight characters and the scopes it holds; a token it cannot match is left
|
||||
with its file and said once in its journal. When a new gitea build is faulty after the files are gone, a return to an
|
||||
earlier build that runs as gitea's own account (H-A-543's change on) reads its tokens from the vault and recovers; a
|
||||
return to a build before it does not. With no such earlier build, the fixed build is placed by hand (the instruction
|
||||
hot-deploys-allowed), since gitea holds the registry seats its own publish would go through. Principles 3 and 4.
|
||||
- **H-A-619 (the acceptance tests of round 3, by level, 16:08)** 23 Nov, round 3, amends H-A-604 (3): the runner's whole
|
||||
test with a stub build seat covers H-A-594 (1), (2) and (4) as H-A-607 to H-A-610 amend them: a failed node-engine
|
||||
ties its gitea, and gitea is carried once the node-engine passes; a group joins a running head pipeline; with none
|
||||
running nothing starts until the next take-in; `runner_unfinished_place` with `all` reopens a failed pipeline for an
|
||||
independent mover, which gives two ends, the second passed, and no third; a tie ends when the failed module leaves the
|
||||
registrations; a mover whose kept revision is gone is read at the head's. The live check after H2's delivery stays:
|
||||
after the hand act of H-A-607 (4), every mover of main.457 whose own steps passed is wanted on its placing machines.
|
||||
Each is a step of the existing whole test, never a new top-level test function (the test budget). Principle 3.
|
||||
|
||||
## The fix pass after round 3 (2026-11-23 from 16:14 CET)
|
||||
|
||||
The lead checks these lines against round 3's remaining findings; ADR 0686 was accepted at 16:04, so its lines are the
|
||||
design now.
|
||||
|
||||
- **H-A-620 (the publish-again queue reads its own stream before a put; one `again` send in flight per holder, 16:14)**
|
||||
23 Nov, the fix pass (seams, security, running), amends H-A-613 (1), (2) and (4): (1) No form of a manifest's stream
|
||||
refuses a new message while one is held, so before it puts a version again the builder reads its own stream
|
||||
`publishes` for that subject, `publish.<holder>.again.<module>.<version>`, by a read of the subject's last message; a
|
||||
message held there means the version is queued or being sent, so it puts nothing. The message id of H-A-613 (1) stays,
|
||||
so the same event heard again puts nothing either. No manifest form is added and nothing is applied to the live
|
||||
stream. (2) ADR 0674 §3's one publish at a time is about the publish again alone: at most one `again` send is in
|
||||
flight per holder, while `live` sends keep §793's four in flight (H-A-290 (3): one at a time made a release wait forty
|
||||
minutes). (3) The kept-call pace of H-A-613 (4) is the call's own transport retry (ADR 0668 §1); a new publish again
|
||||
of a version whose send ended on an answered failure still waits for ADR 0674 §2's next event. How it is checked:
|
||||
whole (builder): two returns of one holder queue the version once; a second `again` send to a holder waits while one
|
||||
runs, and four `live` sends run at once. ADR 0674 §2, §3; ADR 0668 §1; principles 1 and 3.
|
||||
- **H-A-621 (`nats_consumer_narrow` asks the seat `mesh-catalog` what a module consumes, 16:14)** 23 Nov, the fix pass
|
||||
(seams), amends H-A-615: by ADR 0686 §3 and §5 the bus module's keeper reads no manifest. The seat `mesh-catalog`
|
||||
serves `entry`, whose catalog entry already carries what the indexer derives from a manifest (`invokes`, `serves`,
|
||||
`streams`, `requires`), and serves no event that names what a module consumes. So the entry gains the field
|
||||
`consumes`, the subjects the module's accepted manifest consumes, filled by the indexer beside `invokes`; the seat's
|
||||
definition is regenerated and its form raised with H-A-580's and H-A-605 (4)'s raise. The tool asks
|
||||
`mesh-catalog.entry` for the durable's module, judged by name as H-A-127 and H-A-128 have it, and refuses to remove a
|
||||
subject the answer's `consumes` holds; the keeper's accepted set carries no `consumes` of its own. How it is checked:
|
||||
unit (indexer): an entry's `consumes` equals its manifest's; the row of H-A-615: a subject the entry's `consumes`
|
||||
holds is refused. ADR 0686 §3, §5; principles 1 and 9.
|
||||
- **H-A-622 (the capability's name is a value of the seat `node-engine`'s contract; `ManifestNeeds` moves whole to the
|
||||
indexer, 16:14)** 23 Nov, the fix pass (seams), amends H-A-568 and rewrites H-A-605 (1) now that ADR 0686 is accepted:
|
||||
shared code is only the runtime and a seat's forms (ADR 0686 §1, §2), and mesh-sdk's manifest reads, `ManifestNeeds`
|
||||
included, move to the indexer (§5). So the capability names a node-engine states, `directory-contents-owner` among
|
||||
them, are values of the seat `node-engine`'s contract, the answer of its verb `manifest-reads` (ADR 0618 §3),
|
||||
generated in the contracts module that holds that seat's definition (ADR 0686 §2) and read there by the node-engine,
|
||||
which states them, the indexer, which names them as needs, and the assigner, which compares the two; mesh-sdk's
|
||||
constant `ReadDirectoryContentsOwner` goes. `ManifestNeeds` moves whole into the indexer with mesh-sdk's other
|
||||
manifest reads, and H-A-568's runs-as rule is one rule of its manifest validator there; H-A-568's removal of the line
|
||||
from mesh-sdk is that move, one change of mesh-sdk with no copy and no alias left (§5). How it is checked: ADR 0686
|
||||
§9's widened unit test of mesh-sdk refuses `ManifestNeeds` and the constant there; unit (indexer): H-A-568's rows.
|
||||
ADR 0686 §1, §2, §5; ADR 0618 §3; principle 9.
|
||||
- **H-A-623 (a placed group that holds the failed mover is judged with it, 16:14)** 23 Nov, the fix pass (seams), amends
|
||||
H-A-609 (1): a failed mover leaves the movers a reopened end judges only when it is outside the group placed again; a
|
||||
group `runner_unfinished_place` or `rerun` places with the failed mover in it, its failed step asked again as `rerun`
|
||||
asks it (H-A-607 (3)), is judged with that mover, so its end passes only when that mover's step passes (H-A-414). How
|
||||
it is checked: whole (runner): a group placed with its failed mover whose step fails again ends failed; one placed
|
||||
without it ends on its own movers. ADR 0682 §8; principle 3.
|
||||
- **H-A-624 (where the shared publish, the conformance cases and the reading of no responders go under ADR 0686,
|
||||
16:34)** 23 Nov, the fix pass, rewrites H-A-618 (2) and amends H-A-570 (3), H-A-589 (4) and (5), H-A-591 (4) and
|
||||
H-A-593 (2) to (4): mesh-delivery-sdk is dissolved (ADR 0686 §4). (1) The shared publish of H-A-589 (4) goes behind
|
||||
the one module that serves the step runner, called through its verbs for each step (§4); which module that is no line
|
||||
names yet. (2) The conformance cases of H-A-589 (5), H-A-591 (4) and H-A-593 (2) to (4) become fixtures of the seats'
|
||||
definitions in their contracts modules (§2): the registry seats' cases in the definitions of the four registry seats,
|
||||
the build seats' cases, `reproducible` among them, in those of `node-build-go`, `node-build-node` and
|
||||
`node-build-image`; each holder's and build module's tests run the fixtures of every seat it fills, and mesh-catalog's
|
||||
failure-kit check (H-A-591 (4)) reads that they do. (3) The one place that reads no responders, a passed deadline and
|
||||
`away` as a transport fault (H-A-570 (3)) is the runtime's calling of a verb in mesh-sdk (ADR 0686 §1: calling and
|
||||
answering a verb; ADR 0668 §7: mesh-sdk carries the kept-call form); a build step's ending of its run `again` on such
|
||||
a fault (ADR 0664 §1), today `PublishFault` and `sdkstep.Passing`, goes with the step runner to the module of (1). How
|
||||
it is checked: ADR 0686 §9's checks; the code review finds no package of mesh-delivery-sdk imported. ADR 0686 §1, §2,
|
||||
§4; principle 9.
|
||||
- **H-A-625 (four notes of the fix pass, 16:14)** 23 Nov: (1) H-A-611: while a wait on the revision view stands, the
|
||||
watchman times the step from that wait's `clock-from` in place of the step's own start. (2) H-A-607 (2): the failed
|
||||
mover's `pipeline-failed` (H §770) names the movers held behind it and `runner_unfinished_place` as the act that
|
||||
places them. (3) H-A-613 (4) is read as H-A-620 (3) says. (4) H-A-619's live check: each key of `unfinished` ends
|
||||
either deleted, its module wanted at its fingerprint or a newer one, or still tied to the failed mover it names.
|
||||
Principles 3 and 4.
|
||||
- **H-A-626 (the step runner is served by the builder, through verbs of the seat `mesh-builds`, 16:17)** 23 Nov, the
|
||||
open question of H-A-624 (1): ADR 0593 §1 reads "Code that computes or judges, and that only some modules need, is the
|
||||
owner module's: the module that holds the seat whose work it is", and "the build runner becomes the Go build module's
|
||||
package, used by the other build modules; the step runner of the delivery parts becomes the builder's package".
|
||||
ADR 0686 §3 keeps those owners ("the build runner and the step runner, which it makes the Go build module's and the
|
||||
builder's packages for other modules, are served as clause 4 has it"), and §4 has each "served by one module, the same
|
||||
or two", every part going "to the one module whose work it is", the module and whether its role is a seat being this
|
||||
design's to name. So: the step runner of the delivery parts is served by the builder (mesh-delivery-builder), its
|
||||
owner by ADR 0593 §1, through verbs of the seat the builder holds, `mesh-builds`, whose work a build step is; no new
|
||||
seat is made (principle 7), and the build modules depend on the seat `mesh-builds`, not on the builder's module
|
||||
(principle 9: `mesh-builds` is a seat, a role the mesh means one module or another to fill). The parts H-A-624 (1) and
|
||||
(3) send there are the step runner's: the shared publish of H-A-589 (4) and a build step's ending of its run `again`
|
||||
on a transport fault, today `PublishFault` and `sdkstep.Passing`. The verbs themselves, one per part a build module
|
||||
calls in a step, with their messages in the seat's contract (ADR 0686 §2), are named by the line that writes the move
|
||||
of `buildstep` (ADR 0686 §5). The build runner, the Go build module's by ADR 0593 §1, is outside this line. How it is
|
||||
checked: ADR 0686 §9's checks (no build module imports a package of mesh-delivery-sdk or of the builder); the seat
|
||||
`mesh-builds`' definition names the step runner's verbs. ADR 0593 §1, ADR 0686 §3, §4; principles 7 and 9.
|
||||
|
||||
## The operator's answers (2026-11-23 from 20:43 CET)
|
||||
|
||||
- **H-A-627 (`tier-bound` counts no time a mover waits for the operator's yes, read from the assigner's own `asks`,
|
||||
20:45)** 23 Nov, the operator's answer of 20:43 CET to the lead's design question ("Yes, pause it"), amends §751's
|
||||
`tier-bound`, H-A-56 and H-A-75. The case: pipeline main.505's tier 1 held the bus module on one machine while it
|
||||
waited for the operator's yes, asked from 18:54 to 19:28 CET; at 19:22 the assigner found the tier late, so tier 2
|
||||
(the gate, the forge module, the pipeline runner, the indexer, the status view, the builder and the tool runner) was
|
||||
never written; the second meeting of the kind, after main.502 (and a near miss at main.495). ADR 0682 §8 decides a
|
||||
bound per step of the order whose end fails the pipeline, and §9 makes the operator's yes the asker's, not the want
|
||||
rule's; how the bound counts a wait on the operator is the design's own, and the operator answered it. (1) **What
|
||||
pauses the count.** `tier-bound` counts no time during which the seat `mesh-wants`' state `asks` (G §717: the asks of
|
||||
the operator the assigner writes and deletes and the teller offers, not the step asks of the seat's work queue) holds
|
||||
a key of any kind but `assignments` that names a mover of the tier by its module, by the mover's fingerprint where the
|
||||
kind's key names one (every kind but `record`, whose key names the composition), and, where the key names a machine
|
||||
(every kind but `hold`), by one of the present placing machines on which §751 finds that mover not running. One such
|
||||
key pauses the count of the whole tier, which has one bound (H-A-56). The yes is read there because `asks` is the
|
||||
assigner's own state (ADR 0596 §4): the node-engine's phase `waiting-yes` is another module's state (ADR 0596 §2), and
|
||||
the want carries the yes only once it is given. (2) **Which part keeps what.** The assigner keeps the pause in the
|
||||
tier progress of its state `written` (H-A-56), whose value gains `clock-from`, the time `tier-bound` counts from (in
|
||||
`since`'s form; written equal to `since` when a tier's progress starts; absent read as `since`), and `paused-from`,
|
||||
the time the standing pause began (absent while the bound counts). The tiers' judgement of each pass (H-A-256) reads
|
||||
`asks` as that pass leaves it: the first pass that finds such a key writes `paused-from` with its own time, never
|
||||
earlier than `since`; the first pass that finds none moves `clock-from` later by the time since `paused-from` and
|
||||
deletes `paused-from`, both by compare-and-set as the progress is written. A tier is late only with no `paused-from`
|
||||
and its time at or past `clock-from` plus `tier-bound`; only that time is armed on the one deadline timer (H-A-56),
|
||||
and a paused tier arms none. The next tier's progress starts with `clock-from` its own `since` and no `paused-from`;
|
||||
both go with the key when the assigner deletes it (H-A-75). Both are kept on the bus, so a restart keeps a pause, and
|
||||
the first pass after it ends a pause whose key is gone. The teller and the operator channel keep nothing new, and no
|
||||
event is added: the wait is said by its ask, offered again at each lapse while its key stands. (3) **What is said and
|
||||
read.** The assigner's journal says a pause's start (the pipeline, the tier, the module, the machine and the ask's
|
||||
key) and its end (how long the count stood still and when the tier is now late); `assigner_written` answers
|
||||
`clock-from` and `paused-from` with the progress, and its description names them. A tier already said `tier-late`
|
||||
stays ended: `pipeline-wanted` is said once (H-A-75), and no later pause reopens it; the finding `tier-late` and its
|
||||
body are unchanged. How it is checked: two rows of the table of §751's tier test of the assigner
|
||||
(`TestAPipelinesWantsAreWrittenTierByTier`, in mesh-delivery), never a new top-level test function: with the
|
||||
provider's `record` ask standing in `asks` from minute 5 to minute 45 of tier 1, nothing is late at minutes 30 and 69
|
||||
and `tier-late` is raised at minute 70; with the provider running at minute 50, the consumer's want is written then.
|
||||
ADR 0682 §8, §9; ADR 0596 §2, §4; principles 1, 3 and 4.
|
||||
|
||||
## The empty pin of a run's entry (issue 1984 notes 19 to 22, 2026-11-23 from 21:40 CET)
|
||||
|
||||
Issue 1984 note 22: every composition of a take-in whose movers publish a package the node-engine imports ended
|
||||
"could not run: no pin for …", because the take-in blanked that package's pin in every import-form entry, the
|
||||
node-engine's among them though it was no mover, and the composition run gave the empty pin to the build module, which
|
||||
refuses it at once; nothing filled it after the publish. The prepare of this fix found four questions and three places
|
||||
where the design and the code disagree; the lead's answers follow, each against the principles.
|
||||
|
||||
- **H-A-628 (the take-in blanks only a mover's entry; a run's empty pin is filled from `mesh-builds.published` or
|
||||
waited for, 21:45)** 23 Nov, issue 1984; answers the questions the prepare of the fix found against H-A-532 DMC-1,
|
||||
H-A-547 (2) and (3), H-A-551, H-A-192, H-A-204, H-A-326, H-A-328, G §718, §719, §720 and H §745. (1) The take-in
|
||||
blanks a package's pin, as H-A-532 DMC-1 has it, only in the import-form entry of a mover of that take-in; a module
|
||||
that is no mover keeps its pins, since no step of that pipeline builds it and so no build waits for the publish the
|
||||
blank serves (principle 7; principle 3: a blank nobody fills fails a later ask). (2) For a run the assigner builds
|
||||
from an entry (the composer of G §718, the validator of H §745), an empty pin is filled by the assigner's ask of the
|
||||
seat `mesh-builds`' verb `published` (H-A-328) for the publisher's build in the step's revision, and the version it
|
||||
answers is the pin: the assigner computes no pin and copies no logic of the builder, and no contract changes
|
||||
(principles 1, 9 and 7). H-A-328's one caller gains the assigner. (3) While `published` answers not published, the
|
||||
run waits: it reads first, then is woken by `mesh-builds`' `package-published` of that package (H-A-326's order).
|
||||
The wait is bounded by an assigner setting `package-wait-minutes`, with the builder's range and default (1 to 120,
|
||||
10); meanwhile the step's progress says the phase `fetch` (no new phase) and the journal names the package; past
|
||||
the bound the run ends could not run, "package <path> has no published version within <bound>" (principles 1, 11,
|
||||
3 and 7). (4) The wait arms the run's own bound key of §720 (`bound.<run key>`, its time to live the bound of (3)),
|
||||
so the bound outlives an assigner restart; its expiry ends the run as (3) says, and an assigner start finds a run
|
||||
still waiting by its missing program and starts its wait again (principles 1 and 7). (5) So the assigner never puts
|
||||
a run ask with an empty pin: `pinsOfEntry`'s silent drop goes, and the words that end such a run name the package,
|
||||
the entry and why it has no version, never the builder, which never had the ask (H-A-204: "never left out";
|
||||
principle 3). (6) A blank carried into the kept packages of a watched branch other than the first at its next
|
||||
take-in (H-A-547 (2): "never in a module's kept packages") is not part of this fix: no live case shows it, and with
|
||||
(1) only a mover's entry is blanked. It is noted on the issue for the code milestone, with whether a published
|
||||
version whose reservation the builder dropped stays the series' newest (H-A-495's addendum), and the builder's
|
||||
reserve of a number for a done build whose fingerprint is already released (principle 7). In the indexer and the
|
||||
assigner (mesh-delivery). How it is checked: rows of the indexer's `TestMoversOf` (a mover's entry blanked, a
|
||||
non-mover's kept), a row each of the composition run's and the validate step's unit tests (an empty pin filled from
|
||||
`published`), the existing whole test `TestTheCompositionStepComposesEachMachineThroughTheBuildSeat` extended (a
|
||||
run that waits for a package's publish and composes after it; one past the bound ends could not run naming the
|
||||
package), never a new top-level test function; live, the first take-in after delivery whose movers publish a
|
||||
package the node-engine imports has every composition pass. Principles 1, 3, 7, 9 and 11.
|
||||
- **H-A-629 (a run that waits for a package keeps the wait in its own value; every reader says it; a start takes it up
|
||||
again, 22:02)** 23 Nov, issue 1984; answers the developer's three questions on H-A-628 (3) and (4): the expiry
|
||||
marker of `bound.<run key>` holds no value (A-470o), the run's value names no package, every reading step says the
|
||||
phase `run` at once, and the take-up starts nothing again. (1) The run's value, the seat `mesh-wants`' composition
|
||||
run (`CompositionRun`), gains one field, `waits`, absent while the run waits for nothing: the package's path and the
|
||||
time its wait began. It is written when the run's wait of H-A-628 (3) begins and deleted when the run ask is put or
|
||||
the run ends, by compare-and-set as the value is written. So the package is named from the bus after a restart,
|
||||
and an expiry heard before any take-up names it, read from the run's value (principle 1; principle 7: the run's
|
||||
existing value, no new key). (2) Every step that reads the run, the starting one included, says the phase `fetch`
|
||||
naming the package while the run's value holds `waits`, and `run` once it holds none, as it hears the run key
|
||||
today (principle 3: each step says what is true; principle 7). (3) At an assigner start, a run whose value holds
|
||||
`waits` and no program has its whole start run again (a compose-candidate ask of the node and its kept request), as
|
||||
the node's input of the first start is not kept before the wait ends; that start reads `published` first, so a
|
||||
package published while the assigner was down is taken at once (principle 7: the existing start, no new kept
|
||||
input). Its bound counts from `waits`' time: past that time plus `package-wait-minutes` the run ends could not run
|
||||
as H-A-628 (3) says, naming the package; before it, `bound.<run key>` is armed again for what is left, never in full
|
||||
again, whether it expired while the assigner was down or was never armed (principles 3 and 11). How it is checked:
|
||||
rows of the composition run's unit tests (`waits` written at the wait's start and gone at the ask; every reader
|
||||
says `fetch` naming the package, then `run`), and the extended whole test of H-A-628 (a restart during the wait
|
||||
takes the run up and composes after the publish; a restart past the bound ends it could not run naming the
|
||||
package). Principles 1, 3, 7 and 11.
|
||||
- **H-A-630 (the waiting run's wake, context and words, 22:58)** 23 Nov, issue 1984; answers round 1 of the review of
|
||||
the fix that builds H-A-628 and H-A-629. (1) A `package-published` wakes only the runs whose `waits` names the
|
||||
heard artifact's package, as H-A-628 (3) says "of that package"; a publish of another package asks no `published`
|
||||
(principle 7). (2) Each bind of the assigner's consumer of `package-published` wakes every waiting run to read
|
||||
`published` again, since an event said while the consumer was not bound is never heard (principle 3: no wait that
|
||||
only its bound ends while the package stands published). (3) The wait runs on the assigner's own context, as the
|
||||
take-up's does, never on the starting step's: a step that is superseded or dropped leaves a run other steps share
|
||||
waiting (principle 3: a run never ends with "no published version" while one stands). (4) The words that end a run
|
||||
past its bound name the package, the entry and the bound, as H-A-628 (5) asks (principle 3). (5) While a run's value
|
||||
holds `waits`, the readers' `wait-held` says the step waits for that package's publish, naming it, never for a
|
||||
build node (principle 3). How it is checked: rows of the composition run's unit tests (another package's publish
|
||||
asks no `published`; a bind wakes a waiting run that then reads it published; a superseded starting step leaves the
|
||||
shared run waiting; the bound's words name package, entry and bound; `wait-held` names the package). Principles 3
|
||||
and 7.
|
||||
- **H-A-631 (the entry is named from the run's value, 23:03)** 23 Nov, issue 1984; answers the round-2 developer's
|
||||
question on H-A-630 (4): two of the three paths that end a run past its bound (the bound's expiry and the take-up at
|
||||
a start) read only the run's value, whose `waits` holds the package and its time, and `program` is absent while the
|
||||
run waits. `waits` gains the entry's words (the import-form entry the run was built from, as the waiting start's end
|
||||
names it today), written with the package when the wait begins, so every path names the package, the entry and the
|
||||
bound as H-A-630 (4) and H-A-628 (5) say (principle 3: the same words on every path; principle 1: an expiry and a
|
||||
restart read the run's value from the bus; principle 7: a field of the `waits` this fix adds, no new key, the seat
|
||||
definition's form stays at the 3 this fix raised it to). How it is checked: the row of H-A-630's bound's words, run
|
||||
on the expiry and the take-up paths too. Principles 1, 3 and 7.
|
||||
- **H-A-632 (a wait for a package that ends says the wait for a build node again, 23:16)** 23 Nov, issue 1984;
|
||||
answers the round-2 developer's question on H-A-630 (5): the readers' `wait-held` for a build node is said once, when
|
||||
the run is made (`sayWaits` at the run's creation), and the one that names the package when its wait begins; when
|
||||
the run ask is put and `waits` is deleted, no line says the step waits for a build node again, so the view keeps the
|
||||
package's words until `ask-taken`'s `wait-ended` `ran`. At that put, a run whose wait for a package ended says its
|
||||
readers' `wait-held` for a build node again, under its held id with `.put` added, so the bus's duplicate window
|
||||
does not take it for the first one (principle 3: each step says what is true, as H-A-629 (2) does for the phase;
|
||||
principle 7: the existing event, no new one). How it is checked: a row of the composition run's unit tests (after
|
||||
the put, a reader's newest `wait-held` is for a build node). Principles 3 and 7.
|
||||
- **H-A-633 (a Go package artifact's import set is listed in the environment its build uses, 00:14)** 24 Nov, issue 1984;
|
||||
answers the fault main.510 met (mesh-delivery-contracts' build on the build node, "the imports of
|
||||
mesh-delivery-contracts: go list of go-containerimageregistryclient: ... module lookup disabled by GOPROXY=off"):
|
||||
the Go build module's import step, which lists each path of a package artifact as H-A-518, H-A-541 and H-A-532
|
||||
DQ-5 say, runs every listing with the environment of the module's directory, while the build of that path runs with
|
||||
the environment of the path's own directory: its own module file of the fetch's pins and the tree a package of the
|
||||
module's own repository is built from. So a path whose Go module requires another module of its own repository at
|
||||
the zero version, as a contracts client requires mesh-delivery-sdk, builds and is published, then fails its listing.
|
||||
Each listing runs with the environment the build gives that path's directory, never a second one (principle 3: the
|
||||
import set is read as the build resolved it, never a failure where the build passed; principle 7: the existing
|
||||
environment, no new one). The quick fix and the thorough fix are one here: the fetch already takes each directory's
|
||||
own module file. In the Go build module (mesh-catalog). How it is checked: a row of the import step's unit tests
|
||||
where a package path's Go module requires a module of its own repository at the zero version, resolved only through
|
||||
that path's module file, and its listing names that module's imports; live, the next pipeline whose movers hold
|
||||
mesh-delivery-contracts passes its build. Principles 3 and 7.
|
||||
- **H-A-635 (a slow pass of the assigner says which phase it is in, 01:08)** 24 Nov, issue 1984; answers the stall met
|
||||
2026-11-23 23:53:48 UTC: the assigner on one machine logged "the pass took" (H-A-259) every 20 s, then nothing for six
|
||||
minutes at near-zero CPU while every validate and composition step of a 70-mover pipeline waited; a read of its locks
|
||||
found no cycle, and no tool takes a stuck process's stacks, so where it stood is not known. The pass names the phase it
|
||||
is in as each starts (the assignments seat, the kept graph, the wants, the pass said, the puts, the node wants, the
|
||||
backups and reverts), in the passer's own memory; a pass still running after the assigner setting
|
||||
`pass-stall-seconds` (10 to 600, default 60) says once in the journal "the pass started at <time> is in <phase> for
|
||||
<duration>", and again at each further bound until it ends; the end line stays as H-A-259 has it (principle 3: a part
|
||||
that waits says where; principle 11: the bound is a setting; principle 7: a journal line in the passer, no new key or
|
||||
event, since no other part acts on it). How it is checked: a unit row where a phase blocks past a short bound and the
|
||||
journal line names that phase, and none is said for a pass that ends within it. Principles 3, 7 and 11.
|
||||
- **H-A-636 (a ledger's state and index buckets take the ledger's cap, 01:31)** 24 Nov; answers the condition "Kept data is
|
||||
filling up" of the delivery gate's records (open since 2026-11-23 10:20 CET): the gate's ledger asks `max-mib` 1024,
|
||||
which sizes its history and its snapshot, while the bus module plans the ledger's state bucket and each index bucket
|
||||
with no option (mesh-catalog modules/nats internal/keeper/plan.go, the ledger case, `stateSettings(options{})`), so
|
||||
each is the state default of 64 MiB whatever the module asks; the gate's state bucket is full since 2026-11-23 11:48
|
||||
UTC, its operations kept in the history and the state behind (ADR 0597 §6). The ledger's state bucket and its index
|
||||
buckets take the ledger's own `max-mib`, as its history and snapshot do, through the existing `stateSettings` cap;
|
||||
no other option of the ledger reaches them (principle 11: no cap fixed in code; principle 7: the entry's one existing
|
||||
option, no new one). A raised cap reaches a held bucket through the keeper's existing path for larger settings, in
|
||||
place, and the state catches up by replay (ADR 0597 §5). In the bus module (mesh-catalog). How it is checked: a row of
|
||||
the keeper's plan tests (a ledger with `max-mib` 1024 plans its state and index buckets at 1 GiB, one with none at the
|
||||
default); live, `mesh-broker.show` of the gate's records names its state bucket at 1 GiB and the condition clears.
|
||||
Principles 7 and 11.
|
||||
- **H-A-637 (the pipeline runner's test-run test waits on what it causes, never on a clock across a restart, 01:59)** 24 Nov,
|
||||
issue 1984; answers the failure of main.512 (mesh-delivery-pipeline's integration step on a loaded build node, "1 failed:
|
||||
TestTestRunsAreAskedOncePerLevelAndMoveEveryReader", which the same commit passed in main.511): the test writes the
|
||||
setting test-step-bound "2s", restarts the runner inside the test while that clock runs, and needs the restarted
|
||||
runner to hear its first step-progress before the clock ends; under load it did not (testruns_integration_test.go:411,
|
||||
60 s); two more waits of the same test fail under load (:357, the ask read once; :519, cause not known). The test
|
||||
restarts the runner under a bound longer than the restart (the setting rewritten to the short bound between the stop
|
||||
and the start), its start waits for the new runner's own take-in line, the ask is waited for as every other wait is,
|
||||
a wait whose run has ended stops at once naming it, and :519's cause is read before it is changed (principle 3: a
|
||||
check fails only for the change it checks, never for the machine's load; principle 7: the test's own waits, no new
|
||||
seam). Test-only: no behaviour of the runner changes. How it is checked: the test passes 10 of 10 runs pinned to one
|
||||
core under three busy loops, and fails at once when the runner's real behaviour it checks is taken out. Principles 3
|
||||
and 7.
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user