Design 47 H2: H-A-707 to H-A-710 take the review by architectural domain's 16 musts
The one round on c5e9d2b2..a935ab99 found lines that still left their builders a choice: which entry is a key's newest and on which branch, which pipeline hears a shared build's publish, which reads actually hold a call before a holder's start, one deadline for a run's reads and who writes call-unanswered, the mover rows the delivery view reads, the cursors of show and stands, the gate's decoder, where a cut body's marks sit, and how the asks of H2's own delivery end. Each is now a line; the notes taken with them. H-A-707 moves whole into the sixth file with its fixes, leaving a pointer in the fifth, which stays under its bound.
This commit is contained in:
@@ -6,7 +6,6 @@ milestone: H
|
||||
updated: 2026-11-25
|
||||
decisions:
|
||||
- "ADR 0690"
|
||||
- "ADR 0573"
|
||||
- "ADR 0597"
|
||||
- "ADR 0595"
|
||||
- "ADR 0686"
|
||||
@@ -505,52 +504,6 @@ bb11615, the node-engine d27af83, mesh-contracts 52e5224) and of mesh-tools 3934
|
||||
|
||||
## The prepare's design questions no principle settles: DQ-43 to DQ-46 (2026-11-25 from 14:50 CET)
|
||||
|
||||
The preparer's rows DQ-43 to DQ-46 (hq `.work/47-H2-corrections/milestone.md`) name four questions of scope item 13 and
|
||||
issue 1984's notes that no principle settles; each is answered as a design line of the milestone, a choice within
|
||||
what the records it names decide (playbook 02, *Answering a design question*, item 1), read at mesh-delivery 3b1f03ce,
|
||||
mesh-sdk bb11615, mesh-tools 393449e, the node-engine d27af83 and mesh-catalog 17e1bfb6. H-A-707 is below; H-A-708 to
|
||||
H-A-710 continue in [H2-lead-answers-6.md](H2-lead-answers-6.md), since this file reaches its 60 KB bound with it.
|
||||
|
||||
- **H-A-707 (DQ-43: a key's build holds one entry and its origin; a blank pin is the publisher's build in that
|
||||
revision, or the pin a newer entry of the key names, 25 Nov)** Where met (issue 1984 note 30, read at mesh-delivery
|
||||
7b1756e5): six builds of main.511 failed after 10 minutes, "<publisher> publishes no version of it at source revision
|
||||
155 of main within 10m0s". mesh-config's fingerprint was the same at revisions 510 and 511, its contracts pins blank
|
||||
at 510 and filled (v0.1.109) at 511; `Reconsider` (`internal/build/run.go`) started the key's build from its copy of
|
||||
`known`, revision 510's entry, while `take` moved `origin[key]` to source 155, and `awaitPublished`
|
||||
(`revisionwait.go`) filled the blank pin through `Reserver.VersionAt` (`internal/versions/reserve.go`), which matches
|
||||
the publisher's reservation or release at that exact branch and source: every publisher had published at source
|
||||
154, none at 155. The next build, from revision 511's entry, built at once. ADR 0573 §2 has a module built against
|
||||
the latest published version of each package it uses and ADR 0666 §15 has it wait for its dependency's publish;
|
||||
which entry a build reads and how a blank pin is matched are the design's (H-A-521, H-A-547 (3), H-A-551 and
|
||||
H-A-165 placed them; this line amends them).
|
||||
(1) **A build holds one entry and its origin.** The builder keeps, per build key, the newest entry heard and the
|
||||
origin it came with (branch, source and catalog revision) as one value, written together at each `take` in place of
|
||||
`origin` by key. A build the builder starts by itself (at a `take`, `Reconsider`, `NodesChanged` or a package's
|
||||
publish) reads its key's newest value when it starts, whatever value woke it; a build a step asks (`buildEntry`,
|
||||
`step.go`) holds the step's entry with the step's branch, source and revision. Its reservation, its pins and its
|
||||
revision wait read the value it holds, never `origin` as it stands at that moment; `originOf` goes.
|
||||
(2) **A newer entry's pin ends the wait.** While a build waits for a blank pin's version, each wake (a `take`, a
|
||||
registry seat's `package-published`) reads its key's newest entry: when that entry, of the same fingerprint, names a
|
||||
version for the package, that version is the pin and the wait ends, said once in the journal ("<module> at
|
||||
<fingerprint>: <package> takes <version>, the pin of the entry of revision <r>, heard while the build from revision
|
||||
<r0> waited"). The build keeps its own origin, since its reservation names it (H-A-218), and is neither ended nor
|
||||
started again: a key claimed is not left to undo, and the same fingerprint builds the same source.
|
||||
(3) **Else a blank pin is the version of the publisher's build that the build's revision names.** The builder finds
|
||||
the module that publishes the package (`Members`) and its fingerprint in the catalog revision the build holds (in its
|
||||
picture of that branch while the picture holds that revision, else in the revision read by number through the seat
|
||||
`mesh-catalog`'s `revision`, kept once read, as the revision wait reads it, H-A-205), and fills the pin with the
|
||||
version `Reserver.PublishedOf` answers for that module, artifact and fingerprint: the rule of the seat
|
||||
`mesh-builds`' `published` (H-A-328), by which the assigner fills a blank pin (H-A-628 (2)), so the two parts keep
|
||||
one rule. While neither (2) nor (3) gives a version the build waits, within `package-wait-minutes` (H-A-165), and past
|
||||
it fails the key: "package <path> has no published version: <publisher> at <fingerprint> (revision <r>) is not
|
||||
published within <bound>". Fate: `Reserver.VersionAt` and `versionAtOrigin` go, this fill being their one caller;
|
||||
H-A-547 (3)'s and H-A-551's "the reservation of the module that publishes it at the source revision of the key's own
|
||||
origin" reads "the publisher's build that the build's revision names"; the released record's source stays.
|
||||
How it is checked: rows of the builder's unit tests (`internal/build`): a build woken by revision 510's value after a
|
||||
`take` of revision 511 with the same fingerprint builds from revision 511's entry and origin; a build waiting on a
|
||||
blank pin takes the version a newer entry of its key names, says the line once and writes no failure; a blank pin
|
||||
whose publisher's fingerprint was published at another source is filled at once with that version; one never
|
||||
published fails past the bound naming the publisher and its fingerprint. A case of the builder's whole test
|
||||
(`cmd/mesh-delivery-builder/integration_test.go`): an entry taken in again at a later revision with the same
|
||||
fingerprint while the earlier build waits builds once, with no key written failed. Live, after H2's delivery: no
|
||||
build fails "publishes no version of it at source revision". ADR 0573 §2; ADR 0666 §15; principles 3 and 7.
|
||||
H-A-707 to H-A-710 answer the preparer's rows DQ-43 to DQ-46 (hq `.work/47-H2-corrections/milestone.md`) in
|
||||
[H2-lead-answers-6.md](H2-lead-answers-6.md)'s section of the same name: H-A-707, first written here, moved there whole
|
||||
with the fixes of its review by architectural domain, since this file is near its 60 KB bound.
|
||||
|
||||
@@ -5,6 +5,9 @@ design: 47
|
||||
milestone: H
|
||||
updated: 2026-11-25
|
||||
decisions:
|
||||
- "ADR 0573"
|
||||
- "ADR 0666"
|
||||
- "ADR 0603"
|
||||
- "ADR 0664"
|
||||
- "ADR 0668"
|
||||
- "ADR 0615"
|
||||
@@ -14,101 +17,225 @@ decisions:
|
||||
- "ADR 0656"
|
||||
- "ADR 0539"
|
||||
- "ADR 0377"
|
||||
- "ADR 0564"
|
||||
- "ADR 0259"
|
||||
- "ADR 0429"
|
||||
---
|
||||
# Design 47, milestone H2: lead answers, continued a fifth time
|
||||
|
||||
This file continues [H2-lead-answers-5.md](H2-lead-answers-5.md) from H-A-708 on, since that file reached its 60 KB
|
||||
bound with H-A-707: every later answer is written here. Each line names the record, the operator's answer or the
|
||||
This file continues [H2-lead-answers-5.md](H2-lead-answers-5.md) from H-A-707 on, since that file is near its 60 KB
|
||||
bound: every later answer is written here. Each line names the record, the operator's answer or the
|
||||
principle that settles it.
|
||||
|
||||
## The prepare's design questions no principle settles: DQ-43 to DQ-46, continued
|
||||
## The prepare's design questions no principle settles: DQ-43 to DQ-46
|
||||
|
||||
H-A-708 to H-A-710 answer DQ-44 to DQ-46 as [H2-lead-answers-5.md](H2-lead-answers-5.md)'s section of the same name
|
||||
says (H-A-707 answers DQ-43 there), read at the same mains.
|
||||
The preparer's rows DQ-43 to DQ-46 (hq `.work/47-H2-corrections/milestone.md`) name four questions of scope item 13 and
|
||||
issue 1984's notes that no principle settles; each is answered as a design line of the milestone, a choice within what
|
||||
the records it names decide (playbook 02, *Answering a design question*, item 1), read at mesh-delivery 3b1f03ce,
|
||||
mesh-sdk bb11615, mesh-tools 393449e, the node-engine d27af83 and mesh-catalog 17e1bfb6. The review by architectural
|
||||
domain of hq c5e9d2b2..a935ab99 (one round, 2026-11-25 about 15:20 CET; its reports in hq
|
||||
`.work/47-H2-corrections/reads/review-707-*.md`) found 16 musts and 13 notes; each must and the notes taken are written
|
||||
into the lines below, which read as amended. H-A-707 moved here whole from [H2-lead-answers-5.md](H2-lead-answers-5.md)
|
||||
with them.
|
||||
|
||||
- **H-A-708 (DQ-44: a starting holder answers what it holds and says `away` for a view it waits on; a composition's
|
||||
reads wait within `reads-bound`, 25 Nov)** Where met (issue 1984 note 28): main.509's compositions of four movers
|
||||
ended could-not-run at 23:42 on 2026-11-23, "the definition of the seat git is not read: mesh-catalog.seat-definitions
|
||||
unanswered within its bound of 30s ... unanswered after 3m0.001s", asked at 23:39 while the indexer, holder of the
|
||||
seat `mesh-catalog`, restarted at 23:35:31 and ran its start (its build log, its findings, its re-pins, a take-in, its
|
||||
packages' publish at start) until the seat answered again at about 23:45; that the start held the answers is the
|
||||
lead's reading, not proven. The composition run's reads (`cmd/mesh-delivery-assigner/compositionreads.go`,
|
||||
`callRetry`) call again only while the fault's words match a list (`transient`), for a constant three minutes
|
||||
(`readsBound`). Note 11's kind D (a build step's publish met by a tool runner's restart) is §799's, with H-A-603's
|
||||
- **H-A-707 (DQ-43: a build holds one entry and its origin; a blank pin is the pin a newer entry of its branch names, or
|
||||
the publisher's build in the build's revision; the publish reaches every pipeline sharing the build, 25 Nov)** Where
|
||||
met (issue 1984 note 30, read at mesh-delivery 7b1756e5): six builds of main.511 failed after 10 minutes, "<publisher>
|
||||
publishes no version of it at source revision 155 of main within 10m0s". mesh-config's fingerprint was the same at
|
||||
revisions 510 and 511, its contracts pins blank at 510 and filled (v0.1.109) at 511; `Reconsider`
|
||||
(`internal/build/run.go`) started the key's build from its copy of `known`, revision 510's entry, while `take` moved
|
||||
`origin[key]` to source 155, and `awaitPublished` (`revisionwait.go`) filled the blank pin through
|
||||
`Reserver.VersionAt` (`internal/versions/reserve.go`), which matches the publisher's reservation or release at that
|
||||
exact branch and source: every publisher had published at source 154, none at 155. The next build, from revision 511's
|
||||
entry, built at once. `take` also writes `origin[key]` from an entry of an older revision (`run.go`, the key's write
|
||||
beside `trunkFP`), and the runner writes a `package-published` only into the pipeline of the revision it names
|
||||
(`internal/pipeline/start.go`, `heardPublished`). ADR 0573 §2 has a module built against the latest published version
|
||||
of each package it uses and ADR 0666 §15 has it wait for its dependency's publish; which entry a build reads, how a
|
||||
blank pin is matched, where the wait is read and which pipeline hears the publish are the design's (H-A-521,
|
||||
H-A-547 (3), H-A-551 and H-A-165 placed them; this line amends them).
|
||||
(1) **A build holds one entry and its origin.** At its start a build takes, under one lock, the entry and the origin
|
||||
(branch, source and catalog revision) it builds from, and its reservation, its pins and its revision wait read those,
|
||||
never `origin` as it stands later; `originOf` goes. A build the builder starts by itself (at a `take`, `Reconsider`,
|
||||
`NodesChanged` or a package's publish) takes the entry its picture holds for the module on the branch of the key's
|
||||
origin (`heard`, with `heardAt` as its origin) when that entry is of the key's fingerprint, else the entry that woke
|
||||
it with the key's origin; a build a step asks (`buildEntry`, `step.go`) takes the step's entry with the step's branch,
|
||||
source and revision. No entry is kept per key: `heard` holds one per module and branch, and an entry of an older
|
||||
revision never replaces it (H-A-557).
|
||||
(2) **The key's origin is never moved back, and its writers and readers stay.** `take` writes `origin[key]` only from
|
||||
an entry not older than the origin it holds (`newerRevision`, H-A-557), where today it writes it from any entry;
|
||||
`keptRevisionHolds` writes it for a key that holds none and `askedRevision` sets its revision where its branch and
|
||||
source are the ask's, as today; `supersededBy`, `holdsRevision` and `supersedingRevision` read it as today, since they
|
||||
judge the key, not one build. It keeps one origin per fingerprint taken in for the builder process's life, as today,
|
||||
and nothing else deletes it: `supersededBy` reads a missing origin as none superseded.
|
||||
(3) **A newer entry's pin ends the wait.** While a build waits for a blank pin's version, each wake (a `take`, a
|
||||
registry seat's `package-published`) reads the entry its picture holds for the module on the branch of the origin the
|
||||
build holds: when that entry is of the key's fingerprint and names a version for the package, that version is the pin
|
||||
and the wait ends, said once in the journal ("<module> at <fingerprint>: <package> takes <version>, the pin of the
|
||||
entry of revision <r>, heard while the build from revision <r0> waited"). An entry of another branch is never read for
|
||||
it. The build keeps its own origin, since its reservation names it (H-A-218), and is neither ended nor started again:
|
||||
its key is claimed, and the same fingerprint builds the same source.
|
||||
(4) **Else a blank pin is the version of the publisher's build in the build's revision.** The builder finds the module
|
||||
that publishes the package (`Members`) and its fingerprint in the catalog revision the build holds (in its picture of
|
||||
that branch while the picture holds that revision, else in the revision read by number through the seat
|
||||
`mesh-catalog`'s `revision`, kept once read, as the revision wait reads it, H-A-205), and fills the pin with the
|
||||
version `Reserver.PublishedOf` answers for that module, artifact and fingerprint: the rule of the seat `mesh-builds`'
|
||||
`published` (H-A-328), by which the assigner fills a blank pin (H-A-628 (2)), so the two parts keep one rule. While
|
||||
neither (3) nor (4) gives a version the build waits, within `package-wait-minutes` (H-A-165), and past it fails the
|
||||
key: "package <path> has no published version: <publisher> at <fingerprint> (revision <r>) is not published within
|
||||
<bound>", or, where no module of that revision publishes the package, "package <path> has no published version: no
|
||||
module of revision <r> publishes it within <bound>". Fate: `Reserver.VersionAt` and `versionAtOrigin` go, this fill
|
||||
being their one caller; H-A-547 (3)'s and H-A-551's "the reservation of the module that publishes it at the source
|
||||
revision of the key's own origin" reads "the publisher's build that the build's revision names"; the released record's
|
||||
source stays.
|
||||
(5) **The wait is held where the tools read it.** The wait is kept in the builder's state `waits` in the one wait form
|
||||
(`ToolchainWait`, key `<module>.<fingerprint>`, said `wait-held`), as a key queued behind a package is (ADR 0603 §8):
|
||||
`package` its path, `since`, and three fields the form gains, `publisher` (`<module>@<fingerprint>`), `revision` (the
|
||||
catalog revision the build holds) and `until` (its start plus `package-wait-minutes`). It ends (`End`, said
|
||||
`wait-ended`) with `how` `published` once (3) or (4) gives the version, and `failed` past the bound, its key then
|
||||
failed. `builder_waits` answers it, and `builder_stuck`'s row of a key building with no ask gains `waits`, that wait
|
||||
read from the state `waits`, so a key waiting for a pin is told apart from one stuck.
|
||||
(6) **The publish reaches every pipeline sharing the build.** The seat `mesh-builds`' `package-published` gains
|
||||
`fingerprint`, the reservation's, and the seat's form rises by one (§780); the runner writes a package-published into
|
||||
the running pipeline of the revision it names, as `heardPublished` does, and then into every other running pipeline of
|
||||
its branch that moves the publishing module at that fingerprint, so a later pipeline whose build step joined the build
|
||||
places its importers. The builder, the assigner and the indexer, which also hear the event, read the field not and
|
||||
decode it tolerantly.
|
||||
How it is checked: rows of the builder's unit tests (`internal/build`): a build woken by revision 510's value after a
|
||||
`take` of revision 511 with the same fingerprint builds from revision 511's entry and origin; a `take` of an older
|
||||
revision's entry leaves `origin` as it was; a build waiting on a blank pin takes the version a newer entry of its
|
||||
branch names, and never one of another branch; a blank pin whose publisher's fingerprint was published at another
|
||||
source is filled at once; one never published fails past the bound naming the publisher and its fingerprint; the wait
|
||||
stands in `waits` with its fields while it lasts and `builder_stuck` names it; a row of the runner's publish unit
|
||||
tests: a package-published whose fingerprint two running pipelines move marks both. A case of the builder's whole test
|
||||
(`cmd/mesh-delivery-builder/integration_test.go`): an entry taken in again at a later revision with the same
|
||||
fingerprint while the earlier build waits builds once, no key is written failed, and the later pipeline's importer is
|
||||
placed. Live, after H2's delivery: at the next take-in that keeps the fingerprint of a mover whose build waits, the
|
||||
builder's journal says its "takes <version>" line, `builder_stuck` shows the wait until it ends, and
|
||||
`builder_builds_since` reads the key ended done once. ADR 0573 §2; ADR 0666 §15; ADR 0603 §8; principles 3, 4 and 7.
|
||||
- **H-A-708 (DQ-44: a starting holder answers what it holds and says `away` for what it has not read; a run's reads
|
||||
share one deadline within `reads-bound`; `call-unanswered` is the assigner's, 25 Nov)** Where met (issue 1984 note
|
||||
28): main.509's compositions of four movers ended could-not-run at 23:42 on 2026-11-23, "the definition of the seat
|
||||
git is not read: mesh-catalog.seat-definitions unanswered within its bound of 30s ... unanswered after 3m0.001s",
|
||||
asked at 23:39 while the indexer, holder of the seat `mesh-catalog`, restarted at 23:35:31 and ran its start (its
|
||||
build log, its findings, its re-pins, a take-in, its packages' publish at start) until the seat answered again at
|
||||
about 23:45; that the start held the answers is the lead's reading, not proven. Two reads can hold a call so: the
|
||||
indexer's tools answer `seat-definitions` from mesh-sdk's `stdio.WatchedStates` (`go/watched.go`, `watched`), which
|
||||
waits with no bound until the state's copy has its current values, and `revision` from the indexer's
|
||||
`KeptTrunk.current` (`internal/index/catalog_revisions.go`), which waits behind the start's whole read of the trunk.
|
||||
The composition run's reads (`cmd/mesh-delivery-assigner/compositionreads.go`, `callRetry`) call again only while the
|
||||
fault's words match a list (`transient`), for a constant three minutes per call (`readsBound`), and the kept-call form
|
||||
writes no finding. Note 11's kind D (a build step's publish met by a tool runner's restart) is §799's, with H-A-603's
|
||||
`again-delays`. The records settle the classes and the caller's duty: the transport faults are ADR 0664 §1's and
|
||||
ADR 0668 §1's, `away` among them since their insights of 2026-11-21; a kept call is called again through each until it
|
||||
is answered or its caller stops, and is the finding `call-unanswered` at five minutes (ADR 0668 §1, §3); an owner
|
||||
answers its first-view verbs from what it holds as soon as it is connected (ADR 0615 §4). A holder that is starting
|
||||
gets no class of its own, as one that is stopping got none (H-A-570): it is met as one of these.
|
||||
(1) **A starting holder answers what it holds.** A verb or tool whose answer its holder reads from its own state
|
||||
(1) **A starting holder answers what it holds.** A verb or tool whose answer its holder reads from what it has read
|
||||
answers from the moment its process or bundle is connected: a start pass (a sweep, a take-in, a publish at start, a
|
||||
log read whole) runs beside the answers and never holds one, as ADR 0615 §4 has it for the first-view verbs; the
|
||||
holder says its start's phases in its journal and in its runtime's first-view tool (G §200).
|
||||
(2) **What it waits on it answers `away`, at once.** A verb or tool whose answer needs a first view of another part
|
||||
that its holder has not had yet (G §200) answers at once with the error kind `away` (§776), `part` naming that view
|
||||
and `words` "not read yet since <time>", never holding the call to the caller's deadline: mesh-sdk's views
|
||||
(`views.Follower`) and a bundle's first views answer a read made before their first view with that fault, and
|
||||
`AnswerSeat`, stdio's serve and the tool runner's answer of a bundle's tool write it as §776 writes `away`. A holder
|
||||
not yet connected is met by no responders.
|
||||
(3) **A composition's and a validation's reads are kept calls within `reads-bound`.** Every read the assigner's
|
||||
composition and validate runs make of the seats `mesh-catalog` (`revision`, `seat-definitions`, `entry`) and
|
||||
`mesh-builds` (`published`) goes through §775's kept-call form, marked safe to repeat and paced as §775 says, bounded
|
||||
by the assigner's setting `reads-bound` (1 to 9 minutes, default 8): it spans the six minutes the seat went unanswered
|
||||
that night (23:39 to about 23:45) and stays under the runner's `ask-unanswered-bound` default of 10 minutes (§775,
|
||||
§778), so the step ends with its own words. The form's journal line names the seat's holder and its machine as the
|
||||
seat list names them (`seatlist.HolderOf`) and the last fault ("mesh-catalog.seat-definitions: its holder
|
||||
mesh-delivery-indexer on <node> answered away: the catalog half of main not read yet since 23:35:40; 6 calls since
|
||||
23:39:14"); `call-unanswered` is written at five minutes (ADR 0668 §3). Past the bound the step ends could-not-run
|
||||
with every call's time and words (§775), and the runner's `rerun` asks it again. Fate: `readsBound`, `readsFirstWait`,
|
||||
`readsMaxWait`, `callRetry` and `transient` go. The runner's widens read stays as A-472 has it (`widens-read-bound`: a
|
||||
pipeline's end waits on no other part), its widening naming `away` where a holder said it.
|
||||
Built in H2 in mesh-sdk, the tool runner and the assigner. How it is checked: rows of mesh-sdk's views unit tests: a
|
||||
read before the first view answers `away` naming the view at once, and one after it answers; a row of mesh-sdk's
|
||||
process unit tests: a seat verb that reads its own state answers while a stub start pass is blocked; rows of the
|
||||
assigner's composition run unit tests: `seat-definitions` met by no responders for two minutes and then answered
|
||||
composes; met by `away`, the journal line names the part; met past `reads-bound`, the step ends could-not-run naming
|
||||
the holder, the last fault and the calls; a case of `TestTheCompositionStepComposesEachMachineThroughTheBuildSeat`:
|
||||
the seat `mesh-catalog`'s holder stopped for 60 s while a composition reads, the step passes. Live, after H2's
|
||||
delivery: the indexer started again while a pipeline composes leaves its composition steps passing. ADR 0664 §1;
|
||||
ADR 0668 §1, §3; ADR 0615 §4; principles 3, 4 and 11.
|
||||
- **H-A-709 (DQ-45: `show` names only its page's movers; `show` and `stands` answer within a bound; `pipeline-started`
|
||||
carries what its readers read; `mesh_wait` cuts a long body and hears every seat of the seat list, 25 Nov)** Where met
|
||||
(the watchers' reads of 2026-11-23; issue 595's notes of 2026-11-19 and 2026-11-23): the runner's `show`
|
||||
(`internal/pipeline/read.go`, `Show`) answers the pipeline's record with every mover whole (each with its `published`,
|
||||
`widens` and `tests`), whatever its filters, and pages only past §789's 768 KB, so `show` with `step` and `state` on a
|
||||
pipeline of 70 movers answered over 220,000 characters, more than a session reads in one answer; `stands` takes no
|
||||
filter and no bound; `pipeline-started` carries every mover whole (100,000 to 675,000 characters on a big pipeline,
|
||||
again at each re-pin), as `pipeline-ended` does; and `mesh_wait` refuses `operator-channel.decided` ("operator-channel
|
||||
is neither a seat nor a module of the catalog half"): its emitter check (mesh-tools
|
||||
`node-tools/internal/console/wait.go`, `emitters`) reads mesh-sdk's `catalogue.Seats()`, which leaves out a seat its
|
||||
holder declares (`SeatsFromDefinitions`), `operator-channel` among them, while the bus grants the tool runner that
|
||||
subject (ADR 0670 §1). §789 and §811 (filters applied while reading; 768 KB with `capped`, `total` and the cursor of
|
||||
§779) and ADR 0367 §1, §4 and ADR 0670 §2 (`mesh_wait` waits on any event of a seat or a module, and an event only
|
||||
wakes a session) place these tools; their bounds and forms are the design's (principle 4).
|
||||
(2) **A read that cannot answer yet answers `away` at once.** Each read below answers, before what it reads is in,
|
||||
mesh-sdk's `away` fault (`busretry.Away`, §776), `part` naming what is not read and `words` "not read yet since
|
||||
<time>", where today it waits or answers a word callers take as a refusal: `stdio.WatchedStates` gains
|
||||
`Unread(state)`, which a handler asks before it reads and which answers the fault while the state's copy has not taken
|
||||
in its current values (the module's own start keeps the waiting read); the indexer's `KeptTrunk.current` answers the
|
||||
fault naming "the trunk's revision <n>" while the start's read holds it, and reads once with no read running, as
|
||||
today; `views.Follower` keeps `Get` and `Values` as they are for their callers' own logic (an empty picture before the
|
||||
first view: 29 files of ten modules, which change no code) and gains `Unread()`, which a handler asks and which
|
||||
answers the fault naming the view's owner verb until `Ready` closes; and the grants part's `ErrFirstViewNotYet`
|
||||
(`internal/grants/firstviews.go`) and mesh-config's `errUnanswered` (`ownerviews.go`), each a holder's word that a
|
||||
first view is not read, are answered as that fault. `AnswerSeat`, stdio's serve and the tool runner's answer of a
|
||||
bundle's tool write it as §776's `away` (`error-kind`, `part`, `words`). The indexer's tools' `seat-definitions`
|
||||
(`internal/index/catalog.go`) and `revision` (`revision_verb.go`) read through these. A holder not yet connected is
|
||||
met by no responders.
|
||||
(3) **A run's reads share one deadline.** Every read the assigner's composition and validate runs make of the seats
|
||||
`mesh-catalog` (`revision`, `seat-definitions`, `entry`) and `mesh-builds` (`published`) goes through §775's kept-call
|
||||
form, marked safe to repeat and paced as §775 says, and all of one run's reads stop at one deadline: its first read's
|
||||
time plus the assigner's setting `reads-bound` (1 to 9 minutes, default 8, which spans the six minutes the seat went
|
||||
unanswered that night, 23:39 to about 23:45). Its description and that of the runner's `ask-unanswered-bound` (default
|
||||
10 minutes, counted from the pull, §778) say the first is kept below the second, so the step ends with the assigner's
|
||||
words; a person who sets it above has the runner's bound end the step with its own (§778). The form's journal line
|
||||
names the seat's holder and its machine as the seat list names them (`seatlist.HolderOf`) and the last fault
|
||||
("mesh-catalog.seat-definitions: its holder mesh-delivery-indexer on <node> answered away: the trunk's revision 512
|
||||
not read yet since 23:35:40; 6 calls since 23:39:14"). Past the deadline the run ends could-not-run with every call's
|
||||
time and words (§775), and the runner's `rerun` asks it again. Fate: `readsBound`, `readsFirstWait`, `readsMaxWait`,
|
||||
`callRetry` and `transient` go. The runner's widens read stays as A-472 has it (`widens-read-bound`: a pipeline's end
|
||||
waits on no other part), its widening naming `away` where a holder said it.
|
||||
(4) **`call-unanswered` is the assigner's.** The kept-call form calls a hook when a call has waited five minutes and
|
||||
when it is answered, which the assigner wires into its findings writer, as H-A-683 (3) wires `event-overrun`: the
|
||||
finding `call-unanswered`, id `<seat>.<verb>` (one per seat verb), its summary naming the holder, its machine, the
|
||||
last fault and since when (ADR 0668 §3); cleared at the next answer of that seat verb, or once no run waits on it any
|
||||
more, the step's could-not-run then saying it. The kind joins the assigner's writer's kinds, which the condition
|
||||
keeper reads (ADR 0564 §2).
|
||||
Built in H2 in mesh-sdk (`stdio`, `views`, the serve layers, the kept-call form's hook), the indexer, the grants part,
|
||||
mesh-config, the tool runner and the assigner; every module is rebuilt with mesh-sdk's change once (§818). How it is
|
||||
checked: rows of mesh-sdk's unit tests: `Unread` of a state and of a view answers `away` naming it at once before the
|
||||
first read, and nothing after it; a seat verb that reads what its holder has read answers while a stub start pass is
|
||||
blocked; a row of the grants part's tests: the seat `mesh-grants`' `withheld`, asked before its first view, answers
|
||||
`away`; a case of the indexer's whole test: `seat-definitions` and `revision` answer, or answer `away`, within seconds
|
||||
while its start's read of the trunk is held; rows of the assigner's composition run unit tests: `seat-definitions` met
|
||||
by no responders for two minutes and then answered composes; two reads met by `away` in turn end the run could-not-run
|
||||
with the assigner's words at `reads-bound`, before 10 minutes, naming the holder, the last fault and the calls;
|
||||
`call-unanswered` is written at five minutes with its id and cleared at the answer; a case of
|
||||
`TestTheCompositionStepComposesEachMachineThroughTheBuildSeat`: the seat `mesh-catalog`'s holder stopped for 60 s
|
||||
while a composition reads, the step passes. Live, after H2's delivery: the indexer started again while a pipeline
|
||||
composes leaves its composition steps passing. ADR 0664 §1; ADR 0668 §1, §3; ADR 0615 §4; ADR 0564 §2; principles 3, 4
|
||||
and 11.
|
||||
- **H-A-709 (DQ-45: `show` names only its page's movers; `show` and `stands` answer within a bound and page by a cursor
|
||||
of their own; `pipeline-started` carries what its readers read; `mesh_wait` cuts a long body and hears every seat of
|
||||
the seat list, 25 Nov)** Where met (the watchers' reads of 2026-11-23; issue 595's notes of 2026-11-19 and
|
||||
2026-11-23): the runner's `show` (`internal/pipeline/read.go`, `Show`) answers the pipeline's record with every mover
|
||||
whole (each with its `published`, `widens` and `tests`), whatever its filters, and pages only past §789's 768 KB, so
|
||||
`show` with `step` and `state` on a pipeline of 70 movers answered over 220,000 characters, more than a session reads
|
||||
in one answer; `stands` takes no filter and no bound; `pipeline-started` carries every mover whole (100,000 to 675,000
|
||||
characters on a big pipeline, again at each re-pin), as `pipeline-ended` does; and `mesh_wait` refuses
|
||||
`operator-channel.decided` ("operator-channel is neither a seat nor a module of the catalog half"): its emitter check
|
||||
(mesh-tools `node-tools/internal/console/wait.go`, `emitters`) reads mesh-sdk's `catalogue.Seats()`, which leaves out
|
||||
a seat its holder declares (`SeatsFromDefinitions`), `operator-channel` among them, while the bus grants the tool
|
||||
runner that subject (ADR 0670 §1). §789 and §811 (filters applied while reading; 768 KB with `capped`, `total` and a
|
||||
cursor) and ADR 0367 §1 (`mesh_wait` answers an event with its subject, body and time), §4 and ADR 0670 §2
|
||||
(`mesh_wait` waits on any event of a seat or a module, and an event only wakes a session) place these tools; their
|
||||
bounds and forms are the design's (principle 4).
|
||||
(1) **`show` names only its page's movers.** The answer's `pipeline` carries in `movers` only the movers its page
|
||||
holds: with `mover`, that mover; with `step` or `state`, the movers whose steps the page holds; with neither, none,
|
||||
the page's mover rows (H-A-376) naming each. It carries `mover-count` and `step-count` (H-A-191) and no `unlogged`, as
|
||||
`list` answers a record; `runner_show` answers the same.
|
||||
(2) **`show` and `stands` answer within a bound.** Both take `bound`, the most bytes the answer holds (4,096 to
|
||||
786,432; default the runner's setting `answer-bound`, 32,768, read by its process and its tools program, §781), and
|
||||
answer `capped`, `total` and `next` (§779, §811); `stands` also takes `pipeline` and `module`, applied while reading,
|
||||
its waits in the order of their `since`. A module that reads either whole pages through `next` (the watchman's
|
||||
(`mesh-delivery-watchman`) seeding read of `stands`, the delivery view's and mesh-issues' reads of `show`). The seat
|
||||
`mesh-pipeline-runner`'s form rises by one for these fields (§780), its contract is generated again and its importers
|
||||
rebuild with it.
|
||||
the page's mover rows (H-A-376) naming each. A mover row (`MoverRow`) gains `fingerprint` and `version`, the mover's,
|
||||
which the delivery view's pipeline page reads from the row (`internal/view/pipelinespage.go`, `MoverRowsText`), where
|
||||
today it matches each row to `pipeline.movers`. The answer carries `mover-count` and `step-count` (H-A-191) and no
|
||||
`unlogged`, as `list` answers a record; `runner_show` answers the same.
|
||||
(2) **`show` and `stands` answer within a bound and page by a cursor of their own.** Both take `bound`, the most bytes
|
||||
the answer holds (4,096 to 786,432; default the runner's setting `answer-bound`, 32,768, read by its process and its
|
||||
tools program, §781), and answer `capped`, `total` and `next`, an opaque cursor; `stands` also takes `pipeline` and
|
||||
`module`, applied while reading. `show`'s `next` holds the place of the next row or step among those its filters hold
|
||||
and the record's revision in the state `pipelines`; a page asked with a `next` of another revision of the record
|
||||
answers from that place and says `moved` true, since rows and steps may have changed between the pages, and a reader
|
||||
that needs one whole picture reads again with no `next`. `stands` answers its waits in the order of their `since`,
|
||||
then their pipeline, module, step and artifact, and its `next` holds those of the last wait it answered: the next page
|
||||
answers the waits after it in that order, so a wait standing across both pages is answered once, one ended between
|
||||
them is gone, and one held since comes later, its `since` being newer. A module that reads either whole pages through
|
||||
`next`: the watchman (`mesh-delivery-watchman`) at its seeding read of `stands`, where a page that fails seeds nothing
|
||||
and is said, as `seedSteps` says a failed read today; the delivery view and mesh-issues at their reads of `show`. No
|
||||
edge orders them before the runner: the runner provides `stands` and `show`, so the module graph moves it first
|
||||
(ADR 0682 §8), and a reader built before reads one page; the watchman seeds at its start only, so only one restarted
|
||||
between the runner's want and its own (H2's pipeline moves it, as it imports the seat's contract) seeds the first
|
||||
page, and the runner says once per caller in its journal a capped answer to a call that named no `bound` and no
|
||||
`next`. The seat `mesh-pipeline-runner`'s form rises by one for these fields (§780), its contract is generated again
|
||||
and its importers rebuild with it.
|
||||
(3) **`pipeline-started` carries what its readers read.** Its `movers` are items of a definition of their own,
|
||||
`StartedMover`: `module`, `commit`, `fingerprint`, `repository`, `tier` and `version`. The gate reads `module`,
|
||||
`fingerprint` and `version` (mesh-catalog `modules/mesh-delivery-gate/cmd/mesh-delivery-gate/recordpipeline.go`,
|
||||
`pipelineStarted`); the indexer reads none of them (it pins by `revision` and `kept`). `published`, `widens`, `tests`,
|
||||
`unplaced`, `revision` and `over-budget` stay in the pipeline's record, read by `show`. A reader built before decodes
|
||||
the new body, which only lacks fields (the gate refuses unknown fields, never missing ones), so no order edge is
|
||||
needed; a mover takes about 250 bytes, so a pipeline of 100 movers says about 25 KB.
|
||||
`pipelineStarted`); the indexer reads none of them (it pins by `revision` and `kept`); the delivery view reads
|
||||
`pipeline` alone. `published`, `widens`, `tests`, `unplaced`, `revision` and `over-budget` stay in the pipeline's
|
||||
record, read by `show`. The gate reads the event with the contract's generated decoder (`DecodePipelineStartedEvent`),
|
||||
which leaves a field it does not know unread (§780), in place of its strict decode (`strictly`), so it takes the body
|
||||
of a runner built before as of one built after; a gate built before decodes the new body strictly, which only lacks
|
||||
fields. A mover takes about 250 bytes, so a pipeline of 100 movers says about 25 KB.
|
||||
(4) **`mesh_wait` answers a long body cut.** The tool runner's setting `wait-body-bound` (1,024 to 786,432 bytes,
|
||||
default 16,384), declared in its manifest beside `ask-bound`: a heard event whose body is larger is answered with the
|
||||
body's top-level fields that are no list and no object, `cut` naming each field left out with its encoded size, and
|
||||
`body-bytes`, the whole body's size; the filter is matched on the whole body first. An event only wakes a session
|
||||
(ADR 0367 §4, ADR 0670 §5), which reads the state from the verb that owns it, so nothing it acts on is lost: thus
|
||||
default 16,384), declared in its manifest beside `drain-bound`, bounds what a heard event answers, as one sentence
|
||||
says it: a heard body over `wait-body-bound` bytes is answered with those of its top-level fields, taken in order,
|
||||
that fit within the bound together, every other field, a list, an object or a value alike, named in `cut` with its
|
||||
encoded size and the whole body's size in `body-bytes`, both beside `body` in `heard`, never in the body. The filter
|
||||
is matched on the whole body first, and the tool's description says the cut. An event only wakes a session (ADR 0367
|
||||
§4, ADR 0670 §5), which reads the state from the verb that owns it, so nothing it acts on is lost: thus
|
||||
`pipeline-ended`, whose movers the assigner, the indexer and the gate read whole and which keeps them, is heard by a
|
||||
session with its `pipeline`, `branch`, `source`, `revision` and `outcome`.
|
||||
(5) **`mesh_wait` hears every seat of the seat list.** Its emitter check reads the definitions of the seat list the
|
||||
@@ -116,56 +243,82 @@ says (H-A-707 answers DQ-43 there), read at the same mains.
|
||||
declares, so `operator-channel.decided` (the definition's event `decided`, said per asker) is waited on; the read of
|
||||
`catalogue.Seats()` goes. An ask's raising is an accept, which the tool runner never hears (ADR 0670 §1): a session
|
||||
waits on the answer's `decided`, filtered by the ask's key.
|
||||
Built in H2 in the runner, the seat's definition, the watchman, the delivery view, mesh-issues and the tool runner.
|
||||
How it is checked: rows of the runner's read unit tests: `show` with `step` and `state` on a record of 129 movers
|
||||
names only the page's movers and answers under 32 KB; `show` and `stands` past `bound` answer `capped` and a `next`
|
||||
that reads the rest; `stands` by `pipeline` holds that pipeline's waits alone; a row of the watchman's seeding test
|
||||
reads two pages; a row of the runner's start unit tests: `pipeline-started` of 100 movers carries `StartedMover`'s
|
||||
fields alone, under 32 KB; rows of the tool runner's wait unit tests (`internal/console`): a heard body of 100 KB is
|
||||
answered cut naming the fields left out, a filter on a field left out still matches, and `operator-channel.decided`
|
||||
passes the emitter check with the bootstrapped seat list. Live, after H2's delivery: a watcher's `mesh_wait` on
|
||||
`operator-channel.decided` wakes on the operator's answer to a knowledge-base ask (issue 595's live case), and `show`
|
||||
of the next pipeline of more than 50 movers with `state` failed answers in one page. ADR 0367 §1, §4; ADR 0670 §1, §2,
|
||||
§5; principles 3, 4 and 7.
|
||||
- **H-A-710 (DQ-46: no container is handed `MESH_FINGERPRINT`, and a difference of that value alone recreates nothing
|
||||
and asks nothing, 25 Nov)** Where met (issue 1984 note 33): on 2026-11-23 and 24 four modules of policy `record`
|
||||
(plex, postgres, keycloak and nats) waited for the operator's yes for a move judged "it recreates" their container,
|
||||
whose one difference was `env.MESH_FINGERPRINT` (nats's read with the seat `node-engine`'s `composition-diff`). The
|
||||
node-engine writes the want's fingerprint into the env of every daemon and container it composes
|
||||
Built in H2 in the runner, the seat's definition, the gate, the watchman, the delivery view, mesh-issues and the tool
|
||||
runner. How it is checked: rows of the runner's read unit tests: `show` with `step` and `state` on a record of 129
|
||||
movers names only the page's movers and answers under 32 KB; `show` and `stands` past `bound` answer `capped` and a
|
||||
`next` that reads the rest; a record written between two pages of `show` answers `moved`; a wait held and one ended
|
||||
between two pages of `stands` are answered as (2) says; `stands` by `pipeline` holds that pipeline's waits alone; a
|
||||
row of the delivery view's pipeline page on 129 movers names each mover's fingerprint and version from its row; a row
|
||||
of the watchman's seeding test reads two pages, and a failed second page seeds nothing and is said; a row of the
|
||||
gate's record tests: a `pipeline-started` of the earlier form and one of the new take its movers alike; a row of the
|
||||
runner's start unit tests: `pipeline-started` of 100 movers carries `StartedMover`'s fields alone, under 32 KB; rows
|
||||
of the tool runner's wait unit tests (`internal/console`): a heard body of 100 KB is answered cut with `cut` and
|
||||
`body-bytes` in `heard`, a string of 20 KB is cut as a list is, a filter on a field left out still matches, and
|
||||
`operator-channel.decided` passes the emitter check with the bootstrapped seat list. Live, after H2's delivery: a
|
||||
watcher's `mesh_wait` on `operator-channel.decided` wakes on the operator's answer to a knowledge-base ask (issue
|
||||
595's live case), and `show` of the next pipeline of more than 50 movers with `state` failed answers in one page.
|
||||
ADR 0367 §1, §4; ADR 0670 §1, §2, §5; ADR 0682 §8; principles 3, 4 and 7.
|
||||
- **H-A-710 (DQ-46: no container is handed `MESH_FINGERPRINT`, a manifest may not name it, and a difference of that
|
||||
value alone recreates nothing and asks nothing, 25 Nov)** Where met (issue 1984 note 33): on 2026-11-23 and 24 four
|
||||
modules of policy `record` (plex, postgres, keycloak and nats) waited for the operator's yes for a move judged "it
|
||||
recreates" their container, whose one difference was `env.MESH_FINGERPRINT` (nats's read with the seat `node-engine`'s
|
||||
`composition-diff`). The node-engine writes the want's fingerprint into the env of every daemon and container it
|
||||
composes, and replaces a value a manifest declares only when the want names a fingerprint
|
||||
(`internal/compositions/composed.go`, `withFingerprint`; G §205), so every new fingerprint of a module (a tools
|
||||
bundle's change, mesh-sdk's rebuild of every module) changes its containers; its judgement of a move
|
||||
(`internal/judge/judge.go`, `JudgeMove`; ADR 0377 §3 as ADR 0539 §14 has it) says it recreates, and the apply
|
||||
recreates a container whose spec label differs (`internal/apply/apply.go`). ADR 0656 §1 has each process take its own
|
||||
build from the fingerprint handed at its start, so an acting part knows which of its versions acts; G §205 has
|
||||
mesh-sdk's runtime read it; the seat `node-engine`'s `process-builds` reads it from each running daemon and container
|
||||
(`internal/processbuilds`). Of the 83 containers the manifests declare (mesh-catalog 17e1bfb6, mesh-media-catalog
|
||||
c8c3318, mesh-networking 72d21c9), 75 run an outside image, seven an `upstream` copy and one (n8n's `server`) an
|
||||
`image` built on an outside base: none runs mesh-sdk's runtime, so no container takes its build from the value, and no
|
||||
acting part runs as a container. Which processes are handed it and how a move is judged are the design's.
|
||||
(1) **A daemon is handed `MESH_FINGERPRINT`; a container is not.** `withFingerprint` writes the value into a daemon's
|
||||
env alone; a container's composed env holds no `MESH_FINGERPRINT`, and one its manifest declares of that name is
|
||||
dropped, the value being the node-engine's to say. G §205's "a service or a container alike" reads "a service". A
|
||||
container that runs mesh-sdk's runtime would need the value; none is declared, so none is built for (principle 7).
|
||||
mesh-sdk's runtime read it; the seat `node-engine`'s `process-builds`, which only that seat's verb reads
|
||||
(`cmd/mesh-host/main.go`), reads it from each running daemon and container (`internal/processbuilds`). Of the 83
|
||||
containers the manifests declare (mesh-catalog 17e1bfb6, mesh-media-catalog c8c3318, mesh-networking 72d21c9), 75 run
|
||||
an outside image, seven an `upstream` copy and one (n8n's `server`) an `image` built on an outside base: none runs
|
||||
mesh-sdk's runtime, so no container takes its build from the value, and no acting part runs as a container (the build
|
||||
modules are daemons). No manifest on those mains declares the value. Which processes are handed it, what a manifest
|
||||
may name and how a move is judged are the design's.
|
||||
(1) **A daemon is handed `MESH_FINGERPRINT`; a container is not, and a manifest names it nowhere.** `withFingerprint`
|
||||
writes the want's fingerprint into a daemon's env, and takes `MESH_FINGERPRINT` out of every other env it composes: a
|
||||
container's always, and a daemon's when the want names no fingerprint, so no process reports a build it was never
|
||||
handed; a value so taken out is said in the journal once per module and node-engine process. The manifest validator
|
||||
refuses a manifest any of whose envs (a container's, a daemon's, a bundle's) names `MESH_FINGERPRINT`, with the
|
||||
problem "MESH_FINGERPRINT is the node-engine's to hand", counted as a new problem, so its step `validate` ends
|
||||
`manifest-refused` (H §745). G §205's "a service or a container alike" reads "a service". A container that runs
|
||||
mesh-sdk's runtime would need the value; none is declared, so none is built for (principle 7).
|
||||
(2) **A difference of the value alone is no change.** The judgement of a move compares two compositions' containers
|
||||
with `MESH_FINGERPRINT` taken out of each env, on both sides, so a running composition that holds it and a new one
|
||||
that does not are judged by everything else; and the apply takes as current a running container whose spec label
|
||||
(`before.Spec`) equals the composed container's spec with `MESH_FINGERPRINT` set to the value the container's env
|
||||
holds, as it takes a container labelled before the node-engine folded in what it reads, said once per container in the
|
||||
journal ("<container> keeps MESH_FINGERPRINT <fingerprint>: a container is handed none, H-A-710"); its label is
|
||||
written at its next recreate for another cause, which takes the value out. So H2's own delivery asks no yes for it,
|
||||
and no later move does.
|
||||
(3) **The readers say it.** `process-builds` answers a container with no `fingerprint` and with `unknown` "a container
|
||||
is handed no MESH_FINGERPRINT: what it runs is read with composition-diff", whatever its env holds; `composition-diff`
|
||||
names a container's `env.MESH_FINGERPRINT` difference "left from before H2, taken out at the container's next
|
||||
recreate". The seat `node-engine`'s definition says both in its descriptions of `ProcessBuild`'s `fingerprint` and
|
||||
`unknown`, which moves its contract package's digest, as H-A-677 already moves it in H2.
|
||||
Built in H2 in the node-engine and the seat's definition. How it is checked: a row of the compositions unit tests: a
|
||||
module's container composes no `MESH_FINGERPRINT` and its daemon does; rows of `JudgeMove`'s unit tests: two
|
||||
compositions whose containers differ only by that value are judged unchanged, and with one more env difference
|
||||
recreates; rows of the apply's unit tests: a running container labelled with that value is not recreated and is said
|
||||
once, and a changed image recreates it; a row of `processbuilds`' tests: a container answers no fingerprint, with the
|
||||
words. Live, after H2's delivery: the next pipeline that moves nats, postgres or keycloak with no change of its
|
||||
container delivers it with no ask of theirs in `operator-channel.asks`. ADR 0656 §1; ADR 0539 §14; ADR 0377 §3;
|
||||
holds, as it takes a container labelled before the node-engine folded in what it reads, said in the journal once per
|
||||
container and node-engine process ("<container> keeps MESH_FINGERPRINT <fingerprint>: a container is handed none,
|
||||
H-A-710"); its label is written at its next recreate for another cause, which takes the value out.
|
||||
(3) **The asks of H2's own delivery end by themselves.** On each machine the running node-engine applies its own want
|
||||
last (§771), and no want waits for an acting part's build (ADR 0682 §9), so the node-engine built before H2 judges the
|
||||
movers' new compositions of nats, postgres, keycloak and plex by its rule first, their haves say `waiting-yes`, and
|
||||
the assigner asks. The new node-engine, once it runs, judges them again by (2), applies them and writes their haves
|
||||
`running`; the assigner, hearing a have leave `waiting-yes` for the composition its ask names, cancels that ask (the
|
||||
operator channel's `cancel`, ADR 0259 §3) and says so in its journal. So during H2's delivery the operator may see up
|
||||
to one ask per such module and machine, each withdrawn once the new node-engine applies it, and none after.
|
||||
(4) **The readers say it.** `process-builds` answers a container's `fingerprint` as the one its module's have names
|
||||
(the composition the node-engine applied it from), since a container is handed none, and a daemon's as it was handed;
|
||||
`composition-diff` names a container's `env.MESH_FINGERPRINT` difference "left from before H2, taken out at the
|
||||
container's next recreate". The seat `node-engine`'s definition says both in its descriptions of `ProcessBuild`'s
|
||||
`fingerprint` and of `composition-diff`, which moves its contract package's digest, as H-A-677 already moves it in H2.
|
||||
(5) **A return to an earlier node-engine costs recreates.** A return of the node-engine to a build before H2 (the
|
||||
placement's one value, ADR 0682 §8) composes the value into containers again, so it recreates every container created
|
||||
since without it, and asks the operator's yes for each of a module of policy `record`: the cost of that return, which
|
||||
the person setting it takes.
|
||||
Built in H2 in the node-engine, the manifest validator, the assigner and the seat's definition. How it is checked:
|
||||
rows of the compositions unit tests: a module's container composes no `MESH_FINGERPRINT` and its daemon does; a daemon
|
||||
whose want names no fingerprint composes none, its declared value taken out and said once; a row of the manifest
|
||||
validator's tests: a manifest whose container env names `MESH_FINGERPRINT` is refused with the problem; rows of
|
||||
`JudgeMove`'s unit tests: two compositions whose containers differ only by that value are judged unchanged, and with
|
||||
one more env difference recreates; rows of the apply's unit tests: a running container labelled with that value is not
|
||||
recreated and is said once per process, and a changed image recreates it; a row of the node-engine's agent tests: a
|
||||
move waiting for a yes under a judgement of `recreates` from before is judged again by (2) and applied with no yes; a
|
||||
row of the assigner's tests: an ask whose have leaves `waiting-yes` is cancelled; a row of `processbuilds`' tests: a
|
||||
container answers its have's fingerprint. Live, after H2's delivery: `operator-channel.asks` holds no open ask of
|
||||
nats, postgres or keycloak once the new node-engine runs, and the next pipeline that moves one of them with no change
|
||||
of its container delivers it with no ask. ADR 0656 §1; ADR 0539 §14; ADR 0377 §3; ADR 0682 §8, §9; ADR 0259 §3;
|
||||
principles 2, 3 and 7.
|
||||
|
||||
## Lead answers, continued (2026-11-25 from 15:14 CET)
|
||||
|
||||
Reference in New Issue
Block a user