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