The answer is kept per machine with its time for the pass that first takes it; a settle's end uses it when received after the
failing check and no condition event named the machine since; the marks that judge waits again are read alike by every judging of
one pass and spent at the next pass's start; a decided record starts no read.
Builds: design 47 H2b §829
The bound is no deadline for a module that runs its wanted build or once it has run; a wait that ended arms nothing; past its bound
a wait is judged again on an input alone. (The mesh-sdk request counter of 828's last row is not in the assigner's reach: asked.)
Builds: design 47 H2b §828
Facts gain Running (the node-engine seat's last running names the wait's fingerprint, not stopped), Decision gains Withdraw;
a standing ask is withdrawn when the module comes to run, raised at once when it stops past the bound; running joins the
signature a judging reads, and the journal says each withdrawal and raise.
Builds: design 47 H2b §827
A4: each pass looks up the version released at a no-version mover's fingerprint, whichever source released it, keeps its end naming
this pipeline with the progress's seq (new field), and a mover a later pipeline moved on counts as run before the hold.
A5: take keeps no version released from another build, the journal naming both.
The end's keeping is one function, keepEnd, for take and the pass.
Builds: design 47 H2b §826 1., §826 2., §835 2., H-A-845
Start binds the indexer's durable on EVENTS and on each kept seat event's stream it handles, so
startHearing no longer calls StartKept, which mesh-sdk's hub no longer has.
Builds: design 47 H2b §836 1.
HearWanted keeps the want-revision beside at for each member: a wanted at a want-revision below the one
held changes nothing whatever its time, a repeat writes nothing new, and a removal is ordered against a
later want by it. An event naming none is ordered by at as before. A row holds that a tier-late said
after its running changes nothing.
Builds: design 47 H2b §832 5., H-A-832
hasOwnProcess counts a process without a bus of its own only when it runs for the module's whole life:
a process marked run-once or carrying a schedule runs to its end and never pulls a durable, so no
durable <node>_<module> is composed for a module whose processes are all such. Row in the
account-consumer subtest of TestGrants.
Builds: design 47 H2b §838
The bus module's process (the keeper) gets, beside its consumer on EVENTS, a durable on each kept
seat event's stream that carries a consume of its module, named as its durable on EVENTS, and the
grants to read and acknowledge it as any process's heard durable has. Row in
TestAProcessBusHearsWhatItsModuleConsumes.
Builds: design 47 H2b §836 5.
After a pass's last durable the part says the seat mesh-grants' event durables-composed.<node>.<module>
once for each module whose durable the pass created or gave filters, naming each durable with its
stream, and none for a pass that composed none. Rows in the account-consumer subtests of TestGrants.
Builds: design 47 H2b §836 2.
On a process reader NewBranches registers the seat mesh-catalog's catalog-revision event
(AdoptEvent) before the reader's Start, so a branch first followed after Start adopts its
view on a subscription the hub already holds and no first adopt of the event comes later;
the hub refuses a pattern first registered after Start. A row in the branch follower's
test starts a refusing hub before the branches come.
Builds: design 47 H2b §836 3., H-A-854, H-A-861
owed (read, no request fields) answers every owed event with its id, first-owed, tries
and next; owed-say (an id) answers the event said; owed-drop (an id and a why) answers the
events dropped. The new def OwedEvent carries id, first-owed, tries and next. Form stays 4.
Regenerated Go and TypeScript contract; verb fixture rows.
Builds: design 47 H2b §832 6., H-A-847
The seat's description of pipeline-wanted says it is said at most twice, tier-late then
running; wanted's body gains the integer want-revision, not required, form stays 4.
Regenerated Go and TypeScript contract; fixture rows read back a want-revision and a want
with none.
Builds: design 47 H2b §824 5., §832 3.
The tool writes the put as asked; StepPut's first step resolves newest to the end kept for the node's branch (refused naming the branch when none) and a 12 to 63 digit prefix to the one done build that starts with it (refused naming each match).
Builds: design 47 H2b §833, §834 (H-A-848, H-A-862)
Review of 982a059e and ad56d96b: the indexer is over its unit test budget,
so the take-in rows of H-A-809 join the existing merge-and-replay test
instead of a test of their own, and the count of main stands. Its second
pass is now a second take-in of the same merge, so a line said again for
the same fingerprint fails the test, which a recompute writing nothing did
not show. The tests cite issue 1984's acceptance labels AC-808a, AC-808b
and AC-809.
Issue 1984.
Builds: design 47 H2 H-A-808, H-A-809
The take-in's read names a set-aside word in the manifest's SetAside, but
no reader of the indexer said it, so a fingerprint taken from part of a
manifest was silent. The recompute now says, when a pass gives a module a
fingerprint other than the one the bucket held, one journal line naming the
module, its fingerprint and each word set aside with its path. It is a
journal line, not a finding: a word set aside is the normal state while a
newer manifest form reaches an older indexer.
Issue 1984.
Builds: design 47 H2 H-A-809
The indexer's take-in read set aside only an unknown top-level word and
refused one inside a known word, so a manifest carrying a new nested word
(H2b's tool-files in a process, race in a Go artifact) would get no
fingerprint and nothing of its revision would deliver. The kind is fixed
whole: ParseManifestForInputs now reads with the SDK's own decoder, which
sets an unknown word aside at any depth and names it (SetAside), and holds
the words it knows to every other rule, so the top-level case of H-A-465 is
now named too. A manifest the decoder cannot read past is still refused,
and the judgement's read (ParseManifest, Manifest) stays strict.
Issue 1984.
Builds: design 47 H2 H-A-808
On 25 Nov the bus refused JetStream for a moment while the indexer heard the watchman 0.1.170's two package-published:
leftForBus's immediate Nak spent all five deliveries in one second, and the release was lost. leftForBus now asks the
bus again after a wait that doubles with each delivery, from the new setting redeliver-pace-first (2 s: 2, 4, 8 and 16 s
between the five, about 30 s), so a refusal of a few seconds spends none of them. The backoff in the shared consumer is
the thorough fix of the kind (issue 1423), weighed after H2's delivery.
Builds: design 47 H2 H-A-773 (3), (4)
A build whose every artifact was published but whose release the indexer lost raised nothing, so the lost release was
never said. Past the same bound as an unpublished one, the reservations' arm (at a look or the start) and the bound's
end now ask the catalog's verb versions, and raise version-unreleased, its words saying every artifact is published and
its release was lost; one whose versions cannot be read is raised too, saying so. Its version-released clears it, as
before. Reserver.Overdue lists such a version, so builder_publish_again with neither module nor version says it again.
Issue 1984 note 8's two rows (1984/AC5) now expect the finding and its clearing.
Builds: design 47 H2 H-A-773 (2), (5), (6), (7)
A build whose two package-published deliveries the indexer gave up on (the watchman's 0.1.170) was published and never
released, and no tool could release it. builder_publish_again now also takes a reservation whose artifacts are all
published but whose version the catalog's verb versions does not hold, and says each artifact's package-published again,
so the indexer releases it as at a first delivery; a released one is refused as before. The build's end's ask queues only
(Republisher.Queue) and says nothing again. The hook that says a package-published (SayPublished, was AsHeld) answers its
fault, so the tool's answer names what it said and refuses what the bus refused.
Builds: design 47 H2 H-A-773 (1)
H-A-770 (6): H-A-770 (5) holds for H-A-761's drop of a key for its own mover too. While the
head is not newer than the revision of the pipeline a key names, the carry at a take-in
keeps the key and says so, runner_unfinished_place refuses naming both revisions and drops
nothing, and start reopens nothing and starts at the head as it does today, keeping the
key. The integration test's aged revision moves from 99 to 1, older than the head, since
a key naming a newer revision is now judged again rather than dropped.
Builds: design 47 H2 H-A-770 (5), (6), H-A-761
H-A-770 (5): while the runner's view of the head is at the revision of the pipeline a
mover's record names, or older, a head entry at another fingerprint counts for nothing:
movedOn drops and unties nothing, so a lagging view never drops a key, and the mover is
judged again when the view moves. movedOn, closedGroup, heldBack and HeldBehind now take
the head's revision with its entries.
Builds: design 47 H2 H-A-770 (5), H-A-594 (2)
The finding pipeline-failed reads its held-behind list from pipeline.HeldBehind, which reads
the head; Unfinished.HeldBehind was left with no caller (principle 7).
Builds: design 47 H2 H-A-770 (4)
H-A-594 (3) puts every path that reopens an ended pipeline under one rule: a rerun of a
step that reads a test run now takes the movers a newer revision moved, other than its
own, out of the pipeline's movers and says them, as rerun does, through one helper
leaveMovedOn. The finding pipeline-failed's held-behind list read the ties without the
head, so it could name a mover as held behind a predecessor a newer revision moved: it
now reads the head's revision as the carry does (H-A-594 (2)).
Builds: design 47 H2 H-A-594 (2), (3), (4), H-A-761
main.530's mesh-delivery-builder failed at src2:0da7a2b0 and main.531 built it at
src2:f28847e6, yet start's reopen of main.530 asked its build again and was refused
whole, and the carry of revision 537 kept 21 movers tied to it. A mover of an ended
pipeline that did not pass and whose head entry holds another fingerprint now counts
as carried by the newer revision in every path that reads a closed group's ties or
reopens a failed pipeline's group: the carry at a take-in and at a pipeline's end
(read at the head's revision, the view's newest), start's reopen, runner_unfinished_place
and a rerun's reopen. It ties nothing, goes in no group, leaves a reopened pipeline's
movers, and is said naming both fingerprints and the revisions read, its unfinished key
dropped where it names another fingerprint than the head's; the group goes on.
Builds: design 47 H2 H-A-594 (2), (3), (4), H-A-759, H-A-761
A carried, placed, reopened or rerun mover was asked with its old record's commit while the entry at its fingerprint names the head's newer merge commit, so the builder refused the ask.
Builds: design 47 H2 H-A-768, H-A-763 (3), H-A-764, H-A-761, H-A-286
A re-read of the trunk that timed out kept the older revision until the next event, which may never come. KeptTrunk now
reads again after a failed or short re-read with a backoff (view-reread-pace-first 5s, view-reread-pace-max 1m), says the
failure once per revision, and the new tool indexer_trunk_again reads it now by hand. H-A-767's first-view clause is held
by TrunkStates' markSource already (review round 1: no wrapper); its row, a KeptTrunk at 529 under a mark at 531 answering 529,
passes on the trunk.
Builds: design 47 H2 H-A-766 (1), (3); H-A-767
The carry at a take-in, place-unfinished and start's reopen of an older failed pipeline drop and say a key whose module the head's revision holds at another fingerprint, naming both and the revisions read; the entry's contents are still read at the kept revision.
Builds: design 47 H2 H-A-761, H-A-607 (2), H-A-594 (3), H-A-608, §786
The whole test TestAMoverLeftUnfinishedIsPutInTheNextPipelineAndWanted holds both sides' steps: one fake answers e1's revision 99 (nothing), engine/gitea/free entries from revision 4 and the builds seat's published answer, and b8's holders and grants answers and Base per revision. b8's AC-P6b steps are renumbered from revisions/pipelines 4,5 to 11,12 (main.11, main.12; the build seat's holder moves at revision 12, lib l12), after e1's 4 to 10; they use app's fingerprint src2:a9 as the fake holds it from revision 9.
Builds: design 47 H2 H-A-595, H-A-594, H-A-608, H-A-623, H-A-643
The process's verb and the runner_unfinished_place tool decode the input through the seat's client, which refuses one naming
neither or both of key and all, instead of each checking it by itself.
Builds: design 47 H2 H-A-644, H-A-725; AC-DC2d (DC2 step-runner-delivery-forms, the runner's side)
A mover whose first pipeline's widens were empty was computed again when carried or reopened, against another base. The key of the
state unfinished keeps them now, and the ended pipeline says them as the first one did. A revision with base 0 is computed against
an empty base, so it names every widening its movers hold, never nothing.
Builds: design 47 H2 H-A-595, H-A-758, H-A-582, H-A-619; AC-P6b
The wait-ended of a build held on the revision view carried no how, a rerun of the held step, a cancel, a mover's leaving and a
revision the catalog answers gone said none. Each of the four ends is said now; a held step whose revision the catalog answers gone
ends failed naming "revision <R> gone", the mover staying.
Builds: design 47 H2 H-A-599, H-A-577 (2), H-A-577 (3), H-A-738 (2), H-A-583 (2), H-A-619; AC-P1b, AC-P2
A refused write (a full bucket) no longer reads the same progress again for ever; the lost race alone does. The tier test gains the row of a provider whose want is held awaiting its reads.
Builds: design 47 H2 H-A-627 (2), H-A-682 (4)
builder_publish_queue no longer lists publish items, the re-ask watch no longer reads mode publish, and at its start the builder carries each answered publish-drop ask onto its reservation as dropped, then deletes each record of mode publish, saying the counts once.
Builds: design 47 H2 H-A-749 (1), (2), H-A-746
builder_publish_drop writes it by compare-and-set; NotStanding answers it, so an event, the item's take and the send pass it over; builder_publish_again clears it before its put. The re-ask state's publish item record of a drop goes.
Builds: design 47 H2 H-A-746 (B-Q2), H-A-613 (3), B8
SendFate gains Unread: an unreadable reservation or catalog entry sends and says nothing, and take leaves the item unacknowledged for the ack wait, B11's tenth delivery ending it loud.
Builds: design 47 H2 H-A-745 (B-Q1), H-A-606, H-A-613 (4), H-A-653
WireCatalogProcess takes held beside changed, set before the first ask; the runner advances its waiting pipelines from it as from changed. The test-runs whole test answers the view's ask of revision 2 late.
Builds: design 47 H2 H-A-747 (DQ-56, H-A-717), A-448
stands takes pipeline and module, orders its waits by since, pipeline, module, step and artifact, and pages by a cursor holding the last wait; a cursor the runner did not give is refused saying a page is read again from the start; the process and the tools program read the setting; one journal line per caller of a capped answer to a call naming no bound and no next.
Builds: design 47 H2 H-A-709 (2), H-A-708 (3) (the runner's description), H-A-717 (DQ-57)
start with module or modules adds to the head's pipeline that waits or runs (mover-added with the caller), starts a head with none, or reopens an ended one for a module whose step failed; startAgain, the .again.<n> and .unfinished starts go. place-unfinished puts a closed group in the head's pipeline or reopens the pipeline it left, one hand act per call.
Builds: design 47 H2 H-A-571, H-A-607 (3), H-A-609 (1), H-A-623, H-A-643, H-A-644, H-A-725
Captured with the procedure testdata/beside/CAPTURED gives, from the joined mesh-catalog worktree; CAPTURED names the commit.
Builds: design 47 H2 H-A-428, H-A-430 (3) (the captured copy of the catalogue's head)
It reads the same followed seat-holders view as SeatHolders, through mesh-sdk's seatlist.HolderNodesIn, so the builder matches a
returned event's node without reading the view's keys; the follow is made once for either.
Builds: design 47 H2 H-A-742 (H-A-606)
The bed's stream and durable filter hold the two dropped subjects; the whole test publishes one of each and waits for the
consumer's ack floor to pass them.
Builds: design 47 H2 H-A-578 (2), H-A-651, H-A-706
KeptTrunk.Unread and current answer the fault away naming "the trunk's revision <n>" while the start's read holds the view, and
never wait behind it; the verb revision asks it first; the tools' watched copies (seat-definitions, config readers) ask
WatchedStates.Unread before they read and are watched from the bundle's start. The indexer's start says each step as a phase of
mesh-sdk's ProcessReader (BeginPhase, EndPhase), kept at start-phase of the state first-views. Rows: a unit test of the held
read, one of the watched copy, and TestIndexerWhole's phases and held-read case.
Builds: design 47 H2 H-A-708 (1) (2), H-A-717 DQ-54, H-A-733 (2)
The shared publish names the ask's own fingerprint on a publish that names none. The kit's Bed gains HoldWith, PublishWith and Held.
Builds: design 47 H2 H-A-589 (4), H-A-589 (5), H-A-591, H-A-593 (2) (3), H-A-738 (1)
The kind: a test that lists a seat's verbs or decision by hand breaks when the seat gains one; met at mesh-networking a49d6d0 (node-resolver's uplink-names, node-uplink's decisions).
Builds: design 47 H2 issue 1984 (lead answer of 25 Nov, thorough fix)
Code review round 2: §4a says the grant and the membership cover the holder's own node's
subjects only. Add the negative row beside C-1's: a tool runner on node a, carrying networkmanager,
is neither listed for nor granted sign-in-asked.b. Passes already (onMachine substitutes the tool
runner's own node and nothing else), proving the fix does not overreach.
Builds: design 08 sign-in-page §4a
Code review round 1, C-1: granting the subject in the tool runner's NATS account (the previous
commit) is not enough, because the runtime's own mayPublish (node-tools/internal/bus/seat.go)
checks a module's membership (SeatTraffic.Publish), never the account permissions. SeatTrafficOf
leaves a held seat's machine event out of that list and defers to the held-seats' account grant,
which the membership check never reads. MembershipFor now lists it too, on the carried module's own
node alone. Golden file testdata/user-lists.json updated: the existing "pause" fixture (node-power's
machine event "paused") now also appears in its seat-traffic publish list.
Builds: design 08 sign-in-page C-1
The grants part granted a held seat's events to the holder's own account only (nats.go "Seats it
holds"), so a module the tool runner carries (networkmanager's node-uplink, nftables'
node-packet-filter) had no way to say the machine's half of its own seat's events: SeatTrafficOf
explicitly leaves a machine event out of the tool runner's membership and defers to that rule,
which never runs for KindNodeTools. Grant it the same machineEvent-derived subject, for its own
node's machine only, mirroring step 3 of PermissionsFor's KindModule case.
Builds: design 08 sign-in-page DMC-1, Where
Test 109 (TestTestRunsAreAskedOncePerLevelAndMoveEveryReader) failed on a loaded build node and passed on the same
commit when it ran again. Test-only; no behaviour of the runner changes.
- The first start has a step bound of a minute, longer than the restart; the setting is rewritten to two seconds between
stop() and start(), so the clock the first runner armed at the take cannot end the run before the restarted runner
hears the first progress.
- start() waits for one more "take-ins: heard on the consumer" line than before it (takeInsHeardMore), where it matched
the first start's line still in the shared buffer.
- An ask is read from the stream, and said taken, only once it is on the stream (askPut, waited for with waitFor): the run
names its ask before the runner has written the ask key and put the ask, so the one read of the stream failed with
"message not found", and an ask-taken heard before the ask key is written moves nothing (read at the silent-bound
wait: the ask key was absent when the take was said), so the clock of the ask never began and the wait ran 60 s.
- The progress wait stops at once, naming the run, when the run has ended.
Builds: design 47 H2 H-A-637
The subtest of the pass-stall rows in TestAPassWritesWantsWhileAKeepingIsBlocked
carries the label 1984/AC13 beside the design line it checks.
Builds: design 47 H2 H-A-635 (1984/AC13)
The assigner's 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 new setting pass-stall-seconds (10 to 600, default 60, read from its file
as package-wait-minutes is) says once in the journal "the pass started at
<time> is in <phase> for <duration>", and again at each further bound until it
ends; a pass that ends within the bound says none, and the end line "the pass
took" stays as H-A-259 has it. A stall met 2026-11-23 left the journal silent
for six minutes with no way to tell where the pass stood.
Builds: design 47 H2 H-A-635 (on H-A-259)
Once a run's wait for a package's publish ended and its run ask was put,
`waits` was deleted but its readers' newest wait-held still said they
waited for the package's publish, until ask-taken's wait-ended. Now the
start that deletes `waits` as it writes the run's program says its
readers' wait-held for a build node again, under their held id with
.put added, so the bus's duplicate window keeps it apart from the first;
the composition and the validate run alike.
Tests: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows: after
the put each machine's newest wait-held is for a build node under its
held id with .put; TestTheValidateStepRefusesAManifestProblemAndACycle,
revision 14: the reader is said waiting for mesh-sdk's publish, then for
a build node again at the put. Both failed first without the say at the
put.
Builds: design 47 H2 H-A-632 (hq c7f31726, f9be4ef0); H-A-630 (5) (hq 1cdfa6ff); H-A-629 (1), (2) (hq 8aa70271)
A run waiting for a package's publish left its readers said waiting for
a build node (`on: build node`), though no ask was put. While the run's
value holds `waits`, waitOf now says the step waits for the publish of
that package (`on: publish of package <path>`, since the wait began),
naming the package and the entry, never a build node; the readers are
said so when the wait begins, under their held id with the package's
path added, so the bus's duplicate window keeps it apart from the first,
and a reader joining a waiting run is said so at its join.
Test: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows: each
reader's wait-held names the publish of x/go and the node-engine's entry
(failed first, no such wait-held within 10 s, with waitOf ignoring
`waits`).
Builds: design 47 H2 H-A-630 (5) (hq 1cdfa6ff); H-A-631 (hq ee89b857); A-469y
A run past its wait's bound ended "package <path> has no published
version within <bound>", naming no entry, and two of its three paths
(the bound's expiry and the take-up at a start) read only the run's
value. The seat mesh-wants' CompositionRunWaits gains `entry`, the words
of the import-form entry the run is built from (such as "the
node-engine's entry src2:e1"), written with the package when the wait
begins; the waiting start's end, the expiry and the take-up all say
"package <path> has no published version within <bound>
(package-wait-minutes), named with no version in <entry>" from it. The
definition's form stays 3, raised by this fix; the Go and TypeScript
contracts regenerated by seatgen (seatgen -check passes).
Tests: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows: the
waiting run's `waits` holds its entry; "past its bound" (the expiry) and
a new "past its bound at a take-up" (takeUpWaits) end saying package,
entry and bound (both failed first with no entry written);
TestTheCompositionStepComposesEachMachineThroughTheBuildSeat (whole,
embedded bus): the waiting run's entry, and the take-up's and the
expiry's words with it.
Builds: design 47 H2 H-A-630 (4) (hq 1cdfa6ff); H-A-631 (hq ee89b857); H-A-628 (3), (5) (hq cea6404c); H-A-629 (1) (hq 8aa70271); H2 §780
The composition and validate runs were started on the context of the
step that started them, so a supersede or a drop of that step ended the
wait for a package's publish silently, while other steps share the run:
it then waited, woken by nothing, until its bound ended it "no published
version" though the package stood published. The start, its wait and
its run ask now run on the assigner's own context (compositionRun.own),
as the take-up's do.
Tests: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows gain
"superseded": a second step joins the waiting runs, the starting step's
context ends, the runs stay waiting with both readers, and at the
publish the second step reads them composed with the pin;
TestTheValidateStepRefusesAManifestProblemAndACycle, revision 14: the
validate run waiting for mesh-sdk's publish outlives its starting step
and ends passed after the publish. Both failed first (no end within
10 s) with the start on the step's context.
Builds: design 47 H2 H-A-630 (3) (hq 1cdfa6ff); H-A-628 (3) (hq cea6404c); H-A-629 (3) (hq 8aa70271)
The bind wake stood in main.go untested. It now sits beside the
consumer's handler in hearPublished, which registers both: each bind of
the assigner's consumer of package-published wakes every run waiting for
a package's publish to read published again, since an event said while
the consumer was not bound is never heard.
Test: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows gain
"bind": x/go published with no event heard, a bind of the consumer wakes
each waiting run, which reads it published and puts its run ask with the
pin (failed first, no end within 10 s, with the bind's hearer removed).
Builds: design 47 H2 H-A-630 (2) (hq 1cdfa6ff); H-A-628 (3) (hq cea6404c)
Every package-published heard woke every run waiting for any package,
each asking mesh-builds' published again. Now the wake is kept per the
artifact of a package's publisher: the assigner's consumer reads the
heard event's artifact (hearPublished) and wakes only the runs whose
`waits` names the package that artifact publishes, as the runner's
hearPublished matches by artifact; a publish of another package wakes
none and asks no published. An event that does not read is journaled
and wakes none. Each bind of the consumer still wakes every waiting run
(heardBind).
Test: TestTheCompositionStepRunsOneAskPerMachine, the wait's row: a
package-published of y:go, handed to the consumer's handler while the
runs wait for x/go, leaves their wake standing and asks no published;
x:go's own then wakes them (failed first with the wake ignoring the
artifact).
Builds: design 47 H2 H-A-630 (1) (hq 1cdfa6ff); H-A-628 (3) (hq cea6404c); H-A-326
T2 ended a composition or validate run at once when its entry named a
package whose publisher's build in the step's revision was not published
yet. Now the run waits: it reads mesh-builds' published first and again
at each package-published heard (and at each bind of the consumer); the
run's value names the package and the time its wait began in `waits`;
its bound bound.<run key> is armed for what is left of the new setting
package-wait-minutes (1 to 120, default 10). Past the bound the run ends
could not run, "package <path> has no published version within <bound>
(package-wait-minutes)", never the builder's words. `waits` and the
bound go when the run ask is put (an ask in the queue has no clock) or
the run ends. Every step reading the run says the phase fetch while it
holds `waits`, its journal naming the package, and run once none does.
At the assigner's start a run holding `waits` and no program ends past
its bound, or has its bound armed again for what is left and its whole
start run again. A run with no publisher still ends at once (principle 3).
The seat mesh-wants' CompositionRun gains `waits` {package, since}, its
form raised to 3 as a field added (§780, H-A-352 (3)); the Go and
TypeScript contracts regenerated by seatgen. The assigner consumes
mesh-builds.package-published.
Tests: TestTheCompositionStepRunsOneAskPerMachine (rows: the wait, its
`waits` and bound, the phase fetch then run, the pin after the publish
with `waits` and the bound gone at the put, past the bound) for 1984/AC9;
TestACompositionRunIsOneKeyPerCandidateAndMachine/settings;
TestManifest; TestTheCompositionStepComposesEachMachineThroughTheBuildSeat
extended (the wait and the publish event, a restart during the wait,
a run past its bound at the restart and one past it while running) for
1984/AC11.
Builds: design 47 H2 H-A-628 (3), (4), (5) (hq 8aa70271); H-A-629 (1), (2), (3) (hq 8aa70271); D4 H-A-192; D9 H-A-326, H-A-328; G §719, §720; H2 §780 with H-A-352 (3)
The composer's and the validator's run asks go straight to the Go build
seat, never through the builder, and pinsOfEntry dropped a pin the entry
names with no version, so the build module refused at once with words
that blame the builder. Now each empty pin is filled by asking the seat
mesh-builds' verb published of the package's publisher in the step's
catalog revision; the version it answers is the pin. No run ask is put
with a pin left out: a build not yet published, or a package no build of
the revision publishes, ends the run could not run naming the package and
the entry (the wait for the publish comes with T3).
The assigner requires the meshbuilds contract module and its manifest
invokes seat:mesh-builds.published (TestManifest holds it).
Tests: TestTheCompositionStepRunsOneAskPerMachine (its stand's revision
holds x's publisher; rows "not published" and "no publisher") for
1984/AC9; TestTheValidateStepRefusesAManifestProblemAndACycle, revision
13, for 1984/AC10.
Builds: design 47 H2 H-A-628 (2), (5) (hq cea6404c); D4 H-A-192; D5 H-A-204; D7 G §718, A-252, A-451; D8 H §745; D9 H-A-326, H-A-328
The take-in blanked a package's pin in every import-form entry, the
node-engine's among them though it was no mover, and nothing filled it:
every composition of main.506 could not run. A module that is no mover
of the take-in keeps its pins, since no step of that pipeline builds it.
Tests: TestMoversOf gains the subcase "an import-form importer that is no
mover keeps its pin of a package a mover publishes" (1984/AC7); I12's
subcase is kept as 1984/AC8. TestASourceRevisionMovingMeshSDKNamesItAndItsImporters
(integration) asserted the old blank for importer at m3's take-in, where
the take-in makes importer no mover (its fingerprint does not move,
noted on issue 1984 as note 24); its assertion now follows H-A-628 (1):
blank where importer is a mover of that take-in, its pin kept where not.
Builds: design 47 H2 H-A-628 (1) (hq cea6404c); D1 H-A-532 DMC-1; D2 H-A-547 (2)
The bound's end (ended) raised version-unreleased for a built reservation
whose every artifact was published, saying "an artifact is unpublished",
while arm past the bound leaves that reservation waiting for its
version-released. 1984/AC5 raises only for a built reservation left unmarked
past its bound, so ended now raises nothing when no artifact is missing.
Builds: issue 1984 note 8 (1984/AC5), design 47 G §369
A built reservation's bound was judged before the published kept on it were
taken in, at a look (Built) and at the start: one past its bound whose kept
published mark every artifact (note 8's own case) raised version-unreleased
naming every artifact unpublished, then said package-published for each, and
the false finding stood until its version-released. The kept are now taken in
first (Kept answers the reservation as its take-in left it), and the bound is
armed or judged on that reservation.
The bound's end (ended) raised "nothing within" over the words the publish
again left within the bound, the kind round 1 fixed past the bound. Every raise
that says only the bound ended or could not be armed now goes through lapsed,
which raises only when no version-unreleased of the module stands (Held,
design 47 G A-38). The raises with words of their own, a holder's refusal of a
publish again (ADR 0674 §3: left "raised with the holder's words") and a digest
no artifact carries (A-490j: "fails loudly"), still write over a standing one.
Builds: issue 1984 note 8 (1984/AC5), design 47 G §369, A-415, A-38, A-490j, ADR 0674 §3
The past-bound branch of arm is reached at every look, and raised
version-unreleased again each time as "nothing within 10m0s of its build",
writing over the words it was left with (a holder's refusal, ADR 0674 §3;
design 47 G A-490j). Once the bound has passed it now raises only when the
held writer holds no version-unreleased of the module (Held, design 47 G
A-38).
Builds: issue 1984 note 8 (1984/AC5), design 47 G §369, A-38, A-490j
mesh-delivery-contracts 0.1.108's 39 digests were recorded one artifact at a
time, each a rewrite and a reindex (about 850 index reads), and timed out three
times under the one-minute record bound after its build was ended: its bound was
never armed, the published kept on it never taken in, and RecordAgain skipped it
since its build stood ended, so nothing said it (main.495's tier 2 held).
- versions.Reserver.Built takes the whole digest map: one compare-and-set of the
reservation and one reindex; an artifact recorded already is skipped, so a
record tried again writes only what the one before left, and nothing when all
stand (1984/AC4). It answers the reservation as written, so the holder no
longer reads every reservation after the record.
- What follows a record follows the reservation's state: RecordAgain hands a
recorded reservation to Built at every look, and the start takes in every
built one not released: its bound is armed, counted from its build's end, and
the published kept on it are taken in and said as package-published; one left
with an artifact unpublished past its bound raises version-unreleased at once
and is not armed again (1984/AC5).
Builds: issue 1984 note 8 (1984/AC4, AC5), design 47 G §369, A-415, A-456b, A-457a, H-A-492
Review round 1. The store kept a running pipeline's mover-key values in
memory while its record stayed at the revision read, but the module's
own runner_unlogged_append writes through a store of its own: a read
between that store's record write and its mover-key writes kept old
values at the new revision, and the runner served `running` while the
bus held `passed`. The copy goes; each key is still read by its name,
none listed, with the trunk's check of the revisions read.
A bound passing while step ends wait now arms the bound again only while
their count (not yet delivered plus unacknowledged) shrank since the
bound before, kept as `waited` on the ask's mark beside `unread`: an end
the handler naks forever, which no delivery limit stops, ends the step
saying the count did not shrink. Every such why says only what is true
("its ask X is not known to be answered: ..."), and none raises
call-unanswered. The ask clock the start makes now reads the durable
itself, so the integration row fails when the start wires none; the
nudge's mutex is the hearer's own.
Builds: issue 1984 note 6 (1984/AC1, 1984/AC2), notes 7 (b), (c), 9 (d), 10 (e)
An ask's bound ended its step "not answered: its holder said nothing"
while the holder's end waited, untaken, in the runner's own step-ended
durable: the runner's queue was counted against the holder (issue 1984,
note 6). As a bound passes the runner now reads that durable once, its
consumer's not-yet-delivered and unacknowledged step ends: while any
wait, the step is not ended, its bound is armed again whole and the
journal says how many wait; with none waiting the step ends with the
why it had, the journal naming the count read. A read that fails arms
the bound once more, kept as `unread` on the ask's own mark in test-runs,
cleared by a read that succeeds; a second failed read in a row ends the
step saying the runner could not read its durable, and raises no
call-unanswered, whose words say the holder said nothing.
Builds: issue 1984 note 6 (1984/AC2), note 7 (a), (b), (c)
The runner took the step ends one at a time at about 13 s each, because
each handler aged up to twenty step-log entries and checked the stores'
fill, and every read and write of a pipeline listed its mover keys
through a new consumer (issue 1984, note 6). The ageing and the fill
check now run as work of their own, nudged by the step ends: the ends
heard while a pass runs merge into one pass after it, and never two run
at once. The pipelines store reads each key by its name and keeps a
running pipeline's mover keys from its last read or write while the
record is still at that revision (every write of a mover key writes the
record too), so a step's end reads the record and writes the record and
its own mover key; a store after a restart, or a pipeline not running,
reads the keys its record names, never a listing.
Builds: issue 1984 note 6 (1984/AC1), ADR 0682 §11
The runner's ageing read the step log through a new ordered consumer at
every retention of every step's end and never removed it: 604 consumers
in 11 minutes, each starting tens of thousands of entries back, ran the
bus at 196% CPU (issue 1982, note 16). The log is now read entry by
entry with the stream's own message get (next entry of the log's
subjects at or after the sequence, so deleted ones are passed over),
and each retention reads its oldest unaged entry alone first: while it
is not past the retention nothing after it is, so a step's end reads
one entry per retention, not twenty.
Builds: design 47 G §330
Review r1 finding 1: a module of another repository was recomputed only when
a pin's Go module path mapped to the moved repository, so a TypeScript
importer of @novox/mesh-sdk never moved on a mesh-sdk take-in. It now moves
when its reported import set holds a package the moved repository publishes
(the module graph's entries), or, with no set, when a pin names one.
Builds: design 47 H2 H-A-520, H-A-523, H-A-528, H-A-539
Review r1 finding 2: removing the take-in's unpinnedByMovers failed no test.
I10 now takes mesh-sdk in again after its releases and reads the take-in's
revision: the import-form importer names mesh-sdk with no version, legacy
(the version line) keeps its pin.
Builds: design 47 H2 H-A-532 (DMC-1), H-A-547 (2), H-A-521
Review r1 finding 3: the wait for the reservation's delete slept between
reads; it now watches the module's keys and ends on their delete.
Builds: design 47 H2 H-A-551
An entry naming a mesh package with no version is built, in the builder's
bed, with the version its publisher reserved at the source revision of the
key's own origin once a registry seat says that version published, not the
newer one another published said; and, once that version is released and its
reservation gone, the next such build takes it from the release record. A
case of the existing done-key test, so the integration count stays at 17.
Builds: design 47 H2 H-A-521, H-A-547 (3), H-A-551, H-A-558 (2)
Only a superseded end naming a revision older than the pipeline's is
asked again; one naming the pipeline's own revision (the builder's
kept-revision path) moves the mover out as H-A-508 has it, so no re-ask
can loop. A build that starts waiting on the revision view says
wait-held, on: revision view, and wait-ended when the view's move ends
it, as the operator's wait does.
Builds: design 47 H2 H-A-563
A build ended superseded is judged by the module graph revision its end
names of the entry that superseded it, never by the order entries were
heard in: none (a builder before H-A-561) moves the mover out as before;
one not newer than the pipeline's own is asked again at once; one newer
the runner's view does not hold yet keeps the step waiting on the
revision view, its revision in the pipeline's value, and each move of
the view judges such steps again, moving the mover out once it holds
the revision; one newer and held moves the mover out at once. No re-ask
can loop: the builder names the revision it judged by.
Builds: design 47 H2 H-A-555, H-A-561, H-A-562
A build step ended superseded names the module graph revision of the
entry that superseded it: the revision the picture heard that entry at,
or the ask's own revision where the catalog's kept revision names the
newer fingerprint. The runner then judges the end by that revision, not
by the order the entries were heard in.
Builds: design 47 H2 H-A-561
The seat mesh-builds' step-ended gains revision: for a step ended
superseded, the module graph revision of the entry that superseded it,
so the runner judges it without the order entries are heard in (form 3).
The seat mesh-pipeline-runner's step gains revision: for a step waiting
on the revision view, the revision it waits for, kept in the pipeline's
value (form 12). Regenerated, with a fixture of each.
Builds: design 47 H2 H-A-561, H-A-562
An entry heard of an older module graph revision than the one the
picture holds for its branch neither replaces it as the newest nor
withdraws its build; it is said in the journal. The test hears revision
453's entry with its build running, then 452's, then 454's.
Builds: design 47 H2 H-A-557
The versions fill went, so nothing raises or clears its
indexer-call-unanswered of builder_versions any more: the indexer's writer
clears that id once at its start, the kind staying raised for its other
calls.
Builds: design 47 H2 H-A-558 (3), H-A-552
Source revisions are numbered per watched branch today, so a release found
by its source revision alone could meet another branch's equal number and
fill an importer with the wrong version. The record keeps the branch the
reservation came from, and an importer's fill matches both.
Builds: design 47 H2 H-A-558 (2), H-A-551
Only outdated read the edges a build of another watched branch kept in the
indexer's state build-edges and the heard keys branch-build.<module>.<branch>:
the state leaves the seat mesh-catalog's definition (its def BuildEdges and
fixture, the generated contracts) and the indexer's manifest, and the
writes, the prune at registration-changed and their test go.
Builds: design 47 H2 H-A-559, H-A-558 (1), H-A-548
main.453 ended every build step superseded and moved its movers out for
the newer revision's pipeline, though the superseding entry was of source
140, older than its own: no pipeline delivered them. The runner now reads
its own view of the branch's catalog half when a build ends superseded:
the mover leaves only when that revision is newer than the pipeline's and
names another fingerprint of it. Otherwise the end is passed over, said in
the journal, and the build is asked again at once under a new ask, as a
declined step is; the builder's revision wait holds it.
Builds: design 47 H2 H-A-555, H-A-557
The verb outdated leaves the seat mesh-catalog's definition (its def
Outdated, its fixtures, the generated Go and TypeScript, under the form 6
this change raised), the indexer's claim, its tool and its answer, the
answer of other branches' builds with it. The indexer's hearings of
toolchain-agreed and wait-ended, whose state heard keys only outdated read,
go with their consumes in its manifest.
Builds: design 47 H2 H-A-548, H-A-558 (1), H-A-532 (DQ-9), H §747
The builder's picture lags a step ask whose revision it reads by number:
main.453 asked fp f1b929cd at revision 453 (source 141) while the picture
still held source 140's ee67bdfc as the last entry heard, and supersededBy
judged the newer ask superseded by the older entry. The builder now keeps
the revision beside each entry it heard and supersedes a fingerprint only
by an entry of a newer module graph revision than its own; an older or
equal one is passed over and said once. An older entry heard never
withdraws a newer build either.
Builds: design 47 H2 H-A-557, H-A-555
The indexer's first fill of the versions from builder_versions was the only
part that said versions-filled, and the numbering it served is gone. So the
fill, its edges and its call go from the indexer, the event leaves the seat
mesh-catalog's definition, its fixture and the generated contracts (the
seat's form rises to 6), and the builder neither hears it nor waits on it:
it reserves from its own reservations alone.
Builds: design 47 H2 H-A-552, H-A-532 (DQ-9, DMC-5), H §756, G §372
An npm import of another repository enters an entry's packages as a Go one
does (H-A-546 (3)), but the pins matched only a series' Go module path, so
an npm pin stayed empty and the builder waited out its bound. A series now
pins by its Go module path, or by its package name when it has none.
Builds: design 47 H2 H-A-553 (1), H-A-546 (3)
A package an import-form entry names with no version (a mover of the same
take-in publishes it) is filled from the reservation of the module that
publishes it at the source revision of the build key's own origin, once its
artifact is published, else from that module's release recorded at that
source revision; never from the newest version a registry seat said
published, so the importer is built against what its own pipeline
publishes. The released record keeps the release's source revision, since
the reservation goes at the release. The registry seat's versions read
before the wait and the newest-heard cache go with that fill.
Builds: design 47 H2 H-A-521, H-A-547 (3), H-A-551, H-A-532 (DMC-1)
The builder's floor, their one caller, went with the numbering from before G
(design 47 H §756; H2 H-A-532 DQ-9): the indexer fills no floor from the seat
git's tags or the package registry seats' versions, keeps no state
requirements from each consumer's go.sum and serves no indexer_requirements.
A floor entry kept before is still read as one at its release (G A-490h).
Builds: design 47 H §756, G §372, H2 H-A-532 (DQ-9), spec 20, 29, 48
At the take-in the version a mover's pipeline will publish is not released, so
the import-form importer's entry names its package with no version and its
build waits for that pipeline's publish (design 47 H2 H-A-532 DMC-1, H-A-547
Q5); a version-line entry keeps its pins, which its fingerprint takes.
Builds: design 47 H2 H-A-521, H-A-532 (DMC-1), H-A-547 (Q5)
The import form of a TypeScript module takes each mesh npm package its reported
set names by the digest the packages state keeps under its npm name (I11a), so
a change of an imported package's files moves it and a change of another
leaves it; the npm import of another repository enters the entry's packages as
a Go one does. fingerprint.Resolve already resolves an import by its exact
name, so the form needs no code of its own: the test holds it.
Builds: design 47 H2 H-A-523, H-A-546 (3)
A TypeScript module's fingerprint takes its imported mesh packages by content
(design 47 H2 H-A-523): a take-in of a repository holding an npm package a held
module imports publishes it in the packages state by its npm name, its
repository and directory those of the module graph entry whose artifact
publishes that name, its digest its files under that path but node_modules and
node --test's test files, its requirements' digest its package.json and lock
file.
Builds: design 47 H2 H-A-523, H-A-532 (DQ-6, DMC-3), H-A-546 (1)(2), H-A-547 (Q4)
A build module says a module's import set as its build seat's event
imports-reported, which the indexer hears (design 47 H2 H-A-517, DQ-7): the
builder's done key and its build log's end entry no longer carry the imports
a build answered, so nothing reads another part's state for them.
Builds: design 47 H2 H-A-517, H-A-532 (DQ-7)
The builder reads package names from the catalog half's entries alone and never
the indexer's state (design 47 G §348): PackagesState, NamesIn, NamedModule,
Carriers and ModuleOf, which read that state and are wired nowhere, go; the
reservation's name test reads its carriers from the entries.
Builds: design 47 G §348, spec 25
The numbering from before G goes (design 47 H §756, G §372): the builder keeps
no state versions, marks no numbered entry on a registry seat's word and arms
no numbered version's publish bound; the publishes' findings and the
reservations still hear the same events (DQ-11), and a reserved version's bound
is the reservation's (DQ-10). builder_versions keeps answering, from the
reservations alone (DMC-5): what the seat mesh-builds' reserved answers for a
name and, with a version and a digest, whether that version is reserved or
released with that digest.
Builds: design 47 H §756, G §372, G §381, H2 H-A-532 (DMC-5, DQ-10, DQ-11), spec 29, 41, 48
The numbering from before G goes with its floor wait (design 47 H §756): the
builder asks no floor (seat git.tags, the registry seats' versions, the
entries' requirements), keeps no state floor-waits, serves neither
builder_floor_again nor builder_floor_waits, raises no floor-silent finding
and hears no take-in.taken or condition-cleared to wake one. The claim
numbering that asked the floor (Numberer.Number, build.Numbers) goes with it;
the reservation is the one place a version is numbered.
Builds: design 47 H §756, G §372, spec 29, 41, 47, 48
A build step's publish met by a tool runner that restarted ended failed (main.440):
PublishFault counted only "no responders" and "bundle exited". sdkstep.IsPassing
now counts a call a stopping tool runner did not take, by its typed fault stopping
(the error's ErrorKind, as mesh-sdk's stdio hands it), so every step's fault reading
and PublishFault's "publish: " why read it the same; a bare "timeout" stays a
failure.
Builds: design 47 H2 H-A-542
The whole test now reports the import sets of two requirers of mesh-sdk: the importer of
buildstep and a requirer importing announce alone. A mesh-sdk commit changing buildstep
moves mesh-sdk, the importer and a module with no report (by its requirement), never the
requirer. The release's re-pin names only the version-line module. The bed's durable hears
the Go build seat's imports-reported, as the manifest's consumes names it.
Builds: design 47 test 80; design 47 G §56; design 47 H2 H-A-520, H-A-521, H-A-528, H-A-530; H-A-532 DMC-7
A module of any repository whose import set is reported moves when its fingerprint moved,
and only then: a reported set holding no changed package names no mover. A module with no
reported set keeps the fallback that exists, moving by its requirements.
Builds: design 47 H2 H-A-520, H-A-528, H-A-536, H-A-538; design 47 H §743; ADR 0593 §3
repinned names no module whose import form is set: its fingerprint takes no pin, so a
release of a package it imports never moves it; a module on the version line is named as
before.
Builds: design 47 H2 H-A-530, H-A-538
At every recompute, and where a report's import form is computed, the import set counts only
the imports a package artifact of the module graph's entries holds (a Go module path or an npm
name, itself or a path under it); any other import is outside the mesh and never sends the
module to the version line. The state imports keeps the reported set whole. A graph state
that cannot be listed keeps no name back, since its nodes name no package.
Builds: design 47 H2 H-A-539, H-A-540
Nothing in a path or name tells a mesh package apart: mesh Go modules come from the Go
package registry, not the forge. The per-language form check and its settings go
(CheckGoImports, CheckNpmImports, DefaultNpmScope, AskSteps.ImportPrefix and ImportScope);
CheckImports judges every seat's set sorted and each once, and the indexer keeps of it the
packages a module of the module graph publishes.
Builds: design 47 H2 H-A-539 (withdraws H-A-534's form check and H-A-535's settings)
Kind 1 comes from the import set when the entry's import form is set, an absent imports
then the empty set, so a reported empty set gives no kind-1 edge; an entry with no import
form is on the version line and keeps kind 1 from packages.
Builds: design 47 H2 H-A-522, H-A-536, H-A-538
The import form's fingerprint takes each imported package by its content and no released
version: a release of the same content leaves it, and a held fingerprint made with a pin
from before stands while its import form is unchanged; only the version line takes the
pins. The import form is chosen when the module's set is reported: a key in the state
imports, an empty set too, or, until its next report, a set its modules value already
holds. An import form with no imports is a valid modules value: it says a reported empty set.
Builds: design 47 H2 H-A-530, H-A-521, H-A-529, H-A-536, H-A-537, H-A-538
An entry whose fingerprint was computed with an import set gets one kind-1 edge per import,
from the package artifact of the longest name holding it to its artifacts of that ecosystem;
a requirement no import names gives none. An entry with no set keeps kind 1 from packages.
Builds: design 47 H2 H-A-522, H-A-532 DQ-14
The recompute takes each module's set from the state imports (a branch's copy of another
set gives way to it), with main's import form while main's value holds that set, so the form
costs no rebuild; a branch's take-in reads the state through an overlay and drops none of it.
Builds: design 47 H2 H-A-519, H-A-529, H-A-532 DMC-6
A Node build's imports are npm names in the mesh's scope (@novox/mesh-sdk, one package, no
sub-path), a Go build's Go module paths under the forge's prefix; AskSteps.ImportScope and
ImportPrefix carry the build module's settings, trunk.DefaultNpmScope and ForgeModulePrefix
when they name none (trunk.CheckNpmImports, CheckGoImports).
Builds: design 47 H2 H-A-534, H-A-532 DQ-6
The operator found a pipelines view filtered by branch name makes no sense:
the page and the terminal view now list the newest pipelines of every branch
together, newest first, the branch a column, and offer one filter, a module
(the pipelines that carry it). A delivery still links to its pipeline from its
branch's list, or from every branch's list by the row's branch.
Builds: design 47 H2 H-A-533 (hq 1b1e1984)
The pipelines page lists every watched branch's pipelines together, the
branch a column of each row, so the short row carries the pipeline's branch;
list already answered every branch when none was named, and its description
now says so. The seat mesh-pipeline-runner's form rises to 11 for the field.
Builds: design 47 H2 H-A-533 (hq 1b1e1984)
Passed, carried and passed read "passed 2/3", as if one did not pass: the cell
counts the artifacts in the group of its worst outcome (failed, not run,
waiting, running, passed) and shows the count only where fewer than all are in
it, so a cell never reads worse or better than it is.
Builds: design 47 H2 H-A-531 addendum (3), as read in hq d7e7d204
ApplyBuildEnd and its start replay go: a module's import set reaches the indexer only as
imports-reported. The build-log read stays for the module paths and the out-of-step findings.
Builds: design 47 H2 H-A-517, H-A-532 DQ-7
The tool answers the set the state imports keeps for a module, each package with its digest
and the reporting build's fingerprint and commit, or that none is kept, so the module moves
by its go.mod's requirements.
Builds: design 47 H2 H-A-527, H-A-528, H-A-532 DQ-3
The indexer consumes node-build-go and node-build-node imports-reported; a report of the
fingerprint main's modules state holds for the module keeps the set on the module (Imports,
ImportForm, as the build log path did) and in the new state imports (one key per module,
{module, fingerprint, commit, imports: [{package, digest}]}, the digests the import form is
computed with), deleted with the module's modules key. A report of another fingerprint is
left; one naming no module or fingerprint is said and acknowledged.
Builds: design 47 H2 H-A-517, H-A-518, H-A-519, H-A-527, H-A-529, H-A-532 DQ-3, DQ-4, DQ-13, DMC-2
AskSteps gains SayImports, called once at the end of a build that read its imports
(any branch; the indexer judges the fingerprint), with the module, the fingerprint
asked, the commit and the imports; SayImportsOn publishes it on
mesh.seat.<seat>.event.imports-reported.<node> (buildstep.ImportsReportedSubject),
id per module and fingerprint. A failed say is journalled and leaves the answer
standing; BuildAnswer.Imports stays as the say's input.
Builds: design 47 H2 H-A-517, H-A-518, H-A-532 DQ-2, DQ-7, DMC-2
The build seats gain the event imports-reported.<node> (part build-step, form 4), body
{node, module, fingerprint, commit, imports}, all required, imports possibly empty, kept as
toolchain-reported (90 days, 16 MiB). Fixtures on node-build-go and node-build-node; the
image build module says none.
Builds: design 47 H2 H-A-517, H-A-518, H-A-532 DQ-2, DQ-13
The operator read every step of main.417 as passed and took it for delivered
while it had failed on one step and no want was written: the page listed a
pipeline's steps flat, with no tier, no stage and no delivery. One pipeline now
shows a header (outcome, first failure's why, how many movers run their build
on every node they are placed on), then a block per tier with a row per mover,
a cell per stage (the worst outcome over its artifacts, waited, ran and why on
hover) and a cell per node its module is placed on (no want written, wanted,
applying, running the pipeline's build, held with why), in the web page and the
terminal view. The page reloads on the runner's events and on the wants',
haves' and assignments' changes the view already hears.
Builds: design 47 H2 H-A-531, H-A-531 addendum (hq 7dc6592b, f870d24b)
In main.416 a contracts module's TypeScript package waited about 290 s for a
build node, per step, to answer nothing to run in 1 to 3 s. At placement the
runner now calls each artifact's build seat's verb steps (kept by the
artifact's fingerprint, answered in seconds) with the fetch its steps are
asked with, and ends every lint, unit or integration step of a kind it
answers none for as nothing to run at once: logged, said, asked of no
build node. The other steps are asked as before, beside the build step. A
steps call that fails asks the artifact's steps as before, said in one
journal line. A step placed again after a restart is placed from what its
first placing knew, so a test run keeps its asker.
The build step's record now carries asked-at, as the test steps' do, so
the pipelines page shows how long it waited.
Builds: design 47 H2 H-A-515, H-A-515 addendum, H-A-516
The verb description said "lint always", while the TypeScript build seat's
lint ends nothing to run for a tree with no TypeScript file; the runner now
reads steps to skip a kind it answers none for, so the description says
what the verb does. The part build-step is shared by the three build seats,
so its one description names Go (always) and TypeScript (only where a
package holds a TypeScript file).
Builds: design 47 H2 H-A-515 second addendum, H-A-515 addendum
The operator read 6 minutes per step where 5 to 6 were waiting for a build
node and 20 s were running: the steps' "started" column showed the time the
step was asked. The web page and the terminal view now show per step the
time it was asked, the time its seat's holder took it and the time it ended,
with how long it waited and how long it ran, from the step record's
asked-at, taken-at and ended.
Builds: design 47 H2 H-A-516
TestBridgePerformsWhatIsOwedOnce read performed as soon as the first fill
key was purged, while the prune (run inside the write that keeps the act's
outcome) was still purging the others; on a loaded build node the count
landed mid-prune (main.278, 365, 401, 415: "performed holds 37116 bytes of
current values after its prune, want about its target 32768"). Made visible
locally by slowing each purge by 20 ms: the old test fails with the same
words, the new one passes.
The kind is a test acting on the first sign of an act (its owed.ended, one
purge) while the act's work goes on. The test now waits for the bridge's
acknowledgement of the named act on its durable, which comes only after the
outcome is kept and the prune ended: before reading performed after the
prune, and before stopping the bridge after the acts said while the forge
was away (a stop between outcome and keeping hears the act again, writing
performed while the test fills it).
Builds: design 47 H2 §812, §807
A build step whose build waited for a package ended ask-unanswered after ten
minutes, since only mesh-wants' step-progress armed a bound again. The runner
now consumes and hears the seat mesh-builds' step-progress the same way.
Builds: design 47 H2 H-A-514 addendum
The builder handled its events consumer one event at a time, each registry
published and version-released taking seconds, so a pipeline's flood of them
held every later event. Each event now goes to the worker of the name it
carries, one name's events in order and the names side by side; the events
still waiting are said in progress at each end, with no timer.
Builds: design 47 H2 H-A-514 addendum and second addendum
The builder held every publish asked again while its events consumer had a
hundred messages unheard; under a pipeline's flood of published events that
held the very publishes the build steps waited on. A duplicate is now judged
from the reservation's recorded publishes and the registries' record alone.
Builds: design 47 H2 H-A-514 addendum
Each version-released listed the module's reservations, one to three seconds
on the serial events consumer, also for a version the builder no longer holds.
Its series' one key now says whether a reservation holds it; one none holds is
acknowledged with nothing listed.
Builds: design 47 H2 H-A-514 addendum
A build step whose build waited for a package said nothing after ask-taken,
so the runner's bound of the ask ended it unanswered. The builder now says the
seat mesh-builds' step-progress of each ask it holds once a minute.
Builds: design 47 H2 H-A-514 addendum
The runner arms an ask's bound again at each step-progress, which only the
seat mesh-wants said: a build step whose build waits for a package said
nothing for the bound and ended ask-unanswered. The seat mesh-builds gains
step-progress, with the fields of mesh-wants', and its generated contract.
Builds: design 47 H2 H-A-514 addendum
The pull of the seat mesh-builds' work queue took each ask in its callback:
the drop read, the take in the state taken and the ask-taken publish of one
ask held every later ask's, so a slow state call delayed ask-taken past the
runner's bound. The pull now only holds the ask and starts its worker.
Builds: design 47 H2 H-A-514
The node-engine composes an upstream artifact's image from the reference the
registry's holder keeps the copy under; the naming rule is the holder's, so the
engine asks the seat rather than repeat it.
Builds: design 47 H2 H-A-513 second addendum
Wants written before the sequence existed carry a revision number as their run
(322, 323), so the run compare refused every new want of a lower sequence. The
order is now the bus's own: the assigner writes a want with compare-and-set on
the key revision its pass read, a stale pass loses to the newer write and says
so once, and the next pass judges the key again. The run stays in the want as
the pipeline's sequence, information for the why and the tools.
Builds: design 47 H2 §813 (1), H-A-504 third addendum
The fact is the same whichever check finds it: a kept catalog revision,
read below the picture or by its number, that names a newer fingerprint of
the module ends the step superseded at once, never failed and never sent
into the picture's wait.
Builds: design 47 H2 H-A-508 second addendum
The builder's check of a step's revision against its picture ran before
the judgement of the fingerprint and ended failed when the kept catalog
revision named a newer fingerprint of the module (main.338, 00:57). One
outcome for one fact: such a step ends superseded naming the superseding
fingerprint; failed stays for any other mismatch.
Builds: design 47 H2 H-A-508 second addendum
The tool now reads every watched branch's catalog half through the seat
mesh-catalog's verbs registrations and revision, as the pass's world.trunk
holds them; the pass table drives p.wants, so it fails without the clean
state's call; the manifest test names assigner_assignment_drop.
Builds: design 47 H2 H-A-509 (and the lead's answer of review round 1)
A module key of a retired module, written before the value carried a version,
stayed in the assignments state for ever and stopped every reader of the
whole state. The tool assigner_assignment_drop {module, node, why} deletes one
such key, recorded as a hand act first; the pass's clean state drops each
itself, naming it in the journal. Either drops only a key no manifest of the
trunk names whose node key does not name it; nothing goes while the trunk is
empty.
Builds: design 47 H2 H-A-509 (and its second addendum)
The runner refused every test run once test-runs held 16 MiB, its
setting's default, while its bucket is 64 MiB: seven days of runs never
fit, so every pipeline stopped. The cap is now the bucket's max bytes,
read from the bus (the KV stream's Config.MaxBytes, which runsFill
already read): the bucket is the one truth of the manifest's max-mib,
so the runner keeps no second number and does not read its manifest.
The manifest changes: the setting test-runs-cap-mib, its file resource
test-runs-cap and its environment line go, and test-runs-kept's
default is 48h (code and manifest). At nine tenths of the cap the Ager
deletes the oldest ended runs with their output objects, in the step
log's order from the test runs' retention, until the fill is under
eight tenths, said in one journal line of how many and how old; a run
not ended is never aged by fill.
Builds: design 47 H2 H-A-510, H-A-510 addendum (lead answer)
Review round 2: the subtest's build ended done, so the check after the wait
was not held. The build in flight is now withdrawn by the newer entry (the key
ends "withdrawn: … superseded by …", main.327's gate build), and the step
still ends superseded; without the check it ends failed.
Builds: design 47 H2 H-A-508 (and its addendum)
Review round 1: a node-build-go end naming superseded is refused as an
outcome the runner does not know, moving nothing; a dependent whose steps
ended not asked on a mover whose build ended superseded is taken out and
placed again.
Builds: design 47 H2 H-A-508 (and its addendum)
Review round 1: a build a newer entry withdrew while it ran still ended the
step failed, and passedWithItsVersion judged supersession only after the
takeover and only when no version was held. Both now judge the branch's
newest entry first and end the step superseded; a release record that
cannot be read answers its error, never "not taken over".
Builds: design 47 H2 H-A-508 (and its addendum)
A build step the builder ends superseded is taken as the mover moved to the
newer revision's pipeline, by the path a newer pipeline taking a mover
already has: its other open steps end superseded, the mover is kept in the
pipeline's superseded, and the pipeline is judged by its other movers. Any
other seat's end naming superseded stays refused as an outcome the runner
does not know.
Builds: design 47 H2 H-A-508 (and its addendum)
The builder judged an existing done build only by its reservation, release or
takeover; once the release of the taking-over version deleted the series key,
a stale build of main.327 fell through to "no version is reserved for it".
It now judges the step's fingerprint against the branch's newest entry first,
for a done build as for one not built, and ends the step superseded naming
the superseding fingerprint; those words stay for a current fingerprint, and
the release record keeps the fingerprints it withdrew, so TakenOver answers
after the release.
Builds: design 47 H2 H-A-508 (and its addendum)
The seat mesh-builds' step-ended gains the outcome superseded, its why naming
the superseding fingerprint, so a stale build is not said as a failure of the
change; the seat's form is raised to 2.
Builds: design 47 H2 H-A-508 (and its addendum)
The kept-key rule also kept a mesh-wants composition step's own ask key,
whose shared runs are mesh-wants' and no test run whose end deletes it, so
every ended pipeline left that key for good. A key is kept past the end only
for a test run's ask, the rule DropOpen uses.
Builds: design 47 H2 H-A-506 addendum, H-A-506 corrected
At a pipeline's end every ask key of its steps went, a shared test run's
among them, while another pipeline still read the run: that reader's
progress found no key and its steps ended could not run. A shared run's key
now goes only with the run's end (EndRun, leaveRun, unmarkAsks), and a late
ask-taken clears a finding only while its pipeline runs (second addendum).
A declined step asked again deletes its earlier ask's key whatever its run.
The last reader's drop of a run's ask is asked beside the leave, its one
journal line saying dropped, or refused or not answered. A re-pin's
holderless end is tested to drop the open asks of the movers it keeps.
Builds: design 47 H2 H-A-500 addendum (1), H-A-506 corrected, H-A-506 addendum, H-A-506 second addendum
A cancel or an end leaves each shared test run its steps read, and the run's
ask is dropped only when the leaving pipeline was its last reader, never
while another open pipeline still reads it; its own asks of no shared run
and its mesh-wants asks are dropped at once. A step asked again (a rerun, a
declined step of no test run) deletes its earlier ask's key: one key per
ask, gone once the ask is no longer open.
Builds: design 47 H2 H-A-506 corrected, H-A-506 addendum
An ask-taken or step-progress of an ask with no test-run key listed and read
every pipeline (about 3,850), 1 to 2 s per event on the runner's one consumer.
Now every ask the runner puts gets its ask key at the put, naming its
pipeline, mover, step and run: the test run's ask key of H-A-500 and the key
of every other ask are merged into this one form, `ask.<ask>` in test-runs
(a key written before holds its run alone and still reads). Taken, RunTaken
and RunProgress read that key and the one pipeline it names; an event whose
ask has no key is acknowledged at once, counted in H-A-500's one journal line
per hundred. The key goes with the pipeline's end or its run's end, so a late
ask-taken after the end clears no finding (H-A-506 second addendum).
The drops of an ended pipeline's asks are asked beside the end (the Hearer's
Aside): a seat with no holder answers a kept call only at its bound, which
held the cancel verb's answer past its caller's wait in the queue
integration test.
Builds: design 47 H2 H-A-506, H-A-506 addendum, H-A-506 second addendum
A cancelled pipeline's asks stayed on the build seats' work queues and the
holders ran them in full: only the last reader's leave of a shared test run
dropped an ask. Now the cancel, and an end at a placing (holderless, a kept
revision gone), drop every ask still open through its seat's drop, a shared
test run's and a mesh-wants step's alike, and leave every test run read; one
journal line per drop or refusal, and a drop not answered fails nothing.
Builds: design 47 H2 H-A-506
runOf took the pipeline key's last segment, an again run's number, so
node-tools 0.1.115 of main.320.again.1 (run "1") was refused on every
node under run "2" of main.265.again.2, an older pipeline. The assigner
now keeps the sequence pipeline-ended says in its end record and the want
rule writes it as the want's run; the compare-and-set and the
node-engine's compare stay as they are. A pipeline-ended without seq is
refused in the journal and keeps nothing; an end kept before this change,
without seq, writes no want and says so once, naming the runner's
end-again of its pipeline as the recovery.
Builds: design 47 H2 §813 (1), H-A-504 corrected, H-A-504 addendum, H-A-504 second addendum
The runner took queue.next only for a pipeline that waited, so most
pipelines kept seq 0 and the assigner had no order across pipelines for a
want's run. queueStart now takes the next sequence for every pipeline it
writes, queued or placed at once, and pipeline-ended carries the record's
seq.
Builds: design 47 H2 §813 (1), H-A-504 corrected, H-A-504 addendum
The assigner had no sequence to write as a want's run: pipeline-ended said
no seq, so it took the key's last segment, an again run's number, and
refused node-tools 0.1.115 of main.320.again.1 under run "2" of an older
pipeline. pipeline-ended gains seq, the record's; the record's seq is now
said to be taken for every pipeline. The runner seat's form is 10; the
contract is regenerated, with a fixture of an again pipeline's end.
Builds: design 47 H2 §813 (1), H-A-504 corrected, H-A-504 addendum
TestASourceRevisionMovingMeshSDKNamesItAndItsImporters still expected the
twenty reservations' pipeline-started to keep a re-pin revision pinning
importer to the reserved version, which H-A-495 ended (repin_test.go was
brought in line, this bed was not), so it failed on every pipeline with
"main.5 is not kept after 20s". The bed now waits for the indexer's
acknowledgement of each pipeline-started (its settle moves nothing), then
releases the version: the Go package registry seat's published and every
artifact's package-published. The next revision must be the release's
re-pin, importer its mover at that version. The harness's events durable
now also hears the registry's published, as the manifest's consumes names it,
and this bed keeps package-published on its stream and the state versions.
Fails with the pre-H-A-495 pin rule (main.5 is the reservations' re-pin).
Builds: design 47 H2 H-A-495 and its addendum, §805
A takeins bind that failed was tried again every five seconds. Nothing in the
mesh waits on a timer for another part: the runner binds its takeins durable
at its start and again on each registration-changed, as the indexer binds a
branch's consumer, and says each failed bind; until bound, the main durable
works each take-in.
Builds: design 47 H2 H-A-500 fifth addendum
The ask key ask.<ask> is created with the run and deleted with it, but the
Ager deleted an aged run and left its ask keys in test-runs for good; only a
run whose last reader left lost them. The Ager now holds the run clock and
unmarks the aged run's ask keys as the Hearer does.
Builds: design 47 H2 H-A-500 addenda (1)
The takeins durable delivers from the moment it is made, so a take-in said
while the runner was down reached only the main durable, which acknowledged
it with no work: that take-in started no pipeline. Until the takeins durable
is bound, the main durable now works each take-in.taken; from the bind, it
acknowledges with no work those the takeins durable delivers, told apart by
the stream sequence the durable delivers after, so a take-in still waiting on
the main durable is worked whatever the moment it is heard.
Builds: design 47 H2 H-A-500 fourth addendum
The runner heard every event on one serial durable, so a take-in waited behind
hundreds of late step events and its pipeline started ten minutes late. The
runner now makes its own durable <node>_<module>_takeins on EVENTS, filtered
to take-in.taken, and acts on a take-in there alone; the main durable
acknowledges a take-in at once with no work. The test-runs integration test
keeps the runner's findings on their own stream, as the manifest declares:
on EVENTS each reached the main durable unhandled and wrote event-unhandled
again, a flood the take-in now overtakes.
Builds: design 47 H2 H-A-500 (b) and its addenda (2), third addendum (Q2)
A module that hears take-in.taken behind a long run of other events hears it
late; it now hears it on a durable of its own, <node>_<module>_takeins, which
it makes itself. Every module principal, on its own account or carried by a
tool runner, is granted the create, information, pull and acknowledgement of
that one name on EVENTS, none special-cased.
Builds: design 47 H2 H-A-500 (b) and its addenda (2), third addendum (Q1)
The indexer's state heard is declared key-ttl, but its bucket was made before
that declaration, and grants' handling of a held stream only added subjects,
raised caps and moved a source filter: every version-reserved the indexer
kept with a time to live was refused (per-message TTL is disabled, 10166) and
given up after five tries. A held bucket whose state is declared key-ttl now
has per-message time to live turned on, add-only like the cap raise, once per
manifest, and said as asserted; the indexer's TTL stays.
Builds: design 47 H2 H-A-501 (corrected)
Every ask-taken and step-progress listed and read every pipeline to find its
test run, so after a cancel hundreds of late events of ended runs cost one to
two seconds each and held the runner's one event consumer for minutes. The
state test-runs now keeps an ask key ask.<ask> holding the run's key, written
with each ask a run is given and deleted with the run; an event of an ended
run's ask is judged from that key and the run alone and acknowledged at once,
one journal line per hundred.
Builds: design 47 H2 H-A-500 (a) and its addenda (1)
indexer_take_in_pending ran the whole chain of held take-ins inside the one
loop that acts on the takeins asks, minutes long, so its answer was cut and a
second ask waited behind it and answered "holds no source-moved". The ask
now starts the chain beside the loop and answers at once, "chain started at
source <n>, <m> wait"; an ask that meets a running chain answers its state.
The chain's state (branch, source being taken in, since, how many wait) is
the key chain.<branch> of the takeins state, written at each step and
deleted at the chain's end, skipped by the asks' loop and shown by
indexer_pending. A key a stop left is deleted at the indexer's start.
Builds: design 47 H2 H-A-497 (corrected), its addendum and its second addendum
The indexer already takes a branch's held sources in order in one pass, but
nothing said so: on 22 Nov one hand ask took 114, 115 and 116 in turn, about
four minutes each, and it looked as if each needed its own hand call. Each
take-in the chain starts after one landed is now a journal line, "held
source <n> of <branch> taken in next, after <n-1>".
Builds: design 47 H2 H-A-497 (corrected)
The indexer pinned only a pipeline's own revision, so JudgePins removed
revision 292 while main.291's kept mover still had to read it. HeardPins now
pins every revision pipeline-started names in kept under the pipeline's
record, takes the latest started (said again at a re-pin) as the kept set,
freeing a kept revision it no longer names but never the pipeline's own or
its validate base, and pipeline-ended frees them all. JudgePins is
unchanged.
Builds: design 47 H2 H-A-496, H-A-496 addendum
main.291 held the one pipelines-at-once turn 50 minutes waiting for kept
revision 292, which the catalog had removed: nothing pinned it and the wait
had no end. pipeline-started now carries every revision the pipeline's movers
are kept at, and a re-pin says it again with the full list, so the indexer
pins them. A catalog read answered "no such object" is the revision gone;
the placing then ends the pipeline failed "kept revision <r> gone", its
movers are left unfinished and rejoin the next pipeline, and its turn is
freed.
Builds: design 47 H2 H-A-496, H-A-496 addendum
The indexer pinned only a pipeline's own catalog revision, so a revision a
re-pin kept a mover at could be removed while the pipeline still read it
(main.291 waited 50 minutes on removed revision 292). pipeline-started now
carries kept, every revision the pipeline's movers are kept at, said again in
full at each re-pin, so the indexer can pin them. The runner seat's form is
9; the contract is regenerated.
Builds: design 47 H2 H-A-496, H-A-496 addendum
A Go package comes from the Go package registry alone, so a released version
is no longer written as a git tag: the release path and the start's take-in
of a released version call no seat git, and a reserve numbers a series from
the catalog's versions and the registries' only, never reading tags. A
reservation's kept tag field stays for records written before.
Builds: design 47 H2 H-A-494 (withdraws H-A-484's tag steps and H-A-493; design 51's fallback tag retired)
Importers were pinned to mesh-delivery-contracts 0.1.82 to 0.1.84, reserved by
builds a competing build withdrew before release and never published, so their
builds failed "unknown revision". The series' numbered version a reservation
writes no longer pins: a pin is the series' newest released version, so a
version-reserved moves no pin and the release's re-pin moves the importers. A
pin held on a version never released is moved at the next take-in or re-pin and
said per module ("<module>: pinned to <pkg> <v>, never released; moved to <v2>").
Builds: design 47 H2 H-A-495 and its addendum (hq 9e0923ce)
Review round 1 (principle 11, configurable, never hard-coded): the bound of
the record of a version's digests is the builder's setting
record-bound-seconds (default 60), read from its file as revision-wait and
package-wait are, set on the Builder and used for the record. A build key
the builder cannot read, or that holds no build, is said in its journal
instead of being taken silently as not done (principle 3, failure is loud).
Builds: design 47 H2 H-A-492
A takeover or an end cancelling a build's context cancelled the record of its
reservation's digests eight times in a day, each leaving a passed build
unreleased. The record now runs under the builder's own bound (one minute,
not cancelled with the build), and a done build whose digests are not
recorded is recorded from its done key at the builder's next look and at its
start (before H-A-484's start check holds it against the released versions),
said each time.
Builds: design 47 H2 H-A-492
A put wrote its want by fingerprint alone, which the node-engine cannot
compose. The put now finds the version released at its build's parts, as the
pass does, names it in the want, and is refused when none is released.
Builds: design 47 H2 H-A-490 (addendum)
An again pipeline on a built, published key ends naming no version, and the
runner never says its end again, so its movers kept the old want. At the pass,
a mover with no version is matched to the release of its build's parts.
Builds: design 47 H2 H-A-490
Review round 2: a durable nobody ever read (no pull waiting, no delivery ever) was
named behind when its twin was not current, and the plain durable of a module whose
program left was never judged (live: claude-code's plain durables 1,000 to 3,000
behind beside a current `_tools` twin). A never-read durable is now an orphan
whatever its twin; one read once and lagging stays behind. The pass judges both
twins of every heard entry wherever no pass composes them, also on a stream where
only such durables are held.
Builds: design 47 H2 H-A-472 (eleventh addendum)
Review round 1 found two paths untested: a step ask of a withdrawn key
still newest answers failed at once, and a newer entry heard between the
older build's claim and its reservation is not taken over. Each row
fails without its line. The comments of H-A-205 say that H-A-489
overrides it once the newer entry is heard.
Builds: design 47 H2 H-A-489 (review round 1)
Review round 1 found that with no `_tools` twin composed, the behind and orphan
checks never looked at one: live, five twins on EVENTS held 1,000 to 58,000
messages and none was named. The pass now reads, on the streams each consuming
module's heard entries name, every held `<consumer>_tools` and judges it as any
consumer: behind by the bound, or an orphan when no pull waits and its twin is
current. The stale comments on HasProgram and the orphan finding's text follow.
Builds: design 47 H2 H-A-472 (tenth addendum)
Two fingerprints of one module took the series from each other (nats
flipped between 0.1.140 and 0.1.152): a later look built an older
fingerprint again, and its reservation took the newer one's over.
The builder now refuses, before it reserves or builds, a fingerprint of
the first watched branch that is no longer the newest entry heard there,
saying once per key that it is superseded; a step ask of it fails so,
never waits. It looks again just before it reserves. A key withdrawn is
taken again by no look, only by a person's build again.
Builds: design 47 H2 H-A-489
Review round 1 found the fingerprint guard of the build read unproven: every
entry of the 100-key listing carried a time. The listing is now also read with
entries that say none, and no history may be read.
Builds: design 47 H2 H-A-487 (review round 1 finding)
builder_build read every key's whole history to learn when its entry was
written, one more round trip per key of the module; on nats's hundreds of keys
the read crawled. Each entry's own write time now comes with the key's read,
the history is read only for the one key a fingerprint names when its entry
says no time, and a listing cut at the 20 newest says so in its note.
Builds: design 47 H2 H-A-487
The grants part stays the one composer of filters while the tool runner makes its
own `_tools` twin: each heard entry, EVENTS included, carries the twin's filters
(the again filter named for it), ack wait, max deliver, max ack pending and
deliver policy. The pass composes no `_tools` consumer any longer, so it makes no
twin nothing reads; the reader grants add the create and delete of the module's
own twin by name. A membership of a module no longer assigned on its node is
withdrawn by a whole pass, so the runner there removes that module's twins. The
part's own hearing loop leaves EVENTS to the hub, now that the membership names it.
Builds: design 47 H2 H-A-472 (fifth, sixth, seventh, eighth and ninth addenda)
Design 51 copies an upstream image by its pinned digest, and distribution's
mirror says published with no version, so nats, hello-web, mailu and showcase
could never be released. The reservation keeps its upstream refs (Upstream,
filled at the reserve from the plan's upstream tasks) and Missing never awaits
them; the indexer releases a version once every other artifact is published,
naming each upstream artifact with the pin its manifest gives, and refuses the
release loudly when an upstream artifact names no pin.
Builds: design 47 H2 H-A-486, H-A-486 (addendum)
The drop without a second store judged from the parts the holder holds,
and distribution's Holds answers per layer: a publish cut before its
store, whose layers were held, was dropped and never said as published.
The drop now asks the holder's own HoldsWhole (the file at its name and
version); nil never drops, and the reopen finishes as usual.
Builds: design 47 H2 H-A-481 second addendum
A reopen that lacked nothing finished from the held set without reading
the chunks back, so a finish cut after its chunks were dropped, or after
its store, stored wrong bytes or stored twice. Now each part taken is
read back and hashed against its digest as a take does, a failing part is
lacked again, and a transfer whose every part the holder already holds is
dropped without a second store. The takeover bound is the receiver's
field TakeOver, two minutes by default, as its sibling bounds.
Builds: design 47 H2 H-A-481 addendum; review round 1 findings (1), (2)
The verb output failed "holds no header" on an empty object, since the
runtime's object read answers an absent object as empty data without an
error: an empty object is now no object, said "the ask kept no output".
A failed build kept nothing for the verb output to answer: it now keeps
its error text, as the build module bounded it, as the ask's output
object with the header a test step's carries.
Builds: design 47 H2 H-A-482, H-A-482 addendum (a)
An opener that opened a transfer again with nothing lacked was answered
"nothing lacked" and the transfer never finished; another caller with the
same digest was refused; and a transfer lacking nothing at its open was
finished without its idle bound, so a restart during the finish left it
open. Now a reopen with nothing lacked finishes it, by its opener or by
another caller; a transfer that lacks a part is taken over by another
caller once its last part is older than two minutes; and the idle bound
is armed before every finish at an open.
Builds: design 47 H2 H-A-481
The assigner took a tier progress for `pipeline.<branch>.<revision>` only (two dots), so
the progress of a pipeline started again at the head, `<branch>.<revision>.again.<n>`,
was never moved and read as an empty end: its later tiers were never wanted. One parse
of the runner's seat's key forms (mesh-delivery-sdk pipelinekey, over the contract's key
parsers) now reads a pipeline's key for the assigner's tier progress and the runner's
mover keys; a pipeline-ended whose key is of no form is refused loudly and nothing of
it is kept.
Builds: design 47 H2 H-A-485
A version-released whose tag the seat git's holder refused was handed back at once,
spent its five deliveries in seconds and was dropped by the bus: its reservation stood
and its publish item asked again every 30 s for ever. At the start the builder now holds
every built, unreleased reservation against the catalog's verb versions and takes a
released one in as its version-released would (tag, release, bound and item ended,
findings cleared); a refused tag is handed back with the publish pause. The tag check
itself is the forge module's, already accepting a nested package path on the catalog's
trunk.
Builds: design 47 H2 H-A-484, H-A-484 addendum
The verb's description and its answer's class and list say what the
builder now does: one consumer per holder, items listed in stream order,
no class pulled first. Description only, regenerated with seatgen; the
seat's format stays, as at B4's description changes of this seat.
Builds: design 47 H2 H-A-483 third addendum, §793
With one consumer per holder an item has no class to move ahead of, so
builder_publish_first, its mode and its act go. The verb publish-queue
lists the items in stream order, the order the one consumer gives them,
and its description says so. A holder is a module name, so one ending in
-live or -again (an earlier release's class durable) is refused at the
learn, said, instead of having another holder's durable deleted.
Builds: design 47 H2 H-A-483 third addendum, §793
The two class consumers (live, again) could not order live before again
under every scheduling: the idle-dispatch row failed on the build node
after four review rounds. One consumer per learnt holder (publishes-<holder>)
gives items in order; a failed send is handed back with its pause, so an
item put meanwhile goes first by construction. The builder retires the
holder's class durables of the earlier release before making the one,
since a work queue refuses overlapping filters; their unacknowledged items
reach the one consumer. The gap read, the held again items and the live
in-flight check go.
Builds: design 47 H2 H-A-483, its addendum and second addendum, §793
A rerun that would reopen an ended pipeline while another open delivering
pipeline carries one of its movers at the same revision is refused with
"its pipeline <key> is running", nothing asked, so one entry is never built
side by side. Tests now cover the two paths review round 2 found untested:
the indexer keeps a revision's gathering while another pipeline's
reservation is left and removes it with the last, and a test step's rerun
reopening an ended pipeline says pipeline-started before its run is started
again.
Builds: design 47 H2 H-A-479 third addendum, H-A-479 second addendum, H-A-479 addendum (2); review round 2
A pipeline ending not passed withdrew every reservation of its revision, so
an again pipeline's failure could withdraw the head's take-in pipeline's
reservations and the other way round. The indexer now withdraws only the
reservations of the ended pipeline's own movers, read from the movers its
pipeline-ended carries, and withdraws the revision's gathering only when
none is left. A start with modules is refused for a module whose head entry
a pipeline still runs ("its pipeline <key> is running"), and takes the next
n without a bound. A rerun reopening an ended pipeline says its
pipeline-started before the step is asked again, so the revision is pinned
before anything reads it. Tests now cover the again form through the
branch's key forms and a release written into a passed again pipeline.
Builds: design 47 H2 H-A-479 second addendum, H-A-479 addendum (2); review round 1
A revision's kept grants carry the digest of the inputs they were
composed with; an ask whose inputs differ composes again, so grants-for
never lists a change the candidate did not cause. TestGrantsForKeepsWhatItMay
now proves that a revision dropped beyond the bound has no grants kept
either (review round 1); the Logf comment says the tools program's
journal too.
Builds: design 47 H2 H-A-478 second addendum
The indexer pins a pipeline's revision from pipeline-started to
pipeline-ended, so a rerun of a step in an ended pipeline (main.258's
composition at 14:41, after its end at 14:15) asked a step against a
revision the catalog had already removed. A rerun of an ended delivering
pipeline now reads its revision fresh through the catalog seat's verb
revision first and is refused by name, nothing asked, when it is gone
("its revision <r> is gone; start the mover again at the head"); once
reopened it says its pipeline-started again, so the indexer pins the
revision until its next end.
Builds: design 47 H2 H-A-479, H-A-479 addendum (2)
A module whose pipeline failed at an unchanged entry was never carried again
until its fingerprint moved, since start refused the head whose pipeline
existed. The start verb now takes modules: the named modules whose newest
entry has no passed pipeline are started at the head's revision, at the
take-in's tiers, keyed <branch>.<revision>.again.<n> (n from 1, written on
absence); a module whose newest entry passed, or that the head holds no
entry of, is refused by name, nothing started. Exactly one of module or
modules is given. The new key form is read by every key-form list (the
sweep's, a release's, the mover keys'). The runner seat's form is 8; the
contract is regenerated.
Builds: design 47 H2 H-A-479, H-A-479 addendum (1)
A cold grants-for (one composing a revision's grants the grants part did
not keep yet) took 3 to 4 s against the 5 s bound and was cut three times
on 2026-11-22; the bound becomes 30 s in the manifest and the code.
Builds: design 47 H2 H-A-478
grants-for composed every module twice per ask (3 to 4 s against the
runner's 5 s bound, cut three times on 2026-11-22). The tools program
that serves it now keeps each kept revision's composed grants beside the
revision (the newest's and the candidate's), bounded by
grants-for-revisions-per-branch, so a second ask for a kept revision
composes nothing; it reads its inputs at each ask and journals each
stage's time on its standard error.
Builds: design 47 H2 H-A-478, H-A-478 addendum
TestAPassWritesWantsWhileAKeepingIsBlocked read the graph's need right after
two passes, while the keeping takes it on its own goroutine; on a loaded build
node it read too early (pipeline main.251). The blocked object bucket now says
when a keeping meets its gate, and the test waits on that, bounded by the
level bound, as it does on the pass and the wake.
Builds: design 47 H2 H-A-476
A live item put after the turn's live fetch and before the again items were held
was not yet delivered at the gap read, so no gap showed and the later again item
went first (review round 3 on c37a7317, publishitem.go:792-809). With again items
held the dispatch now fetches live without waiting once more: what it returns runs
and the again items stay held; only an empty fetch leads to the gap read. The test's
idle-dispatch case is a subtest of its own, so it runs alone.
Builds: design 47 H2 §793, H-A-473 (third addendum)
On the turn after an again item ran, the dispatch fetched again and read the live gap
without fetching live first, so a live item the stream held but had not yet given to
the waiting live pull showed no gap and a later again item went first (review round 2
on b77b70a6, publishitem.go:791). The live consumer is now fetched without waiting on
every turn no live item is held. The test row adds that case and bounds its rounds by
the level's set-up share.
Builds: design 47 H2 §793, H-A-473 (third addendum)
Review round 1: the day after which a twin is no longer current was a
constant here and again in the bus module. It is now the setting
twin-current-hours of the manifest (24 by default), written into a file
the part reads at its start, the field name the bus module's manifest
names too, so the operator sets it once per module alike; the
durable-orphaned condition names the bound. hasOwnProcess no longer sits
under ownServesOf's doc comment.
Builds: design 47 H2 H-A-472 (2) and its third addendum (2); review round 1 findings (2), (3)
The idle dispatch keeps a waiting pull on each consumer, the bus's only wake for an
item put or delivered again. A live item the waiting pull was given but the dispatch
had not yet received let an again item go first (review finding on 1f33a4c0,
publishitem.go:700, 761, 797). An again item taken while the live pull waits now runs
only once the live consumer's delivered sequence is no further than the live items
received; a gap holds it until the live item arrives and runs.
Builds: design 47 H2 §793, H-A-473 (third addendum)
The test ran the builder at a 1 s step bound throughout, so a loaded build
node could fail a build that must end done. Those builds now run under
testbus.SetupBound; the hung step's part starts the builder again at 1 s,
and the build again after it under the set-up bound.
Builds: design 47 H2 §793; H-A-473 (addendum)
The dispatch read the live consumer's pending count against items the
pull's callback had not yet handed it, so at one processor an again item
was sent before a live one already delivered. It now fetches the live
consumer without waiting and pulls the again consumer only when that
returns nothing; an item is received when its fetch returns it.
Builds: design 47 H2 §793; H-A-473
The pass made <node>_<module> beside <node>_<module>_tools for every
consuming module, so a module whose events only the tool runner reads
got a durable nobody pulls, which piled up and came back after each
removal. The program's consumer is now composed only for a module with
an account of its own and a process resource with no bus of its own;
the tool runner's twin stays for every consuming module.
Builds: design 47 H2 H-A-472 addendum and second addendum, G A-397
About 110 durables left by modules that moved into or out of the tool
runner pile up behind their stream's head and raised 'Messages pile up
for a listener' for no real backlog. A durable with no pulls waiting
whose twin on the stream (<node>_<module> and <node>_<module>_tools) has
pulls waiting and delivered within the day is now left out of that check
and named once in mesh-grants.durable-orphaned, cleared when gone.
Builds: design 47 H2 H-A-472 (2), G A-340
The row proving that the judgement's strict read refuses an unknown
top-level word used class, which the H2 SDK knows, so it failed at main.
It now uses a word no SDK knows and proves the same refusal.
Builds: design 47 H2 H-A-465, H-A-469
A repository with no watched branch is the forge's business alone: the
seat git's merge-pull merges such a member plainly and starts no delivery.
MemberOutcome and CallMember gain an optional note saying so ("no delivery:
the repository has no watched branch"), why staying the refusal's; the
kept field is what merge-called leaves the member out by. The seat's form
rises to 3; merge-pull's description says it.
Builds: design 47 H2 H-A-471 and its addendum (1)
"Main's workers are held already" held only while the controller made
them: the Node build module's install queue, added since, never had its
plain worker, so the module pulled nothing. The account consumers now
name each queue's plain worker beside its named one; a held one is left
as it is.
Builds: design 47 H H-A-468 (third addendum)
The live registration history is held with `….registration.*`; the bus
refuses adding `….registration.>` beside it (JetStream 10052, overlapping
subjects), so df5a8895's subject never reached the live stream. A held
subject a composed one covers is now replaced by it, the messages kept and
no other subject dropped, and the assertion says the replacement.
Builds: design 47 H H-A-470 (third addendum)
The tests wrote registrations straight into their state or through a fake
history, so none used the stream's real subject and the one-token subject
that dropped source.novox.hq went unseen. The new integration test makes
registration-history from the manifest as the grants part does and writes a
module's and a source-only registration through the program's registry; with
the old subject it fails with the live journal's words.
Builds: design 47 H2 H-A-470 (3), H-A-408
The approved registration of source.novox.hq was given up after the bus's
last delivery without a word. On the delivery that reaches the event
deliveries bound heardDecided now gives the warrant up: its key ends refused
"not applied: <reason>" and registration-unwritten (scope module, id the
registration's name) names the ask and the reason, cleared when a later
version is written. The seed's key ends so too and says seed-waits alone.
heardDecided leaves an unapplied warrant for the bus as the other hearers do.
Builds: design 47 H2 H-A-470 (2), H-A-470 addendum (a)-(d), H-A-470 second addendum
The stream took one token after registration., so the history write of a
source-only registration (source.<owner>.<name>) got no response and the
operator's approved registration was never written. The manifest now says
registration.** (the bus's registration.>); the write subject keeps the name.
Builds: design 47 H2 H-A-470 (1), H-A-408
The view kept the last change of at most 1024 pipelines for its pages, a
cap written into the code. A cap is a setting with a default (principle
11): the manifest gives pipelines-heard, 1024 by default, written into a
file of the state directory the process reads at its start. The cap is
kept, not removed: without it the pipelines heard grow without end over
the view's life.
Issue 1983, review round 1 finding 3.
Builds: design 47 H2 H-A-467 (1)
The design gives list a limit with a default of 20; the view asked 20
always and neither the web page nor the terminal view could ask another.
The web list takes a limit query parameter and the terminal view a -limit
flag; a followed branch's list is read at the default, any other limit is
read at the asking.
Issue 1983, review round 1 finding 2.
Builds: design 47 H2 H-A-467 (1)
The socket answered a refusal and a list it could not read with the same
field, so the terminal view's -follow ended at a list not read yet (the
runner not answering at the view's start) instead of showing it unreadable
and reading it again at the runner's next event. A refusal now has its own
field; a list's page is handed on whatever it holds. The unit tests' waits
for a change are bounded, so a change never said fails instead of hanging.
Issue 1983, review round 1 finding 1.
Builds: design 47 H2 H-A-467 (1), (2)
The builder bound the seat mesh-builds' worker once, under a sync.Once, and stopped hearing the bus's advisories after
that, so a worker deleted and made again by the grants part was never pulled again and the asks piled up. The
advisories CREATED and DELETED are now heard for as long as the builder runs: a deletion lets the worker go and says
so, and a creation binds it again. The step test deletes the worker, makes it again and has an ask ended through it.
Builds: design 47 H2 H-A-468 (2)
The builder binds the seat's worker when the bus says it was created and again after a deletion, but no holder was
granted those advisories, so under scoped grants it would never hear them. Each holder of a seat with an accept not
pulled by kind is now granted the subscribe of CREATED and DELETED for that seat's worker. The worker the grants part
creates is SeatQueue's as returned, every shared setting copied, and a test holds it equal to SeatQueue's.
Builds: design 47 H2 H-A-468 (1), addendum, second addendum
The builder binds SEAT_MESH_BUILDS_worker and waits for the broker's part to make it, but the grants part made shared
workers only for seats pulled by kind, so no part made it and the seat's asks piled up unread. AskStreamsOf now keeps
the worker SeatQueue returns for every seat with an accept that is not pulled by kind; the grants principal carries
them, so AccountConsumers grants their create and the consumers pass creates them where the bus lacks them, leaving a
held one as it is and deleting none.
Builds: design 47 H2 H-A-468 (1)
The operator follows the pipelines in the delivery view: the newest
pipelines of a branch (main by default, the newest 20) with their steps
counted per outcome, one pipeline's mover rows and one mover's steps, read
through the seat mesh-pipeline-runner's list and show and read again on the
runner's events pipeline-started, step-ended, pipeline-ended and re-pinned,
heard on the module's one pull; the web pages reload on a stream of those
changes and the terminal view's -follow prints again, never on a timer. Each
delivered source revision links to the newest pipeline of its source. The
view keeps no state of its own for it.
Issue 1983.
Builds: design 47 H2 H-A-467 (1), (2), (3), H-A-376
The delivery view's pipelines page reads the newest pipelines of a branch in
one read of list's short form, so each row now carries the pipeline's source
revision, its catalog graph revision and its steps counted per outcome. The
runner seat's form is 7; the contract is regenerated; the full form stays.
Issue 1983.
Builds: design 47 H2 H-A-467 (addendum), H-A-376
The running indexer read every manifest strictly for its fingerprint
inputs, so a manifest carrying a word its SDK does not know yet (class)
got no fingerprint and nothing of the revision delivered. The take-in's
read (ParseManifestForInputs) now sets an unknown top-level word aside,
as the SDK's decoder does, and takes the inputs from the words it knows;
a word inside a known one is still refused. The judgement's read
(judge.Manifest without a predefined list) stays strict.
Builds: design 47 H2 H-A-465
The publish queue's whole test reserves m4 and waits on the seat
mesh-builds' version-reserved by its subject, said as the process says it
(sayReservedOn, now one function main and the test share); without the
event the step fails. Also gofmt of the pipeline's order_test.go.
Builds: design 47 H2 §821, §805; review round 2 finding 2
A process account is granted only what its bus names, never its seat's
work, so a builder on an account of its own could build nothing at its
first start. The process declares no bus and takes the module's broker
credential, as before B13; as the module's one process it is the one
reader of the work queue publishes. Class, caps, settings and the
publish-queue removal stay. The validator built at this head accepts the
builder in the change case (the trunk case refuses it: no class, uncapped
states).
Builds: design 47 H2 §793, §820; H-A-464 (corrects H-A-454 second addendum); review round 2
A module whose one process declares no bus runs that process on the
module's account, so its work-queue stream is read by exactly one process
without naming it in bus.queues; two processes, or one with a bus, still
name the reader. Lets the builder keep its process on the module's account.
Builds: design 47 H2 §793, §820; H-A-464 (ADR 0436 §6); review round 2
Review round 1 found §805's whole criterion (a release of a module
importing twenty packages of its own pipeline keeps one re-pin revision)
unit-tested only. It becomes a step of
TestASourceRevisionMovingMeshSDKNamesItAndItsImporters, the indexer whole
against an embedded bus: twenty version-reserved of mesh-sdk in main's
revision are kept in heard, its pipeline-started keeps one re-pin revision
(importer its mover, pinned to the reserved version), and the next
pipeline's reservation keeps the revision after it. The bed's indexer
durable on EVENTS now takes version-reserved, as the manifest's consumes
name it. The step fails when pipeline-started does not settle the
gathering.
Builds: design 47 H2 §805; H-A-453 (3)
The test that a transport fault counts the runs that started, not the bus's
deliveries, is folded into the again-delays table as its second run, so the
SDK's unit tests fall by one instead of rising.
Builds: design 47 H2 §819 (H-A-453 (4): a module's count never rises in a change)
Review round 1 found §802's whole criterion (a commit touching two test
files of two modules of 36 moves those two and their importers alone)
unit-tested only. It becomes a step of
TestASourceRevisionMovingMeshSDKNamesItAndItsImporters, the indexer whole
against an embedded bus: the catalogue holds 36 modules, lib-a and lib-b
among them, required by app-a (require) and app-b (require and replace);
a commit changing lib-a's and lib-b's trees alone moves lib-a, lib-b,
app-a and app-b and none of the other 32. The step fails when the
repository's commit enters the tree input, and when a derived directory
does not.
Builds: design 47 H2 §802; H-A-453 (3)
The holder of mesh-wants is away while a re-pin asks the composition again:
the put meets no responders, is put again at the kept-call pace (a hundredth
of its default, so 40 s is 400 ms) and lands once the holder is back; the step
then passes with no hand act.
Builds: design 47 H2 §775 (H-A-453 (3): the whole criterion proven at its level)
The review found §794's two bounds fixed in code: the builder's 100 ms
for saying a slow event's handling, and builder_health's five minutes
for naming a consumer behind. Both become settings read at run time,
slow-event (100ms) and events-behind-bound (5m), declared in the
manifest's config with those defaults; a value that is no duration
refuses the builder's start, and makes the health say it.
Builds: design 47 H2 §794, H-A-461 (2)
Review round 1 found §814's whole criterion (a run by hand against
seat-list gives the live validate's verdicts for the builder's and the
runner's manifests) unit-tested only. It becomes a step of
TestIndexerAnswersARunsInputOverOneMiBInChunks, the indexer started whole
against an embedded bus: with the tests' seat list in seat-definitions the
indexer keeps it in seat-lists and hands it by the verb seat-list in
chunks; the object read by its address gives the same bytes, and the
judge's verdicts for the two manifests from the verb's bytes and from a
request file read again as cmd/mesh-judge reads it are the same.
Builds: design 47 H2 §814; H-A-453 (3)
The review found §794's backlog and §796's tag at another commit proven
only by unit tests. Both become steps of the builder's whole test on the
embedded bus: a reservation skips 0.2.0 whose tag stands at another
commit, takes 0.2.1 with the finding version-tagged-elsewhere, the
release writes modules/m4/v0.2.1 at the build's commit and the
version-released heard from the bus clears the finding; a message the
handler asks again is kept on its consumer's ledger in the state
consumers on the bus, and the health held six minutes names it.
The health judgement moves from the tools program's main into
internal/versions (BuilderHealth), which the tools program calls, so the
whole test can prove it. The test's comment no longer says the old state
is dropped through the bus module (F1).
Builds: design 47 H2 §794, §796, H-A-453 (3), H-A-435, H-A-462
A kept mover's re-pin was declared in the runner's seat but never said, so a
wait on mesh-pipeline-runner.re-pinned was never answered. The runner's whole
test now waits on pipeline-started, step-ended, pipeline-ended and re-pinned by
seat and name, a same-source re-pin revision being one of its steps.
Builds: design 47 H2 §821 (round-1 finding: EventRePinned unused outside the contracts)
Review round 1 found the take-in's waiting bounds fixed in code
(takein_waiting.go:23-24, one and five minutes). They become the settings
take-in-waiting-line (default 1m) and take-in-waiting-bound (default 5m),
declared in the manifest and read at the start as reserved-keep is; zero
on the indexer takes the defaults. The waiting test gains a row with the
settings at 2m and 10m and checks the bounds the wait asks; the manifest
test's settings rows gain the two keys.
Builds: design 47 H2 §803; H-A-461 (2), P11
Review round 1 found heard capped at 8 MiB (module.json:137) while its
live fill is above a quarter of that. Fill read 2026-11-22 02:23 UTC with
nats.nats_buckets on novox (the bus module's show makes no entry for a
foundation part's old-section state): mesh-delivery-indexer_heard
4,654,001 bytes (4.44 MiB), 5,499 values. Four times the fill is
17.75 MiB; the smallest power of two above it is 32 MiB (H-A-437).
Builds: design 47 H2 §814, §820; H-A-461 (3), H-A-437
The bus module's keeper made no entry for the builder's old-section
publish-queue, so nats_drop refused it at every start and the move
re-put its items after the 24 h window. The builder, which made the
bucket, now deletes it itself once every item is on the work queue;
the manifest no longer names publish-queue nor invokes nats.nats_drop.
The whole test proves the move and the removal on the embedded bus,
and a second move of the same items after a stopped start puts each
once. Also corrects the publishes comment: the process consumes the
work queue on its own account (H-A-454 second addendum).
Builds: design 47 H2 §793, H-A-461 (1), H-A-454 (second addendum)
Review round 1 found the indexer's unit tests rose by one in H2
(seatlists_test.go:75, TestTheSeatListIsOneObjectByItsDigest). §819 as
H-A-453 (4) reads it: a module's count never rises in a change. The test
becomes the row "seat-list" of TestTheControlRecords, its steps unchanged,
so the count stands where main has it.
Builds: design 47 H2 §819, §814; H-A-453 (4)
No conflicts. The mesh-builds contract is regenerated with seatgen: -b's
publish-queue verb and feat/47-H2's descriptions meet in one
VerbDescription (seatgen -check clean).
Builds: design 47 H2 (join of the develop step, playbook 07)
The view claims the seat mesh-delivery-view, so its class is core and every
store it keeps names its cap. Fills read on novox (nats_buckets, 2026-11-22
02:50), all under a quarter of 8 MiB, so 8 MiB each: reach 280,654 bytes,
waits 39,678, first-views 7,521, findings 3,400, view-marks 237, answers 0.
Its finding stream keeps 7 days at 8 MiB, not 16.
Builds: design 47 H2 §810, §812, §814, §820; H-A-394 (1), H-A-437
It claims the seat mesh-wants, so its class is core, and every state it
keeps names its cap. Fills read on novox (nats_buckets, 2026-11-22 02:50):
findings 3,507,749 and proposals 3,648,514 bytes, above a quarter of 8 MiB,
so 16 MiB (the power of two above four times the fill); every other state
under 2 MiB, so 8: wants 1,737,869, written 889,116, waits 780,485,
candidates 564,884, asks 513,017, puts 442,260, placement 221,392,
differences 176,358, assignments 147,691, seat-holders 80,508, engine-reads
38,397, pulses 5,100, first-views 4,631, view-marks 1,776, copies 140,
policies 0, put-waits 0.
Builds: design 47 H2 §810, §812, §814; H-A-394 (1), H-A-437
The teller claims no seat, so its class is leaf, declared by the same rule;
its finding stream keeps 7 days at 8 MiB, not 16.
Builds: design 47 H2 §810, §820; H-A-394 (1)
It claims the seat mesh-node-enroller, so its class is core; its finding
stream keeps 7 days at 8 MiB, not 16, as every module's does (live fill of
its findings state: 0 bytes).
Builds: design 47 H2 §810, §814, §820; H-A-394 (1)
It claims the seat mesh-grants, so its delivery carries a contract of the
mesh; the manifest check refuses a seat-claiming manifest with no class.
Builds: design 47 H2 §810, §814; H-A-394 (1)
The runner claims the seat mesh-pipeline-runner, so its delivery carries a
contract of the mesh: the manifest check refuses a seat-claiming manifest
with no class. Its states already name their caps.
Builds: design 47 H2 §810, §814; H-A-394 (1)
The tools bundle follows the seat-holders view of the claimant of
mesh-module-assigner, names each build seat's holder per node from it, asks
each holder's current at its node one after another and answers them
together, a holder that does not answer listed with why; it reads no presence
and chooses no node. The manifest lists the tool and the three build seats'
current among the module's invokes, outside the process's bus.
Builds: design 47 H2 §801; H-A-446 (1)
The manifest says class core (it claims a seat), caps every state by the fill
read on the bus (builds 128 MiB, findings and versions 32, bounds 16, the rest
8; H-A-437), keeps the findings history at 8 MiB for 7 days, invokes the bus
module's nats_drop for the moved bucket, and bounds publish-tries at 10 with 5
as its default. The process gains a bus of its own naming the work queue
publishes in queues with the module's emits, consumes, state and invokes, its
credential broker-builder, so the validator accepts the work-queue stream read
by exactly one process. Verdict: the judge at feat/47-H2-i ce6c39e4 accepts the
builder in the change case and refuses it in the trunk case (no class,
uncapped states).
Builds: design 47 H2 §783, §812, §814, §820; H-A-394 (1), H-A-437, H-A-446 (2), H-A-454 second and third addenda
A held module still runs its asks, and a have that says running proves
nothing about the holder: the usage view asks each build seat's verb current
on each node at once, says the seat held where its holder answers, counts the
asks it lists as running, and says a step key it does not list left running.
The node-engine's phase is shown and judges nothing. The manifest invokes the
three build seats' current.
Builds: design 47 H2 §813 (9), §801
The work queue publishes is declared in the manifest's old streams section
(retention work-queue, duplicates 24 h, max-deliveries 10, 64 MiB, 7 days), the
module's own stream consumed on the module's account, so the bus binding asked
of the broker seat goes; the consumers per holder and class are still made at
run time. The seat mesh-builds gains the read verb publish-queue, served by the
builder from its own stream (counts per holder and class, oldest and newest, a
list capped at 50, capped past 4,000 items read), and builder_publish_queue asks
it in place of the runtime's stream and work-queue reads. Two whole tests of a
gone artifact are folded into one, so the builder's integration count stays at
18 with the publishes whole test.
Builds: design 47 H2 §793, §819, §820; H-A-440 (1), H-A-446 (2), H-A-454 and its addendum
mesh-sdk a323a3fd made busretry.KeptPace a function read once and held
atomically; the bridge (from feat/47-H2-a) still read it as a variable and
did not compile against it.
Builds: design 47 H2 §782
No conflicts; no side raised a form of mesh-wants or mesh-delivery, so both stay
at 2. The mesh-wants contract is regenerated with seatgen: the keep-now verb
(-a) and the drop verb's description (feat/47-H2) meet in one VerbDescription
(seatgen -check clean).
Builds: design 47 H2 (join of the develop step, playbook 07)
No conflicts; the mesh-catalog seat's form 5 is -i's (feat/47-H2 left it at 3),
and its contract is regenerated with seatgen so the seat-list verb's description
follows the merged seat.json (seatgen -check clean).
Builds: design 47 H2 (join of the develop step, playbook 07)
The captured catalogue beside the judge (testdata/beside) is re-archived from
mesh-catalog 30a3e665 (feat/47-H2, the delivery group's catalogue head), so the
judge's rules are tested against manifests that name their class where they
claim a seat; the catalogue fixtures of judge and internal/index move from
835bf22b and a67f0196 to 30a3e665 (ca-trust refreshed; avahi, audit-logger and
netcheck kept at a67f0196, which they still match). Tested against mesh-sdk
a323a3fd (seatlisttest holds the group's definitions); the build seats' check
now holds current, pause and resume among the verbs the seats' definitions
serve, which have grown since 1887.
Builds: design 47 H2 §814, H-A-428, H-A-452
The bucket publish-queue listed and reread itself before each send; its items
now ride the builder's work queue publishes, pulled per holder and class by
consumers the builder makes as it learns a holder, the live class first, a
failed send handed back with the pause, an item acknowledged when its publish
is heard and terminated when its build is withdrawn, superseded or dropped.
builder_publish_drop and builder_publish_first act through reasks after the
hand-act log; builder_publish_queue reads the queue through the runtime. The
old state's items are moved once at the start, then dropped through the bus
module.
Builds: design 47 H2 §793, §820; H-A-290, H-A-291, H-A-440, H-A-446 (2), H-A-448
Eight unit tests and two integration tests become rows of the test they
sit beside (t.Run of the same body), so the runner ends below its start
of 105 unit and 4 integration tests counted by top-level function.
Builds: design 47 H2 §819
register takes the source form (a check of a build seat and a step kind,
no module, no path, one branch) and keeps it, its history and its
registration-changed under source.<owner>.<name>. One whose tree at the
branch's head holds a module.json at its root or under modules/, read
through the seat git's trees, is refused holds-manifest. A move of its
branch is taken in with no movers.
Builds: design 47 H2 §815, §806; H-A-349 DQ-9, H-A-438, H-A-450
A source-only registration whose repository holds a manifest is refused
by a value the enum names, so a caller registers its module instead. The
seat's form rises to 5; regenerated with seatgen, -check clean.
Builds: design 47 H2 §815; H-A-450 (1)
The step-ended outcomes gain no dropped: the drop verb's description now
says both a waiting and a running ask end their step could not run, the
why naming the drop and who asked it, one way for an ask that never ran.
Builds: design 47 H2 H-A-401
No module built from them: every reader uses modules/mesh-delivery-contracts
and modules/mesh-delivery-sdk. Neither held a manifest, so the indexer's
module graph is unchanged. The repository check of the delivery SDK now
refuses a go.mod or Go import naming either root path again.
Builds: design 47 H2 §823
list answers by default the newest 20 short rows (key, call, start, end,
outcome, movers' count and the first failed or could-not-run step with its
module and why), and the whole pipelines only with full and a limit. show
answers one mover's steps when it names one, the steps its filters hold,
or else each mover's row, never every step of every mover. The tools
program describes each seat verb's tool from its contract, which seatgen
now generates a VerbDescription for; runner_cancel reads the whole
pipelines with full. The runner seat's form is 6.
Builds: design 47 H2 H-A-376, H-A-449, §789
A holder whose node lacks what a step's packages need (the artifact's
check-needs, now named on the integration step's ask) says the step's end
declined with needs and lacks, in place of could not run. The runner puts
it again under a new ask id naming in not-on the nodes that declined it;
a holder on a listed node hands it back at once. The nodes that can take it
are the holders of the step's seat and of the need's seat less those that
declined; when none is left the step ends could not run naming the need
and the nodes asked. The build-step part's form is 3, the runner seat's 5.
Builds: design 47 H2 H-A-375, H-A-445 (ADR 0552 §2, §4)
A run member or mover named source.<owner>.<name> is a source-only
registration's check, which the runner runs as one step: StartRun builds
it no candidate and keeps no run, and its pipeline-ended keeps none either.
Builds: design 47 H2 §815; H-A-438, H-A-442
A revision that names no definitions of its own is judged by the trunk's
seat list as the seat mesh-catalog's chunked verb seat-list hands it, asked
as a kept call under the run's ask: its bytes fill Request.Seats and its
digest is the request's seat-list, the bytes refused when their size or
sha256 is not the answer's, so every validate run of one list judges the
same bytes and the validator reads no bus. A revision naming its own
definitions keeps them, sorted by seat, and names the sha256 of those
bytes. The manifest invokes seat:mesh-catalog.seat-list.
Builds: design 47 H2 §814; H-A-441, H-A-443
class core (it claims mesh-catalog). Every state names its cap. Fills read
with the bus module's nats_buckets on novox, 2026-11-22 ~02:20 CET (its
show answers only entries the bus module made, not old sections):
candidates 3,963,006 B (3.78 MiB) -> 16 MiB; manifests 5,463,959 B
(5.21 MiB) -> 32 MiB; seat-definitions 4,392,352 B (4.19 MiB) -> 32 MiB;
at 8 MiB, each at or below 2 MiB: packages 767,959; takeins 468,577;
findings 293,571; registrations 111,058; inputs 26,473; taken 5,595;
predefined 4,215; requirements 3,945; view-marks 3,068; first-views 1,554;
oldsections 256; runs 152; held 140; build-edges 0. Seventeen states, not
the sixteen the handover counted. The findings stream keeps 8 MiB, 7 days.
kept-call-pace-first 1s and kept-call-pace-max 30s, runtime settings, as
it makes kept calls.
Builds: design 47 H2 §775, §783, §810, §812, §814, §820; H-A-394 (1), H-A-411 (1) (2), H-A-437
Once the seat definitions' state is bound at the start, the indexer keeps
the seat list in seat-lists, so seat-list answers from the first delivery
and never refuses "not kept yet" for want of a trunk definition's move.
Builds: design 47 H2 §814, §820; H-A-447
The whole indexer's hand manifests of a build module and of the assigner's
holder claim a seat, so they name class core, as the judge now asks; with
none, every take-in of those tests refused them and waited out its bound.
Builds: design 47 H2 §814; H-A-394 (1)
At each trunk seat-definition move (said or not) the indexer writes the
trunk's definitions, resolved, as one JSON array sorted by seat into its
objects seat-lists under its sha256, when not held, and deletes every
object but the newest two, never the one just kept; one journal line per
write and delete. Its process serves the chunked verb seat-list: digest,
size and chunks, then the object's bytes; a list not kept yet is refused
naming it. The manifest serves seat-list and declares seat-lists in its old
objects section at 64 MiB. composer.Request gains seat-list, the digest of
the bytes Seats were filled from; the judge reads Seats alone.
Builds: design 47 H2 §814, §820; H-A-441, H-A-443 (1)
seat-list is a chunked read verb, as input is: input call (128 random
bits), answer digest (the list's sha256, its object's name in seat-lists),
size and chunks, then the bytes on the call's chunk subject. The object
name leaves the answer. The seat's form rises to 4; regenerated with
seatgen, -check clean; the fixtures read so.
Builds: design 47 H2 §814, §820; H-A-441, H-A-443 (1)
The artifact store's sweep read each done key's history to learn when its build ended.
A done or failed key now carries ended and outcome, written with its end (kept as it was
when the same end is written again), so a reader of the builds reads no key history.
Builds: design 47 H2 §797
A number whose tag stood at another commit was reserved again, and a Go package outside
mesh-sdk's go directory was tagged go/v<version>, which the Go toolchain never reads. The
builder now reads the Go package's tags once per catalog revision, skips a number tagged at
another commit with the finding version-tagged-elsewhere (cleared at the next release), and
tags <directory>/v<version>, the directory read from the package's module path.
Builds: design 47 H2 §796
The delivery SDK's step parts land beside the runner's work, so H-A-375
builds on them. The registrations client's test names no other seat, as
the generator's check of ADR 0625 §4 asks.
Builds: design 47 H2 H-A-375 (its base)
A delivery module (one claiming a seat of the delivery system, read from the
seat list's definitions) is refused for a state, log or objects entry with no
cap, in its old section or in requires; a seat-claiming manifest names class
core or leaf; finding-events is 8 MiB, 7 days; the objects template takes
max-age-days. internal/beside says a group's check reads the catalog member's
head beside it, main only when the catalog is not in the group.
Red until the captured catalog is refreshed (I6 (5)): judge
TestRulesSecrets/EveryCatalogueIdentityFitsWhatItRequires,
TestRulesSecrets/ParseManifestForInputsReadsAValueFallingBackToAPredefinedKey,
TestRulesPlacement/TheCataloguesBarPlacesBlocksAndItsShapeCoversEveryShow,
TestRulesBus/NoCatalogueManifestNamesAnInstallation; internal/index
TestAnArtifactOfNoToolchainHasNoLanguageAndNoLock,
TestAMergedManifestIsKeptOnceByItsDigestAndNamedByTheModule,
TestAModuleWithNoToolchainArtifactGetsItsFingerprintAtOnce,
TestAManifestFallingBackToAPredefinedKeyIsRead (each a captured catalog
manifest with no class, or finding-events at 16).
Builds: design 47 H2 §814, §820, §783; H-A-394 (1), H-A-411 (1) (4), H-A-415 (1), H-A-428, H-A-430 (3), H-A-434
A mover's build that passes, a rerun's among them, takes out of its
pipeline the steps that ended not asked because it did not build, by the
same take-out a hand-off uses, and the pipeline's placing places those
movers again: their dependents need no hand rerun. The journal says it.
Builds: design 47 H2 H-A-406 (H-A-361's kind)
The findings stream is 8 MiB, kept 7 days, its oldest dropped when full
(no findings-max-age setting: nothing reads one). Every state names its
cap: 8 MiB, bounds 16 MiB above four times its live fill (2,188,123 bytes
on novox, 2026-11-22 00:16 UTC; queue 50,604, findings 285,807, the rest
under 3 KB). ask-silent-bound, its file and its environment go. The kept
call's pace is declared, kept-call-pace-first 1s and kept-call-pace-max
30s, read at runtime. The runner consumes mesh-builds' and mesh-wants'
ask-taken and invokes their drop. The whole test writes 10,000 findings
past the manifest's cap and none is refused.
Builds: design 47 H2 §783, §775, §777, §778, §820; H-A-411 (1), (2), H-A-437
An owed act met by the forge away (401 while the store was replaced) ended
could not be performed and nothing performed it again. Each act is now a kept
call at the module's pace (kept-call-pace-first, kept-call-pace-max) until
owed-away-bound (60 minutes), then ends could not be performed naming every
try. Before each try the bridge reads the pull request through the seat git's
pull: one closed unmerged ends owed.ended not-needed, never performed. The
gate's owed event gains record (the delivery record's source revision), kept
with the act in performed, and bridge_owed_again by record and why performs
again every act of that record that ended could not be performed, written in
the hand-act log first.
Builds: design 47 H2 §807, §775, §819, H-A-432
A tool-only health is refused by the validator (ADR 0227 rule 8, ADR 0240 rule 2), as the
runner's manifest has it: the unit check stays, the tool reads the consumers beside it.
Builds: design 47 H2 §794; H-A-435 second addendum
The indexer re-pinned every importer at each publish; it re-pins once at the reservation
when the builder says version-reserved, with the package's path and the indexer's revision name.
Builds: design 47 H2 §805; H-A-420 (2)
A run whose one member is a source-only registration's key
source.<owner>.<name> runs that registration's check: one step of its
kind on the build seat it names, at the repository's root, asked on the
seat's check stream as every step, its status the registration's policy's.
Its mover is the registration's key, its repository the origin and its
fingerprint the commit's root tree hash, read through the seat git's trees
as a kept call; so its step-ended names the key, escaped into one subject
part, and the tree. A candidate's revision places nothing of it; at its
turn in the queue its step is placed from its registration. A source member
beside another, or a key with no source-only registration, is refused. The
registrations follower keys a source-only registration by its key.
Builds: design 47 H2 §815, §775; H-A-408, H-A-438
The builder said nothing when its events backed up or one handling stood still; its health
now reads each durable consumer's oldest unacknowledged message from its state consumers,
and an event handled over 100 ms is said with the part that took it.
Builds: design 47 H2 §794, §820; H-A-435 and its addendum
A line per module drowned the journal at 6,500 plans; the plans live on the bus, where
builder_unbuildable reads them, and the builder says them once per start and per seat list change.
Builds: design 47 H2 §795, §820; H-A-425
performed filled on 2026-11-21 with nothing to stop it. It is now bound through
mesh-sdk's process.PrunedState: its figures are read when the bridge opens the
bucket its binding names, each write is counted, and past prune-mark (70 %) the
oldest acts are purged to prune-target (50 %) in one journal line, a key kept
under _keep/<key> staying. The bus drops acts older than three days by the
entry's TTL (performed-keep). performed, heads and owed-asks name an 8 MiB cap.
The tools bundle serves mesh-delivery-forge-bridge_state_prune_now and
_state_keep from stateobjects.PruneTools, each written in the hand-act log.
Builds: design 47 H2 §812, §819, H-A-380, H-A-386, H-A-411 (2), H-A-433
The builder's version-reserved writes the series' numbered version with the
contents of the module's entry commit, so acceptedSeries and releasedPins pin
it; the indexer keeps each reservation in heard (reserved.<revision>.<module>,
reserved-keep) and gathers a revision's reservations until its pipeline's
start, its first step-ended or the expiry of settling.<revision>
(reserved-settle), then keeps one re-pin revision of that branch. The release's
package-published moves no fingerprint; a pipeline-ended not passed withdraws
its reservations to the newest released version.
Builds: design 47 H2 §805; H-A-418, H-A-420, H-A-424, H-A-436
A publish by its digest alone marks no reservation, so no build module may publish a Go package or a
bundle without the version its ask reserved; the refusal is loud and comes before the seat is asked.
An archive may still publish by its digest.
Builds: design 47 H2 H-A-373, H-A-373 (addendum)
runner_step_output (pipeline, mover, step) reads the step from the state
pipelines and asks the verb output of the build seat's holder on the node
its step key names, by the step's ask, once per artifact the step ran for;
a step that reads a shared run is answered by that run's ask. The runner
keeps no output of its own: the objects step-outputs go, with the step's
and the log entry's output and show's outputs; the runner seat's form
rises to 4. The manifest invokes the three build seats' output.
Builds: design 47 H2 §791; H-A-412 (1)
A node puller bound no install worker, so the Node build seat stopped taking its install asks: the
workers are now declared per AskQueues(language), not AskKinds.
Builds: design 47 H2 H-A-403
The gate reads a mover's class from its catalog entry when it opens the
delivery record, so the indexer writes the manifest's class there.
Builds: design 47 H2 §810; H-A-394 (1), H-A-431 (1)
The seat mesh-catalog's CatalogEntry gains class, core or leaf; an entry
without it reads as leaf. The indexer writes it from the manifest. The
seat's form rises to 3; regenerated with seatgen, -check clean.
Builds: design 47 H2 §810; H-A-394 (1), H-A-431 (1)
A placement's build or a put written after a delivery carried the kept
graph's trunk source as its run, which can be older than the delivered
want's, so the compare-and-set refused a person's act (the whole test of a
placement back at a module's first build). The newest source the assigner
holds for such a want is now the kept trunk source or the run of the want
written, whichever is newer.
Builds: design 47 H2 §813 (1); H-A-416
The drop's description said a dropped ask's step ends "dropped", an outcome
the step-ended has not: it ends could-not-run, its why naming the drop and
who asked it, as the assigner says it.
Builds: design 47 H2 §778; H-A-401
Two writers of a node's want could leave it at an older delivery, and the
node-engine could not tell a newer want from an older one. Each want now
carries run: the source revision of the pipeline that released it, or, for a
want of no pipeline (a put, a placement's build, a removal), the newest
source the assigner holds. It is written by compare-and-set (create, or
update at the revision read), refusing a want whose run is lower than the
one written, said in the journal; a want that differs only by its run stands,
so no node composes again for it. The answer's other half is the node-engine's:
its manifest states declaration-reads and declaration-writes, the assigner's
neither.
Builds: design 47 H2 §813 (1); H-A-355 (1), H-A-416
The build-step part's output verb loses call and chunks (form 2): a
composition or validate run's answer over the inline bound is read through
the Go build seat's read verb answer (buildstep.StepEnded.ReadOutput, the
chunked call), so the manifest invokes seat:node-build-go.answer in place of
seat:node-build-go.output.
Builds: design 47 H2 §791; H-A-412 and its addendum
StepEnds also refuses steps that keep no outputs. SeatVerbs, which every build
module runs with its seat tools and steps, judges current, output and answer at
form 2, and runs a pipeline step whose test answer holds the level's text, a
NOT RUN skip and a failure, naming an install archive: its end must carry the
not-run, the archive must reach the test call and the run's output must be
read back through the module's verb output; an install is judged only where
the steps install, on node-build-node alone.
Builds: design 47 H2 §791, §800, §801; H-A-367, H-A-412, H-A-421
The runner seat's Mover gains unplaced (kept-revision-unread) and revision, the seat's form 3.
Builds: design 47 H2 §787, §780 (fate: the drop of kept-revisions before the decode goes)
The wait answered "no verb to read" for every step whose end is kept as its
answer object: the process never set the asker's reader and its manifest
invoked no build seat's answer.
Builds: design 47 H2 §791, H-A-412 (addendum)
A take-in that touched a manifest failed its validate step on every problem
that manifest already had, so an old problem blocked any change to it. The
step now counts, for every manifest and between manifests, only the problems
the case before does not hold; assigner_validate_before (pipeline, module)
answers from the kept validate run the ones it holds and did not count.
Builds: design 47 H2 §814
A keeping that failed was handed again only by the next pass, so with no
change of inputs no revision was kept and no want said as wanted. A failed
keeping now runs again after keeping-retry (a runtime setting, 30s, the
holder's own deadline), unless a newer revision was handed meanwhile, and
raises keeping-failed (scope module) at the third failure in a row, cleared at
the next keeping that succeeds. The seat mesh-wants gains the act keep-now,
which the assigner's process serves: it keeps the pass's newest computed
revision at once, one keeping at a time, and answers the revision kept or the
fault met; the tool assigner_keep_now writes the hand act first and calls it.
Builds: design 47 H2 §813 (2); H-A-417
A test step takes the level's text out of its test answers (their member
output) and keeps it in the holder's outputs objects as <node>.<ask id>, a
header of its size and the failing tests with their words from the level's
results beside the text; a check ask's answer keeps none. The verb output at
the part's form 2 takes the ask and answers the text's last 64 KB, its size and
the failing tests from the header; no-longer-kept only when this node's steps
key shows the ask ended more than the max-age (7 days) ago, an ask never run
here refused naming it.
Builds: design 47 H2 §791, §820; H-A-367 (1), H-A-412 (1) and its second and third addenda
The delivery SDK's build-step part keeps a step's end over the steps state's
value as the object answer.<ask>, read through the build seat's verb answer;
OutputObject is gone. The builder's wait names the answer object it could
not read.
Builds: design 47 H2 §775, §791; H-A-412
The verb registrations and the new tool indexer_registrations filter by
module and repository while they read, at most 768 KB a page, capped with
the cursor next: the tools bundle reads the state from the bus's cursor
(mesh/state.page), a store that pages none by its keys in order; total is
said when one page holds the whole read.
Builds: design 47 H2 §806, §811, §779
A step's end is an event, not a verb's answer, so an end over what the steps
state's value or step-ended carries has a reader of its own: keepOver keeps it
in the steps objects as answer.<ask>, the step key and step-ended carry
answer-object in place of output-object, and the build seats gain the read
verb answer (ask and call, marked chunks); output stays the run text's reader.
Step.Whole and StepEnded.ReadOutput read through answer.
Builds: design 47 H2 §791; H-A-412 (2) and its addendum
A branch's take-in, a run's candidate and a branch's re-pin compute as dry
runs whose packages went to the trunk's packages state. They now write them
to the state dry-runs under <branch>.<call>.packages.<name>, read through to
the live state, deleted when the dry run answers and every key at the
indexer's start; the manifests stay create-once by digest as every take-in's.
indexer_dry_runs reads the state; the manifest asks for it, 16 MiB, one
hour's TTL.
Builds: design 47 H2 §804, §820; H-A-413 and its addendum
A caller whose step ended by its bound could not stop the builder working on
its ask, and nobody could see what waited on the seat's work queue. The
builder now serves the seat's verb drop: an ask it runs is cancelled, one not
pulled yet is kept dropped in its state taken (dropped.<ask>, for
ask-taken-bound); both end the step could-not-run naming the drop and who
asked it. builder_asks reads the waiting asks through the runtime and the
taken ones and the drops from the state taken; builder_ask_drop asks the
seat's drop once the hand act is recorded.
Builds: design 47 H2 §777, §778; H-A-401, H-A-404, H-A-410
The journal said a step's end only when it failed to say it, so an ask's
answer could not be followed by reading the journal. The assigner writes
"answered <ask> <pipeline> <movers> <step> <outcome>" where the step's end is
said, the one place a validate or composition ask is answered.
Builds: design 47 H2 §792
A composition step ended at a node-engine's first "no responders": the
engine between two lives gave no input. The holder of mesh-wants now asks
compose-candidate through mesh-sdk's kept chunked call, under the ask id
<step ask>.<node> the engine takes once, called again at the kept-call pace
through transport faults until compose-ask-bound (a runtime setting, 10s).
Builds: design 47 H2 §775; H-A-405, H-A-364
A step ask put while the assigner was down waited for nobody: the plain
subscription heard only what came while it ran. The assigner now pulls every
waiting ask from the seat's one worker, takes it once by its id in its state
taken (for ask-taken-bound), says ask-taken at the pull, sends in-progress
while the step runs and acknowledges once the step's end is said. It serves
the seat's act drop: a running ask is cancelled, one not yet pulled is kept in
taken as dropped.<ask>; either ends its step could not run naming the drop.
assigner_asks reads what waits on the queue (stdio.QueueWaiting) and what is
taken or dropped; assigner_ask_drop ends one ask, written in the hand-act log.
The manifest declares taken, drop, the two tools, ask-taken-bound and the
kept-call pace as runtime settings.
Builds: design 47 H2 §777, §775, §778, §820; H-A-381, H-A-401, H-A-404, H-A-410
A pipeline ending failed or cancelled keeps each mover whose own required
steps passed or never ran in the runner's state unfinished and names it in
pipeline-ended's unfinished; the branch's next kept catalog revision carries
it, or starts a pipeline for it alone. runner_unfinished reads the state,
runner_unfinished_drop drops one key, runner_unfinished_place asks the new
seat verb place-unfinished (contracts regenerated), both hand acts.
Builds: design 47 H2 §786, §820 (unfinished), H-A-398
A source-moved take-in waiting over a minute on the seat git writes one
journal line and its waiting-on (part, verb, since) in the state takeins
under running.<source revision>, removed at the take-in's end; past five
minutes it raises take-in-waiting (scope merge), cleared when the wait
ends. indexer_pending answers the running take-ins beside the held ones.
The wait is measured by a context's bound, no timer (ADR 0437 §8).
Builds: design 47 H2 §803, H-A-409
The verb current answers at the part's form 2: the node, whether it takes
asks and why not (paused, capacity 0, unhealthy) since when, its capacity, and
every ask it runs with who asked it. Each judgement keeps since when.
Builds: design 47 H2 §801; H-A-367 (2), H-A-399 (1)
steprun.OutputsStore names the holder's `outputs` objects, which its manifest
requires with their cap and max-age, in place of the steps state's own
objects store.
Builds: design 47 H2 §791, §820; H-A-399 (1)
node-build-node accepts install as a StepAsk holding an install job (the
InstallAsk's fields and the module's fingerprint) under the version its
archive is published with; install is its own queue on that seat alone and
its holder pulls it. RunAsk dispatches the kind to the module's install body,
which publishes the archive <module>:node-modules to the artifact store, and
the install's end names the reference it answered.
Builds: design 47 H2 §800; H-A-367 (4), H-A-379, H-A-399 (1) (2), H-A-403
A package of another repository none publishes leaves the module without a
fingerprint (NoPackageVersion) instead of taking the gate's source head; one
of the module's own repository none publishes enters by its directory's tree,
which the tree input carries, so the same source gives the same fingerprint.
Builds: design 47 H2 §802, H-A-349 DQ-8, H-A-350 DMC-5
The integration step's ask names the install archive; the step run carries
it on the check job it runs and hands it to every test call as its argument
archive, for the Go build module to unpack into the workspace.
Builds: design 47 H2 §800; H-A-367 (4), H-A-399 (1)
ReadGoTest answers the skips whose words open "NOT RUN:" as not-run with
their reasons; a pipeline test step carries them into its end, the level
passing. A level whose every failure is a starved setup (testbus.SetupStarved)
ends its run again by the again-delays; its third run ends the step could
not run "the bus did not answer in setup within <bound> under load", never
failed. A step's last run that meets a fetch or publish fault now says its
end failed with the why it opens with, so the runner hears it.
Builds: design 47 H2 §800, §799; H-A-294, H-A-367 (3), H-A-368, H-A-399 (1)
The line a build step's finish wrote named no ask, so an answer could not be
matched to the ask the runner put. BuildStep now takes the ask's id and its
finish writes "answered <ask> <pipeline> <movers> <step> <outcome>".
Builds: design 47 H2 §792
An ask put while the builder is down waited for nobody: the plain subscription
heard only what came while it ran. The builder now pulls every waiting ask from
the seat's one worker, takes it once by its id in its state taken (for
ask-taken-bound), says ask-taken at the pull, sends in-progress while it builds
and acknowledges once the step's end is said. Its publish to a registry seat is
a kept call carrying the publish's ask id. The manifest declares taken and the
kept-call pace and ask-taken-bound as runtime settings.
Builds: design 47 H2 §775, §777, §820; H-A-381
Every step-ended goes through sayStepEnded, which writes "step ended <pipeline>
<mover> <step> <outcome> in <duration>"; the cancel verb now says each step it
ends. Resume at a start puts again only an open step's ask no holder took.
Builds: design 47 H2 §784, §777 (H-A-397)
The bound key ask.<seat>.<ask> is armed at the put, again at the holder's
ask-taken (heard now for mesh-builds and mesh-wants too) with what is left
since taken-at, again from now at each step-progress, and at a start for every
open ask whose key is gone; it is deleted at the step's end. Past it the step
ends could-not-run, naming an untaken ask's seat holder as taking none, and its
ask is dropped through the seat's drop. The silent seats' bound, the second put
under AgainID, the ask2. keys and the put again at a holder's running go; a put
refused by a full work queue is said and put again at the kept-call pace.
Builds: design 47 H2 §777, §778 (H-A-349 DQ-4, H-A-395)
taken (the record's start at its take-in), placed (the earliest step start),
ended, and per step kind the earliest start and latest end across movers, so
the gate reads where a pipeline's time went.
Builds: design 47 H2 §785
The build modules' shared steprun parts of §799: again-delays (15s,60s) read
into a Puller's Delay; a fetch's 401/5xx or connection fault and a publish's
no responders or exited bundle are transport faults whose why opens fetch: or
publish:; the assigner call that named a silent holder goes. The builder reads
an exited bundle as no responders and keeps the part in a key's fault words.
Builds: design 47 H2 §799 (H-A-390)
A put that met a transport fault is put again under the ask's own id at the
kept-call pace instead of failing the step at the first fault.
Builds: design 47 H2 §775
deliveries filters by repository, module, outcome and since while it reads,
pages by the cursor next and answers its deliveries with capped and total.
The seat's form rises to 2.
Builds: design 47 H2 §779, §811
tags answers items {tag, commit}; trees' description says a missing directory
answers not-found; the error kind away joins refused, not-found and failed,
every answer carrying part and words with it; tag's description names the
<directory>/v<version> form. The seat's form rises to 2. The builder's,
bridge's and indexer's readers take the tag's name from the item.
Builds: design 47 H2 §776, §796; H-A-350 DMC-2, DMC-3, H-A-354
registrations filters by repository beside module while it reads, pages by
the cursor next and answers capped and total. The read verb seat-list answers
the seat list's object in seat-lists by digest, size and name. A registration
takes a source-only form under source.<owner>.<name>, with origin, one branch,
policy and check (a build seat and a step kind), naming no module; its history
keeps the same key. The seat's form rises to 2.
Builds: design 47 H2 §806, §811, §814, §815; H-A-349 DQ-9, DQ-10
The build-step part's step enum and the delivery SDK's PipelineSteps gain
install; an install's end copies the module and the commit its ask names and
carries the archive, and the SDK's check takes it so.
Builds: design 47 H2 §800; H-A-367 (4), H-A-379
oci-artifact-registry's list filters by module beside name while it reads,
continues from the opaque cursor next and answers capped and total; the
seat's form rises to 2. The shared remove no longer judges its caller for a
retention removal.
Builds: design 47 H2 §779, §811, §813 (7); H-A-350 DMC-10
output takes the ask and answers the output's last 64 KB, its size, the
failing tests with their words, or no longer kept; its call and chunks go.
current answers the node, whether it takes asks and why not since when, its
capacity and every ask it runs with its asker. A step's end gains not-run and
archive, a step ask names the archive to unpack, and node-build-node accepts
install. The delivery SDK's neutral forms carry the same fields.
Builds: design 47 H2 §791, §800, §801; H-A-350 DMC-16, H-A-367
On 21 Nov the order was the reverse of the first commit's: mesh-contracts'
old build was withdrawn first (21:50:16), so the stayers that awaited it
were placed not asked, and only then did the hand-offs take it away. A
mover that left is still a dependency of those stayers: their not-asked
steps held the pipeline's end as failures. At the hand-off the steps of
each stayer that ended not asked on a dependency that left, directly or
through a mover itself taken out, are taken out, so the placing that
follows places them again against the newest published package; a
dependency that truly did not build is named again at that placing. The
journal says which movers are placed again.
Builds: design 47 H H-A-361, H-A-53, H-A-223
mesh-builds' and mesh-wants' accepted kind step names max-age 24h, max-msgs
10,000, ack-wait 60s, in-progress 20s, max-ack-pending 1,000, max-deliveries 5
and a duplicates window of 2m; the grants part makes each seat's ask stream
through mesh-sdk's buscompose.SeatQueue and says a seat whose settings it
refuses, and its own copy of the derivation goes.
Builds: design 47 H2 §777; H-A-350 DMC-1, H-A-362
main.158 and main.163 ended failed seconds after newer pipelines took
movers away: the movers that stay still awaited the movers that left,
whose builds had ended superseded, so the next placing ended them "not
asked: its dependency did not build" and the end judgement counted
them as failures. A mover that left is no longer awaited (the stayer
builds against the newest published package, H-A-53), is never placed
in the older pipeline, and the hand-off places what stays at once and
says in the journal which movers stay.
Builds: design 47 H H-A-361, H-A-53, H-A-223
A step keeps asked-at and taken-at; pipeline-ended carries phases and
unfinished; show takes step and state filters and the cursor next, and
answers capped and total; re-pinned is declared. The seat's form rises to 2.
Builds: design 47 H2 §778, §785, §786, §789, §821; H-A-349 DQ-13
The node enroller's and the watchdogs' generated decoders answer the form
they read (mesh-contracts K1); their readers here take it.
Builds: design 47 H2 §780
Both seats declare ask-taken (ask, node, at) on ask-taken.<ask> and gain the
act drop; mesh-builds declares version-reserved; the want value the
node-engine applies carries run, the composition run's pipeline sequence, and
mesh-wants' form rises to 2. The queue settings of the accepted kind wait on
mesh-sdk's seatdef and buscompose (H-A-362, D1b).
Builds: design 47 H2 §777, §778, §805, §813 (1), §821; H-A-349 DQ-1, H-A-350 DMC-15, H-A-355 (1)
A type added or removed whole changes no reader's value; only a type whose
fields changed while the form did not fails the compare.
Builds: design 47 H2 §780; H-A-352 (2)
The seat generator gives every value, event and answer the wire field form
(left out while 1) and a tolerant decoder answering the form it read; each
contract carries its forms and a digest of its fields, and the compare fails
a definition whose fields changed while its form did not. Every delivery seat
is regenerated, and the readers take the form.
Builds: design 47 H2 §780; H-A-352
The channel holds no room to wait for (A-424): a refusal for want of room is
said as any refusal is, and its waiting, its bound of refusals and their tests
go. The wait for asks the router did not take stays.
Builds: design 47 H2 §813 (10)
The runner's ended line was written only for a heard step-ended and its run's
readers; the unanswered-bound end, the end at placing, a supersede, a re-pin,
the approval's end, the start pass and the verbs said their ends silently. It
is now written in Hearer.say, the one place that says step-ended, and at the
starter's two sayers that call stepEvent directly (repin, sayNotAsked). The
builder's answered line sat on four of buildEntry's returns; the ask's answer
is now one line in BuildStep's finish, naming the pipeline, the movers, the
step and the outcome, the per-entry existing/built-now line kept beside it.
Builds: design 47 H H-A-320 (1), H-A-333
A working 36-mover pipeline was read as stalled twice: the runner wrote no
line when a step ended or was asked, and the builder none when it answered a
step ask. The runner now writes "<pipeline> <mover> <step> ended <outcome>
(<node>, <duration>)" at each step end it writes (the asking step, every
reader of its test run, and each reader EndRun ends), and "<pipeline> <mover>
<step> asked on <seat>" for each ask put (the re-ask paths keep their own
line). The builder writes "<module>@<fingerprint> build step answered
<outcome> for <pipeline> (existing build / built now)".
Builds: design 47 H H-A-320 (1)
The verb published answered no time, and after a release no digest,
while the seat form says both come when published. The builder now
keeps when it heard or confirmed each publish on the mark, and each
published digest on a kept release; marks and releases written before
answer without them. A number a take-over withdrew is not published.
The runner drops a pipeline's kept answers at its end.
Builds: design 47 H H-A-331, H-A-328
main.137 stood twenty minutes with nats and mesh-vault waiting on
mesh-grants packages published at 20:00, before the wait was written,
so no publish event came. The runner now asks the build seat's
published when it writes the wait and places the mover when the
package is published, saying so in the journal apart from an event.
Builds: design 47 H H-A-326 (1), H-A-326 (3), H-A-328
A package published before a pipeline existed is in no record of the
runner, so the builder, which owns publishes, answers whether an
artifact built at a fingerprint is published, from its reservations
(marked from the registries' record) and its releases.
Builds: design 47 H H-A-328, H-A-326 (1), H-A-274
A step held on a package's publish counted as open, so a pipeline whose
only movers waited on publishes that had come before their wait was
never named by runner_health (main.137, twenty minutes).
Builds: design 47 H H-A-326 (2), H-A-311 (3)
runner_health, show, list and stands refused every pipeline record
carrying the runner's own kept-revisions ("unknown field
kept-revisions" on main.131 and main.137): the field is now dropped
before the seat's strict decode. A required step waiting (an approval,
a pin-held step) now counts as open, as the end's judgement holds it.
Builds: design 47 H H-A-311 (3), H-A-313, H-A-285, H-A-309, H-A-322
main.137 stood seventeen minutes with nothing open while runner_health
said healthy. The tools program says each such pipeline in its journal
once per key (H-A-313).
Builds: design 47 H H-A-311 (3), H-A-313
A late progress or end moved nothing, so movers waiting on what the
step's end gave stayed unplaced: main.137 placed nothing after its
lint's late progress at 20:17:55.
Builds: design 47 H H-A-311 (2), H-A-286, H-A-288
A placing whose compare-and-set was refused because the pipeline was
written meanwhile was dropped and never done again: main.137 stood
seventeen minutes with eleven steps placed until a restart.
Builds: design 47 H H-A-311 (1), H-A-288
Since mesh-sdk heard a seat's event on its bare subject too (H-A-166), the teller's
own hub handler of registration-changed overlapped the one the views reader makes
for the catalog half's followers: the hub refused the reader's, said "a message has
one taker", and registered none of the reader's adopted events after it, so the
catalog half's registrations and source branches were their first views' alone.
The widenings now hear the event through ProcessReader.AdoptEvent beside the
followers; a failed handling is given back for the bus to ask again, as before.
The carry test now fails when any of the reader's events is refused.
issue 1960 (H1), test stability.
Builds: design 47 G A-199, A-222, §532, §335
The want-of-room test failed most runs since 20 Nov: the teller's picture of the
assigner's asks hands the first ask on twice (its first view, then again), and the
second sight of an open asking catches up with the router's record, which first asks
the seat mesh-module-assigner's assignments who holds operator-channel. The bed
neither granted nor answered that call, so it waited out its call timeout on the
watch's goroutine, and the second ask, written meanwhile, was not raised within the
test's 10 s. The bed now grants and answers the call as the live seat does, naming
ops-router, so the catch-up reads ops-router_asks at once (20 of 20 runs pass, were
0 of 20 locally).
issue 1960 (H1), test stability.
Builds: design 47 G §570 (issue 1610 AC1, the refused ask asked again), §717
The review found two faults. The tool paged on through a state of any size, one replay of the bucket per page; it now
reads one page of each of its own states and, when the state holds more, answers that page capped, with the keys read
and the state's size from its info, never asking a second page and never refusing. And the retiring of superseded done
builds keyed the newest reservation and release by module alone, so a standing 0.2 would retire a done 0.1.x; both are
now found per module and series (MAJOR.MINOR).
Builds: design 47 H H-A-292, H-A-293, H-A-291 (1), H-A-290 (5)
Two tests failed under -race on main too: the re-ask state fake's maps were written by a try on the watch's goroutine while
the test read and deleted them, and the operator-ask test read the build store unlocked and waited on the builder while
the build its answer starts could still be counting itself in. The fake's maps are locked and read through it, the store
is read under its lock, and the builder is waited on only once that build has claimed its key.
Builds: design 47 H H-A-290 (the module's tests pass with -race, as its checks ask)
A start asked a publish again for every unreleased done build, older ones whose digests a newer reservation or release
of the same module made dead included, and a live publish queued during a long start pass waited for its end. A done
build a newer reservation or release (the builder's own record) supersedes is now retired at the start and at the pass:
its key dropped, its publish item ended, said in the journal; the start asks only each module's newest. A live enqueue
marks its holder, and a pass about to send a start-class item stops there, lets the sends in flight end and lists again,
so the live one goes next; a start-class enqueue never does.
Builds: design 47 H H-A-291 (1), (2), H-A-290, H-A-275
The tool runner's release waited forty minutes behind old versions: every start asked a publish again for every done
build, and each send relisted and reread the whole queue. A publish whose build ended in this run now goes before any
asked again at a start (the class kept on the key's value, a live key of a build before the start made a start key at
the start); a pass lists a holder's keys once and sends them four at a time; a withdrawn or taken-over build is dropped
with its publish item ended at enqueue, at the pass and at the start; a send that returns unsent says why, and every call
it makes honours its one bound; builder_publish_queue reads its states in pages and answers counts per holder and class,
the oldest and newest queue time, a list capped at fifty and one module's items with their class.
Builds: design 47 H H-A-290 (1)-(5), H-A-269, H-A-271, H-A-275
main.117 judged its end at 17:45:19 and never wrote it: every mover's widens
was read inside the end's compare-and-set loop, 126 movers each cut on
grants-for, so each try took about eleven minutes and every write was refused
as changed until the restart, whose start pass judged no end.
The reads an end needs are made once, before the compare-and-set, shared by
every mover and every retry; the runner's start pass ends each running
pipeline with nothing open before the queue is placed; every end says its
outcome in the journal.
Builds: design 47 H H-A-288, H-A-289, H-A-223, H-A-243
Review round 1: a kept mover's ask ids still came from the pipeline's start
time, so a pin-held ask or a composition took the id of an ask the runner
had just dropped for the old fingerprint, and a restart never matched the
steps placed again; and a kept mover placed later read the branch's held
view, so a lagging view gave the new fingerprint the old pins. Every ask id
of a kept mover's steps (build, tests, validate, pin-held asks,
composition, rerun, restart) now mixes its kept revision into the id's
sum, and every placing of a kept mover (at once, later, at a restart, a
rerun) reads its entries at its kept revision by number, waiting while
that revision cannot be read. The test's starter gets a clock that moves.
Builds: design 47 H H-A-286 (amending H-A-284; with H-A-283, H-A-285)
A module importing packages its own pipeline releases was re-pinned at
each publish; each re-pin revision of the same source took it out of the
running pipeline, and each newer build withdrew the older reservation, so
nothing ever published. A revision of the same source now moves no mover
out of the open pipeline of that source: the pipeline keeps it at its new
fingerprint, ends every step of it superseded (said at the old
fingerprint, its asks dropped, its runs left) and places them again from
the re-pin revision's entry under new asks, the build first, still naming
the pipeline's revision. The revision the mover is kept at rides in the
record's kept-revisions, beside the movers, where the pin check reads its
entry. A revision whose every mover is kept starts no pipeline; one of a
new source moves movers as before.
Builds: design 47 H H-A-283, H-A-284, H-A-285 (with H-A-223, H-A-244, ADR 0682)
Live, a published at a version fourteen reservations share cost three seconds:
the fallback by version read every reservation there, and the journal line
read them all again, so the backlog drained at fifty a minute.
The published now hands the reservations it read (each once, a second pass
taking what the first read) to its journal line. The fallback reads the new
index key of the reservations at a version whose build has not recorded every
digest (kept at reserve and where a digest is recorded, written again at the
start), the only ones a published can be kept on; the line counts the rest from
the index by version without reading them. Before that pass the handler says
in progress to the bus.
Builds: design 47 H H-A-280, H-A-271
Every artifact carries its version from its build (a Go module zip's paths, a
program's stamped version, an image's and a bundle's build environment), so
no digest survives a change of number: the move that kept digests would have
published a binary saying 0.1.37 under another number.
The try, on a number a registry holds at another digest, withdraws it on the
reservation (a gap) and raises version-held-elsewhere naming both digests,
then asks the build of the same fingerprint again through the build-again
path of a done key whose version is not released. Its reserve never takes a
withdrawn number again, skips every number a registry holds, and the build
records fresh digests and runs its own publish; the takeover ends the old
number's publish item and bound.
Builds: design 47 H H-A-275, H-A-279, H-A-226
The tier progress started at the lowest tier of the versioned movers, so every
lower tier counted as run and a mover whose version came late was wanted after
its consumer. The progress now holds every passed mover, and a tier with one
whose version is not written does not run until it is.
Builds: design 47 H H-A-270, H-A-273, H-A-277 (1)
A say that failed after the version was written was lost: the redelivery found
the version held and said nothing. A failed, superseded or cancelled end writes
no want, so it is not said again.
Builds: design 47 H H-A-270 (2), H-A-277 (2), (3)
A publish item skipped while the registry held the version would stay skipped
for ever once its published event was lost; and node-tools 0.1.37, held by the
artifact registry at another digest than the build's, was asked again for ever
and never released.
When every missing artifact is held at its version with the built digest the
builder marks it published from the registry's record and says
package-published, as a heard published would; the release follows from the
catalog. Before reserving, the registry seats' versions of the module's
artifacts are read and every number one holds is skipped (version-held-elsewhere,
scope module); a read that fails lets the reserve proceed. A done build whose
number a registry holds at another digest moves to the next free number, its
digests kept, the old number withdrawn as a gap; its old item and bound end and
its publish is asked under the new number. The finding clears at the module's
version-released.
Builds: design 47 H H-A-274, H-A-275, H-A-245, H-A-226
The tier progress was written once, from the movers the first end named, so
a mover taken from the end said again was wanted out of tier order: a late
tier-2 consumer and the tier above it were wanted together. It now joins
the progress at its tier, and is wanted at once only when that tier ran.
Builds: design 47 H H-A-270, H-A-273
The holder skipped such a mover silently, so a passed pipeline wrote no want
and nothing said why; the runner now says the end again once the version is
written, and the holder takes it then. The pipeline ends took registrations
from a second handler that the hub refused at every start (a message has one
taker); they are told by the catalog half's one follower instead.
Builds: design 47 H H-A-270 (1), (3)
The publish item's try asked the registry to publish node-tools 0.1.37 again
every few minutes while the registry had published it and the builder's own
consumer stood thousands of messages behind, adding events to the backlog.
Before each try the builder reads its durable on the events stream (pending
plus unacknowledged): at a hundred or more the try asks nothing. Below it the
registry seats' own record (their verb versions) is read: every missing
artifact held at the version with its built digest asks nothing either. A
skipped try is said in the journal, written again with its pause and spends
no try; a count or record that cannot be read holds no ask.
Builds: design 47 H H-A-269 (2), H-A-272
The builder's consumer of the registry seats' published stood thousands behind:
each published, and each one that marked nothing, read every reservation.
An index beside the reservations (three-token keys in the same state, which the
reservations' two-token filter never lists) names the reservation keys holding
a built digest and those standing at a version; it is kept at reserve, at a
digest recorded, at release and at drop, and written again once at the start.
A published reads its digest's entry and that reservation; a digest no
reservation holds is judged from its version's entry, never a scan.
The test stores and the tools' read store now read a key filter token by token
as the bus does, which showed the publish queue's resume listing three-token
keys with the two-token filter: it lists them with its own filter now.
Builds: design 47 H H-A-269 (1), H-A-271
The seat mesh-wants' holder skips a passed mover with no version yet; the
version-released arrives late, so the end it took named none and no want was
written. Saying the same pipeline-ended again, naming the version, lets the
holder take the mover it skipped.
Builds: design 47 H H-A-270 (2)
Review round 2. The siblings watched main, which is also the default
branch, so no test held the alike rule; they now watch stable and the
entering module is asserted to watch it.
Builds: design 47 H H-A-265, H-A-266
Review round 1. A pipeline that ended (failed, cancelled) with a mover
still waiting left the finding for ever. It is now judged at every
pipeline's end and in Waiting: cleared when the registration is held, or
when no running pipeline still has an unplaced mover of the module.
Builds: design 47 H H-A-262, H-A-265
Review round 1. A module with a register proposal pending is skipped (the
operator's Approve registers it); a module the seed left out keeps
seed-left-out and is not registered; the branch is the first watched
branch the repository's registered modules hold alike, else its default
branch read through the seat git, and a module whose default branch is not
read is skipped and said, registered at the next kept trunk revision. One
listing of the registrations finds the modules with none, so a revision
whose modules are all registered reads no registration.
Builds: design 47 H H-A-262, H-A-263, H-A-264, H-A-265, H-A-266
A mover with no registration had its wait said only in the journal. The
runner now raises the finding registration-missing (scope module, id the
module) through its finding writer as it places a pipeline whose mover has
no registration, and clears it when the module's registration arrives or
the registrations held name it.
Builds: design 47 H H-A-262, G A-327, ADR 0666 §2
Four modules added to a repository after the registrations' seed were never
registered, so a pipeline's steps for them waited on a registration nobody
asked. A kept trunk revision of any kind now registers each of its modules
with no registration, before the revision is said, with no ask: origin its
repository, path its manifest's, the first watched branch, the steps its
repository's other modules hold alike (else the seed's) and a per-artifact
status only where every sibling naming that artifact holds it identically,
said registration-changed. The start does the same once for the current
trunk graph. With no registration held the seed stays the only writer; a
module that leaves the graph keeps its registration.
Builds: design 47 H H-A-262, H-A-263, H-A-264, G A-327, ADR 0666 §2
Review round 1: the start handed a removal-only keeping to the background
while passes wrote wants with no revision kept, so their wanted was never
said. A pass now writes no want until the first keeping keeps a revision
(that keeping wakes the pass), the start's removal folds into the first
pass's keeping, and the pass judges the store's fill itself, through a
handle of its own, before it writes. The integration bed makes the
revisions' object store, as the grants part does from the manifest.
Builds: design 47 H H-A-259, H-A-261; ADR 0682
A pass that kept a fresh assignment graph revision sat six to eight minutes
keeping it and removing the revisions not current, so the wakes of
pipeline-ended and running waited for it. The keeping now runs off the pass
loop, one at a time and folded; the removal takes each entry's module and
fingerprint from the store's listing instead of reading every entry object;
each pass and each keeping says its duration.
Builds: design 47 H H-A-259; ADR 0682
The start read the second bound with a get, which says not found both
for a key never armed and for one the holder's ask-taken deleted, so
every later start asked an answered step once more. The first read
keeps each key's last entry; a first bound's expiry is taken only when
its second bound left no entry at all, and with both passed only the
second is taken, ending the step without asking it again.
Builds: design 47 H H-A-238 (5)
The bounds were watched for updates only, so an expiry marker written
while the runner was down was never heard and that ask had no bound.
At the start each ask key's last entry is read; an expiry marker is
taken then. A running heard before the seat-holders view is read is
heard again after a delay instead of at once.
Builds: design 47 H H-A-238 (5), H-A-243 (1)
The rerun put only the named mover's validate under the new ask; the
others stayed failed under the old one, so the pipeline failed again
and a second rerun made a second validate ask, breaking the pipeline's
one validate ask. The compositions its failed validate ended not asked
now wait again, asked once validate passes as at the placing.
Builds: design 47 H H-A-51, H-A-236
The pipeline's one validate ask names no mover, but its end names the
mover whose body the holder took; the runner compared that mover with
the first step carrying the ask and dropped a passed validate, so the
pipeline held its slot (main.88).
Builds: design 47 H H-A-236, H-A-252
Only a newer pipeline that waited took movers out of older waiting ones;
one placed at once left them, so main.84 was placed nine hours later
with a mover a newer revision had moved and built a stale fingerprint.
Builds: design 47 H H-A-223, H-A-244 (1)
mesh-builds and mesh-wants say nothing before a step's end, so asking
them again at the short bound would double a running build. Their ask
has one bound, ask-silent-bound, and is put again when the node-engine
says the holder running, since the holder takes asks on a plain
subscription and loses those put while it is down. An ask asked again
on a build seat carries a second id derived in the accepted form.
Builds: design 47 H H-A-235, H-A-238, H-A-241, H-A-243
An ask whose holder lost it (the seat mesh-wants' holder restarted) held
its pipeline's turn for nine hours. Every ask but a test run's now arms
a key of the state bounds before it is put; its expiry asks once more,
said in the journal, and the second ends the step could not run with
the finding call-unanswered, so the pipeline ends and its turn frees.
Builds: design 47 H H-A-235, H-A-238 (1)-(5)
The rerun verb looked a step's ask up by the mover's id, but the validate
ask is one per pipeline and names no mover, so every validate rerun, and
a composition rerun, was refused "placed no ask now".
Builds: design 47 H H-A-236
The tool runner's approval findings of call-unanswered are of scope machine;
the indexer's entry now names scope call, so no approval key is cleared even
where an id form would match. The test's negative ids take the approval form.
Builds: design 47 H H-A-249, G §580
The daemon's call-unanswered keys from before the rename would be seeded and
stated by the tool runner's writer, which owns that kind, and never cleared.
The retired list now names call-unanswered with the indexer's own id forms
(the seed's node-build-<kind>.steps, the floor's
mesh-catalog.versions-floor.<module>, the versions fill's
mesh-delivery-builder.builder_versions), so those keys clear once and the
tool runner's approval findings stay.
Builds: design 47 H H-A-247 (3), H-A-249, G §580
The daemon's writer is handed to the process reader (event-unhandled) and the
heard writer (family-not-heard), kinds its list lacked; and call-unanswered
belongs to the tool runner's writer over the same state. The daemon's
unanswered calls are now indexer-call-unanswered (same scope and id), its list
holds the SDK parts' kinds, and merge-untaken is retired, so its live key and
condition clear at the next start. The test reads the SDK parts handed the
writer and refuses a retired kind still raised.
Builds: design 47 H H-A-242, H-A-247 (1) (2) (3), H-A-82, G §580
The daemon's writer owned every kind while the tool runner's writer shares the
state `findings`; under G §580 each bundle states only its own kinds. The
daemon's writer is now made with FindingKinds, the ten kinds its code raises,
and a unit test reads the daemon's code for every kind it gives the writer and
fails on one the list does not declare.
Builds: design 47 H H-A-240, H-A-242 (2), H-A-233, G §580
A pipeline placed long after its take-in found its old build done but holding no
number, and was told to reserve one; the series had moved to a newer fingerprint.
The step now says it is stale and names that fingerprint and its version.
Builds: design 47 H H-A-244 (2), H-A-226
Review round 1. A branch's take-in runs through the dry indexer, which
shares the live packages state, so a branch cut before main added a
module would have deleted main's key: publish drops a kept key only on
the real indexer at the trunk's merge. And a repository whose every
asked directory is gone (one key, or all gone) returned the whole error
and raised packages-not-published at every take-in: the seat's trees of
the commit now tell a gone directory from a commit with no tree.
Builds: design 47 H H-A-232, H-A-233, H-A-234; issue 1585
A Go module mesh-catalog removed stayed in the packages state, so every
publish of mesh-catalog asked the forge for its directory, the seat git
answered not-found, and the one-directory fallback (issue 1585) ran only
on an answer without the directory: nothing of the repository was
published and its packages' digests froze unsaid.
filesVia takes the seat's not-found as a failure of the tree, so the
fallback runs; publish drops the kept key of a package whose directory
the trunk's merge no longer holds, said in the journal; a listing that
fails for another reason raises the finding packages-not-published
(scope merge, id the repository), cleared at the next publish that lists.
Builds: design 47 H H-A-232, H-A-233, H-A-234; issue 1585
A fill read on every chunk made the tool runner list the registry's
incoming store per chunk. The kept transfer now holds the fill read at its
open and the bytes taken since; each chunk tells their sum, written with
the put already made per chunk, and the store is read again only at the
finish, a drop, or when a part's chunks are dropped.
Builds: design 47 H H-A-227, H-A-228
The validate step's run ask built the manifest validator from the indexer's
tree with no pins, so the Go build module refused it for a requirement of
another repository (main.74's feh validate, main.67's mesh-sdk validate);
the composition step's run ask built the composer from the node-engine's
tree the same way. The seat mesh-wants' holder builds both asks: each now
carries the pins of the entry its program is built from, the indexer's
entry at the step's own revision and the node-engine entry chosen per
machine, those with a version, in the form the entry keeps and the
builder sends.
Builds: design 47 H H-A-203, H-A-192, H-A-205
The series key's Withdrawn grew at every take-over and was never pruned. At each write it now keeps only the
withdrawn versions above the catalog's highest released (those at or below it are refused by the plain rule anyway),
carried across a renumbering of the same fingerprint too; a dropped number is never reused (H-A-226 withdraws
H-A-225's freeing). The comment of the rebuild's reservation now states A-490b as H-A-225 amends it.
Builds: design 47 H H-A-225, H-A-226
After a builder restart, the run already building a module carried its reserved number while a re-run of the same
fingerprint reserved the next, so its publish was refused "has no version reserved or released" (main.61: the builder
0.1.111 vs 0.1.112, mesh-grants 0.1.52 vs 0.1.54, and others reserved twice within seconds). A take-over by another
fingerprint dropped the older reservation but let the older build run on and publish a number that no longer existed.
Reserve now answers the standing reservation of the same fingerprint while it is unreleased and above the catalog's
highest, a build again or a re-run alike (A-490b amended so). A take-over keeps the dropped version in Withdrawn and
withdraws the older build (ended superseded, ADR 0664 §4); a late publish of it is refused as withdrawn, naming the
fingerprint that took it over.
Builds: design 47 H H-A-225; G A-490b as amended; ADR 0664 §4
The watchman's go.mod names buildrun in a replace directive with no require
line, and the walk of the module graph followed require lines only, so
buildrun's requirement of the module assigner's client was never pinned and
every test step of the watchman failed "no pin". The walk now takes the
same-repository modules a go.mod replaces by a directory as required, with
the same same-repository test, so their go.mod files are read and their
other-repository requirements pinned, transitively.
Builds: design 47 H-A-224, H-A-201
A moved mover's steps ended superseded, but their asks kept running on the
build nodes. Each such step holding its own ask on a node-build seat, one
reading no shared run, now has the seat's drop asked with the newer
pipeline's why, through the drop the runner already bounds and keeps. The
seat mesh-builds serves no drop, so a build ask there runs to its end,
which the runner ignores: the step is no longer open.
Builds: design 47 H H-A-223
No test failed when Start stopped calling the supersede of running
pipelines, the path the live runner takes. Two rows now start a newer
pipeline through Start, a take-in's and a release revision's, with the
supersede wired to a hearer over the same store, and hold that the older
running pipeline's moved mover left it. The supersede lists only the keys
of the newer pipeline's branch instead of every pipeline's.
Builds: design 47 H H-A-223
With the SDK's guard of one pull per durable (pullOnce reads the consumer's
CachedInfo and releases on the consume's Closed), the fake of a branch's
durable embedded a nil consumer and a nil consume context, so
TestABranchDurableNotThereIsMadeAndHeard panicked. The fake now answers a
ConsumerInfo with its stream, name and a created time of its own, and its
consume context closes when stopped. No other fake in mesh-delivery embeds
jetstream.Consumer; the assigner's, runner's, builder's, watchman's and
grants' unit suites pass with the new SDK unchanged.
Builds: design 47 H-A-196, H §774
A release re-pinned node-tools while main.54 still built it at its old
fingerprint; the build failed and failed the pipeline for its other 119
movers, because supersession took movers out of waiting pipelines only.
Every start of a newer revision's pipeline now also walks the older running
pipelines of its branch: each mover whose fingerprint it moved leaves, its
open steps ending superseded with a why naming the newer pipeline, a step
reading a test run leaving it as a cancel's does, and the mover kept in the
pipeline's superseded. The end judgement counts a left mover's steps as
neither holding nor failed, so the pipeline ends by its other movers alone;
one every mover left ends superseded. A run on request's pipeline is never
touched.
Builds: design 47 H H-A-223, H-A-163, H-A-213
Review round 1: an ask names the revision and the source of one revision, so a
kept revision read by number whose source differs from the ask's is not the
ask's; the check is restored, naming both sources. And a kept revision naming
another source or other fingerprints is a mismatch no wait can mend: the step
fails at once, loud, instead of waiting out revision-wait-minutes; only a
revision the catalog does not answer is waited for.
Builds: design 47 H-A-222 (2), H-A-218
An ask of the very source the picture holds, whose entries the picture no
longer names (a re-pin keeps a later revision of the same source), waited for
the picture and failed past its bound, because the kept revision was read by
number only for a source below the picture's. Now an ask naming a revision is
read by number whenever the picture does not name its entries, and is built
when the catalog keeps it and it names every fingerprint asked, whatever the
source says; the source is compared only for an ask naming no revision.
Builds: design 47 H-A-222 (2), H-A-205, H-A-213
The tools bundle answered the catalog seat's revision verb from its view of the
trunk in memory, which ran one or more revisions behind what the indexer kept
until it heard the event, so the runner and the builder waited on revisions the
bus held all along. The verb now reads which revision is newest from the store
at the time of the ask (a listing and one object) and takes the view's entries
only when the view holds that very revision.
Builds: design 47 H-A-222 (1), H-A-205, H-A-213
indexer_take_in_again wrote TakeInAsk{Again} and DecodeTakeIn refused it: its
hand-kept list of act fields lacked Again, so the handler never reached its
Again branch. Every field of TakeInAsk now says by its tag takein whether it is
an act, an argument or of the ask; DecodeTakeIn reads the acts from the tags,
and a table test builds every hand tool's value by its own Run path, decodes it
and acts on it through takenIn, and refuses a field left unclassed.
Builds: design 47 H §774, H-A-208, H-A-210
The runner crashed at every start on a live bus with "concurrent map
writes" in MoverStore.Get: the waiting pipelines of each branch are placed
from goroutines of their own, and the store's last reads and inline marks
were written under each pipeline's own lock alone. The store's mutex now
guards the lock table, the last reads and the inline marks; behaviour is
unchanged. The run test starts the runner over six kept pipelines in the
old form, one of 437 steps, so the start path runs under the race detector.
Builds: design 47 H H-A-187, H §774
The seat's key form of a pipeline is <branch>.<revision>, and its four per-pipeline
subjects are said on <branch>.<revision> (the definition and generated contracts the
same as the runner branch's). The indexer pins a revision for the pipeline keyed
PipelinesByBranchRevisionKey, and this branch's runner copy follows the renamed
generated functions; the wire form is unchanged.
Builds: design 47 H H-A-213 (4), H-A-219, H-A-221
A pipeline is keyed by its catalog revision's number, so the seat's key form is
<branch>.<revision> (the generated PipelinesByBranchRevisionKey and its siblings; the
fixtures follow), and pipeline-started, pipeline-ended, wait-held and wait-ended are
said on <branch>.<revision>, carrying the same number as the key; every reader takes
the body. The client's SourceSubject is RevisionSubject. The published key form, under
which pipelines were kept before, stays.
Builds: design 47 H H-A-213 (4), H-A-219, H-A-221
The builder's step end reports the pins it built with (H-A-207, from the runner
branch) and names the run's catalog revision on its origin (H-A-218, H-A-220); step.go
keeps both. The seat mesh-builds carries packages on step-ended and revision on
package-published once each; seatgen -check is clean.
Builds: design 47 H H-A-207, H-A-218, H-A-220
One source now has several catalog revisions, so the publishing pipeline is found by
the branch and revision the package-published names. A publish naming no revision,
from a reservation made before the field, goes to its source's lowest-numbered
revision, the take-in's. The seat mesh-builds' package-published gains its optional
revision here too, identical to the builder branch's, so this branch compiles alone.
Builds: design 47 H H-A-218, H-A-220
One source now has several catalog revisions, so a publish naming branch and source
alone does not say which pipeline published it. The seat mesh-builds'
package-published gains an optional revision (seatgen regenerated). The version
reserved for a build keeps the catalog revision number: from the picture's half when
the picture starts the build (the same revision its source comes from), from the step
ask's run when the ask reaches the build first. Its package-published says it. A
reservation from before the field says none.
Builds: design 47 H H-A-218, H-A-220
The queue's and the test runs' integration tests took several sources in at one
catalog revision, which now are one key. Each take-in has its own revision; the
test runs' test also checks that a test ask names revision and source. A replaced
reader of another pipeline's run stays the unit tests' (one revision is one pipeline).
Builds: design 47 H H-A-213 (4), H-A-219
A re-pin on a module's release, a take-in again and a recompute that moves a
fingerprint each keep a catalog revision of their own. The runner hears a trunk
catalog-revision of those kinds, reads that revision by its number through the catalog
seat's revision verb, and starts one pipeline keyed <branch>.<revision> with the
revision's movers. A package-published no longer starts per-artifact pipelines: it
only places the movers waiting for it. A branch's newest pipeline for a mover is the
one of the highest revision number.
Builds: design 47 H H-A-212, H-A-213 (2) and (4), H-A-217
One source now has several catalog revisions, so a pipeline keyed by its source could
not tell them apart. A pipeline is keyed <branch>.<revision>; one of a source (a
publish's, a version-released's) is found by the source it names, never by its key, so
pipelines kept under their source are read as they are. The Go, Node and image step
asks name the catalog revision in revision and the gate's source in a new optional
source (the build-step part of the seats node-build-go, node-build-node and
node-build-image, seatgen regenerated).
Builds: design 47 H H-A-211, H-A-213 (4), H-A-219
Every whole recompute of the modules state (a toolchain reported, the toolchains read, the assignments of a build module, the indexer's start, a hand act) moved fingerprints with no kept catalog revision. It now runs as a re-pin does: when at least one fingerprint moved against the trunk's newest revision, it keeps the trunk's next revision of the same source, its movers the moved modules, its call-kind recompute (the seat mesh-catalog's enumeration gains it, seatgen regenerated) and its call naming the reason; one that moves none keeps nothing.
Builds: design 47 H H-A-211, H-A-213 (2), H-A-217
The indexer kept a registry's published in its series and then recomputed every module, moving fingerprints with no kept catalog revision beside the re-pin a release's package-published starts. It keeps the version in its series and recomputes nothing: a fingerprint moves only with a kept revision, one per module release, kept by the re-pin. The seat mesh-wants' pipeline-wanted subject names its last token revision, the number of the runner's key (its form unchanged).
Builds: design 47 H H-A-211, H-A-213 (2), H-A-213 (4) (the subject's token), H-pins-spec-and-gaps leftover L3
The seat mesh-wants' pipeline-wanted gains revision, the pipeline's catalog revision number (seatgen regenerated, additive). The assigner keeps the source the pipeline-ended names in its tier progress and says it beside the revision, the number of the pipeline's key; a progress kept before the field says the key's number as both. The indexer frees the pins of the revision the event names, not of another revision of the same source, and for an event naming none takes the source's lowest-numbered revision, the take-in's.
Builds: design 47 H H-A-213 (4), H-A-214, H-A-216
The seat mesh-catalog's CatalogRevision and catalog-revision gain call-kind, an enumeration the seat's schema validates (take-in, release, take-in-again), with module and version for a release and repository for a take-in again, beside call, the words for a person (regenerated by seatgen, additive). The indexer's three writers set them: a take-in's from the gate's call, a re-pin's on a module's release, a take-in again's; no reader parses the words.
Builds: design 47 H H-A-213 (3), H-A-214, H-A-215
The revision verb's source input, and the pipeline-wanted that frees pins by it, answer the lowest-numbered revision of a source (the take-in's), never a later re-pin's of the same source. TestIndexerWhole asks the exact first number: the bed seeds main.1 of source 0, so source 10's is 2 (no source is kept twice).
Builds: design 47 H-A-213 (1), (4), H-A-211
The take-in again keeps what it recomputed as a re-pin does: the trunk's next revision of the newest's source, its call 'take-in again of <repository>', its movers every module whose fingerprint moved, pinned for its pipeline, said as catalog-revision.
Builds: design 47 H-A-208, H-A-210 as H-A-211 and H-A-212 amend it, H-A-213 (1), (3)
A branch's revision number is the indexer's own count (the newest + 1); the gate's source is the revision's field source, which the take-in's dedupe and source-to-take read. A catalog revision carries its call (the seat mesh-catalog's CatalogRevision and catalog-revision gain call, regenerated by seatgen). A re-pin on a module's release runs on every watched branch holding a module that names its package (the first on the modules state, another on its newest revision's picture), and keeps, where a fingerprint moved, the branch's next revision of the same source with the call 'release of <module> <version>' and the moved modules as its movers, pinned for the release's pipeline, and says catalog-revision; no take-in.taken.
Builds: design 47 H S11, S12, S13, S14 (H-pins-spec-and-gaps item 1), H-A-211, H-A-212, H-A-213 (1)-(4: the pin of every revision a pipeline runs on), H-A-147
An entry names an unpublished package with an empty version, never left out, so a run on request's candidate checks its packages as an entry's (CheckEntry), not as an ask's. Built against the SDK head aee7e4c2 (fix/47-H1-sdk-empty-pin), which goes in the same merge call.
Builds: design 47 H S8 (H-pins-spec-and-gaps item 4, L10), H-A-204
The indexer names a package of another repository with no version published yet by an empty
version, which waits for its publish; PackageVersions.Check refused it, so a run on request of such a
module failed its candidate check. CheckEntry is the entry form, allowing an empty version, while
Check (an ask's pins) still refuses one.
Builds: design 47 H S8, S9, L10 (H-pins-spec-and-gaps section 8 item 4); H-A-204, H-A-165
The registry's published is offered again when the recompute of its users fails, as a failed series write already was.
Builds: design 47 H S15 (H-pins-spec-and-gaps item 3), H-A-167
A repository with no merge since the walk of the module graph keeps its
modules' direct requirements only, and no tool took it in again. The tool
asks the indexer, through the state takeins, to read the repository's trees
at the merge its taken key keeps and apply them as a take-in does, whose
recompute of the modules state is the one a publish re-pin runs; kept
requirements and pins gain the transitive packages. An unknown repository,
or one never taken in, is refused in the answer and as the tool's error.
It keeps no catalog revision yet: H-A-211's revision follows with the
re-pin's.
Builds: design 47 H H-A-208, H-A-210, H-A-201 (hq a7b876c1, d7d18ef0)
The runner built the asks of the steps that waited for their pins from the
branch's newest catalog half, so a newer revision that moved the module
changed what a passed build's tests fetched. The entry is now read at the
pipeline's own revision through the runner's revision reader, which keeps
what it read; a revision that cannot be read, or whose entry is of another
fingerprint than the mover's, ends the held steps could not run, naming
why.
Builds: design 47 H H-A-205, H-A-207, H-A-203
A build step whose key was done before reported the pins it resolved at
that moment, so a publish since would have the runner ask the waiting
test steps against a version the build was never built with. The done
key's record keeps the versions its Go ask was built with, beside its
digests, and the step's end reports the record's; a done key keeping none
reports none, so the runner ends those steps could not run, loud.
Builds: design 47 H H-A-207, H-A-203
When the build of an entry with an empty pin passed, its held lint, unit
and integration steps had no pin to run with and nothing ended them, so a
pipeline stood running and, one pipeline at a time, the queue stopped. The
runner reads the pins the build's end names and, when the build passed,
asks each held step with them, its fetch the entry's as placed; a passed
build whose end names no pins ends the held steps could not run, naming
why, as does an artifact the branch's half no longer names.
Builds: design 47 H H-A-207, H-A-206, H-A-203
A test step held for an entry's empty pin had nothing to run with once the
build passed: the builder took the pin from the registry and kept it to
itself. The seat mesh-builds' step end gains packages, and the builder sets
it from the pins each entry was built with, the registry's included, so the
runner asks the held steps with what the build was built against. The
seat's definition changes: its Go and TypeScript contracts are generated
again.
Builds: design 47 H H-A-207
A reader twice could not read one entry's pins because the whole revision
(1.3 MB) exceeds what the bus carries; the tool answers one module's
packages, paths per artifact, fingerprint and manifest digest, at the
newest trunk revision (read as entryOf reads it) or at a given one from
its kept list and that one entry object.
Builds: design 47 H H-A-204 (hq f977c0e2); tools-are-how-a-module-is-spoken-to
An ask of an older kept revision was admitted, but after a builder restart its fingerprint had never been heard on
the branch, so its build neither reserved a version nor was checked against one and passed silently. Each asked
fingerprint is now recorded as the branch's (its source revision, and first as the module's registration says),
without moving what the picture heard, so the newer fingerprint's build is not superseded.
Builds: design 47 H H-A-205, H-A-155
Two pipelines of consecutive revisions ran at once (main.45, 22:5x CET): the picture held source revision 46, whose
entries had moved on, so the older pipeline's builds waited for a picture that only moves forward and failed "revision
45 of main not in the builder's picture within 2m0s". An ask of a source revision below the newest the picture holds
now reads its catalog revision by number through the catalog seat's verb revision (kept while its pipeline runs,
H-A-147) and is built when that revision is of its source and names every entry it asks; only a revision above the
newest is waited for (H-A-155).
Builds: design 47 H H-A-205, H-A-147, H-A-155
An entry may name a package with no version yet, and the runner cannot pin
it from a publish it does not hear, so a step asked then is refused by the
Go build module. The placing now asks a Go artifact's lint, unit and
integration steps only when every pin of the entry has a version; until
then each stands waiting, its why "waits on the publish of <path>" as the
build's wait reads, said in the journal and read by show. When the mover's
build ends without passing, the held steps end as it ended; the publish
re-pins the entry and moves the mover, whose pipeline runs them. A held
step still counts in the judgement of a seat with no holder.
Builds: design 47 H H-A-206, H-A-203, H-A-165
A release re-pinned only the entries whose pins already named one of its
packages, so an entry whose module did not change and whose pins left the
package out was never re-pinned. Every kept entry whose pins or kept
requirements name a package of the released module is now re-pinned, of
any repository and changed or not; its fingerprint moves with the pin.
Builds: design 47 H H-A-204, H-A-165, H-A-167, H-A-201
Build asks were refused for a requirement with no pin: the import form's
versions name only what the last build imported, and the version line
leaves out a package none publishes, so the pins kept only those. The pins
now name every other-repository package of the module's go.mod graph (its
kept packages), at the newest published version of its accepted series, or
with no version while none is published, so the builder waits for it.
Builds: design 47 H H-A-204, H-A-201, H-A-165, H-A-167
The runner's lint, unit and integration asks carried no pins, only the
build ask did, so the Go build module, which refuses a requirement of
another repository with no pin, could not run twelve test steps of the
contracts mover (main.45). stepAsk now puts the entry's packages into the
fetch in the form the entry keeps and the builder sends, so a test runs
against what the build was built against; a package the entry names with
no pin yet is left out.
Builds: design 47 H H-A-203, H-A-192, H-A-183
The Go build module borrowed a sibling's version for a mesh package the
entry did not pin (a transitive requirement), and given no pin it now
refuses. The indexer now pins, in the entry's packages, every mesh package
of another repository that the go.mod of the module's directory, of each
Go package artifact's directory and of every same-repository module they
require transitively names. A module of the module's own repository is
never pinned, whatever a build reported: it is built from the tree.
Builds: design 47 H H-A-201, H-A-183, H-A-157, H-A-202
A Go build resolves the same-repository modules its go.mod files require at
the zero version, transitively, from the fetched tree; a change in one of
them must move the fingerprint, whatever the module's form. The indexer
walks the go.mod graph of the module's directory and its Go package
artifacts at the take-in and appends a line per derived directory and its
git object to the tree input; the entry's paths keep the manifest's form,
and the Go build module derives the same directories itself.
Builds: design 47 H H-A-202, H-A-172, H-A-157, H-A-198
The seat generator's check failed every unit step of the contracts mover (pipeline main.43): manifestdigest.go was
written by hand under go/seats/meshcatalog (598125a1), a generated root every file of which is the generator's. The two
helpers move to the seat's hand-written client meshcatalogclient and their callers in the builder and the indexer
follow; the generator then writes the contract as the module holds it. steprun's generator test now also holds this
repository's own contracts module in step under both roots.
Builds: design 47 G §370, G §578, H §774, H-A-200 (ADR 0608 §5)
A package artifact's tree names same-repository siblings its go.mod requires
as "../<module>/<dir>"; the fetch request's check and the narrowing refused
them as leaving the module. They are now accepted when their join with the
module's directory stays inside the repository, narrowed from the root, and
refused when they leave the repository.
Builds: design 47 H H-A-198, H-A-199, H-A-157, H-A-172
The kept catalog revisions had no design line and their bound stood in
the code. They are now bounded per branch by the module's setting
grants-for-revisions-per-branch (default 4, oldest dropped, a run's
candidate counted within its branch's), read at the start from the file
the manifest writes, and kept only for the watched branches the part's
branch follower follows: a branch that leaves them is freed at the next
grants-for or catalog-revision event. A kept revision is a cache of the
catalog seat's own truth, never a state of the mesh.
Builds: design 47 G §441, §401; H H-A-195, H-A-193
The publishes the builder heard lived only in its memory, so a build waiting for a package published before a
restart waited the whole bound and failed although the registry held the version. Before it waits, the build asks
the Go package registry seat's versions once for each unpinned path and takes the newest in the accepted series
through PackagePublished; a failed read is said and the wait goes on by the published events.
Builds: design 47 H H-A-194, H-A-192, H-A-165
A grants-for call still read the first page of each revision (up to
768 KB) only to learn its number. The grants holder already hears the
seat mesh-catalog's catalog-revision event, which names each branch's
newest trunk revision and the source revision it was taken in from; the
part now records both from the event and asks the revision verb only for
a revision it does not hold, by its number. Before the first event after
a start the first ask's answer names the newest once. An event below the
newest held is the numbering started again: what is kept of the branch
is dropped.
Builds: design 47 G §441, §401; H H-A-193
A step ask waiting for a package the entry names with no pin took the release number of the module holding it
("v" + release), and the lane of an entry taken in dropped the empty pin and asked its build without one, so the Go
build module took another package's version: both built against versions never published (main.41, v0.1.25,
v0.1.97, v0.1.103 of the builder's builds). The builder now hears each package registry seat's published (the
package path and the version it carries) and keeps the newest per series; a build, the step's and the lane's alike,
waits for one in the series its module's manifest accepts (packages, else the default) up to package-wait-minutes,
and past it fails naming the package. The release-number pin (VersionReleased, NewestReleased) is gone.
Builds: design 47 H H-A-192, H-A-183, H-A-184, H-A-185, H-A-165
grants-for read two whole catalog revisions page by page on every call
(about 1.4 MB each) and answered in 3.4 to 5.0 s, so the pipeline
runner's 5 s read bound cut it and every widening touching the vault
said "could not run". A revision never changes, so the part now keeps
each revision it read whole, by branch, kind, group, heads and number,
the newest four per branch for the process's life (as the runner keeps
its revisionCache); once a first page names a kept revision the pages
after it are not read. The branch's newest is read on by the number its
first page names, and a revision whose pages name another is not kept.
Quick fix (not chosen): raise the runner's widens read bound, a catalog
merge that hides the cost. Thorough fix (chosen): the cache here. The
compose of every account twice is kept whole: narrowing it to the
candidate's modules would stop a refused principal elsewhere from
failing grants-for, which is not obviously safe.
Builds: design 47 G §441, §401; H §774
Since #290 the builder's manifest declares its packages builds and buildrun with paths beside the program and
tools, which name none. ModuleOf took the entry's named paths of any artifact as the module's, so the lane's one
fetch was narrowed to builds/ and buildrun/: the module's go.mod and cmd/ were removed and the program's build
failed with "go: cannot find main module" (main.42, 21:10 and 21:13 CET). An artifact without paths keeps its
module's directory as its build source (ADR 0499 clause 1); only a module whose every artifact names its paths is
built from those alone (clauses 2 and 4), as the indexer's own value already has it.
Builds: design 47 H H-A-186, H-A-188; ADR 0499 clauses 1, 2, 4
The record still kept every ended step's unlogged step-log entry, so a step
log outage across a large pipeline grew the record as its steps had. A
mover key now holds its steps and its unlogged entries, written in the same
compare-and-set; the record keeps neither. An entry of the step log names
its mover's module, set where an entry is made, so two movers' approvals
ending at one moment are filed under their own keys and told apart when
read back; an older entry naming none goes under the one mover whose step it
matches, else stays in the record. list answers each pipeline's record with
its movers and steps counted and its steps empty; show keeps the steps. The
seat's definition changes: its Go and TypeScript contracts are generated
again.
Builds: design 47 H H-A-187, H-A-189, H-A-190, H-A-191
The composition step starts its machines' runs side by side, and each may
raise assignment-unlisted into the test's map: unguarded, the unit suite
crashed now and then with concurrent map writes. Only the test raced; the
running module writes the bus's findings state.
Builds: design 47 H §774
The runner's state pipelines held a pipeline's every step in its record, and
a record of 112 or 129 movers exceeded the bus's 1 MiB message limit (ADR
0486), so main.26 and main.30 placed no step. One MoverStore per process now
reads and writes the state: the record keeps the movers, tiers, call, source
and outcome with its own steps empty, each mover's steps are written under
steps.<pipeline>.<mover> by compare-and-set as the record is, and nothing is
written when the record or a mover key changed since the read. Every read
and judgement of steps goes through it, so the placing, the step ends, the
end judgement, the hand acts and the ageing see one composed pipeline; show,
list, stands and why-carried compose from the mover keys, and show naming a
mover answers its steps alone. A record still carrying its steps inline is
read whole, said once in the journal, and split at its next write, its
mover keys written before the record.
Builds: design 47 H H-A-187
A pipeline record of 112 or 129 movers exceeded the bus's message limit once
its steps were placed (main.26, main.30), so its steps could never be
written. The state pipelines gains the key form steps.<pipeline>.<mover>,
one mover's steps, and show takes an optional mover whose steps it answers
alone. The seat's definition changes: its Go and TypeScript contracts are
generated again.
Builds: design 47 H H-A-187
The builder numbers every artifact of a release in its module's version, so the assigner's package asks is
published in 0.3, not the 0.1 eba4309b declared: asks now names series 0.3, and the teller and the view, which
import it, accept it at 0.3 in their manifests' packages. The other eight packages' modules are all at 0.1, so
their series stand. The gate in mesh-catalog, which imports asks too, follows with the catalog's next change.
Builds: design 47 G §370, H-A-186, H-A-188
mesh-build-go and other modules import packages of this repository that no manifest declared, so no release
published them and the registry holds no version: their importers stay unpinned and fail past the bound. Each
module now declares its imported packages in the form they had before issue 1966's bootstrap took them out:
asks (assigner), builds and buildrun (builder), forgemsg (forge bridge), takein (indexer), tellerevents
(teller), viewstate (view), grantsstate and busgrants (grants), each a Go package of series 0.1. Each
module's manifest test asserts its packages again.
Builds: design 47 G §370, H-A-186
The pin fell back to the path's newest publish while no series value
held contents, which live none does, so a publish in a series a module
does not accept pinned it. The series a module accepts is the one its
manifest names, or the default; the pin is the newest version published
for the package path within it.
Builds: design 47 H H-A-185, H-A-184
A pin by the package path across every series moved a module to a
series it does not accept while its contents came from the accepted
one. The pin is the accepted series' newest published version where
that series gives the contents; only where none does yet is it the
newest published of the path. A publish in another series pins nothing
and moves nothing.
Builds: design 47 H H-A-184, H-A-183
At main.39 every importer of a nested package was pinned to the release
number of the module holding it (v0.1.97 of the builder for its package
builds), and the Go seat found no tag <package dir>/v0.1.97. A Go
package's version is its tag: the pin is now the newest version the
registry published for that package path (the seats' published, kept in
the package's series), never a module's release; a package the
registry never published stays unpinned.
Builds: design 47 H H-A-183, H-A-167, G §370
A value kept before this change names no pull request, so bridge_owed_again read the subject owed..0 and said the
stream no longer held the act while it did. Every act the bridge decodes names its repository, so a value without
one is the old form: refused with what is true, never read again; it expires with the state's TTL.
Builds: design 47 G §163; H-A-182
The state performed filled to 77% of its template's 64 MiB (19,530 keys, 2.6 KB each): the bridge kept every owed
event whole beside its outcome. performed's value is now the outcome said as owed.ended, with when, and the
repository and number the act names (groups.Performed); bridge_owed_again reads the act from the gate's stream owed
on its pull request's subject through an ordered consumer, the stream being the act's one copy; bridge_owed reads
one act or one pull request's acts, never the whole state, whose answer had grown past what the bus carries.
Builds: design 47 G §163, §162, §168; H-A-181, H-A-182
A package module with a required composition step and no node placing
it ended could not run, so its pipeline could never pass. A step with
nothing to judge ends nothing to run, which counts as passed, saying why.
Builds: design 47 H H-A-179
Built against mesh-sdk at its pin (H-A-166, H-A-169), the runner counts every
event no handler takes as a finding; with no stream for its finding events each
write waited its 3 s for the bus, holding the event loop, so the queue test ran
into its 90 s bound. The tests now make the stream the manifest asks for.
Builds: design 47 H H-A-176, H-A-175 (the tests of the runner's placing), H-A-166, H-A-169
TestIndexerBuildsARunsCandidateAndDropsItWhenEveryMembersPipelineEnded failed on the build node
under load (pipelines main.29 and main.31). It restarted the indexer as soon as the candidate was
written, before the run-started was acknowledged (the write comes first), and it polled both
waits with sleeps: the same kind as the toolchains bed's restart fixed in 20a7bd0f. A stop
between the write and the acknowledgement leaves the run-started for redelivery after its
acknowledgement wait, which writes the candidate again once its run has ended.
The run is now one more step of TestIndexerWhole around its restart: run-started of run 9 writes
candidates.run-9 and the run's key (watched, not polled), the restart waits for the run-started's
acknowledgement beside the source-moved's, and the member's pipeline-ended after the restart drops
both. The separate test is removed: the module's integration tests go from 541 to 540; no test
added.
Builds: design 47 H §743
A cycle ended every open step of the pipeline at once and named edges outside
it. It now ends not asked only the steps of the movers without steps, names
the edges inside a strongly connected group alone, and leaves the pipeline's
end to the end judgement, so running steps run to their end.
Builds: design 47 H H-A-176, H-A-175, H-A-163, G §270, G-22 A-326
A cycle the running build module does not break left a pipeline running with
journal lines only, since validate is asked only for a placed mover. The
placing now ends it failed, its why naming each artifact and edge kind.
Builds: design 47 H H-A-175, G §270, G-22 A-326, H-A-101 (2)
A pipeline moving the Go build module with a package it imports (mesh-sdk,
mesh-delivery-contracts) placed nothing: the package's build awaited the new
build module's files, the build module awaited the package. What a build
module's new version is built from is built by its running version.
Builds: design 47 G §270, G-22 A-326, H §746, H-A-83 (2)
A tier-late pipeline's later-tier movers released a version, so the newer revision holds their
release record, yet their wants were not written: freeing their older release on the tier-late
event would remove the revision their want names. HeardPipelineWanted now reads the event's outcome:
tier-late frees nothing, and the same pipeline's later pipeline-wanted with outcome running frees as
before. The pins test's freeing sequence says a tier-late event first (nothing freed), then the
running one (the older release freed); the events test's row hands the outcome on. No test added.
Builds: design 47 H-A-174 (hq design/47-H1-answers-59 84e2514d), H-A-173
A passed pipeline's movers include ones the assigner never takes (superseded, no version released,
a tier-late pipeline's later tiers); freeing their older release on the newer pipeline-wanted would
remove the revision their want still names, and a mover releasing nothing would pin a revision per
pipeline for good. The release record is now written only for a mover that released a version in
the pipeline, and pipeline-wanted frees a module's older record only where the newer pipeline's own
revision holds that module's release record.
Tests: a pins table row (a passed mover with no version pins nothing), the freeing sequence (a
passed pipeline releasing no version frees no older release, the next one that releases does), and
TestIndexerWhole now says a pipeline-wanted on the bus after main.12's passed end and waits for
main.11's release to be freed and main.11 removed, so the indexer's hearing of pipeline-wanted is
tested end to end (review round 1). No test added.
Builds: design 47 H-A-173 (hq design/47-H1-answers-59 21297155), H-A-170, H-A-168
The pin judge removed main.23 and its entries when main.24 became current, while the assigner had
just written main.23's builder as the want: the node-engine asked its entry and was told none is
kept, holding the want for good. A passed pipeline-ended now pins the pipeline's kept revision
under a record release.<branch>.<module>, one per mover, beside the pipeline's own pin; the seat
mesh-wants' pipeline-wanted of a newer pipeline on that branch (its wants written to the end,
tier-late included) frees that record from every revision below the newer one, for each module the
newer revision's movers name. The indexer consumes pipeline-wanted (its manifest says so). A
revision a release pin holds keeps its entries, as removeUnlisted already does for any kept revision.
Tests: rows in the pins table (a passed pipeline's revision kept once no longer current; a failed
one's goes), the freeing in the pins test (a release past a failed pipeline, freed by the next
passed one's pipeline-wanted, twice changing nothing), and a pipeline-wanted row in the events
test. TestIndexerWhole now reads main.11's release beside its validate base, and waits for the held
source-moved's acknowledgement before it reads the consumer (the write comes first). No test added.
Builds: design 47 H-A-168, H-A-170 (hq design/47-H1-answers-59 87b43ec8), H-A-147, H §749
The end judgement took every mover with no step as waiting on its
registration; one may wait for the publish of a mover it builds on. The
registration lookup tells them apart, and the why names each with its own
reason.
Builds: design 47 H §746, H-A-163, H-A-171, G A-327
The import form's fingerprint left the pins out, so an importer whose
trunk build reported its imports never moved on a re-pin and was never
built again against the release. Every form now takes its sorted pins;
a build that stands keeps its fingerprint while its pins are the ones
it was built with, and a fingerprint with no pin stays as it was.
Builds: design 47 H H-A-172, H-A-167
A re-pin that left the fingerprint as it was left the build made
against the older pin as the one the mesh runs. The version line's
fingerprint now takes the pins, so a re-pin moves the importer, which
becomes a mover built against the release. An accepted series' older
version no longer stands over a newer release. A re-pin that fails
returns its error before the heard artifacts are forgotten, and a
package-published heard again for a released version re-pins, so the
redelivery recovers it. The release path and the seed's pins carry
tests that fail without them (review round 2).
Builds: design 47 H H-A-165, H-A-167, H-A-161
Pins moved to a new released version only at the next merge, toolchain
report or hand recompute. The release now starts the pass of H-A-161
for the modules whose packages hold a package of the released module
alone; every other module stands as held.
Builds: design 47 H H-A-165 (the indexer's part), H-A-161
With the go.mod's mesh requires carried at every take-in, requirementsOf
returned early for every module requiring a mesh package: its go.sum was
never read and keepRequirements never cleared an old version it named
(indexer_requirements for mesh-sdk still names v0.1.13). The go.sum is
read whenever its hash moved or this process has not kept it yet.
Builds: design 47 H H-A-157 (review round 1)
The indexer filled a module's packages with the commit of a module value
it holds, which Go turned into a pseudo-version of whatever that tree
was (mesh-delivery-sdk at an 11-19 commit, nodeengine pre-H1). A pin is
now the newest released version of the module holding the package (the
versions state version-released says), an accepted series' version
stands, and a package with none released is kept with no version: its
kind-1 edge stands and the builder asks no pin for it. A commit of
another repository moves a module only through a package of it the
module imports (A-476a), now that pins name no commit.
Builds: design 47 H H-A-161, G §370, H §746, H-A-157 (kind-1 edges)
An import form whose imports name no package of another repository, or a
build that stands with versions held empty from the go.sum era, wrote an
empty package set while the go.mod requires a mesh package: no kind-1
edge. The version line's versions of the go.mod's set stand then.
Builds: design 47 H H-A-157, G §47 (kind 1)
At main's revision 21, 64 of 82 Go modules carried no package edge: the
version line read the mesh packages go.sum names, and go.sum names none
required at the zero version (ADR 0573 §2). The take-in now reads them
from the go.mod's require lines, at any version, with no build needed;
the go.sum is read only for the requirements state. The sibling rule
(replaces by a directory) stands.
Builds: design 47 H H-A-157, H-A-136 (sibling rule), G §47 (kind 1)
A pipeline the end judgement before H-A-163 left running had no way to end
but a cancel. The runner's process answers end-again, so the end takes its
turn in the queue; runner_end_again asks it. The seat's definition changes:
its Go and TypeScript contracts are generated again.
Builds: design 47 H §746, H-A-163, H-A-164
main.20 and main.22 never ended: a mover with no step placed (no registration)
held the end even after a placed mover's required step failed and nothing was
open. It now holds the end only while the pipeline could still pass.
Builds: design 47 H §746, H-A-163, G A-327
A pipeline placed at its turn in the queue, or once its branch's half was held,
dropped its movers with no registration without a word: main.20 and main.22 sat
running with every step ended and nothing said why (their mover
mesh-delivery-contracts has no registration, so it is never placed and the
pipeline never ends).
Builds: design 47 G A-327, design 47 H §746
The process tells the builder each version-released it takes in and
gives it the newest release its record keeps, so an unpinned package's
step ask wakes on the event and pins the release; the wait's bound is
the setting package-wait-minutes (default 10), carried as a file under
the state dir like revision-wait-minutes.
Builds: design 47 H H-A-165, H-A-156, H-A-155
An entry keeps a mesh package with no released version unpinned
(H-A-161). Its step ask now waits, in the wait of H-A-155, for the
release of the module holding the package, heard or kept in the
builder's record of releases, and builds with that release as the pin;
past the bound the step fails naming the package and builds nothing.
Builds: design 47 H H-A-165, H-A-155, H-A-161
A run on request copied its pipeline's source onto its build step ask,
so the builder waited for the run's candidate fingerprints in its
picture of the branch, where they never come, and failed every run past
the bound. The seat mesh-builds' contract leaves a run's source absent:
the runner now does. A revision the builder's view takes in whole that
changes no entry now also wakes a waiting ask, told by the catalog
client's new Held.
Builds: design 47 H H-A-162, H-A-155
With nothing numbered of the builder's own, the tool answered that a floor
would be asked at the next claim and looked again, doing nothing.
Builds: design 47 H H-A-159, G §369
The process gives the builder its picture of each watched branch (the
source revision the branch's view holds) and the bound of a step ask's
wait for its revision, read from the setting revision-wait-minutes
(default 2) carried as a file under the state dir like
toolchain-wait-minutes.
Builds: design 47 H H-A-155, H-A-156, H-A-141
A step ask reached the builder before its picture of main's catalog
revisions held the revision the pipeline builds; the fingerprint was
built as no first branch's build, reserved no version, and the step
failed on builder_reserve_done's words. The ask now waits, woken by each
entry the picture takes in, until the picture holds its source revision
and the asked entry from its branch; past the bound it fails naming the
revision and builds nothing.
Builds: design 47 H H-A-155, H-A-141
Every look numbered one more patch in the state versions (claims carry no
source revision since H-A-48): nodeengine 0.1.5 to 0.1.36, beside the
reservation's numbers.
Builds: design 47 H H-A-159, G §348, §349, §369
The reservation's published of nodeengine 0.1.4 (9724da7a) was taken into the
state versions' entry 0.1.4, numbered for an older fingerprint, which turned
published and kept the old digest c0ef9a3d.
Builds: design 47 H H-A-159, G §369, A-415; ADR 0605 §4
Every revision the validate test judged with a base had it at its number minus one, so the test
passed with the case before read as the number before (review round 1). Revision 12 now names base
7 with 8 to 11 never kept: it ends manifest-refused against base 7's manifests, and could not run
when the case before is read as the number minus one. No test added.
Builds: design 47 H-A-154 (hq design/47-H1-answers-59 01842bbe), H-A-151
A take-in that moves nothing keeps no revision for its source number, so validate's case before,
read as the step's revision minus one, named a revision never kept and could not run. The take-in
now writes, on the catalog revision it keeps, the field base: the newest kept revision below it,
the one it pins for its pipeline, in the same write; absent on the branch's first take-in. The
assigner's validate reads the base from the revision it already asks for; where the revision names
none the case before is empty and its end says so, never a could-not-run.
- mesh-delivery-contracts: the seat mesh-catalog's CatalogRevision gains base (schema, fixture,
generated Go and TypeScript by seatgen).
- mesh-delivery-indexer: keepBranchEntries names the base it pins; the pin test's rows check it.
- mesh-delivery-assigner: before reads the base; the validate test asks a revision with none, and
both stand-ins name the base as the take-in does.
Builds: design 47 H-A-151, H-A-154 (hq design/47-H1-answers-59 01842bbe), H-A-147, H-A-108 (3), design 47 H §743
TestIndexerCountsOnlyThePlacedBuildNodesToolchains failed on the build node under load
(pipeline main.18) in two ways, both of the test, not of the indexer's count of the
placed build nodes' toolchains:
- it restarted the indexer as soon as the module was written, before its take-in
ended: the stop cancelled the take-in, its source-moved stayed unacknowledged, and
the branch's durable (one message at a time) held the next one behind it for its
acknowledgement wait, past the test's 20 s bound. Each restart now waits for the
source-moved's acknowledgement; TestIndexerWhole's restart the same way.
- a source-moved said right after a restart could reach the stopped program's pull,
still counted until the bus closed its connection. restart now returns only once
the bus has closed every connection of the stopped program, heard on the system
account's disconnect events, with no sleep.
Under load (8 runs side by side, GOMAXPROCS=1) the test failed 5 of 80 runs before,
2 of 240 with the first change alone, and 0 of 600 with both; TestIndexerWhole 0 of 600.
No test added.
Builds: design 47 H §743
The leaving-out took every assigned module the case's manifests lacked,
while the judgement said only those the watched branches' newest
revisions list nowhere, read again at judgement time. Now the set is read
once from the newest revisions when the run starts, written on the run,
and used for the leaving-out, the finding and every step's judgement and
the resume. The candidate never enters it: a module the change drops
while still assigned stays in and fails the composition as its own
fault. While no newest revision is followed nothing is left out.
Builds: design 47 H H-A-152, H-A-153
The judgement of every step reading a run, and the resume after a
restart, read only the stored run; the set of assignments left out is
written there when the run starts, so it is not kept in a step's memory.
Builds: design 47 H H-A-153
A stale assignment left out of a machine's composition is now a finding the
condition keeper carries: kind assignment-unlisted, scope delivery, id
<node>.<module>, a warning, raised by the composition step that leaves it
out. The pass over the assignments clears it when the assignment is gone or a
watched branch of the module lists it again, so the clear never waits for the
next step on that machine.
Builds: design 47 H H-A-149, H-A-148
The retired checker's assignment on the control-node made every composition
there refuse "nothing provides", so every composition step on that machine
ended could not run. A module assigned to a machine that the case's manifests
do not hold (no watched branch lists it) is now left out of the case's
assignments as well, said in the journal and at the judgement as unlisted, and
the machine is judged on what remains: a stale assignment is a fault of the
assignments, not of the change judged.
Builds: design 47 H H-A-148, H-A-143; ADR 0578 §2
The pin judge removed the branch's previous revision in the very write that took the next one in
(pipelines main.13 and main.15 on 2026-11-20), so the validate step's case before could not be read
and the composition was never asked. The take-in now pins the newest revision it kept before its
write under the same pipeline record as its own, and the pipeline's end frees the record on every
key it pins; a take-in with no revision before it pins only its own and says so.
Builds: H-A-147 (hq design/47-H1-answers-59 310f8955ba16a1ca8ae9661d8196cab16e3d9597), design 47 H §743, §749, H-A-108 (3)
Under load (8 copies side by side) TestTheGrantsPartWhole panicked at
integration_test.go:151 at abb7cfcf too: st.Consumer's error was dropped
and a consumer deleted after ConsumerNames listed it gave a nil one.
Builds: design 47 H §746 (the pipeline's integration step)
The subtest "a runtime denied the marks is delivered no call on a marked
subject" published the caller-named call on mesh.mod.shell.call.execute.asker~a,
a token the composer never grants (buscompose.CallerToken gives a~asker
for the user a.asker), so the server refused it every time; the test
passed only because it read the refusals with a non-blocking select
right after Flush, before the client's error callback had run. Under
load the callback won the race and the pipeline's integration step
failed (main.12, 15:50). The call now uses CallerToken, and a probe on
another caller's token is published last: the server refuses in order,
so waiting for the probe's refusal waits on every refusal asserted.
Builds: design 47 H §746 (the pipeline's integration step), G A-203 (AM-D4)
The kept stream of the runner's pipeline-ended was made at G's
definition, sourced by a three-part subject; H1 moved the event to
<branch>.<source>, so the stream took nothing in since 08:13 and the
assigner, which hears a kept event from its kept stream, heard no end.
createKept left every held kept stream as it was. It now brings a held
one's source filter from the events stream to the definition's in place
(a stream update, its messages and other settings kept, never made
again) and says the held and the composed filter in the journal and the
pass; the same holds for pipeline-started and wait-held.
Builds: design 47 H H-A-145 (hq design/47-H1-answers-59 0787704b), §746
Pipeline main.8 failed TestBridgeSaysOneHeadMovedPerMove and TestBridgePerformsWhatIsOwedOnce on
shanks; both fail the same way at 403fb306, before the catalog client change, under load.
- The bridge read every head again, start true, whenever the registrations' first view said its
values after the start had begun, so a head moved just after the start was said as a start.
Only a registration adding a watched branch is adopted now (Watched.Set says so), decided under
one lock with the start's read.
- The head-moved test moved the head before the restart's read was answered, and read the state
heads before the bridge wrote it; it now waits for the stand-in's answer and watches heads.
- The owed test stopped the bridge while an outcome's publish was on its way (heard again after
the start), and an act said while the bridge stops can be handed to the stopped bridge's pull,
which the bus hands again only after the consumer's acknowledgement wait (30 s) past the
test's 20 s bound. It now hears the bridge's acknowledgements before the stop and waits the
consumer's acknowledgement wait for the act said meanwhile.
Builds: design 47 H §739; design 47 G §532; design 47 H-A-48
Review round 1: an unlisted module was lost where the composer blamed a module.
It is now said in the failed or could-not-run words where one is set, else as a
warning. Once registrations are held, a module none names has no watched
branches and is unlisted, never composed from the branches the client follows;
before the first registrations the gate's source's branches stand in, in its
order. A module is judged unlisted by its own watched branches.
Builds: design 47 H H-A-143, H-A-144, G §532
The composition step judged a machine at the step's one branch revision, so an
app registered on another watched branch was missing and the machine failed
"nothing provides", ending every mover there "could not run". Each module's
entry now comes from the newest revision of the first of its watched branches,
in its registration's order, that lists it; the candidate's revision replaces
its branch's newest for the modules it moves. A module assigned to the machine
that no watched branch lists is said in the machine's reason.
Builds: design 47 H H-A-143, G §532
A reader whose picture held the earlier model's revision 528 skipped
revisions 1 to 7 of the new numbering in silence: the builder built
every pipeline step as a candidate's, unversioned, so nothing was
released and no want moved. An event below the held revision is now
the state made again: said with both revisions, the view's made time
moved on (so the follower forgets the old numbering's revisions heard
and is not left behind for good), and the first view asked again. An
event equal to the held revision is still dropped.
Builds: design 47 H H-A-141 (hq design/47-H1-answers-59 3d722934), §750, §754
As the grants part gives a module's consumer on a seat event's stream kept by age:
without a start from now a made durable would replay every past source-moved of the
branch past the start's guard; the current revision is read at the start already.
Builds: design 47 H §743, H-A-134 (hq 8d30cc42), H-A-129, H-A-130
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
catalog-revisions kept trunk.<n> and branch.<branch>.<n> objects beside the
branch-keyed revisions, the newest trunk one marked current, so a reader heard
revision 528 while its picture held 1. A branch's take-in now drops every such
object no record pins, says the count in the journal, and the revisions tool marks
each branch's newest revision current.
Builds: design 47 H §743, H-A-135
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The grants part composes no per-branch durable on the source-moved stream, so the
indexer never heard a source revision after its start. Its bind now makes the
durable itself, as a module's seat-event consumer is made (SeatEventConsumerConfig,
named <node>_<indexer>_<branch>, filtered to the branch, one message at a time),
and binds an existing one as it stands.
Builds: design 47 H §743, H-A-134
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
At a clean state the grants part makes the per-branch consumers of source-moved only from the modules view, which the
indexer answers only after its first take-in, so nothing ever took the trunk in. At its start, and again at each
failed bind, the indexer now reads the branch's current source revision through mesh-delivery.source and takes it in
as a heard source-moved of it would, when its view keeps no revision of the branch at or above it: start true exactly
when it keeps none, every repository the answer names a head. No timer; binding on registration-changed is unchanged.
Builds: design 47 H §743, §768, H-A-129, H-A-130
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Review round 1, H-A-121 (2): beside the one-item form, all true drops
every pin of the state pins, each recorded through mesh-hand-acts and
asked of the indexer as the one-item form is; it answers the count
dropped and the pipelines the pins named.
Builds: design 47 H §765, H-A-121, H-A-124
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Review round 1, H-A-121 (2): beside the one-item form, all true drops
every want key, held or not, and every value of an earlier form the
decoder refuses, each act recorded through mesh-hand-acts first; it
answers what it dropped, counted per kind (held, current, undecodable).
Builds: design 47 H §765, H-A-121, H-A-123
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Review round 1, must 6: the stream's definition names its keep, as the
manifest template states a stream's age (max-age-days).
Builds: design 47 H §739, H-A-23
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
packageEntries, manifestBytes, writtenModules, WriteHeard, heldOldSections, keepOldSections,
the overlay's written and changed, moduleOfDir with moduleAt, EncodeSeriesPackage,
InputDigest, HoldSeats and the barBlock shape's functions are referenced by no file of the
repository; with HoldSeats gone the seat list's lock is a plain mutex WithSeats takes.
barShows and barOption stay: a judge test reads them.
Builds: design 47 H §764; lead answer H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
TestPullOrderAndCapacityOnTheBus still asserted deliveries first, red since 773f89e9 made
the build seats' queue kinds take turns (not since 83d45421: it fails at 83d45421^ too).
It now asserts a delivery, then the check in its turn, then the other delivery; it fails
on a pull that takes deliveries first.
Builds: design 47 H H-A-41, H-A-117, H-A-120; G A-440
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Before the state held is bound, hearing a source-moved read it to hold the event behind
earlier ones, failed and left every message unacknowledged, so nothing was taken in (two of
the indexer's integration tests, which make no held state). A state not there yet holds
nothing: the event is taken in; holding it still needs the state.
Builds: design 47 H H-A-114, H-A-118
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The teller reads pipeline-ended's H1 form, saying each mover's widening once for its module,
watched branch and commit; its hearing of record-opened, whose forge-made record H §763
retires, goes with its consume in the manifest.
Builds: design 47 H H-A-119, H-A-72, H-A-51, §763
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-pipeline-runner's MoverEnded gains commit and widens (regenerated, with a
fixture row), and the runner writes them from its pipeline value when it says
pipeline-ended, so the teller says a widening from the event alone.
Builds: design 47 H H-A-119, H-A-72, H-A-51
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A source-moved the indexer cannot take in is written into the state held, the event whole
(call, heads, start beside branch, source, why, since), and acknowledged once written; a later
source-moved of a held branch is held behind it, and the branch's key keeps them in order.
The indexer takes them in again from that state alone, in their order, on its own room and
at its start; one neither taken in nor written stays unacknowledged. The whole test's held
case reads the new form and that nothing is left unacknowledged.
Builds: design 47 H §744, H-A-114, H-A-118
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The passer's catalog entries are the followed branches' own, so each catalog-revision asks
again an entry whose ask failed to reach the holder, and so does each reopening of the
assigner's link to the bus; the manifest's setting entry-asks (default 5) bounds it, and past
it the assigner's finding writer writes entry-unanswered (and entry-not-found) through the
entries client.
Builds: design 47 H H-A-60
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The view's tools already read indexer_pending's {held: [{branch, source, why, since}]} through
view.DecodeHeldTakeIns at the joined base; the take-in package's earlier PendingAnswer,
PendingWait and DecodePendingAnswer, read by nothing since, go with their test.
Builds: design 47 H H-A-102, H-A-97
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-delivery-checker's generated Go seat, client and TypeScript package go from
mesh-delivery-contracts (and their entries in its manifest), with the old copies under
contracts/go; the indexer, the forge bridge and the assigner require them no more, and the
assigner judges with its own internal/assignment verdict constants. The git, node-build-go
and node-build-node fixtures, the buildstep and steprun tests and the indexer's and
assigner's whole tests name the seat mesh-wants (the asker of every check-kind run in H1)
or the runner where they named the checker; the indexer's unused CheckerModule and the
judge's stream exemption for the checker go. The step kinds check and recheck stay with
their queues (H-A-117).
Builds: design 47 H H-A-57, H-A-117
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The assigner branch was built before SDK-C took Case.Verdicts out of the composer's request;
its test still read the field, so the joined line did not compile.
Builds: design 47 H H-A-112
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The assigner's whole tests no longer assume wants follow the trunk's
fingerprint: a runner's pipeline-ended names the movers and versions, the
wants are written tier by tier on running, and pipeline-wanted says running
at the end. Test 113's cases: a provider and its consumer in tiers, the
acting part's build and the old holds ignored, a failed pipeline's version
and an older end heard late writing nothing, a placement's build reverting
the want, tier-late after tier-bound with no later tier written, and a node
not stating want:version held awaiting its hand placement. Test 117's cases
run the step validate whole: a refused manifest, a pass and a cycle. The
first views answer every account (no callers), and tier-bound's unit is a
variable the whole test shortens.
Builds: design 47 H §774, §750, §751, §772, §745, §752; acceptance tests 113, 117; lead answers H-A-10, H-A-37, H-A-40, H-A-41, H-A-56, H-A-73, H-A-75, H-A-99, H-A-108
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The composer's Case.Verdicts goes (its one writer was the checker); the
validate step judges the manifests before the composition step, so caseOf
answers the manifests and none words alone.
Builds: design 47 H §745; lead answers H-A-112, H-A-108
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-catalog's module value and entry inputs lose src and fp-src
(C1d), so a trunk entry's release is the version-released whose parts are
what its build.ended made, the one way left of the two the assigner had.
Builds: design 47 H §764; lead answer H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The assigner takes the seat mesh-wants' step validate beside the composition
step. Every mover's validate step of one take-in reads one run, the key
<pipeline>.validate of composition-runs with no machine, taken up at the
start like the composer's runs: a cycle the revision's entries make
(graph.RefusedCycle) ends it at once; else the manifest validator built from
the revision's entry of the module holding mesh-catalog runs on the Go build
seat, its input kept and served on mesh-wants' input, over the revision's
manifests and the branch's previous revision's. The step ends failed cycle,
failed manifest-refused naming every problem the revision causes, or passed.
Builds: design 47 H §745; H-A-34, H-A-51, H-A-108
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The words of each node-engine's manifest-reads-changed are written into the
assigner's state engine-reads, key the node, value {words, at}, before the
event is acknowledged, and read back from the state's watch at the start, so
a restart loses no node's words. The verb manifest-reads is no longer asked:
the keeper's asks, the unanswered-call finding and the node-record fallback go,
with the invoke in module.json. assigner_engine_reads lists the state.
Builds: design 47 H §772; H-A-104 (1), H-A-45
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The pass reads each node's placement before the rule: a placement naming a
build has its want name that build, by the version released at it (the kept
end's when it is that build, else the release whose parts the build made),
with no pipeline and no rank; with no released version known no want is
written, said once. A placement's build is no longer made a held put:
placementPuts and its test go, and a placement naming no build any more
gives the node back to the rule.
Builds: design 47 H §750, H-A-5, H-A-37, H-A-39, H-A-99
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
On a passed pipeline-ended the assigner keeps the tier progress of the
pipeline in its state written (`pipeline.<branch>.<source>`, {tier, since,
movers}) and writes the wants of the movers of the current tier only; once
each of them runs at its fingerprint on every present placing machine, the
next tier's wants are written in the same pass, and after the last tier
pipeline-wanted says running and the progress goes. A tier counts placed
movers; a machine away is not waited for; a mover a later pipeline moved
counts as run. A tier past the setting tier-bound (default 30 minutes, a
config file the manifest declares) raises the finding tier-late (scope
delivery, id the pipeline) naming the movers and machines not running, says
pipeline-wanted tier-late and writes no later tier; the finding clears when
the late movers run or a later pipeline moves them. One timer wakes the pass
at the earliest deadline. wanted names the pipeline its want follows.
Builds: design 47 H §751, H-A-10, H-A-40, H-A-56, H-A-72 (6), H-A-75
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The want of a node whose node-engine does not state the word want:version of
the seat node-engine, as the engine reads keeper holds it from
manifest-reads-changed, is written with hold and the words
awaits-hand-placement; once the engine states the word, the next pass writes
the want unheld.
Builds: design 47 H §772; H-A-45, H-A-73
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The tool takes node, module and why: the act is recorded through the seat
mesh-hand-acts, then the key want.<node>.<module> is deleted from the state
wants; the next pass writes the want of the new form. Refused with no want
under the key, no why, no proven caller, or when the act is not recorded.
Builds: design 47 H §765; H-A-58
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The want rule is written again (internal/assign Wants): for every node the
module is assigned to, the want names the version, the pipeline and the
mover's rank kept for the module on the placement's branch from the runner's
pipeline-ended; a put owns its node's want as before. The state written keeps
per module and branch the newest passed version, by compare-and-set on a
newer version: a failed pipeline, a mover whose required step failed, an
older version, the same one again and a run on request keep nothing; a run's
end drops its candidate graph (H-A-58). group-ended is no longer heard.
The old holds go with their code, findings, asks and tests: the canary and
step, every provider healthy, the grant, the composition and reader
capabilities, the provisions (the provisioner's read, its findings), the served
verbs, the bus state, rule 2 (the held fingerprint, its hold and restore asks,
its lift and conditions), the neither list, the network hold and A-428's
exceptions (H-A-55). The record yes stays as the node-engine's have asks it.
A want names no composition, so the backup ask is bound to the build.
The callers API's call sites go (H-A-66): the seat list's callers, the
first-view callers lists in the manifest, the step asker judgement, the
enrolment caller read locally. The assigner's revision pins go whole with the
gate's pin events (H-A-86): a revision not current is removed when one ceases
to be current and at the start.
Builds: design 47 H §750, §752, §764, §765 (assigner part); H-A-37, H-A-55, H-A-58, H-A-66, H-A-86
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
With no callers list on the seat mesh-wants, the asker a step's progress names is
the one the runner writes on the StepRun it asks (C-W2), mesh-pipeline-runner.
Builds: design 47 H §752 (consequence), G §496; H-A-41, H-A-88
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The runner started whole with pipelines-at-once 1 and pipelines-waiting-cap 1: a second take-in
waits, saying wait-held, and is placed with wait-ended on the first's end; a newer waiting take-in
takes its shared movers out of an older waiting one, which ends superseded; a start over the cap
waits and raises queue-full, cleared on the count; a cancel places the next; a pipeline on its
approval alone gives up its place and, answered while it still runs, is keyed running at once; a
placing the bus refuses raises pipelines-stalled, cleared when the next start places the waiting
from the runner's own state, which starts no pipeline of its own. The tools runner_rerun,
runner_accept and runner_ask_again are shown to take the mover's module.
Builds: design 47 H §748, §774; acceptance test 112 (the runner's half); lead answers H-A-14, H-A-36, H-A-52, H-A-53, H-A-96, H-A-101, H-A-106, H-A-107
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A waiting pipeline keeps in superseded (C-R5) the modules a newer waiting pipeline of its branch
took out of it, written with its movers by compare-and-set; at its placing each mover building on
one of them (an edge of a kind its build waits on) has its build step's why say that dependency was
taken out and that it builds against the newest published package.
Builds: design 47 H §748; lead answers H-A-53, H-A-107
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat verb place places a waiting pipeline ahead of its turn, written in the hand-act log first:
its running key now, over the bound, its waiting key deleted, its steps placed as at its turn with
wait-ended; a pipeline not waiting is refused. The tool runner_place asks it with the pipeline and
why; runner_waiting lists the waiting pipelines, lowest sequence first, from the state queue. Both
are in the manifest's tools.
Builds: design 47 H §748; lead answer H-A-53
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A pipeline whose every step not ended is an approval asked of the operator leaves the bound: its
running key goes and the next waiting is placed; answered and still running, it is keyed running
at once, over the bound. After every placing, pipelines waiting with none running raise the finding
pipelines-stalled naming the first waiting, cleared once one runs. A start beyond
pipelines-waiting-cap is an ordinary waiting pipeline and raises queue-full naming it, cleared when
an end brings the waiting back to the cap. Both findings are the scope delivery's, the kind as id,
warnings with no owner.
Builds: design 47 H §748; lead answers H-A-14, H-A-36, H-A-52, H-A-106
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
When a pipeline is written waiting, each older waiting pipeline of its branch loses the movers the
newer one also moves (read from the queue's waiting keys and each pipeline by its key); one left
with no mover ends superseded, its waiting key deleted, saying wait-ended (how superseded) and its
pipeline-ended. A running pipeline is never touched and runs to its end. The queue test's fixture
is shared, its take-ins moving distinct modules.
Not built: H-A-53's why of a mover whose dependency was superseded out (asked of the lead: no field
keeps the movers that left).
Builds: design 47 H §748; ADR 0682 §7; lead answer H-A-53
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The runner's settings pipelines-at-once (default 1, from 1 to 8) and pipelines-waiting-cap (default
64) are written to files by the manifest and read at the start; its state queue holds queue.next,
waiting.<sequence> and running.<pipeline>. A start (a take-in's, a publish's, a hand start's, a run
on request's) judged against the running keys alone either runs, its running key written after its
pipeline, or is written waiting under the next sequence, its waiting key first, with no step asked,
saying pipeline-started and wait-held step pipeline on pipelines-at-once. Every end, a cancel's too,
deletes the running key and places the lowest sequence, which says wait-ended and has its steps
placed (a run's from its candidate's newest revision). At the start a running key whose pipeline
runs no more is deleted and the queue placed. The test runs' whole test sets pipelines-at-once 8, as
its candidates run side by side.
Builds: design 47 H §748; lead answers H-A-14, H-A-36, H-A-52, H-A-53, H-A-60, H-A-72, H-A-96
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
rerun, accept and ask-again take the mover's module beside the pipeline and step (C-R4): a call
naming none is taken as the pipeline's one mover and refused on a pipeline of several, and a module
the pipeline does not move is refused; the tools runner_rerun, runner_accept and runner_ask_again
pass it. A step of a mover whose dependency did not build, placed not asked, now says its own
step-ended naming the dependency, so nothing ends silently.
Builds: design 47 H §746, §748; lead answer H-A-101
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A run's pipeline puts in source the newest source revision of its branch (H-A-85); a branch whose
view holds none yet is refused, naming it, and nothing is written, never a pipeline of source 0.
Builds: design 47 H §746; lead answer H-A-85, H-A-83
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The runner's take-in handler decodes take-in.taken strictly by the seat's contract: an event
missing a field its new form requires (branch, source, call) is refused, said in one journal line
naming the subject and what it lacks, and ended. The cancel reads no old pipeline (they are
dropped at the clean state). Unit tests 84 to 85.
Builds: design 47 H §765; lead answers H-A-58, H-A-98
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The finding pipeline-failed has scope delivery and id <module>.<branch>, one per mover whose
required step failed or could not run, naming the pipeline and the steps, owned by the commit's
author as before; that module's next passed pipeline on that branch clears it. Unit tests 84 to
84 (the newer-revision test replaced).
Builds: design 47 H §770; lead answers H-A-19, H-A-59
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A package-published is heard in the running pipeline of the source revision that published it,
where its dependents wait (R7); every module the catalog half holds a kind-1 edge from the
package into that this pipeline does not move (a publish again of an older build, a dependent it
does not move) is a mover of one pipeline keyed <branch>.<source>.published.<package>.<version>,
at the publishing source's catalog revision and call. The dependents come from the edges the
runner holds: the runner asks outdated no more (its invoke leaves the manifest). A publish heard
before its branch's half is held is heard again once it is; the durable consumer delivers one
heard after a stop, the key written once. Unit tests 83 to 84.
Builds: design 47 H §747; lead answers H-A-19, H-A-52
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A mover with a kind-1 edge from another mover (a package) is placed once that mover's
package-published of the pipeline's branch and source is heard, written into the publishing
mover's published by compare-and-set; one with a kind-3 edge (a build module, an image base)
once that mover's build step passed, heard as the runner's own step end; toolchain edges first.
A publish of a mover of the running pipeline of its source starts nothing and asks no outdated.
A mover whose dependency's build ended without passing is placed with every step not asked.
Unit tests 82 to 83.
Builds: design 47 H §746 (the build order); lead answers H-A-51, H-A-83 (2), H-A-84
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Each mover gets a validate step on the seat mesh-wants before its composition, its status from
the policy; one ask per pipeline that every mover's validate step reads (a mover placed later
reads it, its result too). A mover's composition waits until validate ends: asked once it
passed, ended not asked when it did not, so a manifest the validator refuses is never composed.
The step runs name the runner's seat as their asker. Unit tests 81 to 82.
Builds: design 47 H §745 (the runner's order); lead answers H-A-51, H-A-88
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The runner consumes mesh-catalog.version-released and writes its version into the mover of that
module in the pipeline of the source revision built, on the branch the version was released for
(the registration's first watched branch), by compare-and-set, so pipeline-ended names the version
released. Unit tests 80 to 81.
Builds: design 47 H §746 (the released version per mover); lead answers H-A-52, H-A-62
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A take-in.taken with entries starts one pipeline keyed <branch>.<source> by compare-and-set, its
movers the entries; each mover's steps are placed from its own registration and entry, each step
and ask id naming its mover; a step end is matched to its mover's commit and fingerprint; the
pipeline passes when every mover's required steps passed, a required "nothing to run" counting
as passed. The movers get tiers from the delivery edges (kinds 2, 4, 5, 6; a cycle one tier,
said). pipeline-started and pipeline-ended are said on <branch>.<source>, the end once with per
mover its fingerprint, version, steps and tier, in tier order; waits on <branch>.<source>; step
events on <module>.<branch>.<commit>; no group-ended. Approval is one step per mover. A run on
request is one pipeline keyed <branch>.run.<id>, its source the branch's newest, members of one
branch only. A running pipeline is superseded no more. A composition step names the runner as
its asker. The seat's verb place is served, refusing every pipeline until the queue (R11, R14).
The seat list part takes no callers (H-A-66). Unit tests 77 to 80, integration 3.
Builds: design 47 H §746, §747 (run, start, a publish's key), §748 (a running pipeline runs to its end), §764 (group-ended, the key per module); lead answers H-A-3, H-A-35, H-A-51, H-A-52, H-A-53, H-A-66, H-A-70, H-A-72, H-A-83 (1), H-A-85, H-A-88
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
withKept names the released version alone; the want-parts reading
(Nodes.ReadsParts, WantParts, the node record's capabilities read for it) and
sayParts, which said why a want named no parts, go. The builder's parts and
keeping node stay read only to find a build's released version.
Builds: design 47 H §750, §764; H-A-37
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The order waits go whole: orderwaits.go (order.<node>.<module>.<part> in the state
waits, their wait-held and wait-ended, the catalog entries read for a form change),
the package internal/acting, the want rule's acting edges (Module.Acting,
actingWaiting, ActingRuns, Nodes.Serves), the why record's acting reads, the release
how `now` and the order rows of assigner_waits, and the consumption of the indexer's
take-in.taken that fed the taken-in edge. assigner_waits and assigner_release keep
the outside waits and the puts.
Builds: design 47 H §771, §764; H-A-55
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The acting waits go whole: actingwaits.go (the waits acting.<node>.<module>.<part>,
their wait-held and wait-ended, the acting-cycle finding), the acting half of
internal/acting, the cycles among the acting waits and the node-engine read for them
(assigngraph's Cycles, HeldCycles, Engines) and the wait's bound on an acting edge;
the edge itself stays, kind acting, for the order it gives. assigner_waits and
assigner_release keep the order waits (A3) and the outside waits.
Builds: design 47 H §750, §764; H-A-70
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
It ended the build of main.3.app before the take-in had written it,
which passed only because the runner's resume swept the pipeline in
first; with no sweep the take-in alone starts it.
Builds: design 47 H §747
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The version-delivered holds go whole: delivered.go (the delivery judgement,
the delivery waits, the asks to say a version delivered again), the states
delivery-waits and delivered-again, the tool assigner_delivered_again, the
consumption of mesh-wants.version-delivered and assigner_release's step
delivery. What it also heard and the want rule reads (version-released,
machine-away, machine-back) stays, in releases.go.
Builds: design 47 H §750, §764
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The runner's pins of a pipeline's catalog revision (pins.go, PinRunning at its
start, the pin at a start, a rerun and an ask again, the free at an end) go;
the indexer pins on the take-in's write and on pipeline-started, and frees on
pipeline-ended (its half of §749, written by the indexer's developer).
Builds: design 47 H §749, §763, §764
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A build seat's step-ended naming another asker (the assigner's composer build,
which names no pipeline) was read against the runner's store, refused and
terminated; it is now taken as nothing, read before any pipeline, and
acknowledged.
Builds: design 47 G §24, §69
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A take-in starts its own entries' pipelines alone; neither it nor the runner's
resume starts a module whose fingerprint has no pipeline (StartUnstarted,
Unstarted removed, their test turned into its inverse).
Builds: design 47 H §747, §764
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Nothing of the one model reads which build the indexer runs: the take-in holds nothing for the
indexer a revision names and indexer_pending answers the state held alone, so FixOwnBuild, the
state own-build, the ask of the node-engine's composition and its invoke go. No pull request's
candidate is written any more, so what only it read goes: the member heads' packages
(candidatePublished), SameCandidate, headOf and CandidatesKey; and consumerSink with the state
consumers (H-A-80). The state taken stays: the view reads it. The run on request's candidate
stays (H-A-105 b). The manifest test holds the state and the invoke absent.
Builds: design 47 H §743 (holds nothing for the indexer), §764 (the indexer); H-A-48, H-A-80, H-A-102, H-A-105
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The whole test starts the indexer against an embedded bus with the gate's source-moved on its
kept stream and a durable per watched branch: a first revision with start true and no movers;
one revision per take-in carrying its movers, pinned pipeline.<branch>.<source> and said as
take-in.taken; the same source-moved given again said from the kept movers with no second
revision; pipeline-started pinning, a restart keeping a running pipeline's revision; a take-in
on a full store held, said once as take-in.pending and in the state held, taken again on the
indexer's own room once pipeline-ended frees a pin; another branch's held take-in leaving
main going on, skipped by hand with why in the hand-act log; a branch watched later bound on
registration-changed. The packages test takes a mesh-sdk commit in and names mesh-sdk and the
module requiring it, not the one requiring nothing of it. The toolchain test drives take-ins;
the tests of the forge messages, the verdicts, the pins events of the gate and the view moving
between take-ins (H-A-49, H-A-103) go. 7 integration tests (was 13).
Builds: design 47 H §743, §744, §749, §768; H-A-12, H-A-30, H-A-49, H-A-50, H-A-90, H-A-92, H-A-97, H-A-102, H-A-103
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
C1d takes src and fp-src from the seat mesh-catalog's modules value, so the checks of their
absence are held by the type and go.
Builds: design 47 H §764 (the indexer); H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
An entry whose ask failed in transport is asked again when the followed branch says
catalog-revision and when the part's link opens again (AskAgain), at most Asks times (the
part's setting entry-asks, default 5); one more failure makes it unanswered, and
WriteEntryFindings writes the finding entry-unanswered, cleared by its answer or its release.
Builds: design 47 H (H-A-60, the entry asked again)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The pending wait, the abandon, the merge by hand with its repository and sequence, and their
ask builders go; an ask naming only one of them is refused as naming no hand act.
Builds: design 47 H §744, §764 (the indexer); H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
TakeIn, TakeInRepository, the catch-up, IndexRegistered and RetryUnread go: a module is taken in
only from a source revision, and the gate's gate_head_take is the one hand take of a head. The
manifest serves no indexer_take_in and names no catch-up tool beside the catalog revisions.
Builds: design 47 H §742, §764 (the indexer); H-A-48, H-A-105 (a)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
srcOf and the Src and FpSrc stamps go with the source per merged message: a module's value and
its catalog entry carry where it was taken in by its commit alone.
Builds: design 47 H §764 (the indexer); H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
keepPull, dropPull, ApplyVerdict and the pull form of the seat-definitions key go with the
pull and open messages and the checker's verdict; indexer_seat_definitions_again and
indexer_seat_definition name the trunk alone.
Builds: design 47 H §764 (the indexer); H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
No ledger writes the state consumers any more, so the tool indexer_consumer, its reader and
the state's declaration go; the manifest test holds their absence.
Builds: design 47 H §764 (the indexer); H-A-80
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
I6: indexer_unpin is renamed indexer_pin_drop and takes the pin's key <branch>.<revision>
and why: it drops every record's pin of that key, clears its finding pin-missing and the
removal rule then applies; a hand act recorded in the hand-act log before it is asked
(§765, H-A-57).
I5 follow-up: the asks of indexer_take_in_pending and indexer_take_in_skip were refused by
the ask reader (DecodeTakeIn named no held branch); they are read now, and
indexer_pending answers {held: [{branch, source, why, since}]}, since in RFC 3339, the
state held's form (H-A-102). The test drives each tool's ask through the reader.
Builds: design 47 H §765 (indexer_pin_drop), §744 (the held tools); H-A-57, H-A-97, H-A-102
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A source-moved the indexer cannot take in (the catalog store full, a read unanswered) stays
unacknowledged on its branch's consumer, so that branch's next waits while another branch's
go on; it is written in the new state held, one key per branch {branch, source, why, since}
(H-A-97), and said once per source as take-in.pending {branch, source, why}. A full store
sets heldFull, so RoomAgain says room once it has room, and the indexer's own room (H-A-50),
heard on its events consumer, takes every held one again, never a timer. indexer_pending
reads the state held; indexer_take_in_pending takes a branch's held one again now and
indexer_take_in_skip, with branch, source and why, acknowledges it unwritten, says
take-in.taken with no entries, skipped, by and why, and is recorded in the hand-act log;
both are asks in the state takeins. The held key goes at the take-in or the skip.
Builds: design 47 H §744; H-A-12, H-A-50, H-A-97
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The indexer binds one durable consumer per watched branch on the stream of the gate's
source-moved, named <node>_<indexer>_<escaped branch> through mesh-sdk's
Account.NamedEventConsumer; it takes each message in with TakeInSource and acknowledges it
once its revision and take-in.taken are written, and leaves it unacknowledged when the
take-in fails. The watched branches are the registrations'; a newly watched branch's
consumer is bound on the indexer's own registration-changed, which the manifest now
consumes. A source-moved of the old form (no call) is refused for good with a journal line.
Builds: design 47 H §743 (one durable per watched branch), §765 (the old form refused); H-A-30, H-A-90
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The take-in of a source revision moving the catalogue repository reads predefined.json from
that commit's trees through the seat git (wholeAt) and rewrites the state predefined when a
key changes. The read was already the take-in's (I8's wholeAt); this test holds it at the
take-in, and fails when the take-in writes no predefined.
Builds: design 47 H §769
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A source-moved with start true, the seed of a branch's first revision, keeps its revision
with every module's entry at the heads it names and says take-in.taken with no entries and
no pin; a later take-in's movers are judged against those entries.
Builds: design 47 H §768 (the indexer's half), §743 (no mover); H-A-19
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
TakeInSource takes a gate's source-moved in: the trees of each repository it moves at the
named commit through the seat git, the fingerprints of the modules registered for it, the
movers against the branch's newest catalog revision, and one revision <escaped
branch>.<source> for every branch, the trunk included, numbered by the source and written
once by read before write. The revision carries its movers, and a redelivery whose revision
is kept says take-in.taken again from them, recomputing nothing (H-A-92). It is pinned for
the take-in's pipeline as pipeline.<branch>.<source> in the same write when it has a mover,
none for a take-in with no mover. take-in.taken carries branch, source, revision, call and
the movers' entries alone, under a duplicate id of its branch and source (H-A-31). A
source-moved with no call is refused as the old form (§765).
Only a take-in keeps a catalog revision (H-A-49): the recompute, the build ends' imports and
the start's reconcile keep none, and KeepView, keepEntries, keepTrunkRevision and
PinPipelines go. Another branch than the first is taken in on its newest revision's view.
Builds: design 47 H §743, §749 (the pin in the take-in's write), §765 (the old form); H-A-31, H-A-32, H-A-49, H-A-92
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A take-in's movers are the modules registered for a repository the source revision moved
whose fingerprint differs from their entry in the branch's newest catalog revision, and
every module, in any repository, importing a package one of them publishes. A module of
another repository is no mover by its fingerprint alone; one with no build is none.
Builds: design 47 H §743 (movers); A-476a
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
I8: the take-in fed by the forge bridge's messages goes with B1's forgemsg: the FORGE
consumer and its handlers, the group end, the pending state with its keys, claims, dry
take-in and hand tools (indexer_pending, indexer_take_in_pending, indexer_drop_pending,
indexer_take_in_merge, kept again for the held take-in in I5), the catch-up by comparison
(kickBehind, TakeInBehind, sayUntaken, takeInHeads, kickCatchUp, CatchUp, merge-untaken),
the source numbering in memory (nextSource), the source verb's follow and Src stamping on
a source answer, the bridge's merged message call, the pull request candidates written
from pull and open messages, the checker's previews and verdict hearing. A repository's
trees at a commit are the internal whole (wholeAt), which ApplyMessage takes in; the dry
indexer stays for a run on request's candidate. The manifest drops the consumes of
forge.**, the checker's verdict and version-delivered, the reads of the checker's
previews and the invokes of open-pulls, bridge_merged_message and mesh-delivery.source.
RoomAgain says room when a take-in is held on a full store (heldFull, I5 holds it).
H-A-82: the fill of delivered versions into the edges goes: HearVersionDelivered, the
delivered.<module> key, the first fill's kinds 2, 4 and 6 from the placement and the
stream running, and outdated's kinds 2, 4 and 6; their entries read not yet delivered.
The tests of the removed paths go (index_test's candidate groups, source_test,
branch_take_in_test, previews_test, candidate_manifests_test, the FORGE handle tests);
the versions tests now hold kinds 2, 4 and 6 as declarations. The integration tests
still drive FORGE and are rewritten in I10.
Builds: design 47 H §743, §744, §764 (the indexer); H-A-48, H-A-82
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
I7: the indexer judges no manifest. The judge pass, its verdicts and unjudged states,
the events manifest-accepted and manifest-refused, the tools verdicts, indexer_verdicts,
indexer_judge and indexer_say_accepted, and the take-in's wait for the verdicts state
go; indexer_bus_state answers from the modules state at its mark. The seed writes
validate required in every policy. oldsections stays (H-A-79).
I6, the half that follows C-R: the gate's pinned, freed, heads-replaced and
pins-stated are no longer heard. A pipeline-started pins the revision it names under
pipeline.<branch>.<source>, its pipeline-ended frees it, each on a durable of its own
stream; kept revisions are judged against the pins the state holds, never a count
(made and pins-stated go). A take-in pins its revision once, for its one pipeline.
indexer_pin_drop (§765) is still to do.
The entry's pull goes (§763). The tests of the old take-in (pending, behind, pushed)
go with it, ahead of I8. The unit suite is green except manifest_test's check that
the watchman's and the grants part's invokes of the indexer's verdicts tools are
served: their removal is the contracts developer's (H-A-79).
Builds: design 47 H §743, §745, §749, §763, §764 (the indexer); H-A-48, H-A-49, H-A-79
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Every account may call every verb: the verb revision answers every caller, so its
callers list and the node-engine account's mapping go; the first-view tools take no
callers list and the tools bundle's env carries none; the seat-list part is made
without one.
Red only from the contract removals C1 and C3 (I7's manifest events, the gate's pin
events, the entry's pull), followed in the next commits.
Builds: design 47 H §752, §764 (every seat contract: callers); H-A-41, H-A-66
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The forge's branch protection is no longer a condition of the mesh: register and watch
refuse only a reserved branch name, and the seed leaves out no module for its default
branch's protection and reads none.
The module compiles again only once C0 to C3's removals are all followed (H-A-66's
callers, I7's manifest events, the gate's pin events, the entry's pull); its unit
suite runs green from that commit on.
Builds: design 47 H §763 (G §5), §764 (the branch protection)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The indexer holds a source and takes it in, the runner writes its pipeline
waiting its turn (wait-held, step pipeline, on pipelines-at-once) ten minutes
back with no step asked, and the pipeline ahead of it stands: no take-in-waits,
no pipeline-stands and no head-untaken name the waiting one.
Builds: design 47 H §741, §748
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-catalog defines no manifest-accepted any more: the builder
consumes the indexer's take-in.taken in its place (module.json, names.go's
patterns) and wakes its floor on every one, looking at every module again as
before (versions.go, the wake take-in.taken). With the in-progress commit
before it the builder reads no source stamp and its untagged suite is green.
Builds: design 47 H §764 (the indexer: its events manifest-refused and manifest-accepted, with their reader); lead answers H-A-48, H-A-49, H-A-66, H-A-116 (hq 508faf0c)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The module mesh-delivery-checker goes whole with its manifest, and its seat's
definition leaves the seat list. The status view reads no tries: build_usage
answers no tries running and counts no step as a try. The grants part grants
main's accept subject to the builder alone. The tests name no checker as an
asker or a seat. The seat's generated packages, the indexer's readers and the
assigner's verdict constants go in the join's cleanup, once those branches
stand on this one (the lead, 2026-11-20).
Builds: design 47 H §764 (the checker (H1): mesh-delivery-checker whole); lead answer H-A-57 (hq f599b761)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A module value carries no source stamp (C1d): ModuleOf takes none from the
entry's inputs, a build's claim is numbered per fingerprint naming no source
revision and no merge, and the log's started entry names none. The seat list's
parts take no callers and resolve no caller's holder (mesh-sdk's NewPart without
callers, SDK-C). internal/... is green; cmd/mesh-delivery-builder still hears
manifest-accepted (names.go:21, versions.go:192, module.json:57), which the
seat mesh-catalog no longer defines: its floor's wake is H-A-49's, asked of the
lead.
Builds: design 47 H §764 (the indexer: the field pull, the source numbering); lead answers H-A-48, H-A-66 (hq f599b761)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The root package's tests and the part's whole test no longer write or read the
indexer's verdicts: a value whose verdict field says refused is composed as
ever (a module in a revision is accepted by being there), and a held module is
one whose manifest the part cannot read. The verdicts' first view row reads the
four first views; the no-verdict window and the want's newest build rows go; the
compare rows carry the denies every account now has, being granted every verb of
every seat; the seat list's again tool's caller row goes with the callers; the
captured nats manifest consumes catalog-revision, as the catalog's does, not the
retired manifest-accepted.
Builds: design 47 H §745, §752, §764 (every seat contract: the callers lists); lead answers H-A-66, H-A-79, H-A-113 (hq f599b761)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The composer judges no manifest and the assigner's composition step sets
no verdicts, so Case.Verdicts goes with its words; a case carrying
verdicts was read before and is refused by a strict reader now.
Builds: design 47 H §745, §764 (the indexer: the validation at the take-in); lead answer H-A-112
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Every account may call every verb: the grants part reads no definition's
callers (callerOf, the verb and accept callers, admits) and grants every
module's account every verb of every seat (mesh.seat.*.tool.> and its
caller-named form), a sent store to every module invoking a verb of its
claimant's seat, and every queue's named ask to every asker. grants_callers
goes; grants_why_refused answers the bus's own verdict. The indexer keeps
no verdicts: their first view, events, invoke and the engine's read go, and
a want names its build alone (no newest). internal/... and cmd/... tests are
green; the root package's grants_test.go still reads the verdicts (rows at
grants_test.go:303-307, 741, 1184, 3700-3870, 4560-4615) and does not compile.
Builds: design 47 H §745, §750, §752, §764 (every seat contract: the callers lists); lead answers H-A-37, H-A-66, H-A-79, H-A-113 (hq f599b761)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A want counts as applied by its fingerprint and a motion event is keyed by
it; the want's newest and rule, and the state held back read from them, go
with the assigner's holds. A branch's source is {v, source, call, heads}
with no group, its source-moved is read by its source, and the delivered
event names no group. indexer_pending's held take-ins are said in the
tiers' pending words with their branch, source, why and since, naming no
module. The view reads no source stamp on a module. Its seat list, its
first-view tool answers and its manifest name no callers; its source invoke
reads call, not group.
Builds: design 47 H §737, §744, §750, §752, §764 (the gate's groups; the indexer's pending and groups; the assigner's holds; the callers lists); lead answers H-A-26, H-A-37, H-A-48, H-A-66, H-A-78, H-A-102, H-A-109 (hq 3433db0e)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The indexer stamps no source revision on a module (the take-in's commit
names it), so the seat mesh-catalog's state modules value and EntryInputs
lose src and fp-src, and the fixture rows their stamps. A module value or an
entry's inputs carrying either was read before and is refused now.
Builds: design 47 H §764 (the indexer); lead answer H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-pipeline-runner's Pipeline gains superseded, the modules a
newer waiting take-in of the same branch took out of the pipeline, written
with the movers by compare-and-set, so the runner writes a mover's
build-step why from it at the pipeline's placing. A fixture row of a waiting
pipeline naming one failed to read back before the field was defined.
Builds: design 47 H §748; lead answer H-A-107 (hq fabb927f)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The watchman follows the one model in one pass. Its take-in waits are the seat's take-in.pending
and take-in.taken, keyed <branch>.<source>, timed from the message's own time by the setting
take-in-bound (60 minutes by default), and seeded from indexer_pending's held take-ins; the group
bound goes. A taken-in mover's bus state is read from its catalog entry by fingerprint through
the seat mesh-catalog's verb entry, bus-state-overdue timed from the take-in. The manifest
verdicts and their findings, the head timing of source-moved, acting-part-late and
delivery-waits go, with their readers, consumes and the indexer_verdicts invoke. A want awaiting
its hand placement is not timed, and the want readers follow the H1 want. A record-opened is
heard on record-opened.<call>.
Builds: design 47 H §741, §744, §764 (the indexer: manifest-refused, manifest-accepted, the
watchman's findings; the assigner: acting-part-late, delivery-waits), §772; lead answers H-A-25,
H-A-37, H-A-49, H-A-70, H-A-78 (2), H-A-79, H-A-91 (2), H-A-94, H-A-95 (1), H-A-97, H-A-102
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
RefusedCycle, with its running-version break and its path search, moves from the indexer's
internal/index into mesh-delivery-sdk/graph, so the assigner's validate step reads the same rule
the indexer's take-in does; the indexer calls the shared function. The rule's table test moves
with it; the indexer keeps its test of the trunk catalogues against the shared rule.
Builds: design 47 H §745; lead answers H-A-34, H-A-104 (2)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A pipeline of several movers is never ambiguous: the seat mesh-pipeline-runner's verbs rerun,
accept and ask-again gain the optional input module, the mover's; a call naming none on a
pipeline of one mover is taken as that mover. Fixture rows of each verb's input name a module
and failed to read back before the field was defined.
Builds: design 47 H §746; lead answer H-A-101 (1)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-pipeline-runner's state queue gains the key form running.<pipeline>, value
{pipeline}, written when a pipeline is placed and deleted at its end, its cancel or its approval
wait, so pipelines-at-once is judged against the running keys alone. A fixture row reads the new
form; the generator refused it before the form was defined.
Builds: design 47 H §748; lead answer H-A-96
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The Owed definition's fields ask and group were kept only for a merge, and the owed act merge
went in C3b; nothing reads them, so they leave the definition and the generated contracts. A row
of the client's test reads the definition and fails while either field is in it.
Builds: design 47 H §764 (the forge bridge: the merge act of a switched key); lead answer H-A-95 (2)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-catalog's CatalogRevision gains movers, the take-in's entries
({module, commit, fingerprint, repository}), so a redelivered source-moved whose revision is
already kept says take-in.taken again from them, recomputing nothing. The branch revision's
fixture names one mover; the generated fixture test fails without the field.
Builds: design 47 H §743; lead answer H-A-92 (hq 8c0b04e3)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The bridge performs no merge since the merge call (design 47 H §764), so the owed act merge
(OwedActMerge) leaves the seat's definition, its fixture and the generated contracts; the
bridge's tests no longer read a merge fixture to refuse. A row of the client's test reads the
definition's act enum and fails while merge is in it.
Builds: design 47 H §764 (the forge bridge: the merge act of a switched key); lead answer H-A-91 (3)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The bridge's whole test runs the program against an embedded bus as the node does: a start, a
merge, an admitted push to an unprotected branch and a restart after a move each give one
head-moved naming the head read through the seat git's branch and the head held before (start
true at a start); a head heard twice, a branch not watched and a restart at the head held give
none, and the bridge asks the seat git nothing but branch. Its bus permissions are composed for
the manifest as it now stands. The pull, open pull request, group and unprotected-branch tests
go; the owed test performs the gate's statuses once, after a restart and again by hand.
bridge_heads answers each key of the state heads with the head the bridge holds, read-only.
Builds: design 47 H §739 (how checked), §774; lead answers H-A-48, H-A-85 (1)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
B2: on every branch-moved of a watched branch, and at its start for every watched branch's head,
the bridge reads the head through the seat git's verb branch, as a kept call that waits on the
holder's return while the branch is watched, and writes one head-moved (repository, branch,
head, before the head held in its state heads, start) on its stream forge; a head equal to the
one held writes nothing. It reads no pull request, no tree, no file and no protection: the
merged and pushed messages, their inputs and the state inputs, the call of git.pull, the finding
branch-unprotected with its held finding writer, and the ten-second redelivery go. A move whose
head cannot be read is left unacknowledged for the bus to deliver again.
B3: the pull-message path (Convert, the open pull requests at start and reconnect, the
forge-delete message), the groups (internal/groups' group part, forge.group.merged, end-asks,
bridge_groups, bridge_group_end_again), bridge_merged_message with the forge-made reader, the
checker's owed and the merge act of a switched key (with the switch's bookkeeping read) go, with
their consumes, invokes, states and requires. The gate's owed path stays (H-A-71), its catch-up
from the gate's verb groups gone with that verb.
The two meet in main.go and the package compiles only with both, as it did not since B1. The
unit suites pass; the whole test (integration) is rewritten in B4.
Builds: design 47 H §739, §764 (the forge bridge; the branch protection); lead answers H-A-23, H-A-27, H-A-48, H-A-71
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-wants' StepRun gains asker, the seat name of the part asking the step (the runner
writes mesh-pipeline-runner), so the assigner names a step's progress with it. Optional in the
definition: the line names its writer, not that a step without it is refused. Both accept:step
fixtures carry it; the generated fixture test fails without the field.
Builds: design 47 H §745; lead answer H-A-88 (hq 2c6c7c03), H-A-41
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-pipeline-runner's state pipelines gains the key form <branch>.run.<run>, one
pipeline per run on request, its movers the named commits' modules (it delivers nothing). Its
Mover gains published, the artifact references whose package-published (or, on a kind-3 edge,
whose build step's passed end) the runner heard at the pipeline's branch and source, kept with
the pipeline so a dependency's wait survives a restart. A fixture of the new key form with a
mover naming one heard publish proves both.
Builds: design 47 H §746; lead answers H-A-83 (1) (hq ae7fc40a), H-A-84 (hq main 0631f43f+)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
With the validation gone from the take-in, the state verdicts, its value and the client's
helpers over it (VerdictsKey, TakeVerdict, VerdictWhy, ModuleVerdict, the codec) leave the
seat's contract; a module's own verdict field keeps its three states.
Builds: design 47 H §745, §764 (the indexer: the validation at the take-in); lead answer H-A-79
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
forgemsg holds one message per move of a watched branch's head: head-moved with repository,
branch, head, before and start, on forge.<owner>.<name>.<escaped branch>.head-moved, refusing
a head equal to the one held and any field it does not have (trees, base). The messages pull,
merged, pushed, refused and open, their trees, inputs, group and members, and the group's end
forge.group.merged go; owed.ended stays.
Builds: design 47 H §739, §764 (the forge bridge: merged, pushed, base, the group's end); lead answers H-A-27, H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The assigner holds the want of a node whose node-engine does not state want:version in the
want's hold field, its words awaits-hand-placement; the client takes that hold beside a put's
and refuses a hold with other words.
Builds: design 47 H §772; lead answer H-A-73
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The step runner no longer reads the seat list for the callers a build seat's definition
lists, refuses an asker it does not name, or gives an ask back until the list says:
Puller.Callers, CallersFromDefinitions, SeatListCallers and the seat list reader's start
go, since no seat definition names callers and every account may call every verb. The
step is still keyed under the asker its subject names, and main's subject still takes
only a build, a run and the checker's check and recheck. mesh-delivery-sdk builds again
against mesh-sdk without seatdef callers.
Builds: design 47 H §752, §764 (every seat contract: the callers lists); lead answers H-A-41, H-A-66, H-A-71 (3)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A module want names its fingerprint and released version with the pipeline (<branch>.<source>)
and rank (its tier, from 1) it was written from, neither for a placement's build; parts, rule,
newest, kept-on and composed go, and the client checks a rank with its pipeline instead of a
composition and a rule. The node's own want is unchanged. The accepted step and its end take
validate beside composition. wanted gains pipeline; pipeline-wanted.<branch>.<source> says a
pipeline's wants once at their end, running or tier-late with the movers and machines not
running. version-delivered goes.
Builds: design 47 H §745, §750, §751, §764 (the assigner: version-delivered, the digests in a want); lead answers H-A-37, H-A-51, H-A-56, H-A-72 (6), H-A-75
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The pipeline is keyed <branch>.<source> (and <branch>.<source>.published.<package>.<version>
for a publish), its movers {module, commit, fingerprint, repository, tier} carry what was
per module (version, widens, tests, over-budget); group goes, run, published, unlogged and
end-count stay; call and seq are added and the outcome gains waiting. Each step result
names its module and the step enum gains validate. pipeline-started names the movers;
pipeline-ended carries per mover its fingerprint, version, steps and tier. pipeline-started,
pipeline-ended, wait-held and wait-ended are said on <branch>.<source>; the step events and
run-started on <module>.<branch>.<commit>. A wait gains step pipeline and on
pipelines-at-once. The state queue holds queue.next and waiting.<sequence>; the verb place
takes pipeline and why. group-ended and its body go. The client builds and parses both
subject forms.
Builds: design 47 H §745, §746, §747, §748, §764 (the runner: group-ended, the key per module); lead answers H-A-35, H-A-36, H-A-51, H-A-52, H-A-53, H-A-72 (1) to (5)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
So the forge module can say merge-called for what landed after a restart
without reading the forge again, each member of the state calls keeps the
pull request's base, read at judging.
Builds: design 47 H §766; lead answer H-A-71 (2)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
acts stays as the declaration the graph's edges and tiers are built from; the
bound of the build seats' rule goes with the acting part's hold. The generated
contracts do not change.
Builds: design 47 H §750, §764 (the acting part's hold); lead answers H-A-57, H-A-70
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
source-moved is said on source-moved.<branch>.<source> with v, branch, source,
call, start and heads [{repository, commit}], kept 30 days and 64 MiB on its
own stream; its wildcard has two tokens (H-A-26). record-opened is said on
record-opened.<call>; it and record-ended carry branch, source and call, the
milestone <branch>.<source>, no forge-made fields (H-A-25). The source value
carries source and call, the verb source answers call; the state heads keeps
each untaken head {head, since} by <repository>.<branch>. The states merges,
asks and turns, the verb groups, and the events approval-carried, pinned,
freed, pins-stated and heads-replaced go (H-A-28, H-A-48), with their helpers
in meshdeliveryclient.
Builds: design 47 H §737, §740, §749, §764 (the gate's states, groups and switch); lead answers H-A-23, H-A-25, H-A-26, H-A-28, H-A-33, H-A-48
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
merge-pull takes a list of one or more members {repository, number, head} and
by, judges no branch protection and answers once, at the call's end, the call
and each member's outcome {repository, number, state, commit|why} (H-A-21,
H-A-22); its caller id goes, and it names a timeout of 120 s (H-A-43). The
seat says merge-called on merge-called.<call>, kept 30 days and 64 MiB on
SEAT_git_merge-called, its body in bodies; the state calls keeps each call
with said (H-A-47). branch answers no protected.
Builds: design 47 H §734, §735, §736, §766, §767, §764 (the single-pull form, the protection judgement); lead answers H-A-21, H-A-22, H-A-23, H-A-24, H-A-43, H-A-47
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
take-in.taken carries branch, source, revision, call, entries (one
{module, commit, fingerprint, repository} per mover, no pull), skipped, and by
and why for a hand act; take-in.pending carries branch, source and why; the
keys, kinds, merges, groups and the other fields of the earlier take-in go, so
readers pair a wait by <branch>.<source> (H-A-31). StepStatuses gains
validate before composition; the seat says no manifest-accepted or
manifest-refused.
Builds: design 47 H §743, §744, §745, §763 (G §476, §648), §764 (the indexer's manifest events); lead answer H-A-31
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The node-engine seat's enum value want:version must yield a parseable Go
constant; ':' splits as '-', '_', '.' and a space do. No existing generated
output changes (the generator's check of mesh-delivery-contracts is unchanged).
Builds: design 47 H lead answer H-A-64
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Every account may call every verb (ADR 0682 §10), so the callers lists of every
seat definition and part of mesh-delivery-contracts go, and the generator, the
one reader of definitions in this repository, refuses a verb or accepted kind
that names callers instead of checking its forms. The generated contracts do
not change: the generator made nothing of callers.
Builds: design 47 H §752, §764 (every seat contract: the callers lists)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The copy under contracts/go/seats/meshcatalog still held the layout, its key helpers, its constant and two fixture cases; nothing
in contracts/ or sdk/ uses them, and ADR 0681 §7's check greps the trunk for the name.
Builds: ADR 0681 §2 (mesh-sdk keeps no config-candidate layout; the contract keeps none), §7.
The mesh knows no pull request (design 47 G, G-1 §38-39), so the indexer keeps no pull request's config declarations.
Removed: the code that writes the state (control_records.go: the candidate writes after a merge and for a pull
message), its bucket, view family (views.config-candidates) and read tool (indexer_read_config_candidates) in the
indexer's module.json, the view's tool indexer_config_candidates and its read of the indexer's tool, the state and its
fixtures in the seat mesh-catalog's definition (generated Go and TypeScript regenerated by seatgen). indexer_config_readers
no longer names an open pull request as a reader of a key. The state `predefined` stays.
Builds: ADR 0681 §2 (the indexer keeps no config candidate: state, read tool and view, the seat contract's layout; `predefined` stays), §1 (indexer_config_readers names no pull request).
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
FillFloor clears the module's call-unanswered finding and its call-since key on every exit but the end of its context (a release
gave the module a version, it left the trunk, the callee answered with a failure), as ADR 0668 §3 has: FloorModules never
picks the module again. The module's clock starts at its first unanswered try, not when the form gives up. The integration test
sets the form's bound to one second, waits for the module's call-since key in the state heard, and only then serves git.tags;
it fails with `return err` at the unanswered try. Unit cases for the three exits.
Builds: design 47 G §412, A-490g, A-490h, A-490i
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A-490i corrects A-490h: the growing-pause timer is gone (floorpause.go and the guard's exemption removed; ADR 0437 §8 stands).
Each module's floor is read on its own (FloorModules, FillFloor); a read is a kept call through mesh-sdk's form, asked again
at once when the form gives up, so it has no bound; the first unanswered try starts the module's clock and the finding
call-unanswered is written five minutes later and cleared on answer. The integration test leaves the forge unserved until
a delay, and the fill follows with no restart and no revision.
Builds: design 47 G §412, A-490c, A-490d, A-490e, A-490f, A-490g, A-490h, A-490i
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The floor of a module with no version is the highest among its Go tags and the versions each package holder answers through
its seat's verb versions (npm-package-registry, go-package-registry; the sdk's npm 0.1.18 above its Go tags 0.1.16). An
unanswered read is asked again on a growing pause (5 s, 15 s, 30 s, 1, 2, 5 min) until it answers, with call-unanswered five
minutes after the first. A floor entry holds no artifacts, so a package-published heard later at its version is recorded as
its release and says version-released. One whole-indexer integration test on a real bus with a stand-in seat git and holder.
Builds: design 47 G §412, A-490c, A-490d, A-490e, A-490f, A-490g, A-490h
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
mesh-catalog.versions answered [] for mesh-sdk although the forge holds go/v0.1.12..v0.1.16: the first fill read only
builder_versions, so a module the builder held nothing of was filled with nothing, and the once-only key closed it. The
indexer now reads, for every module of the newest trunk revision the versions hold none of, every tag of its Go package
from the seat git's verb tags (repository of its catalog entry, prefix the package's directory + "/v", "v" at the root),
fills the highest as its version, at each start and each catalog revision kept, and raises call-unanswered after five
minutes when the forge does not answer.
Builds: design 47 G §412, A-490b, A-490c, A-490d, A-490e
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Reserver.Reserve takes Source.Rebuild: this fingerprint's standing reservation is replaced (Took told) and is no floor; another
fingerprint's stays one. Tested against the real reserver, standing below and above the catalog's highest.
Builds: design 47 G A-490b, §369
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Quick fix: loosen the refusal of builder_build_again for the one key. Thorough fix (built): a reservation that cannot be made fails the key
instead of building and ending done unreserved (the kind met three times on 2026-11-19), and builder_build_again takes a done key whose
version is not released, claims it as a new revision, keeps or makes its reservation and builds it whole so the build's own publish runs.
Builds: design 47 G A-490, A-417, A-473, §369
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The bus counts an ask given back before it ran as a delivery, so four asks were ended 'poison' having never run. Puller.Prior
(PriorRuns) counts the runs the step key says started. A poisoned pipeline step now says its step-ended, so the runner stops
waiting. refuseUnread, refuseAsker and the poison path acknowledge the ask once its end is written, not terminate it.
Builds: design 47 G §24, §25; lead answer A-489 (G-22-lead-answers-2.md)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A step ask refused live with 'this build module says no step's end' (mesh-build-node set no SayStep). AskSteps.SaysItsEnds
and the kit case conformance.StepEnds refuse that where the module is built.
Builds: design 47 G §24 (Asked on a work queue, ended by an event)
Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
QueueDone removed; an item is deleted only with its release, drop or takeover; releases kept
one key per module (released-kept, 16); a plan that cannot be read ends the step could not run;
the wiring of the items to the reservations and the re-ask watch is tested.
Builds: design 47 G A-456b, A-457a, A-456a
Asked when the build ends and at the start, deleted by the release, ended loudly after publish-tries
tries and readable in builder_publish_queue; settings publish-pause, publish-pause-max, publish-tries.
The publish no longer waits on running or manifest-reads-changed.
Builds: design 47 G A-457, A-457a, §588
A trunk build reserving while its series is reserved by an older build never
released drops the older reservation's bound and finding and says so in the
journal. builder_reserve_done (a hand act, reasks mode reserve-done) reserves
the series' next version for a done trunk build that reserved none, with the
done key's digests, and queues its publish as builder_publish_again does.
Builds: design 47 G A-455, §369, §588
2026-11-17 21:22:09 +01:00
1381 changed files with 93960 additions and 92416 deletions
Novox Mesh — delivery: the parts that build, check and deliver a change by watching and writing keys on the bus (ADR 0429).
Made by the mesh from the gitea module's config value `repositories` (novox/hq ADR 0428). Main takes no push: a change reaches it by a pull request whose `mesh/repo-check` (this repository's`merge-check.sh`) and `mesh/merge-gate` passed.
Made by the mesh from the gitea module's config value `repositories` (novox/hq ADR 0428). Main takes no push: a change reaches it by a pull request, which the checker judges. The forge's branch protection of main requires no status today (read from the forge on 2026-11-25: no required check, no status on the pull request read); this repository holds no`merge-check.sh`.
// Package reference holds the form of an artifact's reference once a registry seat published it: `<seat>/<module>/<artifact>@<digest>`
// (novox/hq ADR 0605 §9), and the older `artifact-store://<path>` form read beside it. It is the rule the holders and callers of the two
// registry seats that front the artifact store share (the seats' client, novox/hq ADR 0625 §4, ADR 0634 §2); it names no seat itself (ADR 0634 §4, ADR 0635 §4): the
// caller gives the seats' names from their contracts (Seats), so a package here cannot drift from a contract.
packagereference
import"strings"
// ArtifactStoreScheme marks a reference to something in the mesh's artifact store, kept without the store's address.
constArtifactStoreScheme="artifact-store://"
// UpstreamPrefix opens the holder's own name for an upstream copy it keeps: `upstream/<host>/<path>@<digest>`, after
// `<image seat>/` in the seat's form and after `artifact-store://` in the older one.
constUpstreamPrefix="upstream/"
// Seats are the names of the two registry seats a reference of the registry form names first: Image the seat that fronts
// images and upstream copies (container-image-registry), Object the seat that fronts bundles and archives
// (oci-artifact-registry). The caller reads them from the seats' contracts.
returnfmt.Errorf("meshcatalogclient: the verdict on %s waits and names no unknown field, or names problems or warnings: a wait names the fields",v.Module)
}
default:
returnfmt.Errorf("meshcatalogclient: the verdict on %s is %q, none of %s, %s and %s",v.Module,v.State,VerdictAccepted,VerdictRefused,VerdictManifestWaits)
}
ifv.Judge==""{
returnfmt.Errorf("meshcatalogclient: the verdict on %s names no judge",v.Module)
}
returnnil
}
// EncodeVerdict is v as JSON at the kept values' version; it refuses a verdict without a module or a judge, a state other
// than accepted, refused or waits, a refusal naming no problem and an acceptance naming one.
returnfmt.Errorf("meshdeliverycheckerclient: the verdict's composition is not run and names no mesh-sdk commit or machines")
}
caseCompositionPass:
ifc.Sdk==""{
returnfmt.Errorf("meshdeliverycheckerclient: the verdict's composition passed and names no mesh-sdk commit")
}
caseCompositionFail:
ifc.Words==""{
returnfmt.Errorf("meshdeliverycheckerclient: the verdict's composition failed and gives no words")
}
default:
returnfmt.Errorf("meshdeliverycheckerclient: the verdict's composition state %q is not %s, %s or %s",c.State,CompositionNotRun,CompositionPass,CompositionFail)
}
returnnil
}
// checkJudgedBy refuses a checking program named at no repository, full commit and package, kept under no program key,
// or over no head or a head at no full commit (novox/hq ADR 0644, ADR 0656; issue 1921).
"the same level over bound twice":{func(v*verdict){v.OverBound=[]string{LevelUnit,LevelUnit}},"twice"},
// 1921 (B0, G): the checking program that judged it.
"judged at no full commit":{func(v*verdict){j:=judgedBy();j.Program.Commit="0123456";v.JudgedBy=&j},"checking program built at no repository, full commit"},
"judged under no key":{func(v*verdict){j:=judgedBy();j.Key="composer-1";v.JudgedBy=&j},"composer-1"},
"judged over no head":{func(v*verdict){j:=judgedBy();j.Heads=nil;v.JudgedBy=&j},"no head"},
"judged over a branch":{func(v*verdict){j:=judgedBy();j.Heads[0].Commit="main";v.JudgedBy=&j},"novox/mesh-delivery"},
returnfmt.Errorf("meshdeliveryclient: the turn of %s is not in the order of the Approve: %s was approved before %s",t.Repository,w.Group,t.Waiting[i-1].Group)
}
ifw.WaitsFor!=""{
if_,_,err:=parseVerdictKey(w.WaitsFor);err!=nil{
returnfmt.Errorf("meshdeliveryclient: the delivery %s in the turn of %s waits for what is not a verdict key: %w",w.Group,t.Repository,err)
// A node the catalogue places composes its own modules (ADR 0547 §2): its want is Self and names the build alone. Any
// other want names the one composition it allows (ADR 0539 clause 1).
switch{
casew.Self&&w.Composed!="":
returnfmt.Errorf("wants: the want of %s says the node composes it, and names a composition",w.Fp)
case!w.Self&&w.Composed=="":
returnfmt.Errorf("wants: the want of %s names no composition: a want names the digest of the one composition it allows (ADR 0539 clause 1), unless the node composes it itself",w.Fp)
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package containerimageregistry is the contract of the seat "container-image-registry", defined whole (seats/container-image-registry/seat.json): The mesh's container images, in the one artifact store: the OCI distribution protocol's read side, an image's tags and mirroring an outside image.
packagecontainerimageregistry
import(
"bytes"
"encoding/json"
"errors"
"strings"
)
// Seat is the seat's name.
constSeat="container-image-registry"
const(
VerbPublish="publish"
VerbPublishPart="publish-part"
VerbVersions="versions"
VerbRemove="remove"
VerbMirror="mirror"
VerbTags="tags"
VerbHold="hold"
VerbRelease="release"
VerbList="list"
)
const(
EventPublished="published"
EventRefused="refused"
EventRemoved="removed"
EventKept="kept"
EventHeld="held"
EventReleased="released"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// ParseHoldsBySeatNameDigestKey reads the parts of a key of the form "<seat>.<name>.<digest>", in the order of the form; the last result is false for a key of another form.
// DecodeHoldsBySeatNameDigestValue reads one value of the state holds under the form "<seat>.<name>.<digest>", refusing a field HoldsBySeatNameDigestValue does not know and any text after the value.
// ParseWindowsByCallerKey reads the parts of a key of the form "<caller>", in the order of the form; the last result is false for a key of another form.
// DecodeWindowsByCallerValue reads one value of the state windows under the form "<caller>", refusing a field WindowsByCallerValue does not know and any text after the value.
// Artifact is one published thing, as every registry event and answer names it.
typeArtifactstruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// what it is
Kindstring`json:"kind"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of Artifact's kind.
const(
ArtifactKindPackage="package"
ArtifactKindImage="image"
ArtifactKindBundle="bundle"
ArtifactKindArchive="archive"
ArtifactKindUpstream="upstream"
)
// Hold is the body of held and released.
typeHoldstruct{
// when, RFC 3339
Atstring`json:"at,omitempty"`
// the caller the holder proved
Bystring`json:"by,omitempty"`
// the digest
Digeststring`json:"digest"`
// the module holding the seat
Holderstring`json:"holder"`
// the name
Namestring`json:"name"`
// why
Reasonstring`json:"reason,omitempty"`
}
// Listed is a type of the contract.
typeListedstruct{
// for a manifest keeping one bundle or archive, the digest of that blob: what a reference names it by
Artifactstring`json:"artifact,omitempty"`
// the manifest's digest, sha256:<hex>
Digeststring`json:"digest"`
// a hold keeps it from retention
Heldbool`json:"held"`
// it is an index, naming a manifest per platform
Indexbool`json:"index"`
// for an index, the digests of the manifests it names
Platforms[]string`json:"platforms,omitempty"`
// its bytes: its own content and every blob it names
Sizeint64`json:"size"`
// the tags naming it, none for an untagged one
Tags[]string`json:"tags,omitempty"`
}
// Outcome is the body of published, refused and removed.
typeOutcomestruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// the module holding the seat that said it
Holderstring`json:"holder"`
// what it is
Kindstring`json:"kind"`
// the Go module path a Go package is fetched under, equal to name for a Go package (go-package-registry's published); empty for every other kind of artifact
Modulestring`json:"module,omitempty"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// why: a refusal's cause, a removal's (retention, tag-gone, by-hand), or why a removal was kept (shared-digest)
Reasonstring`json:"reason,omitempty"`
// the reference the seat answers: <registry>/<module>/<artifact>@sha256:<digest>, or <name>@<version> for a package (ADR 0605 §9)
Referencestring`json:"reference,omitempty"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// for kept: the other tags still naming its digest
Tags[]string`json:"tags,omitempty"`
// the transfer it ends, when it ended one
Transferstring`json:"transfer,omitempty"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of Outcome's kind.
const(
OutcomeKindPackage="package"
OutcomeKindImage="image"
OutcomeKindBundle="bundle"
OutcomeKindArchive="archive"
OutcomeKindUpstream="upstream"
)
// Part is one part of a transfer.
typePartstruct{
// the part's digest, sha256:<hex>: an image's layer or config, a package's file, a bundle's blob
Digeststring`json:"digest"`
// its size in bytes
Sizeint64`json:"size"`
}
// Repository is a type of the contract.
typeRepositorystruct{
// each manifest it holds, by digest
Manifests[]Listed`json:"manifests"`
// the repository
Namestring`json:"name"`
}
// PublishInput is what publish takes.
typePublishInputstruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// what it is
Kindstring`json:"kind"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// every part's digest and size; none when the digest is already held
Parts[]Part`json:"parts,omitempty"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// the transfer's name, the caller's own; the same name opens the same transfer again
Transferstring`json:"transfer"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of PublishInput's kind.
const(
PublishInputKindPackage="package"
PublishInputKindImage="image"
PublishInputKindBundle="bundle"
PublishInputKindArchive="archive"
PublishInputKindUpstream="upstream"
)
// PublishAnswer is what publish answers.
typePublishAnswerstruct{
// the digest is held already: nothing to send; the outcome follows as an event
Heldbool`json:"held,omitempty"`
// the digests of the parts the holder lacks, to send by publish-part
Lacks[]string`json:"lacks,omitempty"`
// the transfer
Transferstring`json:"transfer"`
}
// PublishPartInput is what publish-part takes.
typePublishPartInputstruct{
// the chunk's bytes, base64 (at most 760 KiB before encoding)
Datastring`json:"data"`
// this chunk is the part's last
Lastbool`json:"last"`
// the part's digest
Partstring`json:"part"`
// the chunk's place in its part, from 0
Sequenceint64`json:"sequence"`
// the transfer
Transferstring`json:"transfer"`
}
// PublishPartAnswer is what publish-part answers.
typePublishPartAnswerstruct{
// the part is whole and its bytes match its digest
Completebool`json:"complete,omitempty"`
// the part
Partstring`json:"part"`
// the chunks of the part held so far
Receivedint64`json:"received,omitempty"`
// the transfer
Transferstring`json:"transfer"`
}
// VersionsInput is what versions takes.
typeVersionsInputstruct{
// narrowed to one kind (optional)
Kindstring`json:"kind,omitempty"`
// the name
Namestring`json:"name"`
}
// VersionsAnswer is what versions answers.
typeVersionsAnswerstruct{
// the name
Namestring`json:"name"`
// newest first
Versions[]Artifact`json:"versions"`
}
// RemoveInput is what remove takes.
typeRemoveInputstruct{
// the digest (for a bundle, archive or copied base)
Digeststring`json:"digest,omitempty"`
// the name
Namestring`json:"name"`
// why it goes
Reasonstring`json:"reason"`
// the tag (for a tagged version)
Tagstring`json:"tag,omitempty"`
// the version
Versionstring`json:"version,omitempty"`
}
// The values of RemoveInput's reason.
const(
RemoveInputReasonTagGone="tag-gone"
RemoveInputReasonRetention="retention"
)
// RemoveAnswer is what remove answers.
typeRemoveAnswerstruct{
Artifact*Artifact`json:"artifact,omitempty"`
// it stays whole, its tag and its bytes: the store cannot remove the tag alone while another tag names its digest (reason, tags)
Keptbool`json:"kept,omitempty"`
// why it was kept: shared-digest, another tag names its digest
Reasonstring`json:"reason,omitempty"`
// it is gone
Removedbool`json:"removed"`
// the other tags still naming its digest, when kept
Tags[]string`json:"tags,omitempty"`
}
// The values of RemoveAnswer's reason.
const(
RemoveAnswerReasonSharedDigest="shared-digest"
)
// MirrorInput is what mirror takes.
typeMirrorInputstruct{
// its pinned digest, sha256:<hex>
Digeststring`json:"digest"`
// the name it is kept under
Namestring`json:"name"`
// the outside image's reference
Sourcestring`json:"source"`
}
// MirrorAnswer is what mirror answers.
typeMirrorAnswerstruct{
// the digest stored
Digeststring`json:"digest"`
// the reference the seat answers
Referencestring`json:"reference"`
}
// TagsInput is what tags takes.
typeTagsInputstruct{
// the image
Namestring`json:"name"`
}
// TagsAnswerTagsItem is a type of the contract.
typeTagsAnswerTagsItemstruct{
// its digest
Digeststring`json:"digest"`
// the tag
Tagstring`json:"tag"`
}
// TagsAnswer is what tags answers.
typeTagsAnswerstruct{
// the image
Namestring`json:"name"`
// every tag
Tags[]TagsAnswerTagsItem`json:"tags"`
}
// HoldInput is what hold takes.
typeHoldInputstruct{
// the digest
Digeststring`json:"digest"`
// the name
Namestring`json:"name"`
// which of the sweep's rules keeps it
Reasonstring`json:"reason"`
}
// HoldAnswer is what hold answers.
typeHoldAnswerstruct{
// it is held
Heldbool`json:"held"`
// when the hold began, RFC 3339
Sincestring`json:"since,omitempty"`
}
// ReleaseInput is what release takes.
typeReleaseInputstruct{
// the digest
Digeststring`json:"digest"`
// the name
Namestring`json:"name"`
// why it is let go
Reasonstring`json:"reason"`
}
// ReleaseAnswer is what release answers.
typeReleaseAnswerstruct{
// a hold was let go; false when there was none
Releasedbool`json:"released"`
}
// ListInput is what list takes.
typeListInputstruct{
// the repository, <module>/<artifact>; every repository of the seat when not given
Namestring`json:"name,omitempty"`
}
// ListAnswer is what list answers.
typeListAnswerstruct{
// each repository named, in order of its name
Repositories[]Repository`json:"repositories"`
}
// PublishedEvent is the body of the event published.
typePublishedEvent=Outcome
// RefusedEvent is the body of the event refused.
typeRefusedEvent=Outcome
// RemovedEvent is the body of the event removed.
typeRemovedEvent=Outcome
// KeptEvent is the body of the event kept.
typeKeptEvent=Outcome
// HeldEvent is the body of the event held.
typeHeldEvent=Hold
// ReleasedEvent is the body of the event released.
typeReleasedEvent=Hold
// HoldsBySeatNameDigestValue is one value of the state holds under the key <seat>.<name>.<digest>.
typeHoldsBySeatNameDigestValuestruct{
Bystring`json:"by"`
Digeststring`json:"digest"`
Kindstring`json:"kind"`
Namestring`json:"name"`
Seatstring`json:"seat"`
// when (RFC 3339 time)
Sincestring`json:"since"`
Whystring`json:"why,omitempty"`
}
// WindowsByCallerValueDroppedItem is a type of the contract.
typeWindowsByCallerValueDroppedItemstruct{
// when (RFC 3339 time)
Atstring`json:"at,omitempty"`
Bystring`json:"by,omitempty"`
Nodestring`json:"node"`
Whystring`json:"why,omitempty"`
}
// WindowsByCallerValue is one value of the state windows under the key <caller>.
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
packagecontainerimageregistry
import(
"encoding/json"
"reflect"
"regexp"
"testing"
)
// TestFixtures reads every fixture of seats/container-image-registry/fixtures: each decodes into its type, a field the type does not
// know is dropped (ADR 0608 §6), and it reads back as its wire says; each subject named is the contract's.
funcTestFixtures(t*testing.T){
cases:=[]struct{
name,subject,given,wirestring
decodefunc([]byte)(any,error)
subjectIs*regexp.Regexp
}{
{name:"published on the seat's subject",subject:"mesh.seat.container-image-registry.event.published",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"reference\":\"container-image-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"reference\":\"container-image-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"refused on the seat's subject",subject:"mesh.seat.container-image-registry.event.refused",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"reason\":\"retention\",\"reference\":\"container-image-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"reason\":\"retention\",\"reference\":\"container-image-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"removed on the seat's subject",subject:"mesh.seat.container-image-registry.event.removed",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"reason\":\"retention\",\"reference\":\"container-image-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"reason\":\"retention\",\"reference\":\"container-image-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"kept on the seat's subject: a tagged version sharing its digest stays, naming the tags on it",subject:"mesh.seat.container-image-registry.event.kept",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"reason\":\"shared-digest\",\"reference\":\"container-image-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"tag\":\"0.1.19-feat-x.2\",\"tags\":[\"0.1.19\"],\"version\":\"0.1.19-feat-x.2\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"reason\":\"shared-digest\",\"reference\":\"container-image-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"tag\":\"0.1.19-feat-x.2\",\"tags\":[\"0.1.19\"],\"version\":\"0.1.19-feat-x.2\"}",
{name:"held on the seat's subject",subject:"mesh.seat.container-image-registry.event.held",given:"{\"at\":\"2026-11-04T12:00:00Z\",\"by\":\"mesh-artifact-sweep\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"holder\":\"distribution\",\"name\":\"mesh-sdk\",\"reason\":\"kept by the sweep's rule\"}",wire:"{\"at\":\"2026-11-04T12:00:00Z\",\"by\":\"mesh-artifact-sweep\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"holder\":\"distribution\",\"name\":\"mesh-sdk\",\"reason\":\"kept by the sweep's rule\"}",
{name:"released on the seat's subject",subject:"mesh.seat.container-image-registry.event.released",given:"{\"at\":\"2026-11-04T12:00:00Z\",\"by\":\"mesh-artifact-sweep\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"holder\":\"distribution\",\"name\":\"mesh-sdk\",\"reason\":\"kept by the sweep's rule\"}",wire:"{\"at\":\"2026-11-04T12:00:00Z\",\"by\":\"mesh-artifact-sweep\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"holder\":\"distribution\",\"name\":\"mesh-sdk\",\"reason\":\"kept by the sweep's rule\"}",
{name:"an open window",subject:"",given:"{\"holding\":[\"ace\"],\"name\":\"mesh-delivery-builder\",\"open\":true,\"since\":{\"ace\":\"2026-11-05T10:00:00Z\"}}",wire:"{\"holding\":[\"ace\"],\"name\":\"mesh-delivery-builder\",\"open\":true,\"since\":{\"ace\":\"2026-11-05T10:00:00Z\"}}",
{name:"publish opens a transfer",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"a field the reader does not know is dropped",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"image\",\"later\":{\"x\":1},\"name\":\"mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"image\",\"name\":\"mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"publish answers what it lacks",subject:"",given:"{\"lacks\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"transfer\":\"t1\"}",wire:"{\"lacks\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"transfer\":\"t1\"}",
{name:"a chunk of a part",subject:"",given:"{\"data\":\"aGVsbG8=\",\"last\":true,\"part\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"sequence\":0,\"transfer\":\"t1\"}",wire:"{\"data\":\"aGVsbG8=\",\"last\":true,\"part\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"sequence\":0,\"transfer\":\"t1\"}",
{name:"a tagged version sharing its digest with another tag is kept, not removed",subject:"",given:"{\"kept\":true,\"reason\":\"shared-digest\",\"removed\":false,\"tags\":[\"0.1.19\"]}",wire:"{\"kept\":true,\"reason\":\"shared-digest\",\"removed\":false,\"tags\":[\"0.1.19\"]}",
{name:"list answers an index with its platforms, its tag and its hold",subject:"",given:"{\"repositories\":[{\"manifests\":[{\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"held\":false,\"index\":true,\"platforms\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"size\":2048,\"tags\":[\"3\"]},{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"held\":false,\"index\":false,\"size\":1024}],\"name\":\"mail/server\"}]}",wire:"{\"repositories\":[{\"manifests\":[{\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"held\":false,\"index\":true,\"platforms\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"size\":2048,\"tags\":[\"3\"]},{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"held\":false,\"index\":false,\"size\":1024}],\"name\":\"mail/server\"}]}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package gopackageregistry is the contract of the seat "go-package-registry", defined whole (seats/go-package-registry/seat.json): The mesh's Go modules: Go's module proxy protocol's read side, and publishing over the bus.
packagegopackageregistry
// Seat is the seat's name.
constSeat="go-package-registry"
const(
VerbPublish="publish"
VerbPublishPart="publish-part"
VerbVersions="versions"
VerbRemove="remove"
)
const(
EventPublished="published"
EventRefused="refused"
EventRemoved="removed"
EventKept="kept"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// Artifact is one published thing, as every registry event and answer names it.
typeArtifactstruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// what it is
Kindstring`json:"kind"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of Artifact's kind.
const(
ArtifactKindPackage="package"
ArtifactKindImage="image"
ArtifactKindBundle="bundle"
ArtifactKindArchive="archive"
ArtifactKindUpstream="upstream"
)
// Outcome is the body of published, refused and removed.
typeOutcomestruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// the module holding the seat that said it
Holderstring`json:"holder"`
// what it is
Kindstring`json:"kind"`
// the Go module path a Go package is fetched under, equal to name for a Go package (go-package-registry's published); empty for every other kind of artifact
Modulestring`json:"module,omitempty"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// why: a refusal's cause, a removal's (retention, tag-gone, by-hand), or why a removal was kept (shared-digest)
Reasonstring`json:"reason,omitempty"`
// the reference the seat answers: <registry>/<module>/<artifact>@sha256:<digest>, or <name>@<version> for a package (ADR 0605 §9)
Referencestring`json:"reference,omitempty"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// for kept: the other tags still naming its digest
Tags[]string`json:"tags,omitempty"`
// the transfer it ends, when it ended one
Transferstring`json:"transfer,omitempty"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of Outcome's kind.
const(
OutcomeKindPackage="package"
OutcomeKindImage="image"
OutcomeKindBundle="bundle"
OutcomeKindArchive="archive"
OutcomeKindUpstream="upstream"
)
// Part is one part of a transfer.
typePartstruct{
// the part's digest, sha256:<hex>: an image's layer or config, a package's file, a bundle's blob
Digeststring`json:"digest"`
// its size in bytes
Sizeint64`json:"size"`
}
// PublishInput is what publish takes.
typePublishInputstruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// what it is
Kindstring`json:"kind"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// every part's digest and size; none when the digest is already held
Parts[]Part`json:"parts,omitempty"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// the transfer's name, the caller's own; the same name opens the same transfer again
Transferstring`json:"transfer"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of PublishInput's kind.
const(
PublishInputKindPackage="package"
PublishInputKindImage="image"
PublishInputKindBundle="bundle"
PublishInputKindArchive="archive"
PublishInputKindUpstream="upstream"
)
// PublishAnswer is what publish answers.
typePublishAnswerstruct{
// the digest is held already: nothing to send; the outcome follows as an event
Heldbool`json:"held,omitempty"`
// the digests of the parts the holder lacks, to send by publish-part
Lacks[]string`json:"lacks,omitempty"`
// the transfer
Transferstring`json:"transfer"`
}
// PublishPartInput is what publish-part takes.
typePublishPartInputstruct{
// the chunk's bytes, base64 (at most 760 KiB before encoding)
Datastring`json:"data"`
// this chunk is the part's last
Lastbool`json:"last"`
// the part's digest
Partstring`json:"part"`
// the chunk's place in its part, from 0
Sequenceint64`json:"sequence"`
// the transfer
Transferstring`json:"transfer"`
}
// PublishPartAnswer is what publish-part answers.
typePublishPartAnswerstruct{
// the part is whole and its bytes match its digest
Completebool`json:"complete,omitempty"`
// the part
Partstring`json:"part"`
// the chunks of the part held so far
Receivedint64`json:"received,omitempty"`
// the transfer
Transferstring`json:"transfer"`
}
// VersionsInput is what versions takes.
typeVersionsInputstruct{
// narrowed to one kind (optional)
Kindstring`json:"kind,omitempty"`
// the name
Namestring`json:"name"`
}
// VersionsAnswer is what versions answers.
typeVersionsAnswerstruct{
// the name
Namestring`json:"name"`
// newest first
Versions[]Artifact`json:"versions"`
}
// RemoveInput is what remove takes.
typeRemoveInputstruct{
// the digest (for a bundle, archive or copied base)
Digeststring`json:"digest,omitempty"`
// the name
Namestring`json:"name"`
// why it goes
Reasonstring`json:"reason"`
// the tag (for a tagged version)
Tagstring`json:"tag,omitempty"`
// the version
Versionstring`json:"version,omitempty"`
}
// The values of RemoveInput's reason.
const(
RemoveInputReasonTagGone="tag-gone"
RemoveInputReasonRetention="retention"
)
// RemoveAnswer is what remove answers.
typeRemoveAnswerstruct{
Artifact*Artifact`json:"artifact,omitempty"`
// it stays whole, its tag and its bytes: the store cannot remove the tag alone while another tag names its digest (reason, tags)
Keptbool`json:"kept,omitempty"`
// why it was kept: shared-digest, another tag names its digest
Reasonstring`json:"reason,omitempty"`
// it is gone
Removedbool`json:"removed"`
// the other tags still naming its digest, when kept
Tags[]string`json:"tags,omitempty"`
}
// The values of RemoveAnswer's reason.
const(
RemoveAnswerReasonSharedDigest="shared-digest"
)
// PublishedEvent is the body of the event published.
typePublishedEvent=Outcome
// RefusedEvent is the body of the event refused.
typeRefusedEvent=Outcome
// RemovedEvent is the body of the event removed.
typeRemovedEvent=Outcome
// KeptEvent is the body of the event kept.
typeKeptEvent=Outcome
// GoPackageRegistryForm is the form of the provision go-package-registry.
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
packagegopackageregistry
import(
"encoding/json"
"reflect"
"regexp"
"testing"
)
// TestFixtures reads every fixture of seats/go-package-registry/fixtures: each decodes into its type, a field the type does not
// know is dropped (ADR 0608 §6), and it reads back as its wire says; each subject named is the contract's.
funcTestFixtures(t*testing.T){
cases:=[]struct{
name,subject,given,wirestring
decodefunc([]byte)(any,error)
subjectIs*regexp.Regexp
}{
{name:"published on the seat's subject",subject:"mesh.seat.go-package-registry.event.published",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"module\":\"git.novox.be/novox/mesh-sdk/go\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"reference\":\"git.novox.be/novox/mesh-sdk/go@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"module\":\"git.novox.be/novox/mesh-sdk/go\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"reference\":\"git.novox.be/novox/mesh-sdk/go@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"refused on the seat's subject",subject:"mesh.seat.go-package-registry.event.refused",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"reason\":\"retention\",\"reference\":\"git.novox.be/novox/mesh-sdk/go@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"reason\":\"retention\",\"reference\":\"git.novox.be/novox/mesh-sdk/go@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"removed on the seat's subject",subject:"mesh.seat.go-package-registry.event.removed",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"reason\":\"retention\",\"reference\":\"git.novox.be/novox/mesh-sdk/go@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"reason\":\"retention\",\"reference\":\"git.novox.be/novox/mesh-sdk/go@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"kept on the seat's subject: a tagged version sharing its digest stays, naming the tags on it",subject:"mesh.seat.go-package-registry.event.kept",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"reason\":\"shared-digest\",\"reference\":\"git.novox.be/novox/mesh-sdk/go@0.1.19\",\"tag\":\"0.1.19-feat-x.2\",\"tags\":[\"0.1.19\"],\"version\":\"0.1.19-feat-x.2\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"reason\":\"shared-digest\",\"reference\":\"git.novox.be/novox/mesh-sdk/go@0.1.19\",\"tag\":\"0.1.19-feat-x.2\",\"tags\":[\"0.1.19\"],\"version\":\"0.1.19-feat-x.2\"}",
{name:"publish opens a transfer",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"a field the reader does not know is dropped",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"package\",\"later\":{\"x\":1},\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"package\",\"name\":\"git.novox.be/novox/mesh-sdk/go\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"publish answers what it lacks",subject:"",given:"{\"lacks\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"transfer\":\"t1\"}",wire:"{\"lacks\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"transfer\":\"t1\"}",
{name:"a chunk of a part",subject:"",given:"{\"data\":\"aGVsbG8=\",\"last\":true,\"part\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"sequence\":0,\"transfer\":\"t1\"}",wire:"{\"data\":\"aGVsbG8=\",\"last\":true,\"part\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"sequence\":0,\"transfer\":\"t1\"}",
{name:"a tagged version sharing its digest with another tag is kept, not removed",subject:"",given:"{\"kept\":true,\"reason\":\"shared-digest\",\"removed\":false,\"tags\":[\"0.1.19\"]}",wire:"{\"kept\":true,\"reason\":\"shared-digest\",\"removed\":false,\"tags\":[\"0.1.19\"]}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
packagemeshartifactsweep
import(
"encoding/json"
"reflect"
"regexp"
"testing"
)
// TestFixtures reads every fixture of seats/mesh-artifact-sweep/fixtures: each decodes into its type, a field the type does not
// know is dropped (ADR 0608 §6), and it reads back as its wire says; each subject named is the contract's.
funcTestFixtures(t*testing.T){
cases:=[]struct{
name,subject,given,wirestring
decodefunc([]byte)(any,error)
subjectIs*regexp.Regexp
}{
{name:"artifacts-gone on the seat's subject",subject:"mesh.seat.mesh-artifact-sweep.event.artifacts-gone",given:"{\"at\":\"2026-11-05T15:04:05Z\",\"event\":\"artifacts-gone\",\"fingerprint\":\"f1\",\"gone\":[\"artifact-store://ca-trust/archive/blobs/sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"artifact-store://ca-trust/archive/blobs/sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"key\":\"ca-trust.archive.f1\",\"module\":\"ca-trust\"}",wire:"{\"at\":\"2026-11-05T15:04:05Z\",\"event\":\"artifacts-gone\",\"fingerprint\":\"f1\",\"gone\":[\"artifact-store://ca-trust/archive/blobs/sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"artifact-store://ca-trust/archive/blobs/sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"key\":\"ca-trust.archive.f1\",\"module\":\"ca-trust\"}",
{name:"held asks the references",subject:"",given:"{\"references\":[\"artifact-store://ca-trust/archive/blobs/sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"artifact-store://ca-trust/archive/blobs/sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"artifact-store://ca-trust/archive/blobs/sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"]}",wire:"{\"references\":[\"artifact-store://ca-trust/archive/blobs/sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"artifact-store://ca-trust/archive/blobs/sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"artifact-store://ca-trust/archive/blobs/sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"]}",
{name:"held answers held, gone and unknown",subject:"",given:"{\"gone\":[\"artifact-store://ca-trust/archive/blobs/sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"held\":[\"artifact-store://ca-trust/archive/blobs/sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"],\"store\":\"store.test:5100\",\"unknown\":{\"artifact-store://ca-trust/archive/blobs/sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\":\"the store answered 503\"}}",wire:"{\"gone\":[\"artifact-store://ca-trust/archive/blobs/sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"held\":[\"artifact-store://ca-trust/archive/blobs/sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"],\"store\":\"store.test:5100\",\"unknown\":{\"artifact-store://ca-trust/archive/blobs/sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\":\"the store answered 503\"}}",
{name:"held answers with nothing unknown",subject:"",given:"{\"gone\":[],\"held\":[],\"store\":\"store.test:5100\"}",wire:"{\"gone\":[],\"held\":[],\"store\":\"store.test:5100\"}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package meshcatalog is the contract of the seat "mesh-catalog", defined whole (seats/mesh-catalog/seat.json): The catalog of the mesh: every module the trunk holds with its manifest, fingerprint and verdict, the packages published, and the seat list (ADR 0636 §1, §4).
// ParseManifestsByDigestKey reads the parts of a key of the form "<digest>", in the order of the form; the last result is false for a key of another form.
// DecodeManifestsByDigestValue reads one value of the state manifests under the form "<digest>", refusing a field ManifestsByDigestValue does not know and any text after the value.
// ParseModulesByModuleKey reads the parts of a key of the form "<module>", in the order of the form; the last result is false for a key of another form.
// DecodeModulesByModuleValue reads one value of the state modules under the form "<module>", refusing a field ModulesByModuleValue does not know and any text after the value.
// ParseCandidatesByGroupKey reads the parts of a key of the form "<group>", in the order of the form; the last result is false for a key of another form.
// DecodeCandidatesByGroupValue reads one value of the state candidates under the form "<group>", refusing a field CandidatesByGroupValue does not know and any text after the value.
// ParseVerdictsByDigestKey reads the parts of a key of the form "<digest>", in the order of the form; the last result is false for a key of another form.
// DecodeVerdictsByDigestValue reads one value of the state verdicts under the form "<digest>", refusing a field VerdictsByDigestValue does not know and any text after the value.
// PredefinedByListKey is the key of one value of the state predefined under the form "list".
funcPredefinedByListKey()string{return"list"}
// ParsePredefinedByListKey reads the parts of a key of the form "list", in the order of the form; the last result is false for a key of another form.
funcParsePredefinedByListKey(keystring)bool{
rest:=key
if!strings.HasPrefix(rest,"list"){
returnfalse
}
rest=rest[4:]
ifrest!=""{
returnfalse
}
returntrue
}
// DecodePredefinedByListValue reads one value of the state predefined under the form "list", refusing a field PredefinedByListValue does not know and any text after the value.
// ParseConfigCandidatesByPullKey reads the parts of a key of the form "<pull>", in the order of the form; the last result is false for a key of another form.
// DecodeConfigCandidatesByPullValue reads one value of the state config-candidates under the form "<pull>", refusing a field ConfigCandidatesByPullValue does not know and any text after the value.
// ParsePackagesByModuleKey reads the parts of a key of the form "<module>", in the order of the form; the last result is false for a key of another form.
// DecodePackagesByModuleValue reads one value of the state packages under the form "<module>", refusing a field PackagesByModuleValue does not know and any text after the value.
// ParsePackagesByPackageSeriesKey reads the parts of a key of the form "<package>.<series>", in the order of the form; the last result is false for a key of another form.
// DecodePackagesByPackageSeriesValue reads one value of the state packages under the form "<package>.<series>", refusing a field PackagesByPackageSeriesValue does not know and any text after the value.
{name:"a module (xclip, read through mesh-catalog.modules; the inputs and toolchains no tool reads are not here)",subject:"",given:"{\"commit\":\"f469eb387a3015569d9b16c66ed418e9dd098f64\",\"fp2\":\"src2:b427bdde1f100e2f52490cfa9df0c5112dd3700226b4892349f0c14a15a4af56\",\"path\":\"modules/xclip\",\"repository\":\"novox/mesh-catalog\",\"v\":1}",wire:"{\"commit\":\"f469eb387a3015569d9b16c66ed418e9dd098f64\",\"fp2\":\"src2:b427bdde1f100e2f52490cfa9df0c5112dd3700226b4892349f0c14a15a4af56\",\"path\":\"modules/xclip\",\"repository\":\"novox/mesh-catalog\",\"v\":1}",
{name:"a refused verdict (nats, read through the indexer's verdicts tool)",subject:"",given:"{\"at\":\"2026-11-04T18:51:12.614583047+01:00\",\"judge\":\"exe:661e6fb424d7ffea\",\"module\":\"nats\",\"problems\":[\"this is not a module manifest: a state is either a name or {name, history, ttl-seconds, per-machine, key-ttl}: json: unknown field \\\"read-only\\\" (read without state[2].read-only)\"],\"state\":\"refused\"}",wire:"{\"at\":\"2026-11-04T18:51:12.614583047+01:00\",\"judge\":\"exe:661e6fb424d7ffea\",\"module\":\"nats\",\"problems\":[\"this is not a module manifest: a state is either a name or {name, history, ttl-seconds, per-machine, key-ttl}: json: unknown field \\\"read-only\\\" (read without state[2].read-only)\"],\"state\":\"refused\"}",
{name:"a pull request's configuration state whose bounds are declared 0 (a zero is a bound, not none)",subject:"",given:"{\"declares\":{\"nats\":{\"limit\":{\"default\":0,\"kind\":\"setting\",\"maximum\":0,\"minimum\":0,\"why\":\"a bound\"}}},\"head\":\"cccccccccccccccccccccccccccccccccccccccc\",\"pull\":\"novox/mesh-catalog#1\",\"v\":1}",wire:"{\"declares\":{\"nats\":{\"limit\":{\"default\":0,\"kind\":\"setting\",\"maximum\":0,\"minimum\":0,\"why\":\"a bound\"}}},\"head\":\"cccccccccccccccccccccccccccccccccccccccc\",\"pull\":\"novox/mesh-catalog#1\",\"v\":1}",
decode:func(b[]byte)(any,error){
varvConfigCandidatesByPullValue
err:=json.Unmarshal(b,&v)
returnv,err
},subjectIs:nil},
{name:"a published Go module",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"module\":\"git.novox.be/novox/mesh-sdk/go\",\"packages\":[{\"digest\":\"ab\",\"package\":\"git.novox.be/novox/mesh-sdk/go/keys\"}],\"repository\":\"novox/mesh-sdk\",\"v\":1}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"module\":\"git.novox.be/novox/mesh-sdk/go\",\"packages\":[{\"digest\":\"ab\",\"package\":\"git.novox.be/novox/mesh-sdk/go/keys\"}],\"repository\":\"novox/mesh-sdk\",\"v\":1}",
{name:"a module with its toolchain",subject:"",given:"{\"commit\":\"f469eb387a3015569d9b16c66ed418e9dd098f64\",\"fp2\":\"src2:b427bdde1f100e2f52490cfa9df0c5112dd3700226b4892349f0c14a15a4af56\",\"repository\":\"novox/mesh-catalog\",\"toolchains\":{\"go\":{\"language\":\"go\",\"recipe\":\"1\",\"version\":\"1.26.0\"}},\"v\":1}",wire:"{\"commit\":\"f469eb387a3015569d9b16c66ed418e9dd098f64\",\"fp2\":\"src2:b427bdde1f100e2f52490cfa9df0c5112dd3700226b4892349f0c14a15a4af56\",\"repository\":\"novox/mesh-catalog\",\"toolchains\":{\"go\":{\"language\":\"go\",\"recipe\":\"1\",\"version\":\"1.26.0\"}},\"v\":1}",
{name:"the modules verb (captured: the first three modules)",subject:"",given:"{\"modules\":[{\"commit\":\"f469eb387a3015569d9b16c66ed418e9dd098f64\",\"fp\":\"src2:5e4a1b4ad4ea6175c05e4655ce58aeb957547149d4c9805eb27636efd50c1c87\",\"module\":\"adwaita\",\"path\":\"modules/adwaita\",\"repository\":\"novox/mesh-catalog\"},{\"commit\":\"b112adcecc41d18f54190cbd2fc864199b70c518\",\"fp\":\"src2:7dd0db8e98224f46121a5ae05c0b9c5a430eff531a5120aa40b1a59237853a3f\",\"module\":\"amqp-email-forwarder\",\"path\":\".\",\"repository\":\"jschoubben/amqp-email-forwarder\"},{\"commit\":\"dd458cb155f5f5fa3ed824a23728e444be5b156a\",\"fp\":\"src2:a98f8152f0a837dd5ba883a15efaf110ba88100193157e4bdb1a93ba55209371\",\"module\":\"artifact-store-tools\",\"path\":\"modules/artifact-store-tools\",\"repository\":\"novox/mesh-catalog\"}]}",wire:"{\"modules\":[{\"commit\":\"f469eb387a3015569d9b16c66ed418e9dd098f64\",\"fp\":\"src2:5e4a1b4ad4ea6175c05e4655ce58aeb957547149d4c9805eb27636efd50c1c87\",\"module\":\"adwaita\",\"path\":\"modules/adwaita\",\"repository\":\"novox/mesh-catalog\"},{\"commit\":\"b112adcecc41d18f54190cbd2fc864199b70c518\",\"fp\":\"src2:7dd0db8e98224f46121a5ae05c0b9c5a430eff531a5120aa40b1a59237853a3f\",\"module\":\"amqp-email-forwarder\",\"path\":\".\",\"repository\":\"jschoubben/amqp-email-forwarder\"},{\"commit\":\"dd458cb155f5f5fa3ed824a23728e444be5b156a\",\"fp\":\"src2:a98f8152f0a837dd5ba883a15efaf110ba88100193157e4bdb1a93ba55209371\",\"module\":\"artifact-store-tools\",\"path\":\"modules/artifact-store-tools\",\"repository\":\"novox/mesh-catalog\"}]}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package meshdelivery is the contract of the seat "mesh-delivery", defined whole (seats/mesh-delivery/seat.json): The delivery gate: reads and steers deliveries, merges and the checks that decide them; the merge is made on the operator's Approve once both checks passed.
packagemeshdelivery
import(
"bytes"
"encoding/json"
"errors"
"strings"
"time"
)
// Seat is the seat's name.
constSeat="mesh-delivery"
const(
VerbDeliveries="deliveries"
VerbTimes="times"
VerbShow="show"
VerbGroups="groups"
VerbWhatIf="what-if"
VerbChecks="checks"
VerbTable="table"
VerbStalled="stalled"
VerbRecheck="recheck"
VerbRelease="release"
VerbStop="stop"
VerbClose="close"
VerbRetireHistory="retire-history"
VerbSettle="settle"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// SourceByMainKey is the key of one value of the state source under the form "main".
funcSourceByMainKey()string{return"main"}
// ParseSourceByMainKey reads the parts of a key of the form "main", in the order of the form; the last result is false for a key of another form.
funcParseSourceByMainKey(keystring)bool{
rest:=key
if!strings.HasPrefix(rest,"main"){
returnfalse
}
rest=rest[4:]
ifrest!=""{
returnfalse
}
returntrue
}
// DecodeSourceByMainValue reads one value of the state source under the form "main", refusing a field SourceByMainValue does not know and any text after the value.
// DecodeMergesByGroupValue reads one value of the state merges under the form "<group>", refusing a field MergesByGroupValue does not know and any text after the value.
// ParseAsksByMergeGroupHeadsKey reads the parts of a key of the form "merge.<group>.<heads>", in the order of the form; the last result is false for a key of another form.
// DecodeAsksByMergeGroupHeadsValue reads one value of the state asks under the form "merge.<group>.<heads>", refusing a field AsksByMergeGroupHeadsValue does not know and any text after the value.
// ParseOwedByRepositoryNumberHeadActKey reads the parts of a key of the form "<repository>.<number>.<head>.<act>", in the order of the form; the last result is false for a key of another form.
// DecodeOwedByRepositoryNumberHeadActValue reads one value of the state owed under the form "<repository>.<number>.<head>.<act>", refusing a field OwedByRepositoryNumberHeadActValue does not know and any text after the value.
// ParseTurnsByRepositoryKey reads the parts of a key of the form "<repository>", in the order of the form; the last result is false for a key of another form.
// DecodeTurnsByRepositoryValue reads one value of the state turns under the form "<repository>", refusing a field TurnsByRepositoryValue does not know and any text after the value.
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package meshdeliverychecker is the contract of the seat "mesh-delivery-checker", defined whole (seats/mesh-delivery-checker/seat.json): The merge check's tries: start one, read one, end one. The checker's own events stay under its own subjects (ADR 0620 §2).
packagemeshdeliverychecker
import(
"bytes"
"encoding/json"
"errors"
"strings"
)
// Seat is the seat's name.
constSeat="mesh-delivery-checker"
const(
VerbTry="try"
VerbTryRead="try-read"
VerbTryEnd="try-end"
VerbInput="input"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// ParseVerdictsByGroupHeadsKey reads the parts of a key of the form "<group>.<heads>", in the order of the form; the last result is false for a key of another form.
// DecodeVerdictsByGroupHeadsValue reads one value of the state verdicts under the form "<group>.<heads>", refusing a field VerdictsByGroupHeadsValue does not know and any text after the value.
// ParseKeptByLevelDigestKey reads the parts of a key of the form "<level>.<digest>", in the order of the form; the last result is false for a key of another form.
// DecodeKeptByLevelDigestValue reads one value of the state kept under the form "<level>.<digest>", refusing a field KeptByLevelDigestValue does not know and any text after the value.
// ParseOwedByRepositoryNumberHeadActKey reads the parts of a key of the form "<repository>.<number>.<head>.<act>", in the order of the form; the last result is false for a key of another form.
// DecodeOwedByRepositoryNumberHeadActValue reads one value of the state owed under the form "<repository>.<number>.<head>.<act>", refusing a field OwedByRepositoryNumberHeadActValue does not know and any text after the value.
// ParsePreviewsByRepositoryHeadTrunkKey reads the parts of a key of the form "<repository>.<head>.<trunk>", in the order of the form; the last result is false for a key of another form.
// DecodePreviewsByRepositoryHeadTrunkValue reads one value of the state previews under the form "<repository>.<head>.<trunk>", refusing a field PreviewsByRepositoryHeadTrunkValue does not know and any text after the value.
// VerdictsByGroupHeadsValueJudgedBy is the checking program that judged the check: where it was built, the key its build is kept under, whether this check's run built it, and the heads it read (ADR 0644, ADR 0656). Absent in a value written before it.
// the checking program that judged the check: where it was built, the key its build is kept under, whether this check's run built it, and the heads it read (ADR 0644, ADR 0656). Absent in a value written before it
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
packagemeshdeliverychecker
import(
"encoding/json"
"reflect"
"regexp"
"testing"
)
// TestFixtures reads every fixture of seats/mesh-delivery-checker/fixtures: each decodes into its type, a field the type does not
// know is dropped (ADR 0608 §6), and it reads back as its wire says; each subject named is the contract's.
funcTestFixtures(t*testing.T){
cases:=[]struct{
name,subject,given,wirestring
decodefunc([]byte)(any,error)
subjectIs*regexp.Regexp
}{
{name:"verdict on the checker's own family",subject:"mesh.stream.mesh-delivery-checker.event.verdict",given:"{\"head\":\"cccccccccccccccccccccccccccccccccccccccc\",\"out-of-step\":[\"go/seats/meshbroker/contract.go\"],\"pull\":3,\"repository\":\"novox/mesh-contracts\",\"series\":[{\"artifact\":\"go\",\"from\":\"0.1\",\"module\":\"mesh-contracts\",\"to\":\"0.2\"}],\"verdict\":\"fail\"}",wire:"{\"head\":\"cccccccccccccccccccccccccccccccccccccccc\",\"out-of-step\":[\"go/seats/meshbroker/contract.go\"],\"pull\":3,\"repository\":\"novox/mesh-contracts\",\"series\":[{\"artifact\":\"go\",\"from\":\"0.1\",\"module\":\"mesh-contracts\",\"to\":\"0.2\"}],\"verdict\":\"fail\"}",
{name:"tag-wanted on the checker's own family",subject:"mesh.stream.mesh-delivery-checker.event.tag-wanted",given:"{\"branch\":\"feat/registry\",\"head\":\"cccccccccccccccccccccccccccccccccccccccc\",\"module\":\"mesh-sdk\",\"package\":\"go\",\"pull\":170,\"repository\":\"novox/mesh-sdk\",\"tag\":\"registry-1966\"}",wire:"{\"branch\":\"feat/registry\",\"head\":\"cccccccccccccccccccccccccccccccccccccccc\",\"module\":\"mesh-sdk\",\"package\":\"go\",\"pull\":170,\"repository\":\"novox/mesh-sdk\",\"tag\":\"registry-1966\"}",
{name:"a pass judged by the checking program built at a mesh-delivery head",subject:"",given:"{\"group\":\"feat/registry\",\"heads\":\"0123456789ab\",\"judged-by\":{\"built\":true,\"heads\":[{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"repository\":\"novox/mesh-delivery\"}],\"key\":\"program-0123456789abcdef\",\"program\":{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"dir\":\"modules/mesh-delivery-checker\",\"package\":\"./cmd/mesh-checking-program\",\"repository\":\"novox/mesh-delivery\"}},\"levels\":{\"integration\":{\"kept\":0,\"run\":3},\"unit\":{\"kept\":0,\"run\":12}},\"state\":\"pass\",\"v\":1}",wire:"{\"group\":\"feat/registry\",\"heads\":\"0123456789ab\",\"judged-by\":{\"built\":true,\"heads\":[{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"repository\":\"novox/mesh-delivery\"}],\"key\":\"program-0123456789abcdef\",\"program\":{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"dir\":\"modules/mesh-delivery-checker\",\"package\":\"./cmd/mesh-checking-program\",\"repository\":\"novox/mesh-delivery\"}},\"levels\":{\"integration\":{\"kept\":0,\"run\":3},\"unit\":{\"kept\":0,\"run\":12}},\"state\":\"pass\",\"v\":1}",
{name:"the status owed for a head",subject:"",given:"{\"act\":\"status=mesh/check\",\"context\":\"mesh/check\",\"state\":\"success\",\"v\":1}",wire:"{\"act\":\"status=mesh/check\",\"context\":\"mesh/check\",\"state\":\"success\",\"v\":1}",
{name:"a checking program asks its input by its digest",subject:"",given:"{\"digest\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"}",wire:"{\"digest\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"}",
{name:"the input answered as its exact bytes, base64",subject:"",given:"{\"digest\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"input\":\"eyJ2IjoxfQ==\"}",wire:"{\"digest\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"input\":\"eyJ2IjoxfQ==\"}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package meshwants is the contract of the seat "mesh-wants", defined whole (seats/mesh-wants/seat.json): The seat that says what each node should run and whether each module's new builds wait for a person (ADR 0565, ADR 0539).
packagemeshwants
import(
"bytes"
"encoding/json"
"errors"
"strings"
)
// Seat is the seat's name.
constSeat="mesh-wants"
const(
VerbUpgrade="upgrade"
VerbBus="bus"
)
const(
EventPolicyChanged="policy-changed"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
funcVerbs()[]string{
return[]string{VerbUpgrade,VerbBus}
}
// Events is every event published on the seat's subject: a new copy each call.
funcEvents()[]string{
return[]string{EventPolicyChanged}
}
// Family is where the seat's events are kept: the shared events stream, filtered to the seat's subjects.
const(
Family="mesh-wants.events"
FamilyMaxAgeDays=7
)
// SubjectPolicyChanged is where policy-changed is published.
// ParseWantsByWantNodeModuleKey reads the parts of a key of the form "want.<node>.<module>", in the order of the form; the last result is false for a key of another form.
// DecodeWantsByWantNodeModuleValue reads one value of the state wants under the form "want.<node>.<module>", refusing a field WantsByWantNodeModuleValue does not know and any text after the value.
// ParseWantsByWantNodeNodeKey reads the parts of a key of the form "want.<node>.node", in the order of the form; the last result is false for a key of another form.
// DecodeWantsByWantNodeNodeValue reads one value of the state wants under the form "want.<node>.node", refusing a field WantsByWantNodeNodeValue does not know and any text after the value.
// ParseWantsByHeldModuleFingerprintKey reads the parts of a key of the form "held.<module>.<fingerprint>", in the order of the form; the last result is false for a key of another form.
// DecodeWantsByHeldModuleFingerprintValue reads one value of the state wants under the form "held.<module>.<fingerprint>", refusing a field WantsByHeldModuleFingerprintValue does not know and any text after the value.
// ParseDifferencesByNodeModuleKey reads the parts of a key of the form "<node>.<module>", in the order of the form; the last result is false for a key of another form.
// DecodeDifferencesByNodeModuleValue reads one value of the state differences under the form "<node>.<module>", refusing a field DifferencesByNodeModuleValue does not know and any text after the value.
// ParseCompositionsByGroupHeadsKey reads the parts of a key of the form "<group>.<heads>", in the order of the form; the last result is false for a key of another form.
// DecodeCompositionsByGroupHeadsValue reads one value of the state compositions under the form "<group>.<heads>", refusing a field CompositionsByGroupHeadsValue does not know and any text after the value.
{name:"a node's own want",subject:"",given:"{\"composed\":\"sha256:aa\",\"self\":true,\"v\":1}",wire:"{\"composed\":\"sha256:aa\",\"self\":true,\"v\":1}",
decode:func(b[]byte)(any,error){
varvWantsByWantNodeNodeValue
err:=json.Unmarshal(b,&v)
returnv,err
},subjectIs:nil},
{name:"a held fingerprint",subject:"",given:"{\"node\":\"ace\",\"v\":1}",wire:"{\"node\":\"ace\",\"v\":1}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package nodebuildgo is the contract of the seat "node-build-go", defined whole (seats/node-build-go/seat.json): The Go build module on a node: it takes the asks of the builder and the checker, runs them as steps and answers.
packagenodebuildgo
import(
"bytes"
"encoding/json"
"errors"
"strings"
"time"
)
// Seat is the seat's name.
constSeat="node-build-go"
const(
VerbCurrent="current"
VerbPause="pause"
VerbResume="resume"
VerbDrop="drop"
)
const(
AcceptDelivery="delivery"
AcceptCheck="check"
AcceptRecheck="recheck"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// ParseStepsByNodeIDKey reads the parts of a key of the form "<node>.<id>", in the order of the form; the last result is false for a key of another form.
// DecodeStepsByNodeIDValue reads one value of the state steps under the form "<node>.<id>", refusing a field StepsByNodeIDValue does not know and any text after the value.
// ParsePausesByPausedNodeKey reads the parts of a key of the form "paused.<node>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByPausedNodeValue reads one value of the state pauses under the form "paused.<node>", refusing a field PausesByPausedNodeValue does not know and any text after the value.
// ParsePausesByDroppedIDKey reads the parts of a key of the form "dropped.<id>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByDroppedIDValue reads one value of the state pauses under the form "dropped.<id>", refusing a field PausesByDroppedIDValue does not know and any text after the value.
// ParsePausesByCapacityNodeKey reads the parts of a key of the form "capacity.<node>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByCapacityNodeValue reads one value of the state pauses under the form "capacity.<node>", refusing a field PausesByCapacityNodeValue does not know and any text after the value.
// ParseToolchainsByNodeLanguageKey reads the parts of a key of the form "<node>.<language>", in the order of the form; the last result is false for a key of another form.
// DecodeToolchainsByNodeLanguageValue reads one value of the state toolchains under the form "<node>.<language>", refusing a field ToolchainsByNodeLanguageValue does not know and any text after the value.
// FetchPackage is the TypeScript module's group package: the group's tagged version of the SDK ({name, version}), placed from the registry in each member whatever its lock names, or the group's package member ({repository, commit, ref}), packed by the fetch and served to the members in place of the registry's.
typeFetchPackagestruct{
Commitstring`json:"commit,omitempty"`
Namestring`json:"name,omitempty"`
Refstring`json:"ref,omitempty"`
Repositorystring`json:"repository,omitempty"`
Versionstring`json:"version,omitempty"`
}
// Fetch is what a build module's fetch tool is asked: the repository and the full commit, the pull request's ref when only its head carries the commit, the trunk commit to merge onto for a merge preview, the module's directory and named paths, the mesh packages to build against, and the sibling repositories placed beside.
typeFetchstruct{
// the trunk commit a merge preview merges onto
Basestring`json:"base,omitempty"`
// the sibling repositories placed beside the fetched tree
Beside[]FetchBesideItem`json:"beside,omitempty"`
// the full commit
Commitstring`json:"commit"`
// the module's directory in the repository ("." for its root), with paths
Dirstring`json:"dir,omitempty"`
// the TypeScript module's group package: the group's tagged version of the SDK ({name, version}), placed from the registry in each member whatever its lock names, or the group's package member ({repository, commit, ref}), packed by the fetch and served to the members in place of the registry's
Package*FetchPackage`json:"package,omitempty"`
// the version (a full commit) of each mesh package to build against, by its module path
// the pull request's ref, when only its head carries the commit
Refstring`json:"ref,omitempty"`
// <owner>/<name>
Repositorystring`json:"repository"`
}
// FetchAnswer is what a build module's fetch tool answers, whole: the workspace it made, the commit in it, the module directories found; and, when the call gave a base, the merge preview (the trunk commit, the merge commit, the files that conflict, the paths the merge changes, the compiled programs among them, the tree of each module directory). A head that does not merge cleanly is an answer, not an error: merge is empty and conflicts names the files. The Go module adds the sibling repositories placed and the package versions taken; the TypeScript module the directories installed and refused and the group's package.
// LevelAnswerUnmetItem is a type of the contract.
typeLevelAnswerUnmetItemstruct{
Needs[]string`json:"needs,omitempty"`
Packagestring`json:"package,omitempty"`
}
// LevelAnswer is one level of a check ask: the digest's answer, the kept verdicts taken, one test result per test step run, and the packages the node could not test.
// ModuleTree is the tree of one module directory in a merge preview: its git tree, the digest of its manifest, the lock files' digests and the digests of the named paths.
typeModuleTreestruct{
Locksmap[string]string`json:"locks,omitempty"`
Manifeststring`json:"manifest"`
// no longer filled (ADR 0593 section 2); kept so a preview written before still reads
Packages[]string`json:"packages,omitempty"`
Pathsmap[string]string`json:"paths,omitempty"`
Treestring`json:"tree"`
}
// Pause is whether the node takes no new ask.
typePausestruct{
// when (RFC 3339 time)
At*time.Time`json:"at,omitempty"`
Bystring`json:"by,omitempty"`
Pausedbool`json:"paused"`
// the layout version
Vint64`json:"v,omitempty"`
}
// PlacedBeside is a sibling repository placed as a plain directory under the workspace's beside directory.
typePlacedBesidestruct{
Commitstring`json:"commit"`
Dirstring`json:"dir"`
Repositorystring`json:"repository"`
}
// Program is a changed file that is a compiled program (issue 1577): its path, its executable format, and the commit of the branch that added it when the merge's tree no longer holds it.
typeProgramstruct{
Commitstring`json:"commit,omitempty"`
// ELF, Mach-O or PE
Kindstring`json:"kind"`
Pathstring`json:"path"`
}
// RunAnswer is what a run ask's step answers: whether this run built the program or took the one kept under its key, the key, the program's exit, the last line of its standard output and the first of its standard error.
typeRunAnswerstruct{
Builtbool`json:"built"`
Exitint64`json:"exit"`
Keystring`json:"key"`
// raw when it is JSON, else a JSON string
Outputany`json:"output,omitempty"`
Saidstring`json:"said,omitempty"`
}
// RunHead is one commit a run's program reads.
typeRunHeadstruct{
Commitstring`json:"commit"`
Repositorystring`json:"repository"`
}
// RunInput is a run's input by reference: the seat verb the asker serves it on (seat:<seat>.<verb>), the sha256 of its bytes and its size, at most 256 KiB.
typeRunInputstruct{
// 64 lowercase hex digits
Digeststring`json:"digest"`
// bytes
Sizeint64`json:"size"`
Verbstring`json:"verb"`
}
// RunJob is a run ask's job: where its program is built, the heads it reads (each laid read-only at its repository's path), its input by reference, its arguments and what it is for.
typeRunJobstruct{
// the program's arguments, each a word or a flag
Args[]string`json:"args,omitempty"`
// the commits the program reads, a repository at most once
Heads[]RunHead`json:"heads"`
InputRunInput`json:"input"`
ProgramRunProgram`json:"program"`
// what the run is for, for a reader of the ask
Readerstring`json:"reader,omitempty"`
}
// RunProgram is where a run's program is built: the repository and full commit fetched, the Go module's directory in it and the program's import path.
typeRunProgramstruct{
Commitstring`json:"commit"`
Dirstring`json:"dir"`
Packagestring`json:"package"`
Repositorystring`json:"repository"`
}
// Step is one step a build module runs on a node.
typeStepstruct{
// when the bus gives the ask again, for the state again (RFC 3339 time)
AgainAt*time.Time`json:"again-at,omitempty"`
// when (RFC 3339 time)
Ended*time.Time`json:"ended,omitempty"`
IDstring`json:"id"`
Nodestring`json:"node"`
Ownerstring`json:"owner,omitempty"`
// true when the step ended on a fault that passes (a transport fault), so a failed end after the last run says so
Passingbool`json:"passing,omitempty"`
Phasestring`json:"phase,omitempty"`
// when (RFC 3339 time)
PhaseAt*time.Time`json:"phase-at,omitempty"`
Reasonstring`json:"reason,omitempty"`
Result*StepResult`json:"result,omitempty"`
// which run of the ask this is, counted by the bus's delivery count (1 for the first)
Runint64`json:"run,omitempty"`
// when (RFC 3339 time)
Startedtime.Time`json:"started"`
// running, again (ended on a transport fault, to be given again by the bus after again-at), passed, failed, refused or dropped (ended by the verb drop, its cause the reason)
// the compose-candidate request, in one of two forms: the request as a JSON object, or, for one near the bus's message limit, a JSON string "gzip+base64:" followed by the base64 of the request object gzip-compressed; a holder that does not know the packed form refuses it, naming that it holds no request object
// a run: a program built from a change and run in the build seat's sandbox over the heads, its input asked of a verb of the asker's seat; the Go seat's check stream alone carries it, as a compose
Run*RunJob`json:"run,omitempty"`
// the layout version
Vint64`json:"v,omitempty"`
}
// StepResult is what a step answered, by the kind of ask: a build's artifacts, toolchain, imports and out-of-step modules; a check's fetch and levels; a compose's built, key and verdict; a run's built, key, exit, output and said; a declined ask's declined, needs and lacks. The fields of the kinds do not meet, so one layout holds the five.
// the compose-candidate verdict (the composer's own layout)
Verdictany`json:"verdict,omitempty"`
}
// TakenVersion is of a directory whose go.mod requires an asked mesh package, the version it is built against: the asked one, or go.mod's when it names a newer one, said.
typeTakenVersionstruct{
Askedstring`json:"asked"`
Builtstring`json:"built"`
Dirstring`json:"dir"`
Namedstring`json:"named"`
Packagestring`json:"package"`
Saidstring`json:"said,omitempty"`
Sumstring`json:"sum,omitempty"`
}
// Toolchain is the toolchain a node reports.
typeToolchainstruct{
// when (RFC 3339 time)
At*time.Time`json:"at,omitempty"`
// go or typescript
Languagestring`json:"language"`
Recipestring`json:"recipe"`
// the layout version
Vint64`json:"v,omitempty"`
Versionstring`json:"version"`
}
// ToolchainUsed is the toolchain a build was made with: the language, the installed version and the build module's recipe.
typeToolchainUsedstruct{
Languagestring`json:"language"`
Recipestring`json:"recipe"`
Versionstring`json:"version"`
}
// CurrentInput is what current takes.
typeCurrentInputstruct{
}
// CurrentAnswer is what current answers.
typeCurrentAnswer=map[string]any
// PauseInput is what pause takes.
typePauseInputstruct{
}
// PauseAnswer is what pause answers.
typePauseAnswer=map[string]any
// ResumeInput is what resume takes.
typeResumeInputstruct{
}
// ResumeAnswer is what resume answers.
typeResumeAnswer=map[string]any
// DropInput is what drop takes.
typeDropInputstruct{
// who drops it
Bystring`json:"by,omitempty"`
// the ask's id
IDstring`json:"id"`
// why the caller no longer waits
Whystring`json:"why"`
}
// DropAnswer is what drop answers.
typeDropAnswer=map[string]any
// DeliveryAccept is the body of delivery.
typeDeliveryAccept=StepAsk
// CheckAccept is the body of check.
typeCheckAccept=StepAsk
// RecheckAccept is the body of recheck.
typeRecheckAccept=StepAsk
// StepsByNodeIDValue is one value of the state steps under the key <node>.<id>.
typeStepsByNodeIDValue=Step
// PausesByPausedNodeValue is one value of the state pauses under the key paused.<node>.
typePausesByPausedNodeValue=Pause
// PausesByDroppedIDValue is one value of the state pauses under the key dropped.<id>.
typePausesByDroppedIDValue=Drop
// PausesByCapacityNodeValue is one value of the state pauses under the key capacity.<node>.
typePausesByCapacityNodeValue=Capacity
// ToolchainsByNodeLanguageValue is one value of the state toolchains under the key <node>.<language>.
{name:"a node's capacity",subject:"",given:"{\"configured\":2,\"effective\":2,\"v\":1,\"why\":\"the configured steps fit the cores\"}",wire:"{\"configured\":2,\"effective\":2,\"v\":1,\"why\":\"the configured steps fit the cores\"}",
{name:"a check ask with its fetch, siblings and levels",subject:"mesh.seat.node-build-go.accept.check",given:"{\"asker\":\"mesh-delivery-checker\",\"at\":\"2026-11-05T10:00:00Z\",\"check\":{\"fetch\":{\"base\":\"89abcdef0123456789abcdef0123456789abcdef\",\"beside\":[{\"commit\":\"fedcba9876543210fedcba9876543210fedcba98\",\"repository\":\"novox/mesh-sdk\"}],\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"packages\":{\"git.novox.be/novox/mesh-sdk/go\":\"fedcba9876543210fedcba9876543210fedcba98\"},\"ref\":\"refs/pull/7/head\",\"repository\":\"novox/mesh-catalog\"},\"kept\":true,\"levels\":[\"unit\",\"integration\"],\"node-names\":[\"ace\",\"g14\"],\"toolchain\":{\"language\":\"go\",\"recipe\":\"2\",\"version\":\"1.26.0\"}},\"id\":\"c3d4\",\"kind\":\"check\",\"language\":\"go\",\"v\":1}",wire:"{\"asker\":\"mesh-delivery-checker\",\"at\":\"2026-11-05T10:00:00Z\",\"check\":{\"fetch\":{\"base\":\"89abcdef0123456789abcdef0123456789abcdef\",\"beside\":[{\"commit\":\"fedcba9876543210fedcba9876543210fedcba98\",\"repository\":\"novox/mesh-sdk\"}],\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"packages\":{\"git.novox.be/novox/mesh-sdk/go\":\"fedcba9876543210fedcba9876543210fedcba98\"},\"ref\":\"refs/pull/7/head\",\"repository\":\"novox/mesh-catalog\"},\"kept\":true,\"levels\":[\"unit\",\"integration\"],\"node-names\":[\"ace\",\"g14\"],\"toolchain\":{\"language\":\"go\",\"recipe\":\"2\",\"version\":\"1.26.0\"}},\"id\":\"c3d4\",\"kind\":\"check\",\"language\":\"go\",\"v\":1}",
{name:"a finished build step with its artifacts",subject:"",given:"{\"ended\":\"2026-11-05T10:03:00Z\",\"id\":\"a1b2\",\"node\":\"ace\",\"result\":{\"artifacts\":[{\"artifact\":\"go\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"reference\":\"container-image-registry/nats/go@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}],\"imports\":[\"git.novox.be/novox/mesh-sdk/go\"],\"toolchain\":{\"language\":\"go\",\"recipe\":\"1\",\"version\":\"1.26.0\"}},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"passed\",\"tool\":\"build\",\"v\":1}",wire:"{\"ended\":\"2026-11-05T10:03:00Z\",\"id\":\"a1b2\",\"node\":\"ace\",\"result\":{\"artifacts\":[{\"artifact\":\"go\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"reference\":\"container-image-registry/nats/go@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}],\"imports\":[\"git.novox.be/novox/mesh-sdk/go\"],\"toolchain\":{\"language\":\"go\",\"recipe\":\"1\",\"version\":\"1.26.0\"}},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"passed\",\"tool\":\"build\",\"v\":1}",
{name:"a finished check step with its levels",subject:"",given:"{\"ended\":\"2026-11-05T10:06:00Z\",\"id\":\"c3d4\",\"node\":\"ace\",\"result\":{\"fetch\":{\"base\":\"abcdef0123456789abcdef0123456789abcdef01\",\"changed\":[\"a.go\",\"modules/m/main.go\"],\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"merge\":\"fedcba9876543210fedcba9876543210fedcba98\",\"modules\":[\".\"],\"trees\":{\"modules/m\":{\"locks\":{\"go.sum\":\"c5fc83c01e92404452b986527d239140ccf9a48b88e0c268fbf38c2e1429e9c9\"},\"manifest\":\"ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356\",\"tree\":\"1111111111111111111111111111111111111111\"}},\"workspace\":\"mvii1iwu5414e4\"},\"levels\":[{\"digest\":{\"level\":\"unit\",\"packages\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"package\":\"./modules/a\"}]},\"kept\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"package\":\"./modules/a\",\"tests\":12}],\"level\":\"unit\",\"tests\":[{\"package\":\"./modules/b\",\"pass\":true}],\"unmet\":[{\"needs\":[\"docker\"],\"package\":\"./modules/c\"}]}]},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"passed\",\"tool\":\"check\",\"v\":1}",wire:"{\"ended\":\"2026-11-05T10:06:00Z\",\"id\":\"c3d4\",\"node\":\"ace\",\"result\":{\"fetch\":{\"base\":\"abcdef0123456789abcdef0123456789abcdef01\",\"changed\":[\"a.go\",\"modules/m/main.go\"],\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"merge\":\"fedcba9876543210fedcba9876543210fedcba98\",\"modules\":[\".\"],\"trees\":{\"modules/m\":{\"locks\":{\"go.sum\":\"c5fc83c01e92404452b986527d239140ccf9a48b88e0c268fbf38c2e1429e9c9\"},\"manifest\":\"ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356\",\"tree\":\"1111111111111111111111111111111111111111\"}},\"workspace\":\"mvii1iwu5414e4\"},\"levels\":[{\"digest\":{\"level\":\"unit\",\"packages\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"package\":\"./modules/a\"}]},\"kept\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"package\":\"./modules/a\",\"tests\":12}],\"level\":\"unit\",\"tests\":[{\"package\":\"./modules/b\",\"pass\":true}],\"unmet\":[{\"needs\":[\"docker\"],\"package\":\"./modules/c\"}]}]},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"passed\",\"tool\":\"check\",\"v\":1}",
{name:"a finished check step whose head does not merge",subject:"",given:"{\"ended\":\"2026-11-05T10:01:00Z\",\"id\":\"c3d5\",\"node\":\"ace\",\"result\":{\"fetch\":{\"base\":\"abcdef0123456789abcdef0123456789abcdef01\",\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"conflicts\":[\"a.go\",\"sub/b.go\"],\"modules\":[\".\"],\"workspace\":\"mvii1iwz5050eb\"}},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"passed\",\"tool\":\"check\",\"v\":1}",wire:"{\"ended\":\"2026-11-05T10:01:00Z\",\"id\":\"c3d5\",\"node\":\"ace\",\"result\":{\"fetch\":{\"base\":\"abcdef0123456789abcdef0123456789abcdef01\",\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"conflicts\":[\"a.go\",\"sub/b.go\"],\"modules\":[\".\"],\"workspace\":\"mvii1iwz5050eb\"}},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"passed\",\"tool\":\"check\",\"v\":1}",
{name:"a run ask of the checking program over two heads",subject:"mesh.seat.node-build-go.accept.check",given:"{\"asker\":\"mesh-delivery-checker\",\"at\":\"2026-11-05T10:00:00Z\",\"id\":\"r5e6\",\"kind\":\"check\",\"language\":\"go\",\"run\":{\"args\":[\"-verdict\"],\"heads\":[{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"repository\":\"novox/mesh-delivery\"},{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"repository\":\"novox/mesh-sdk\"}],\"input\":{\"digest\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"size\":7,\"verb\":\"seat:mesh-delivery-checker.input\"},\"program\":{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"dir\":\"modules/mesh-delivery-checker\",\"package\":\"./cmd/mesh-checking-program\",\"repository\":\"novox/mesh-delivery\"},\"reader\":\"checking program of mesh-delivery head\"},\"v\":1}",wire:"{\"asker\":\"mesh-delivery-checker\",\"at\":\"2026-11-05T10:00:00Z\",\"id\":\"r5e6\",\"kind\":\"check\",\"language\":\"go\",\"run\":{\"args\":[\"-verdict\"],\"heads\":[{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"repository\":\"novox/mesh-delivery\"},{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"repository\":\"novox/mesh-sdk\"}],\"input\":{\"digest\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",\"size\":7,\"verb\":\"seat:mesh-delivery-checker.input\"},\"program\":{\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"dir\":\"modules/mesh-delivery-checker\",\"package\":\"./cmd/mesh-checking-program\",\"repository\":\"novox/mesh-delivery\"},\"reader\":\"checking program of mesh-delivery head\"},\"v\":1}",
{name:"a finished run step whose program exited non-zero",subject:"",given:"{\"ended\":\"2026-11-05T10:01:00Z\",\"id\":\"r5e6\",\"node\":\"ace\",\"result\":{\"built\":true,\"exit\":2,\"key\":\"program-0123456789abcdef\",\"said\":\"the facts name no head\"},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"failed\",\"tool\":\"check\",\"v\":1}",wire:"{\"ended\":\"2026-11-05T10:01:00Z\",\"id\":\"r5e6\",\"node\":\"ace\",\"result\":{\"built\":true,\"exit\":2,\"key\":\"program-0123456789abcdef\",\"said\":\"the facts name no head\"},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"failed\",\"tool\":\"check\",\"v\":1}",
{name:"a step ended on a transport fault, given again by the bus",subject:"",given:"{\"again-at\":\"2026-11-05T10:01:30Z\",\"ended\":\"2026-11-05T10:00:30Z\",\"id\":\"a1b2\",\"node\":\"ace\",\"passing\":true,\"reason\":\"fetching the commit: kex_exchange_identification: read: Connection reset by peer\",\"run\":1,\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"again\",\"tool\":\"build\",\"v\":1}",wire:"{\"again-at\":\"2026-11-05T10:01:30Z\",\"ended\":\"2026-11-05T10:00:30Z\",\"id\":\"a1b2\",\"node\":\"ace\",\"passing\":true,\"reason\":\"fetching the commit: kex_exchange_identification: read: Connection reset by peer\",\"run\":1,\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"again\",\"tool\":\"build\",\"v\":1}",
{name:"an ask dropped by the caller that no longer waits",subject:"",given:"{\"at\":\"2026-11-05T10:00:00Z\",\"by\":\"mesh-delivery-builder\",\"v\":1,\"why\":\"a newer fingerprint supersedes it\"}",wire:"{\"at\":\"2026-11-05T10:00:00Z\",\"by\":\"mesh-delivery-builder\",\"v\":1,\"why\":\"a newer fingerprint supersedes it\"}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package nodebuildimage is the contract of the seat "node-build-image", defined whole (seats/node-build-image/seat.json): The image build module on a node: it takes the asks of the builder and the checker, runs them as steps and answers.
packagenodebuildimage
import(
"bytes"
"encoding/json"
"errors"
"strings"
"time"
)
// Seat is the seat's name.
constSeat="node-build-image"
const(
VerbCurrent="current"
VerbPause="pause"
VerbResume="resume"
VerbDrop="drop"
)
const(
AcceptDelivery="delivery"
AcceptCheck="check"
AcceptRecheck="recheck"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// ParseStepsByNodeIDKey reads the parts of a key of the form "<node>.<id>", in the order of the form; the last result is false for a key of another form.
// DecodeStepsByNodeIDValue reads one value of the state steps under the form "<node>.<id>", refusing a field StepsByNodeIDValue does not know and any text after the value.
// ParsePausesByPausedNodeKey reads the parts of a key of the form "paused.<node>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByPausedNodeValue reads one value of the state pauses under the form "paused.<node>", refusing a field PausesByPausedNodeValue does not know and any text after the value.
// ParsePausesByDroppedIDKey reads the parts of a key of the form "dropped.<id>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByDroppedIDValue reads one value of the state pauses under the form "dropped.<id>", refusing a field PausesByDroppedIDValue does not know and any text after the value.
// ParsePausesByCapacityNodeKey reads the parts of a key of the form "capacity.<node>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByCapacityNodeValue reads one value of the state pauses under the form "capacity.<node>", refusing a field PausesByCapacityNodeValue does not know and any text after the value.
// ParseToolchainsByNodeLanguageKey reads the parts of a key of the form "<node>.<language>", in the order of the form; the last result is false for a key of another form.
// DecodeToolchainsByNodeLanguageValue reads one value of the state toolchains under the form "<node>.<language>", refusing a field ToolchainsByNodeLanguageValue does not know and any text after the value.
// FetchPackage is the TypeScript module's group package: the group's tagged version of the SDK ({name, version}), placed from the registry in each member whatever its lock names, or the group's package member ({repository, commit, ref}), packed by the fetch and served to the members in place of the registry's.
typeFetchPackagestruct{
Commitstring`json:"commit,omitempty"`
Namestring`json:"name,omitempty"`
Refstring`json:"ref,omitempty"`
Repositorystring`json:"repository,omitempty"`
Versionstring`json:"version,omitempty"`
}
// Fetch is what a build module's fetch tool is asked: the repository and the full commit, the pull request's ref when only its head carries the commit, the trunk commit to merge onto for a merge preview, the module's directory and named paths, the mesh packages to build against, and the sibling repositories placed beside.
typeFetchstruct{
// the trunk commit a merge preview merges onto
Basestring`json:"base,omitempty"`
// the sibling repositories placed beside the fetched tree
Beside[]FetchBesideItem`json:"beside,omitempty"`
// the full commit
Commitstring`json:"commit"`
// the module's directory in the repository ("." for its root), with paths
Dirstring`json:"dir,omitempty"`
// the TypeScript module's group package: the group's tagged version of the SDK ({name, version}), placed from the registry in each member whatever its lock names, or the group's package member ({repository, commit, ref}), packed by the fetch and served to the members in place of the registry's
Package*FetchPackage`json:"package,omitempty"`
// the version (a full commit) of each mesh package to build against, by its module path
// the pull request's ref, when only its head carries the commit
Refstring`json:"ref,omitempty"`
// <owner>/<name>
Repositorystring`json:"repository"`
}
// FetchAnswer is what a build module's fetch tool answers, whole: the workspace it made, the commit in it, the module directories found; and, when the call gave a base, the merge preview (the trunk commit, the merge commit, the files that conflict, the paths the merge changes, the compiled programs among them, the tree of each module directory). A head that does not merge cleanly is an answer, not an error: merge is empty and conflicts names the files. The Go module adds the sibling repositories placed and the package versions taken; the TypeScript module the directories installed and refused and the group's package.
// LevelAnswerUnmetItem is a type of the contract.
typeLevelAnswerUnmetItemstruct{
Needs[]string`json:"needs,omitempty"`
Packagestring`json:"package,omitempty"`
}
// LevelAnswer is one level of a check ask: the digest's answer, the kept verdicts taken, one test result per test step run, and the packages the node could not test.
// ModuleTree is the tree of one module directory in a merge preview: its git tree, the digest of its manifest, the lock files' digests and the digests of the named paths.
typeModuleTreestruct{
Locksmap[string]string`json:"locks,omitempty"`
Manifeststring`json:"manifest"`
// no longer filled (ADR 0593 section 2); kept so a preview written before still reads
Packages[]string`json:"packages,omitempty"`
Pathsmap[string]string`json:"paths,omitempty"`
Treestring`json:"tree"`
}
// Pause is whether the node takes no new ask.
typePausestruct{
// when (RFC 3339 time)
At*time.Time`json:"at,omitempty"`
Bystring`json:"by,omitempty"`
Pausedbool`json:"paused"`
// the layout version
Vint64`json:"v,omitempty"`
}
// PlacedBeside is a sibling repository placed as a plain directory under the workspace's beside directory.
typePlacedBesidestruct{
Commitstring`json:"commit"`
Dirstring`json:"dir"`
Repositorystring`json:"repository"`
}
// Program is a changed file that is a compiled program (issue 1577): its path, its executable format, and the commit of the branch that added it when the merge's tree no longer holds it.
typeProgramstruct{
Commitstring`json:"commit,omitempty"`
// ELF, Mach-O or PE
Kindstring`json:"kind"`
Pathstring`json:"path"`
}
// RunAnswer is what a run ask's step answers: whether this run built the program or took the one kept under its key, the key, the program's exit, the last line of its standard output and the first of its standard error.
typeRunAnswerstruct{
Builtbool`json:"built"`
Exitint64`json:"exit"`
Keystring`json:"key"`
// raw when it is JSON, else a JSON string
Outputany`json:"output,omitempty"`
Saidstring`json:"said,omitempty"`
}
// RunHead is one commit a run's program reads.
typeRunHeadstruct{
Commitstring`json:"commit"`
Repositorystring`json:"repository"`
}
// RunInput is a run's input by reference: the seat verb the asker serves it on (seat:<seat>.<verb>), the sha256 of its bytes and its size, at most 256 KiB.
typeRunInputstruct{
// 64 lowercase hex digits
Digeststring`json:"digest"`
// bytes
Sizeint64`json:"size"`
Verbstring`json:"verb"`
}
// RunJob is a run ask's job: where its program is built, the heads it reads (each laid read-only at its repository's path), its input by reference, its arguments and what it is for.
typeRunJobstruct{
// the program's arguments, each a word or a flag
Args[]string`json:"args,omitempty"`
// the commits the program reads, a repository at most once
Heads[]RunHead`json:"heads"`
InputRunInput`json:"input"`
ProgramRunProgram`json:"program"`
// what the run is for, for a reader of the ask
Readerstring`json:"reader,omitempty"`
}
// RunProgram is where a run's program is built: the repository and full commit fetched, the Go module's directory in it and the program's import path.
typeRunProgramstruct{
Commitstring`json:"commit"`
Dirstring`json:"dir"`
Packagestring`json:"package"`
Repositorystring`json:"repository"`
}
// Step is one step a build module runs on a node.
typeStepstruct{
// when the bus gives the ask again, for the state again (RFC 3339 time)
AgainAt*time.Time`json:"again-at,omitempty"`
// when (RFC 3339 time)
Ended*time.Time`json:"ended,omitempty"`
IDstring`json:"id"`
Nodestring`json:"node"`
Ownerstring`json:"owner,omitempty"`
// true when the step ended on a fault that passes (a transport fault), so a failed end after the last run says so
Passingbool`json:"passing,omitempty"`
Phasestring`json:"phase,omitempty"`
// when (RFC 3339 time)
PhaseAt*time.Time`json:"phase-at,omitempty"`
Reasonstring`json:"reason,omitempty"`
Result*StepResult`json:"result,omitempty"`
// which run of the ask this is, counted by the bus's delivery count (1 for the first)
Runint64`json:"run,omitempty"`
// when (RFC 3339 time)
Startedtime.Time`json:"started"`
// running, again (ended on a transport fault, to be given again by the bus after again-at), passed, failed, refused or dropped (ended by the verb drop, its cause the reason)
// the compose-candidate request, in one of two forms: the request as a JSON object, or, for one near the bus's message limit, a JSON string "gzip+base64:" followed by the base64 of the request object gzip-compressed; a holder that does not know the packed form refuses it, naming that it holds no request object
// a run: a program built from a change and run in the build seat's sandbox over the heads, its input asked of a verb of the asker's seat; the Go seat's check stream alone carries it, as a compose
Run*RunJob`json:"run,omitempty"`
// the layout version
Vint64`json:"v,omitempty"`
}
// StepResult is what a step answered, by the kind of ask: a build's artifacts, toolchain, imports and out-of-step modules; a check's fetch and levels; a compose's built, key and verdict; a run's built, key, exit, output and said; a declined ask's declined, needs and lacks. The fields of the kinds do not meet, so one layout holds the five.
// the compose-candidate verdict (the composer's own layout)
Verdictany`json:"verdict,omitempty"`
}
// TakenVersion is of a directory whose go.mod requires an asked mesh package, the version it is built against: the asked one, or go.mod's when it names a newer one, said.
typeTakenVersionstruct{
Askedstring`json:"asked"`
Builtstring`json:"built"`
Dirstring`json:"dir"`
Namedstring`json:"named"`
Packagestring`json:"package"`
Saidstring`json:"said,omitempty"`
Sumstring`json:"sum,omitempty"`
}
// Toolchain is the toolchain a node reports.
typeToolchainstruct{
// when (RFC 3339 time)
At*time.Time`json:"at,omitempty"`
// go or typescript
Languagestring`json:"language"`
Recipestring`json:"recipe"`
// the layout version
Vint64`json:"v,omitempty"`
Versionstring`json:"version"`
}
// ToolchainUsed is the toolchain a build was made with: the language, the installed version and the build module's recipe.
typeToolchainUsedstruct{
Languagestring`json:"language"`
Recipestring`json:"recipe"`
Versionstring`json:"version"`
}
// CurrentInput is what current takes.
typeCurrentInputstruct{
}
// CurrentAnswer is what current answers.
typeCurrentAnswer=map[string]any
// PauseInput is what pause takes.
typePauseInputstruct{
}
// PauseAnswer is what pause answers.
typePauseAnswer=map[string]any
// ResumeInput is what resume takes.
typeResumeInputstruct{
}
// ResumeAnswer is what resume answers.
typeResumeAnswer=map[string]any
// DropInput is what drop takes.
typeDropInputstruct{
// who drops it
Bystring`json:"by,omitempty"`
// the ask's id
IDstring`json:"id"`
// why the caller no longer waits
Whystring`json:"why"`
}
// DropAnswer is what drop answers.
typeDropAnswer=map[string]any
// DeliveryAccept is the body of delivery.
typeDeliveryAccept=StepAsk
// CheckAccept is the body of check.
typeCheckAccept=StepAsk
// RecheckAccept is the body of recheck.
typeRecheckAccept=StepAsk
// StepsByNodeIDValue is one value of the state steps under the key <node>.<id>.
typeStepsByNodeIDValue=Step
// PausesByPausedNodeValue is one value of the state pauses under the key paused.<node>.
typePausesByPausedNodeValue=Pause
// PausesByDroppedIDValue is one value of the state pauses under the key dropped.<id>.
typePausesByDroppedIDValue=Drop
// PausesByCapacityNodeValue is one value of the state pauses under the key capacity.<node>.
typePausesByCapacityNodeValue=Capacity
// ToolchainsByNodeLanguageValue is one value of the state toolchains under the key <node>.<language>.
{name:"a node's capacity",subject:"",given:"{\"configured\":2,\"effective\":2,\"v\":1,\"why\":\"the configured steps fit the cores\"}",wire:"{\"configured\":2,\"effective\":2,\"v\":1,\"why\":\"the configured steps fit the cores\"}",
{name:"a step ended on a transport fault, given again by the bus",subject:"",given:"{\"again-at\":\"2026-11-05T10:01:30Z\",\"ended\":\"2026-11-05T10:00:30Z\",\"id\":\"a1b2\",\"node\":\"ace\",\"passing\":true,\"reason\":\"fetching the commit: kex_exchange_identification: read: Connection reset by peer\",\"run\":1,\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"again\",\"tool\":\"build\",\"v\":1}",wire:"{\"again-at\":\"2026-11-05T10:01:30Z\",\"ended\":\"2026-11-05T10:00:30Z\",\"id\":\"a1b2\",\"node\":\"ace\",\"passing\":true,\"reason\":\"fetching the commit: kex_exchange_identification: read: Connection reset by peer\",\"run\":1,\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"again\",\"tool\":\"build\",\"v\":1}",
{name:"an ask dropped by the caller that no longer waits",subject:"",given:"{\"at\":\"2026-11-05T10:00:00Z\",\"by\":\"mesh-delivery-builder\",\"v\":1,\"why\":\"a newer fingerprint supersedes it\"}",wire:"{\"at\":\"2026-11-05T10:00:00Z\",\"by\":\"mesh-delivery-builder\",\"v\":1,\"why\":\"a newer fingerprint supersedes it\"}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package nodebuildnode is the contract of the seat "node-build-node", defined whole (seats/node-build-node/seat.json): The Node build module on a node: it takes the asks of the builder and the checker, runs them as steps and answers.
packagenodebuildnode
import(
"bytes"
"encoding/json"
"errors"
"strings"
"time"
)
// Seat is the seat's name.
constSeat="node-build-node"
const(
VerbCurrent="current"
VerbPause="pause"
VerbResume="resume"
VerbDrop="drop"
)
const(
AcceptDelivery="delivery"
AcceptCheck="check"
AcceptRecheck="recheck"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// ParseStepsByNodeIDKey reads the parts of a key of the form "<node>.<id>", in the order of the form; the last result is false for a key of another form.
// DecodeStepsByNodeIDValue reads one value of the state steps under the form "<node>.<id>", refusing a field StepsByNodeIDValue does not know and any text after the value.
// ParsePausesByPausedNodeKey reads the parts of a key of the form "paused.<node>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByPausedNodeValue reads one value of the state pauses under the form "paused.<node>", refusing a field PausesByPausedNodeValue does not know and any text after the value.
// ParsePausesByDroppedIDKey reads the parts of a key of the form "dropped.<id>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByDroppedIDValue reads one value of the state pauses under the form "dropped.<id>", refusing a field PausesByDroppedIDValue does not know and any text after the value.
// ParsePausesByCapacityNodeKey reads the parts of a key of the form "capacity.<node>", in the order of the form; the last result is false for a key of another form.
// DecodePausesByCapacityNodeValue reads one value of the state pauses under the form "capacity.<node>", refusing a field PausesByCapacityNodeValue does not know and any text after the value.
// ParseToolchainsByNodeLanguageKey reads the parts of a key of the form "<node>.<language>", in the order of the form; the last result is false for a key of another form.
// DecodeToolchainsByNodeLanguageValue reads one value of the state toolchains under the form "<node>.<language>", refusing a field ToolchainsByNodeLanguageValue does not know and any text after the value.
// FetchPackage is the TypeScript module's group package: the group's tagged version of the SDK ({name, version}), placed from the registry in each member whatever its lock names, or the group's package member ({repository, commit, ref}), packed by the fetch and served to the members in place of the registry's.
typeFetchPackagestruct{
Commitstring`json:"commit,omitempty"`
Namestring`json:"name,omitempty"`
Refstring`json:"ref,omitempty"`
Repositorystring`json:"repository,omitempty"`
Versionstring`json:"version,omitempty"`
}
// Fetch is what a build module's fetch tool is asked: the repository and the full commit, the pull request's ref when only its head carries the commit, the trunk commit to merge onto for a merge preview, the module's directory and named paths, the mesh packages to build against, and the sibling repositories placed beside.
typeFetchstruct{
// the trunk commit a merge preview merges onto
Basestring`json:"base,omitempty"`
// the sibling repositories placed beside the fetched tree
Beside[]FetchBesideItem`json:"beside,omitempty"`
// the full commit
Commitstring`json:"commit"`
// the module's directory in the repository ("." for its root), with paths
Dirstring`json:"dir,omitempty"`
// the TypeScript module's group package: the group's tagged version of the SDK ({name, version}), placed from the registry in each member whatever its lock names, or the group's package member ({repository, commit, ref}), packed by the fetch and served to the members in place of the registry's
Package*FetchPackage`json:"package,omitempty"`
// the version (a full commit) of each mesh package to build against, by its module path
// the pull request's ref, when only its head carries the commit
Refstring`json:"ref,omitempty"`
// <owner>/<name>
Repositorystring`json:"repository"`
}
// FetchAnswer is what a build module's fetch tool answers, whole: the workspace it made, the commit in it, the module directories found; and, when the call gave a base, the merge preview (the trunk commit, the merge commit, the files that conflict, the paths the merge changes, the compiled programs among them, the tree of each module directory). A head that does not merge cleanly is an answer, not an error: merge is empty and conflicts names the files. The Go module adds the sibling repositories placed and the package versions taken; the TypeScript module the directories installed and refused and the group's package.
// LevelAnswerUnmetItem is a type of the contract.
typeLevelAnswerUnmetItemstruct{
Needs[]string`json:"needs,omitempty"`
Packagestring`json:"package,omitempty"`
}
// LevelAnswer is one level of a check ask: the digest's answer, the kept verdicts taken, one test result per test step run, and the packages the node could not test.
// ModuleTree is the tree of one module directory in a merge preview: its git tree, the digest of its manifest, the lock files' digests and the digests of the named paths.
typeModuleTreestruct{
Locksmap[string]string`json:"locks,omitempty"`
Manifeststring`json:"manifest"`
// no longer filled (ADR 0593 section 2); kept so a preview written before still reads
Packages[]string`json:"packages,omitempty"`
Pathsmap[string]string`json:"paths,omitempty"`
Treestring`json:"tree"`
}
// Pause is whether the node takes no new ask.
typePausestruct{
// when (RFC 3339 time)
At*time.Time`json:"at,omitempty"`
Bystring`json:"by,omitempty"`
Pausedbool`json:"paused"`
// the layout version
Vint64`json:"v,omitempty"`
}
// PlacedBeside is a sibling repository placed as a plain directory under the workspace's beside directory.
typePlacedBesidestruct{
Commitstring`json:"commit"`
Dirstring`json:"dir"`
Repositorystring`json:"repository"`
}
// Program is a changed file that is a compiled program (issue 1577): its path, its executable format, and the commit of the branch that added it when the merge's tree no longer holds it.
typeProgramstruct{
Commitstring`json:"commit,omitempty"`
// ELF, Mach-O or PE
Kindstring`json:"kind"`
Pathstring`json:"path"`
}
// RunAnswer is what a run ask's step answers: whether this run built the program or took the one kept under its key, the key, the program's exit, the last line of its standard output and the first of its standard error.
typeRunAnswerstruct{
Builtbool`json:"built"`
Exitint64`json:"exit"`
Keystring`json:"key"`
// raw when it is JSON, else a JSON string
Outputany`json:"output,omitempty"`
Saidstring`json:"said,omitempty"`
}
// RunHead is one commit a run's program reads.
typeRunHeadstruct{
Commitstring`json:"commit"`
Repositorystring`json:"repository"`
}
// RunInput is a run's input by reference: the seat verb the asker serves it on (seat:<seat>.<verb>), the sha256 of its bytes and its size, at most 256 KiB.
typeRunInputstruct{
// 64 lowercase hex digits
Digeststring`json:"digest"`
// bytes
Sizeint64`json:"size"`
Verbstring`json:"verb"`
}
// RunJob is a run ask's job: where its program is built, the heads it reads (each laid read-only at its repository's path), its input by reference, its arguments and what it is for.
typeRunJobstruct{
// the program's arguments, each a word or a flag
Args[]string`json:"args,omitempty"`
// the commits the program reads, a repository at most once
Heads[]RunHead`json:"heads"`
InputRunInput`json:"input"`
ProgramRunProgram`json:"program"`
// what the run is for, for a reader of the ask
Readerstring`json:"reader,omitempty"`
}
// RunProgram is where a run's program is built: the repository and full commit fetched, the Go module's directory in it and the program's import path.
typeRunProgramstruct{
Commitstring`json:"commit"`
Dirstring`json:"dir"`
Packagestring`json:"package"`
Repositorystring`json:"repository"`
}
// Step is one step a build module runs on a node.
typeStepstruct{
// when the bus gives the ask again, for the state again (RFC 3339 time)
AgainAt*time.Time`json:"again-at,omitempty"`
// when (RFC 3339 time)
Ended*time.Time`json:"ended,omitempty"`
IDstring`json:"id"`
Nodestring`json:"node"`
Ownerstring`json:"owner,omitempty"`
// true when the step ended on a fault that passes (a transport fault), so a failed end after the last run says so
Passingbool`json:"passing,omitempty"`
Phasestring`json:"phase,omitempty"`
// when (RFC 3339 time)
PhaseAt*time.Time`json:"phase-at,omitempty"`
Reasonstring`json:"reason,omitempty"`
Result*StepResult`json:"result,omitempty"`
// which run of the ask this is, counted by the bus's delivery count (1 for the first)
Runint64`json:"run,omitempty"`
// when (RFC 3339 time)
Startedtime.Time`json:"started"`
// running, again (ended on a transport fault, to be given again by the bus after again-at), passed, failed, refused or dropped (ended by the verb drop, its cause the reason)
// the compose-candidate request, in one of two forms: the request as a JSON object, or, for one near the bus's message limit, a JSON string "gzip+base64:" followed by the base64 of the request object gzip-compressed; a holder that does not know the packed form refuses it, naming that it holds no request object
// a run: a program built from a change and run in the build seat's sandbox over the heads, its input asked of a verb of the asker's seat; the Go seat's check stream alone carries it, as a compose
Run*RunJob`json:"run,omitempty"`
// the layout version
Vint64`json:"v,omitempty"`
}
// StepResult is what a step answered, by the kind of ask: a build's artifacts, toolchain, imports and out-of-step modules; a check's fetch and levels; a compose's built, key and verdict; a run's built, key, exit, output and said; a declined ask's declined, needs and lacks. The fields of the kinds do not meet, so one layout holds the five.
// the compose-candidate verdict (the composer's own layout)
Verdictany`json:"verdict,omitempty"`
}
// TakenVersion is of a directory whose go.mod requires an asked mesh package, the version it is built against: the asked one, or go.mod's when it names a newer one, said.
typeTakenVersionstruct{
Askedstring`json:"asked"`
Builtstring`json:"built"`
Dirstring`json:"dir"`
Namedstring`json:"named"`
Packagestring`json:"package"`
Saidstring`json:"said,omitempty"`
Sumstring`json:"sum,omitempty"`
}
// Toolchain is the toolchain a node reports.
typeToolchainstruct{
// when (RFC 3339 time)
At*time.Time`json:"at,omitempty"`
// go or typescript
Languagestring`json:"language"`
Recipestring`json:"recipe"`
// the layout version
Vint64`json:"v,omitempty"`
Versionstring`json:"version"`
}
// ToolchainUsed is the toolchain a build was made with: the language, the installed version and the build module's recipe.
typeToolchainUsedstruct{
Languagestring`json:"language"`
Recipestring`json:"recipe"`
Versionstring`json:"version"`
}
// CurrentInput is what current takes.
typeCurrentInputstruct{
}
// CurrentAnswer is what current answers.
typeCurrentAnswer=map[string]any
// PauseInput is what pause takes.
typePauseInputstruct{
}
// PauseAnswer is what pause answers.
typePauseAnswer=map[string]any
// ResumeInput is what resume takes.
typeResumeInputstruct{
}
// ResumeAnswer is what resume answers.
typeResumeAnswer=map[string]any
// DropInput is what drop takes.
typeDropInputstruct{
// who drops it
Bystring`json:"by,omitempty"`
// the ask's id
IDstring`json:"id"`
// why the caller no longer waits
Whystring`json:"why"`
}
// DropAnswer is what drop answers.
typeDropAnswer=map[string]any
// DeliveryAccept is the body of delivery.
typeDeliveryAccept=StepAsk
// CheckAccept is the body of check.
typeCheckAccept=StepAsk
// RecheckAccept is the body of recheck.
typeRecheckAccept=StepAsk
// StepsByNodeIDValue is one value of the state steps under the key <node>.<id>.
typeStepsByNodeIDValue=Step
// PausesByPausedNodeValue is one value of the state pauses under the key paused.<node>.
typePausesByPausedNodeValue=Pause
// PausesByDroppedIDValue is one value of the state pauses under the key dropped.<id>.
typePausesByDroppedIDValue=Drop
// PausesByCapacityNodeValue is one value of the state pauses under the key capacity.<node>.
typePausesByCapacityNodeValue=Capacity
// ToolchainsByNodeLanguageValue is one value of the state toolchains under the key <node>.<language>.
{name:"a node's capacity",subject:"",given:"{\"configured\":2,\"effective\":2,\"v\":1,\"why\":\"the configured steps fit the cores\"}",wire:"{\"configured\":2,\"effective\":2,\"v\":1,\"why\":\"the configured steps fit the cores\"}",
{name:"a check ask with the group's tagged package",subject:"mesh.seat.node-build-node.accept.check",given:"{\"asker\":\"mesh-delivery-checker\",\"at\":\"2026-11-05T10:00:00Z\",\"check\":{\"fetch\":{\"base\":\"89abcdef0123456789abcdef0123456789abcdef\",\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"package\":{\"name\":\"@novox/mesh-sdk\",\"version\":\"0.1.15-feat-x.1\"},\"ref\":\"refs/pull/7/head\",\"repository\":\"novox/mesh-delivery\"},\"kept\":true,\"levels\":[\"unit\",\"integration\"],\"node-names\":[\"ace\",\"g14\"],\"toolchain\":{\"language\":\"typescript\",\"recipe\":\"1\",\"version\":\"26.12.0\"}},\"id\":\"c3d5\",\"kind\":\"check\",\"language\":\"typescript\",\"v\":1}",wire:"{\"asker\":\"mesh-delivery-checker\",\"at\":\"2026-11-05T10:00:00Z\",\"check\":{\"fetch\":{\"base\":\"89abcdef0123456789abcdef0123456789abcdef\",\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"package\":{\"name\":\"@novox/mesh-sdk\",\"version\":\"0.1.15-feat-x.1\"},\"ref\":\"refs/pull/7/head\",\"repository\":\"novox/mesh-delivery\"},\"kept\":true,\"levels\":[\"unit\",\"integration\"],\"node-names\":[\"ace\",\"g14\"],\"toolchain\":{\"language\":\"typescript\",\"recipe\":\"1\",\"version\":\"26.12.0\"}},\"id\":\"c3d5\",\"kind\":\"check\",\"language\":\"typescript\",\"v\":1}",
{name:"a finished check step of a TypeScript merge preview",subject:"",given:"{\"ended\":\"2026-11-05T10:01:00Z\",\"id\":\"c3d6\",\"node\":\"ace\",\"result\":{\"fetch\":{\"base\":\"abcdef0123456789abcdef0123456789abcdef01\",\"changed\":[\"modules/m/package.json\"],\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"merge\":\"0123456789abcdef0123456789abcdef01234567\",\"modules\":[\"modules/m\"],\"trees\":{\"modules/m\":{\"manifest\":\"0581b699d9d05517e69b21f5cedbeb2eee8aba2b205280b561be731594d7feef\",\"tree\":\"0123456789abcdef0123456789abcdef01234567\"}},\"workspace\":\"mvii1sxt979f67\"}},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"passed\",\"tool\":\"check\",\"v\":1}",wire:"{\"ended\":\"2026-11-05T10:01:00Z\",\"id\":\"c3d6\",\"node\":\"ace\",\"result\":{\"fetch\":{\"base\":\"abcdef0123456789abcdef0123456789abcdef01\",\"changed\":[\"modules/m/package.json\"],\"commit\":\"0123456789abcdef0123456789abcdef01234567\",\"merge\":\"0123456789abcdef0123456789abcdef01234567\",\"modules\":[\"modules/m\"],\"trees\":{\"modules/m\":{\"manifest\":\"0581b699d9d05517e69b21f5cedbeb2eee8aba2b205280b561be731594d7feef\",\"tree\":\"0123456789abcdef0123456789abcdef01234567\"}},\"workspace\":\"mvii1sxt979f67\"}},\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"passed\",\"tool\":\"check\",\"v\":1}",
{name:"a step ended on a transport fault, given again by the bus",subject:"",given:"{\"again-at\":\"2026-11-05T10:01:30Z\",\"ended\":\"2026-11-05T10:00:30Z\",\"id\":\"a1b2\",\"node\":\"ace\",\"passing\":true,\"reason\":\"fetching the commit: kex_exchange_identification: read: Connection reset by peer\",\"run\":1,\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"again\",\"tool\":\"build\",\"v\":1}",wire:"{\"again-at\":\"2026-11-05T10:01:30Z\",\"ended\":\"2026-11-05T10:00:30Z\",\"id\":\"a1b2\",\"node\":\"ace\",\"passing\":true,\"reason\":\"fetching the commit: kex_exchange_identification: read: Connection reset by peer\",\"run\":1,\"started\":\"2026-11-05T10:00:00Z\",\"state\":\"again\",\"tool\":\"build\",\"v\":1}",
{name:"an ask dropped by the caller that no longer waits",subject:"",given:"{\"at\":\"2026-11-05T10:00:00Z\",\"by\":\"mesh-delivery-builder\",\"v\":1,\"why\":\"a newer fingerprint supersedes it\"}",wire:"{\"at\":\"2026-11-05T10:00:00Z\",\"by\":\"mesh-delivery-builder\",\"v\":1,\"why\":\"a newer fingerprint supersedes it\"}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package npmpackageregistry is the contract of the seat "npm-package-registry", defined whole (seats/npm-package-registry/seat.json): The mesh's npm packages: the npm registry protocol's read side, and publishing over the bus.
packagenpmpackageregistry
// Seat is the seat's name.
constSeat="npm-package-registry"
const(
VerbPublish="publish"
VerbPublishPart="publish-part"
VerbVersions="versions"
VerbRemove="remove"
)
const(
EventPublished="published"
EventRefused="refused"
EventRemoved="removed"
EventKept="kept"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// Artifact is one published thing, as every registry event and answer names it.
typeArtifactstruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// what it is
Kindstring`json:"kind"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of Artifact's kind.
const(
ArtifactKindPackage="package"
ArtifactKindImage="image"
ArtifactKindBundle="bundle"
ArtifactKindArchive="archive"
ArtifactKindUpstream="upstream"
)
// Outcome is the body of published, refused and removed.
typeOutcomestruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// the module holding the seat that said it
Holderstring`json:"holder"`
// what it is
Kindstring`json:"kind"`
// the Go module path a Go package is fetched under, equal to name for a Go package (go-package-registry's published); empty for every other kind of artifact
Modulestring`json:"module,omitempty"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// why: a refusal's cause, a removal's (retention, tag-gone, by-hand), or why a removal was kept (shared-digest)
Reasonstring`json:"reason,omitempty"`
// the reference the seat answers: <registry>/<module>/<artifact>@sha256:<digest>, or <name>@<version> for a package (ADR 0605 §9)
Referencestring`json:"reference,omitempty"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// for kept: the other tags still naming its digest
Tags[]string`json:"tags,omitempty"`
// the transfer it ends, when it ended one
Transferstring`json:"transfer,omitempty"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of Outcome's kind.
const(
OutcomeKindPackage="package"
OutcomeKindImage="image"
OutcomeKindBundle="bundle"
OutcomeKindArchive="archive"
OutcomeKindUpstream="upstream"
)
// Part is one part of a transfer.
typePartstruct{
// the part's digest, sha256:<hex>: an image's layer or config, a package's file, a bundle's blob
Digeststring`json:"digest"`
// its size in bytes
Sizeint64`json:"size"`
}
// PublishInput is what publish takes.
typePublishInputstruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// what it is
Kindstring`json:"kind"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// every part's digest and size; none when the digest is already held
Parts[]Part`json:"parts,omitempty"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// the transfer's name, the caller's own; the same name opens the same transfer again
Transferstring`json:"transfer"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of PublishInput's kind.
const(
PublishInputKindPackage="package"
PublishInputKindImage="image"
PublishInputKindBundle="bundle"
PublishInputKindArchive="archive"
PublishInputKindUpstream="upstream"
)
// PublishAnswer is what publish answers.
typePublishAnswerstruct{
// the digest is held already: nothing to send; the outcome follows as an event
Heldbool`json:"held,omitempty"`
// the digests of the parts the holder lacks, to send by publish-part
Lacks[]string`json:"lacks,omitempty"`
// the transfer
Transferstring`json:"transfer"`
}
// PublishPartInput is what publish-part takes.
typePublishPartInputstruct{
// the chunk's bytes, base64 (at most 760 KiB before encoding)
Datastring`json:"data"`
// this chunk is the part's last
Lastbool`json:"last"`
// the part's digest
Partstring`json:"part"`
// the chunk's place in its part, from 0
Sequenceint64`json:"sequence"`
// the transfer
Transferstring`json:"transfer"`
}
// PublishPartAnswer is what publish-part answers.
typePublishPartAnswerstruct{
// the part is whole and its bytes match its digest
Completebool`json:"complete,omitempty"`
// the part
Partstring`json:"part"`
// the chunks of the part held so far
Receivedint64`json:"received,omitempty"`
// the transfer
Transferstring`json:"transfer"`
}
// VersionsInput is what versions takes.
typeVersionsInputstruct{
// narrowed to one kind (optional)
Kindstring`json:"kind,omitempty"`
// the name
Namestring`json:"name"`
}
// VersionsAnswer is what versions answers.
typeVersionsAnswerstruct{
// the name
Namestring`json:"name"`
// newest first
Versions[]Artifact`json:"versions"`
}
// RemoveInput is what remove takes.
typeRemoveInputstruct{
// the digest (for a bundle, archive or copied base)
Digeststring`json:"digest,omitempty"`
// the name
Namestring`json:"name"`
// why it goes
Reasonstring`json:"reason"`
// the tag (for a tagged version)
Tagstring`json:"tag,omitempty"`
// the version
Versionstring`json:"version,omitempty"`
}
// The values of RemoveInput's reason.
const(
RemoveInputReasonTagGone="tag-gone"
RemoveInputReasonRetention="retention"
)
// RemoveAnswer is what remove answers.
typeRemoveAnswerstruct{
Artifact*Artifact`json:"artifact,omitempty"`
// it stays whole, its tag and its bytes: the store cannot remove the tag alone while another tag names its digest (reason, tags)
Keptbool`json:"kept,omitempty"`
// why it was kept: shared-digest, another tag names its digest
Reasonstring`json:"reason,omitempty"`
// it is gone
Removedbool`json:"removed"`
// the other tags still naming its digest, when kept
Tags[]string`json:"tags,omitempty"`
}
// The values of RemoveAnswer's reason.
const(
RemoveAnswerReasonSharedDigest="shared-digest"
)
// PublishedEvent is the body of the event published.
typePublishedEvent=Outcome
// RefusedEvent is the body of the event refused.
typeRefusedEvent=Outcome
// RemovedEvent is the body of the event removed.
typeRemovedEvent=Outcome
// KeptEvent is the body of the event kept.
typeKeptEvent=Outcome
// NpmPackageRegistryForm is the form of the provision npm-package-registry.
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
packagenpmpackageregistry
import(
"encoding/json"
"reflect"
"regexp"
"testing"
)
// TestFixtures reads every fixture of seats/npm-package-registry/fixtures: each decodes into its type, a field the type does not
// know is dropped (ADR 0608 §6), and it reads back as its wire says; each subject named is the contract's.
funcTestFixtures(t*testing.T){
cases:=[]struct{
name,subject,given,wirestring
decodefunc([]byte)(any,error)
subjectIs*regexp.Regexp
}{
{name:"published on the seat's subject",subject:"mesh.seat.npm-package-registry.event.published",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"reference\":\"@novox/mesh-sdk@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"reference\":\"@novox/mesh-sdk@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"refused on the seat's subject",subject:"mesh.seat.npm-package-registry.event.refused",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"reason\":\"retention\",\"reference\":\"@novox/mesh-sdk@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"reason\":\"retention\",\"reference\":\"@novox/mesh-sdk@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"removed on the seat's subject",subject:"mesh.seat.npm-package-registry.event.removed",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"reason\":\"retention\",\"reference\":\"@novox/mesh-sdk@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"reason\":\"retention\",\"reference\":\"@novox/mesh-sdk@0.1.19\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"kept on the seat's subject: a tagged version sharing its digest stays, naming the tags on it",subject:"mesh.seat.npm-package-registry.event.kept",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"reason\":\"shared-digest\",\"reference\":\"@novox/mesh-sdk@0.1.19\",\"tag\":\"0.1.19-feat-x.2\",\"tags\":[\"0.1.19\"],\"version\":\"0.1.19-feat-x.2\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"gitea\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"reason\":\"shared-digest\",\"reference\":\"@novox/mesh-sdk@0.1.19\",\"tag\":\"0.1.19-feat-x.2\",\"tags\":[\"0.1.19\"],\"version\":\"0.1.19-feat-x.2\"}",
{name:"publish opens a transfer",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"a field the reader does not know is dropped",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"package\",\"later\":{\"x\":1},\"name\":\"@novox/mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"package\",\"name\":\"@novox/mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"publish answers what it lacks",subject:"",given:"{\"lacks\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"transfer\":\"t1\"}",wire:"{\"lacks\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"transfer\":\"t1\"}",
{name:"a chunk of a part",subject:"",given:"{\"data\":\"aGVsbG8=\",\"last\":true,\"part\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"sequence\":0,\"transfer\":\"t1\"}",wire:"{\"data\":\"aGVsbG8=\",\"last\":true,\"part\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"sequence\":0,\"transfer\":\"t1\"}",
{name:"a tagged version sharing its digest with another tag is kept, not removed",subject:"",given:"{\"kept\":true,\"reason\":\"shared-digest\",\"removed\":false,\"tags\":[\"0.1.19\"]}",wire:"{\"kept\":true,\"reason\":\"shared-digest\",\"removed\":false,\"tags\":[\"0.1.19\"]}",
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// Package ociartifactregistry is the contract of the seat "oci-artifact-registry", defined whole (seats/oci-artifact-registry/seat.json): The mesh's bundles and archives, by digest, in the one artifact store: the OCI distribution protocol's read side.
packageociartifactregistry
import(
"bytes"
"encoding/json"
"errors"
"strings"
)
// Seat is the seat's name.
constSeat="oci-artifact-registry"
const(
VerbPublish="publish"
VerbPublishPart="publish-part"
VerbVersions="versions"
VerbRemove="remove"
VerbHold="hold"
VerbRelease="release"
VerbList="list"
)
const(
EventPublished="published"
EventRefused="refused"
EventRemoved="removed"
EventKept="kept"
EventHeld="held"
EventReleased="released"
)
// Verbs is every verb the seat serves, in its definition's order: a new copy each call.
// ParseHoldsBySeatNameDigestKey reads the parts of a key of the form "<seat>.<name>.<digest>", in the order of the form; the last result is false for a key of another form.
// DecodeHoldsBySeatNameDigestValue reads one value of the state holds under the form "<seat>.<name>.<digest>", refusing a field HoldsBySeatNameDigestValue does not know and any text after the value.
// ParseWindowsByCallerKey reads the parts of a key of the form "<caller>", in the order of the form; the last result is false for a key of another form.
// DecodeWindowsByCallerValue reads one value of the state windows under the form "<caller>", refusing a field WindowsByCallerValue does not know and any text after the value.
// Artifact is one published thing, as every registry event and answer names it.
typeArtifactstruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// what it is
Kindstring`json:"kind"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of Artifact's kind.
const(
ArtifactKindPackage="package"
ArtifactKindImage="image"
ArtifactKindBundle="bundle"
ArtifactKindArchive="archive"
ArtifactKindUpstream="upstream"
)
// Hold is the body of held and released.
typeHoldstruct{
// when, RFC 3339
Atstring`json:"at,omitempty"`
// the caller the holder proved
Bystring`json:"by,omitempty"`
// the digest
Digeststring`json:"digest"`
// the module holding the seat
Holderstring`json:"holder"`
// the name
Namestring`json:"name"`
// why
Reasonstring`json:"reason,omitempty"`
}
// Listed is a type of the contract.
typeListedstruct{
// for a manifest keeping one bundle or archive, the digest of that blob: what a reference names it by
Artifactstring`json:"artifact,omitempty"`
// the manifest's digest, sha256:<hex>
Digeststring`json:"digest"`
// a hold keeps it from retention
Heldbool`json:"held"`
// it is an index, naming a manifest per platform
Indexbool`json:"index"`
// for an index, the digests of the manifests it names
Platforms[]string`json:"platforms,omitempty"`
// its bytes: its own content and every blob it names
Sizeint64`json:"size"`
// the tags naming it, none for an untagged one
Tags[]string`json:"tags,omitempty"`
}
// Outcome is the body of published, refused and removed.
typeOutcomestruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// the module holding the seat that said it
Holderstring`json:"holder"`
// what it is
Kindstring`json:"kind"`
// the Go module path a Go package is fetched under, equal to name for a Go package (go-package-registry's published); empty for every other kind of artifact
Modulestring`json:"module,omitempty"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// why: a refusal's cause, a removal's (retention, tag-gone, by-hand), or why a removal was kept (shared-digest)
Reasonstring`json:"reason,omitempty"`
// the reference the seat answers: <registry>/<module>/<artifact>@sha256:<digest>, or <name>@<version> for a package (ADR 0605 §9)
Referencestring`json:"reference,omitempty"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// for kept: the other tags still naming its digest
Tags[]string`json:"tags,omitempty"`
// the transfer it ends, when it ended one
Transferstring`json:"transfer,omitempty"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of Outcome's kind.
const(
OutcomeKindPackage="package"
OutcomeKindImage="image"
OutcomeKindBundle="bundle"
OutcomeKindArchive="archive"
OutcomeKindUpstream="upstream"
)
// Part is one part of a transfer.
typePartstruct{
// the part's digest, sha256:<hex>: an image's layer or config, a package's file, a bundle's blob
Digeststring`json:"digest"`
// its size in bytes
Sizeint64`json:"size"`
}
// Repository is a type of the contract.
typeRepositorystruct{
// each manifest it holds, by digest
Manifests[]Listed`json:"manifests"`
// the repository
Namestring`json:"name"`
}
// PublishInput is what publish takes.
typePublishInputstruct{
// the source commit it was built from
Commitstring`json:"commit,omitempty"`
// its digest, sha256:<hex> (a Go package's h1: hash beside it in the version's record)
Digeststring`json:"digest"`
// the build's fingerprint
Fingerprintstring`json:"fingerprint,omitempty"`
// what it is
Kindstring`json:"kind"`
// the package's, image's, bundle's or archive's name; a package's is its name in its own language (design 32): a Go package's the go.mod module path (git.novox.be/novox/mesh-sdk/go), an npm package's package.json's name (@novox/mesh-sdk)
Namestring`json:"name"`
// every part's digest and size; none when the digest is already held
Parts[]Part`json:"parts,omitempty"`
// the tag it carries, for a tagged version
Tagstring`json:"tag,omitempty"`
// the transfer's name, the caller's own; the same name opens the same transfer again
Transferstring`json:"transfer"`
// the version the builder gave it (design 51 *The versions*); empty for a bundle or archive published by its digest alone
Versionstring`json:"version,omitempty"`
}
// The values of PublishInput's kind.
const(
PublishInputKindPackage="package"
PublishInputKindImage="image"
PublishInputKindBundle="bundle"
PublishInputKindArchive="archive"
PublishInputKindUpstream="upstream"
)
// PublishAnswer is what publish answers.
typePublishAnswerstruct{
// the digest is held already: nothing to send; the outcome follows as an event
Heldbool`json:"held,omitempty"`
// the digests of the parts the holder lacks, to send by publish-part
Lacks[]string`json:"lacks,omitempty"`
// the transfer
Transferstring`json:"transfer"`
}
// PublishPartInput is what publish-part takes.
typePublishPartInputstruct{
// the chunk's bytes, base64 (at most 760 KiB before encoding)
Datastring`json:"data"`
// this chunk is the part's last
Lastbool`json:"last"`
// the part's digest
Partstring`json:"part"`
// the chunk's place in its part, from 0
Sequenceint64`json:"sequence"`
// the transfer
Transferstring`json:"transfer"`
}
// PublishPartAnswer is what publish-part answers.
typePublishPartAnswerstruct{
// the part is whole and its bytes match its digest
Completebool`json:"complete,omitempty"`
// the part
Partstring`json:"part"`
// the chunks of the part held so far
Receivedint64`json:"received,omitempty"`
// the transfer
Transferstring`json:"transfer"`
}
// VersionsInput is what versions takes.
typeVersionsInputstruct{
// narrowed to one kind (optional)
Kindstring`json:"kind,omitempty"`
// the name
Namestring`json:"name"`
}
// VersionsAnswer is what versions answers.
typeVersionsAnswerstruct{
// the name
Namestring`json:"name"`
// newest first
Versions[]Artifact`json:"versions"`
}
// RemoveInput is what remove takes.
typeRemoveInputstruct{
// the digest (for a bundle, archive or copied base)
Digeststring`json:"digest,omitempty"`
// the name
Namestring`json:"name"`
// why it goes
Reasonstring`json:"reason"`
// the tag (for a tagged version)
Tagstring`json:"tag,omitempty"`
// the version
Versionstring`json:"version,omitempty"`
}
// The values of RemoveInput's reason.
const(
RemoveInputReasonTagGone="tag-gone"
RemoveInputReasonRetention="retention"
)
// RemoveAnswer is what remove answers.
typeRemoveAnswerstruct{
Artifact*Artifact`json:"artifact,omitempty"`
// it stays whole, its tag and its bytes: the store cannot remove the tag alone while another tag names its digest (reason, tags)
Keptbool`json:"kept,omitempty"`
// why it was kept: shared-digest, another tag names its digest
Reasonstring`json:"reason,omitempty"`
// it is gone
Removedbool`json:"removed"`
// the other tags still naming its digest, when kept
Tags[]string`json:"tags,omitempty"`
}
// The values of RemoveAnswer's reason.
const(
RemoveAnswerReasonSharedDigest="shared-digest"
)
// HoldInput is what hold takes.
typeHoldInputstruct{
// the digest
Digeststring`json:"digest"`
// the name
Namestring`json:"name"`
// which of the sweep's rules keeps it
Reasonstring`json:"reason"`
}
// HoldAnswer is what hold answers.
typeHoldAnswerstruct{
// it is held
Heldbool`json:"held"`
// when the hold began, RFC 3339
Sincestring`json:"since,omitempty"`
}
// ReleaseInput is what release takes.
typeReleaseInputstruct{
// the digest
Digeststring`json:"digest"`
// the name
Namestring`json:"name"`
// why it is let go
Reasonstring`json:"reason"`
}
// ReleaseAnswer is what release answers.
typeReleaseAnswerstruct{
// a hold was let go; false when there was none
Releasedbool`json:"released"`
}
// ListInput is what list takes.
typeListInputstruct{
// the repository, <module>/<artifact>; every repository of the seat when not given
Namestring`json:"name,omitempty"`
}
// ListAnswer is what list answers.
typeListAnswerstruct{
// each repository named, in order of its name
Repositories[]Repository`json:"repositories"`
}
// PublishedEvent is the body of the event published.
typePublishedEvent=Outcome
// RefusedEvent is the body of the event refused.
typeRefusedEvent=Outcome
// RemovedEvent is the body of the event removed.
typeRemovedEvent=Outcome
// KeptEvent is the body of the event kept.
typeKeptEvent=Outcome
// HeldEvent is the body of the event held.
typeHeldEvent=Hold
// ReleasedEvent is the body of the event released.
typeReleasedEvent=Hold
// HoldsBySeatNameDigestValue is one value of the state holds under the key <seat>.<name>.<digest>.
typeHoldsBySeatNameDigestValuestruct{
Bystring`json:"by"`
Digeststring`json:"digest"`
Kindstring`json:"kind"`
Namestring`json:"name"`
Seatstring`json:"seat"`
// when (RFC 3339 time)
Sincestring`json:"since"`
Whystring`json:"why,omitempty"`
}
// WindowsByCallerValueDroppedItem is a type of the contract.
typeWindowsByCallerValueDroppedItemstruct{
// when (RFC 3339 time)
Atstring`json:"at,omitempty"`
Bystring`json:"by,omitempty"`
Nodestring`json:"node"`
Whystring`json:"why,omitempty"`
}
// WindowsByCallerValue is one value of the state windows under the key <caller>.
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
packageociartifactregistry
import(
"encoding/json"
"reflect"
"regexp"
"testing"
)
// TestFixtures reads every fixture of seats/oci-artifact-registry/fixtures: each decodes into its type, a field the type does not
// know is dropped (ADR 0608 §6), and it reads back as its wire says; each subject named is the contract's.
funcTestFixtures(t*testing.T){
cases:=[]struct{
name,subject,given,wirestring
decodefunc([]byte)(any,error)
subjectIs*regexp.Regexp
}{
{name:"published on the seat's subject",subject:"mesh.seat.oci-artifact-registry.event.published",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"reference\":\"oci-artifact-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"reference\":\"oci-artifact-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"refused on the seat's subject",subject:"mesh.seat.oci-artifact-registry.event.refused",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"reason\":\"retention\",\"reference\":\"oci-artifact-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"reason\":\"retention\",\"reference\":\"oci-artifact-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"removed on the seat's subject",subject:"mesh.seat.oci-artifact-registry.event.removed",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"reason\":\"retention\",\"reference\":\"oci-artifact-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"reason\":\"retention\",\"reference\":\"oci-artifact-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"kept on the seat's subject: a tagged version sharing its digest stays, naming the tags on it",subject:"mesh.seat.oci-artifact-registry.event.kept",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"reason\":\"shared-digest\",\"reference\":\"oci-artifact-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"tag\":\"0.1.19-feat-x.2\",\"tags\":[\"0.1.19\"],\"version\":\"0.1.19-feat-x.2\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"holder\":\"distribution\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"reason\":\"shared-digest\",\"reference\":\"oci-artifact-registry/mesh-sdk/lib@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"tag\":\"0.1.19-feat-x.2\",\"tags\":[\"0.1.19\"],\"version\":\"0.1.19-feat-x.2\"}",
{name:"held on the seat's subject",subject:"mesh.seat.oci-artifact-registry.event.held",given:"{\"at\":\"2026-11-04T12:00:00Z\",\"by\":\"mesh-artifact-sweep\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"holder\":\"distribution\",\"name\":\"mesh-sdk\",\"reason\":\"kept by the sweep's rule\"}",wire:"{\"at\":\"2026-11-04T12:00:00Z\",\"by\":\"mesh-artifact-sweep\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"holder\":\"distribution\",\"name\":\"mesh-sdk\",\"reason\":\"kept by the sweep's rule\"}",
{name:"released on the seat's subject",subject:"mesh.seat.oci-artifact-registry.event.released",given:"{\"at\":\"2026-11-04T12:00:00Z\",\"by\":\"mesh-artifact-sweep\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"holder\":\"distribution\",\"name\":\"mesh-sdk\",\"reason\":\"kept by the sweep's rule\"}",wire:"{\"at\":\"2026-11-04T12:00:00Z\",\"by\":\"mesh-artifact-sweep\",\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"holder\":\"distribution\",\"name\":\"mesh-sdk\",\"reason\":\"kept by the sweep's rule\"}",
{name:"an open window",subject:"",given:"{\"holding\":[\"ace\"],\"name\":\"mesh-delivery-builder\",\"open\":true,\"since\":{\"ace\":\"2026-11-05T10:00:00Z\"}}",wire:"{\"holding\":[\"ace\"],\"name\":\"mesh-delivery-builder\",\"open\":true,\"since\":{\"ace\":\"2026-11-05T10:00:00Z\"}}",
{name:"publish opens a transfer",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"a field the reader does not know is dropped",subject:"",given:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"bundle\",\"later\":{\"x\":1},\"name\":\"mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",wire:"{\"commit\":\"cccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fingerprint\":\"f1\",\"kind\":\"bundle\",\"name\":\"mesh-sdk\",\"parts\":[{\"digest\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"size\":1048576}],\"transfer\":\"t1\",\"version\":\"0.1.19\"}",
{name:"publish answers what it lacks",subject:"",given:"{\"lacks\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"transfer\":\"t1\"}",wire:"{\"lacks\":[\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"],\"transfer\":\"t1\"}",
{name:"a chunk of a part",subject:"",given:"{\"data\":\"aGVsbG8=\",\"last\":true,\"part\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"sequence\":0,\"transfer\":\"t1\"}",wire:"{\"data\":\"aGVsbG8=\",\"last\":true,\"part\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"sequence\":0,\"transfer\":\"t1\"}",
{name:"a tagged version sharing its digest with another tag is kept, not removed",subject:"",given:"{\"kept\":true,\"reason\":\"shared-digest\",\"removed\":false,\"tags\":[\"0.1.19\"]}",wire:"{\"kept\":true,\"reason\":\"shared-digest\",\"removed\":false,\"tags\":[\"0.1.19\"]}",
{name:"list answers an untagged archive by the blob it keeps",subject:"",given:"{\"repositories\":[{\"manifests\":[{\"artifact\":\"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"held\":true,\"index\":false,\"size\":4096}],\"name\":\"mail/files\"}]}",wire:"{\"repositories\":[{\"manifests\":[{\"artifact\":\"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"held\":true,\"index\":false,\"size\":4096}],\"name\":\"mail/files\"}]}",
p.logf("the wait of %s on %s for %s ends: %s runs %s, which serves the seat %s, though its newest is %s (design 47 G A-426)",ref.Module,ref.Node,e.Module,e.Node,took,e.Seat,e.Fp)
p.logf("the want of %s on %s is held: its acting part %s (step %s) does not run the version %s on %s; the wait %s ends when it does, or by assigner_release",ref.Module,ref.Node,e.Module,e.Step,e.Fp,e.Node,key)
if_,err:=s.doRelease(map[string]any{"node":"ace","module":"nats","how":"now","why":"the new engine is known good"},"shanks.node-tools");err!=nil||len(acts)==0{
// The seat mesh-wants' work queue read and steered by hand (design 47 H2 §777, the tools table; H-A-410): assigner_asks
// answers what waits on the seat's queue (read by the runtime without taking it) and what the assigner took and keeps
// dropped in its state taken; assigner_ask_drop ends one ask through the seat's act drop, written in the hand-act log first.
const(
asksTool="assigner_asks"
askDropTool="assigner_ask_drop"
)
// asksAnswerMost is the most an asks answer carries of the taken keys (§811: at most 768 KB with capped and total).
constasksAnswerMost=768<<10
// takenReader is what assigner_asks reads of the state taken (stdio.KeptState).
typetakenReaderinterface{
Keys()([]string,error)
Get(keystring)(*stdio.StateEntry,error)
}
// asksOf is assigner_asks' answer: the asks on the seat's queue, each waiting, waiting again or held, the ids taken (key mesh-wants.<ask>) and the drops of
// asks not pulled yet (dropped.<ask>), each list cut at the answer's bound with capped and total.
{Name:asksTool,Description:"The asks of the seat mesh-wants' work queue (design 47 H2 §777): each one on it (its id, the module "+
"that asked it, its age and whether it waits, waits again after a hand-back or is held here), the ids the assigner took (kept for ask-taken-bound) and the drops of asks not pulled yet, "+
"cut at 768 KB with capped and total. Read-only.",
Input:schema(map[string]string{},nil),
Run:func(map[string]any)(any,error){
returnasksOf(waiting,taken)
}},
{Name:askDropTool,Description:"End one ask of the seat mesh-wants by hand (design 47 H2 §777, §778): written in the hand-act log "+
"first, then the seat's act drop ends it: one running is cancelled, one waiting is ended when it is pulled; either ends "+
"its step could not run naming the drop and who asked it.",
Input:schema(map[string]string{"ask":"the ask's id","why":"why the ask is ended"},[]string{"ask","why"}),
t.Errorf("an fp-src with no release, its build made the released digests: %+v, %v",k,ok)
}
iflen(logs)!=2||!strings.Contains(logs[0],"the release of mail at fingerprint t is not heard: no version-released of it from source 8")||!strings.Contains(logs[1],"names no fp-src, and no version-released of it names the parts its build.ended made"){
t.Errorf("logs = %q, want each unheard release said once, naming the module, the fingerprint and the source",logs)
iflen(logs)!=1||!strings.Contains(logs[0],"the release of mail at fingerprint t is not heard: no version-released of it names the parts its build.ended made"){
t.Errorf("logs = %q, want the unheard release said once, naming the module and the fingerprint",logs)
}
p.graph.ok=false
if_,ok:=p.namedBuild("mail","t",7)("t");ok{
if_,ok:=p.namedBuild("mail","t")("t");ok{
t.Error("no revision kept names a release")
}
}
// A-162: the assigner knows a failed build from its `build.ended`: the error whole; a done end or none heard is not failed.
w.Words=fmt.Sprintf("the composition step of %s waits for the publish of package %s, named with no version in %s, before the composition run %s of %s is asked (ask %s)",
// start composes the machine of the run it started (§718): the node's input of this moment, its request kept once in `inputs`,
// start composes the machine of the run the step asked under stepAsk started (§718): the node's input of this moment, its request kept once in `inputs`,
// the composer program chosen and recorded with the request's digest, and one run ask put. A fault ends the run could not run.
Run:&buildstep.RunJob{Program:program,Heads:[]buildstep.RunHead{},Input:ref,Reader:"the composition of "+node+" by the node-engine at "+program.Commit}}
Run:&buildstep.RunJob{Program:program,Heads:[]buildstep.RunHead{},Input:ref,Reader:"the composition of "+node+" by the node-engine at "+program.Commit},
Packages:pins}// the composer is built against its entry's pins, each empty one filled (H-A-203, H-A-192, H-A-628 (2))
iferr:=r.put(ctx,a);err!=nil{
end(node+": its run ask "+ask+" is not put: "+err.Error())
}
@@ -289,7 +373,29 @@ const notTried = "not tried: the search reached its bound"
// could not run where the module was not tried (A-470b); a machine that does not compose and blames no module fails every step on
// it, on the node's own account; a verdict with no `blamed` (a composer before §721) is judged as before, with the warning "the
// composer names no culprits"; otherwise the machine passes, with a warning for each other module blamed there.
//
// The run's unlisted are the modules the machine is assigned that no watched branch's newest revision lists, left out of its
// composition, as the run's start read them (H-A-152, H-A-153): each is said on every path, in the machine's failed or
// could-not-run words where one is set, else as a warning, never the machine's failure and never dropped in silence (H-A-143,
// unpublished is a package an entry names with no version whose publisher's build in the step's revision is not published.
typeunpublishedstruct{
pathstring
bypackagePublisher
}
// unpublishedSaid names each package of waiting and the build it waits for.
funcunpublishedSaid(waiting[]unpublished)string{
varsaid[]string
for_,u:=rangewaiting{
said=append(said,fmt.Sprintf("package %s has no published version: the build of %s at %s (%s) is not published",u.path,u.by.module,u.by.fingerprint,u.by.artifact))
}
returnstrings.Join(said,"; ")
}
// filledPins fills each empty pin of pins, which the entry what names, from the seat mesh-builds' verb published, asked of the
// package's publisher in the step's catalog revision: the version it answers is the pin, never one the assigner computes
// (design 47 H2 H-A-628 (2), H-A-328, H-A-192). It answers the pins with every one it could fill, the packages whose
// publisher's build is not published yet, or an error naming the package, the entry and why it has no version (H-A-628 (5)).
// pins itself is left as it is: one entry's pins serve every machine's run.
returnnil,nil,fmt.Errorf("package %s has no version in %s, and no build of the step's catalog revision publishes it",path,what)
}
v,published,err:=r.publishedOf(ctx,by)
iferr!=nil{
returnnil,nil,fmt.Errorf("package %s has no version in %s, and whether the build of %s at %s publishes it is not read: %w",path,what,by.module,by.fingerprint,err)
r.logf("package %s, named with no version in %s, is pinned at %s: the build of %s at %s published it (mesh-builds' published, H-A-628)",path,what,v,by.module,by.fingerprint)
}
returnpins,waiting,nil
}
// awaitPins fills the empty pins of the entry what names for the run of ask under key (filledPins) and, while a package's
// publisher's build is not published, waits for it (design 47 H2 H-A-628 (3), (4); H-A-629 (1), (3)): the run's value names the
// package in `waits`, the time its wait began kept across a start taken up again; the run's bound key bound.<run key> is armed
// for what is left of package-wait-minutes from that time, never in full again; published is read first and again at each
// package-published heard (H-A-326), and the run's end is heard through its own state, its bound's expiry among them. It answers
// the pins, every one filled, the bound key deleted again (an ask in the queue has no clock, §720), and true; else false and why the
// run could not run, or no words when the run ended or was replaced meanwhile, or ctx ended.
// Design 47 G §354, §63, §64, A-226, A-238, A-240, A-243, A-252, A-254, A-261: one request and one run ask per machine, the request
// depth compose with the one machine and one case `change`, its manifests, verdicts and seats from the step's revision; the
// depth compose with the one machine and one case `change`, its manifests and seats from the step's revision, no verdicts (H-A-112); the
// composer is the node-engine build each machine runs, its entry read through `entry`, or the revision's where it differs from the
// trunk's, or the revision's for a machine whose node-engine is not heard running (A-451); the run's verdict is read from its step-ended; a machine away passes with a warning, one not composing fails the step.
t.Errorf("published was asked %+v, want x's build of x:go at src2:x1 in the step's revision",s.published)
}
// 1984/AC9: no run ask is put with a pin left out: no build of the revision publishing x/go ends the run could not run at once,
// naming the package and the entry, never the builder (H-A-628 (5)).
forname,c:=rangemap[string]struct{
standfunc(*runStand)
saidstring
}{
"no publisher":{func(s*runStand){s.publishedAt=nil;s.noPublisher=true},"package git.novox.be/novox/x/go has no version in the node-engine's entry src2:e1, and no build of the step's catalog revision publishes it"},
journal.await(t,"waits for package git.novox.be/novox/x/go, named with no version in the node-engine's entry src2:e",2)
journal.await(t,"the composition step of m says fetch: the composition run",1)
// H-A-630 (5): each reader's wait-held says it waits for x/go's publish, naming the package and the entry.
journal.await(t,"said wait-held on "+waitOnPublish+"git.novox.be/novox/x/go: the composition step of waits for the publish of package git.novox.be/novox/x/go, named with no version in the node-engine's entry src2:e",2)
t.Errorf("the starting step superseded, the run %s holds ended %v, waits %+v, readers %d; want it waiting for its two readers",key,run.Ended,run.Waits,len(run.Readers))
ifwant:=node+": package git.novox.be/novox/x/go has no published version within 10m0s (package-wait-minutes), named with no version in the node-engine's entry "+fp;out.Outcome!=meshwants.StepEndedOutcomeCouldNotRun||
!strings.Contains(out.Said,want)||strings.Contains(out.Said,"the builder pins or waits")||len(u.asks)!=0{
t.Errorf("%s: the step came to %+v with %d run asks put, want could not run saying %q",how,out,len(u.asks),want)
}
}
continue
}
ifout.Outcome!=meshwants.StepEndedOutcomeFailed||!strings.Contains(out.Said,"g14 does not compose")||len(u.asks)!=2{
t.Errorf("after the publish the step came to %+v with %d run asks",out,len(u.asks))
{"blamed module fails","a",runOf(blamesA),"ace holds a: /etc/x is a's and c's","",nil},
{"another module passes with a warning","b",runOf(blamesA),"","",[]string{"ace holds a: /etc/x is a's and c's"}},
{"blames no module fails both","b",runOf(`{"composes":false,"reason":"the node's own composition","blamed":[]}`),"ace does not compose and blames no module: the node's own composition","",nil},
{"an old composer","b",runOf(`{"composes":false,"reason":"x"}`),"ace does not compose: x","",[]string{"ace: the composer names no culprits"}},
{"blamed module fails","a",runOf(blamesA),"ace holds a: /etc/x is a's and c's","",nil,nil},
{"another module passes with a warning","b",runOf(blamesA),"","",[]string{"ace holds a: /etc/x is a's and c's"},nil},
{"blames no module fails both","b",runOf(`{"composes":false,"reason":"the node's own composition","blamed":[]}`),"ace does not compose and blames no module: the node's own composition","",nil,nil},
{"an old composer","b",runOf(`{"composes":false,"reason":"x"}`),"ace does not compose: x","",[]string{"ace: the composer names no culprits"},nil},
{"own module not tried","a",runOf(`{"composes":false,"blamed":[{"module":"a","problem":"not tried: the search reached its bound"}]}`),"",
"ace holds a untried: the composer's search for culprits reached its bound of blame_tries (A-470b)",nil},
"ace holds a untried: the composer's search for culprits reached its bound of blame_tries (A-470b)",nil,nil},
{"another not tried","b",runOf(`{"composes":false,"blamed":[{"module":"a","problem":"not tried: the search reached its bound"}]}`),"","",
[]string{"ace holds a: not tried: the search reached its bound"}},
{"not judged","a",runOf(`{"composes":false,"not_judged":"no seat list","blamed":[]}`),"","ace was not judged: no seat list",nil},
{"could not run","a",meshwants.CompositionRun{Machine:"ace",Ended:&at,Outcome:meshwants.CompositionRunOutcomeCouldNotRun,Said:"ace: gone"},"","ace: gone",nil},
[]string{"ace holds a: not tried: the search reached its bound"},nil},
{"not judged","a",runOf(`{"composes":false,"not_judged":"no seat list","blamed":[]}`),"","ace was not judged: no seat list",nil,nil},
{"could not run","a",meshwants.CompositionRun{Machine:"ace",Ended:&at,Outcome:meshwants.CompositionRunOutcomeCouldNotRun,Said:"ace: gone"},"","ace: gone",nil,nil},
// H-A-143: a module assigned there that no watched branch lists is said in the reason, or as a warning where it composes.
{"an unlisted module in the reason","b",runOf(`{"composes":false,"reason":"nothing provides \"photos\"","blamed":[]}`),
"ace does not compose and blames no module: nothing provides \"photos\"; ace is assigned photos, which no watched branch lists (H-A-143)","",nil,[]string{"photos"}},
{"does not compose, blames a module, an unlisted module","a",runOf(`{"composes":false,"reason":"nothing provides \"photos\"","blamed":[{"module":"a","problem":"nothing provides \"photos\""}]}`),
"ace holds a: nothing provides \"photos\"; ace is assigned photos, which no watched branch lists (H-A-143)","",nil,[]string{"photos"}},
{"another module blamed, an unlisted module","b",runOf(`{"composes":false,"blamed":[{"module":"a","problem":"x"}]}`),"","",
[]string{"ace holds a: x","ace is assigned photos, which no watched branch lists (H-A-143)"},[]string{"photos"}},
{"could not run, an unlisted module","a",meshwants.CompositionRun{Machine:"ace",Ended:&at,Outcome:meshwants.CompositionRunOutcomeCouldNotRun,Said:"ace: gone"},
"","ace: gone; ace is assigned photos, which no watched branch lists (H-A-143)",nil,[]string{"photos"}},
{"an unlisted module where it composes","b",runOf(`{"composes":true,"blamed":[]}`),"","",
[]string{"ace is assigned photos, which no watched branch lists (H-A-143)"},[]string{"photos"}},
}{
t.Run(tc.name,func(t*testing.T){
e:=judgeRun(tc.module,tc.run)
run:=tc.run
run.Unlisted=tc.unlisted// the set the run's start wrote (H-A-153)
said:=fmt.Sprintf("package %s has no published version within %s (%s), named with no version in %s",w.Package,r.set.packageWait,packageWaitSetting,w.Entry)
ifmachine!=""{
said=machine+": "+said
}
returnsaid
}
// heard takes a change of the state from its watch (a module watches its own state, principle 1).
@@ -374,7 +489,11 @@ type joined struct {
// written create-only (or replacing the ended key by compare-and-set), the reader its first, ask its run ask's id. At the
// cap no run is started, an error naming the fill.
!strings.Contains(err.Error(),"nothing was dropped")||len(drops)!=0{
t.Fatalf("a drop not recorded: %v, drops %v",err,drops)
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.