Commit Graph
2862 Commits
Author SHA1 Message Date
jschoubben dfc675cf00 I9 dropped-subjects-acked: TestIndexerWhole acknowledges an event of each dropped subject on the durable's filter
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
2026-11-25 17:45:18 +01:00
jschoubben 1b4d7e5c8d I15 starting-indexer-answers: the starting indexer answers away while its start's read of the trunk holds the view, and says its start's phases
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)
2026-11-25 17:42:54 +01:00
jschoubben 5922da0a92 I8 pin-drop-record: indexer_pin_drop with record drops that one record from every pin holding it, the pins' other records staying
Builds: design 47 H2 H-A-572 (3)
2026-11-25 17:37:22 +01:00
jschoubben f1f2d352e5 I7 failed-record: a mover not delivered at a failed or cancelled end, or named in unfinished, pins its entry's revision and that revision's base under failed.<branch>.<module>, freed when it passes, a newer revision moves it or its module or branch leaves the registrations
Builds: design 47 H2 H-A-566, H-A-572 (1) (2), H-A-595, H-A-608, H-A-649 (af09bb9a taken as new code, H-A-565 (2) (3) not)
2026-11-25 17:36:32 +01:00
jschoubben c7c65556db K4b reserved-other-bytes: RunReserved's held-under-another-digest row is answered other-bytes, nothing stored
Builds: design 47 H2 H-A-738 (1), H-A-729
2026-11-25 17:34:12 +01:00
jschoubben c9de0c6245 DC9 step-result-held-at: StepResult gains held-at, when the step was held (same form raise of mesh-pipeline-runner)
Builds: design 47 H2 H-A-738 (2), H-A-599
2026-11-25 17:33:49 +01:00
jschoubben 69ed0d95f4 I5 digests-from-the-publisher: a Go package artifact's entry keeps its packages' digests, an importer's fingerprint reads them from the publishing entry, the import form takes no accepted-series override
Builds: design 47 H2 H-A-580, H-A-672 (DQ-21), H-A-521, H-A-530
2026-11-25 17:32:44 +01:00
jschoubben 3bb8413dbd K3 answered-digest, K4 kits: a publish answered other-bytes with the publish's own fingerprint is the held digest in the step result and both in the log, else refused; the publish kit's rows follow H-A-738, the reproducible kit
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)
2026-11-25 17:28:22 +01:00
jschoubben bcf170a003 I9 dropped-subjects-acked: the hub acknowledges toolchain-agreed and wait-ended with no work and says each subject once
Builds: design 47 H2 H-A-578 (2), H-A-651, H-A-706
2026-11-25 17:25:45 +01:00
jschoubben 336d2abaa8 I6 npm-test-files: the files of an npm package that leave its digest are the indexer's setting npm-test-files, no pattern left in code
Builds: design 47 H2 H-A-598, H-A-573
2026-11-25 17:24:26 +01:00
jschoubben 13eccb33b3 I12 ledger-end-rules: ended-days 1 to 3650, an ends-with naming a field of its schema, ended-days and ends-with given together
Builds: design 47 H2 H-A-634 (3), H-A-690
2026-11-25 17:23:32 +01:00
jschoubben 04d912b5c8 DC7b transfer-optional: the registry seats' publish answer has transfer present exactly when a transfer is opened, absent when other-bytes is present
Builds: design 47 H2 H-A-732, H-A-729
2026-11-25 17:23:00 +01:00
jschoubben cb8046c355 Judge tests: a holder's served verbs are read from the seat's definition, the uplink's decision is read as naming ADR 0117
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)
2026-11-25 17:22:40 +01:00
jschoubben c87d5fe6ab DC8 wait-bound-and-clock: the seat mesh-pipeline-runner's Wait gains bound and clock-from, in form 13's raise
Builds: design 47 H2 H-A-736 (1), H-A-599, H-A-611
2026-11-25 17:22:12 +01:00
jschoubben 7f67e209e6 I3 needs-rules: each revision carries judge.NeedsRules, a take-in at a higher number derives the unmoved entries' needs from their manifests again
Builds: design 47 H2 H-A-569 (2), H-A-605 (4), H-A-586
2026-11-25 17:21:35 +01:00
jschoubben ca91d4e85b I4 consumes-on-entry: an entry's consumes equals its manifest's
Builds: design 47 H2 H-A-621
2026-11-25 17:20:45 +01:00
jschoubben 3baef9df5b I11 entry-needs: CatalogEntryOf writes the entry's needs from the module's value, ModuleValueOf reads them back
Builds: design 47 H2 H-A-682 (1), H-A-568, H-A-569 (2)
2026-11-25 17:20:01 +01:00
jschoubben d4ea1f3445 I2 own-put-needs-runs-as: a manifest invoking seat:mesh-vault.own-put without runs-as is refused, a get is not
Builds: design 47 H2 H-A-576, H-A-584, H-A-670
2026-11-25 17:19:06 +01:00
jschoubben af5a7e5870 I1 needs-in-the-judge: ManifestNeeds and ModuleNeeds move into the manifest validator, read field by field through catalogue.Manifest, a key taken only where ManifestReads names its path
Builds: design 47 H2 H-A-568, H-A-622, H-A-639, H-A-640, H-A-669
2026-11-25 17:18:28 +01:00
jschoubben c04e5e364c DC7 other-bytes: the publish answer of the four registry seats gains other-bytes, each seat one form higher
Builds: design 47 H2 H-A-729, H-A-589 (1), H-A-590 (2)
2026-11-25 17:15:05 +01:00
jschoubben 1d0b2d3e07 DC6c mover-row-tier: MoverRow gains tier (same form raise of mesh-pipeline-runner)
Builds: design 47 H2 H-A-730, H-A-709 (1)
2026-11-25 17:15:05 +01:00
jschoubben a58daa9cf7 I16 mesh-fingerprint-refused: a manifest naming MESH_FINGERPRINT in any env is refused
Builds: design 47 H2 H-A-710 (1)
2026-11-25 17:14:30 +01:00
jschoubben 661203451f I13 state-cap-64: a state's max-mib is at most 64
Builds: design 47 H2 H-A-678, H-A-694
2026-11-25 17:13:55 +01:00
jschoubben de7110032b I14 indexer-tools-comment: the package comment names only what the package serves
Builds: design 47 H2 H-A-684 (3)
2026-11-25 17:13:55 +01:00
jschoubben 0239cf3ac4 DC6b: the indexer's take-in test names pipeline-started's movers as StartedMover
Builds: design 47 H2 H-A-709 (3)
2026-11-25 17:13:55 +01:00
jschoubben 899d6ac0e3 K2 again-delays: the default is 15s,90s, whose sum spans the tool runner's restart
Builds: design 47 H2 H-A-603
2026-11-25 17:12:50 +01:00
jschoubben 423d06faac DC3b validate-verb: the seat mesh-wants gains the verb validate (form 4), the assigner's tool reaching the process
Builds: design 47 H2 H-A-684 (1), H-A-702, H-A-727
2026-11-25 17:12:15 +01:00
jschoubben 81bf6c7cc9 K1 stopping-goes: the kind stopping is read nowhere; PublishFault reads no responders as the transport fault
Builds: design 47 H2 H-A-570 (3), H-A-624 (3), H-A-658
2026-11-25 17:11:41 +01:00
jschoubben e0f69f73d3 K5 missing-reads-go: graph.MissingReads goes, with its rows
Builds: design 47 H2 H-A-639 (DQ-1)
2026-11-25 17:10:55 +01:00
jschoubben dc6669f768 DC2b place-unfinished answers placed and failed with all; mover-added kept as pipeline-started is
Builds: design 47 H2 H-A-644, H-A-725, H-A-726
2026-11-25 17:10:16 +01:00
jschoubben 6dc9164504 DC6 runner-reads-bounded: MoverRow carries fingerprint and version, show and stands take a bound and page by a cursor, pipeline-started's movers are StartedMover
Builds: design 47 H2 H-A-709 (1) (2) (3), H-A-717 (DQ-52, DQ-57)
2026-11-25 17:09:56 +01:00
jschoubben 8865d61bec DC5 published-names-fingerprint: package-published gains the reservation's fingerprint (mesh-builds stays at form 4, one raise per seat)
Builds: design 47 H2 H-A-707 (6), H-A-717 (DQ-52)
2026-11-25 17:09:01 +01:00
jschoubben c8f9e1b8d3 DC4 merge-pull-unwatched-base: merge-pull merges a member whose base is no watched branch plainly, whatever its repository, noted no delivery
Builds: design 47 H2 H-A-704, H-A-717 (DQ-49)
2026-11-25 17:08:45 +01:00
jschoubben 9ebf400457 DC3 held-want-words: a held want's words may begin awaits-reads: or awaits-entry:
Builds: design 47 H2 H-A-682 (2), H-A-698 (2), H-A-706 (DMC-14)
2026-11-25 17:08:28 +01:00
jschoubben 98a9c199c1 DC2 step-runner-delivery-forms: step-ended's revision present exactly when superseded (form 4), mover-added and place-unfinished's all (form 13), record-ended's ends (form 3)
Builds: design 47 H2 H-A-574, H-A-594 (4), H-A-609 (3), H-A-617, H-A-644, H-A-645, H-A-650
2026-11-25 17:08:03 +01:00
jschoubben 628d5be5b6 DC1 catalog-forms: the seat mesh-catalog's entry carries consumes, an artifact digests, a revision needs-rules (form 7)
Builds: design 47 H2 H-A-580, H-A-605 (4), H-A-621, H-A-682 (1), H-A-698 (3)
2026-11-25 17:06:59 +01:00
jochen 0509270388 mesh-grants: test that node-uplink's machine event reaches no other node's membership or grant
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
2026-11-25 01:13:51 +01:00
jochen ef8dd1207a mesh-grants: list the held seat's own-node machine event in the carried module's membership too
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
2026-11-24 21:53:35 +01:00
jochen 501ff49abe mesh-grants: the tool runner publishes its own node's machine event of a seat a carried module holds
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
2026-11-24 21:24:42 +01:00
jschoubben b71bc6fbaf Runner: the test-run test waits on what it causes, never on a clock across a restart (issue 1984)
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
2026-11-24 02:17:55 +01:00
jschoubben 3bc30b7284 assigner: label the pass-stall rows with acceptance 1984/AC13 (issue 1984, review round 1)
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)
2026-11-24 01:28:54 +01:00
jschoubben 377a0c27db assigner: a pass past pass-stall-seconds says which phase it is in (issue 1984)
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)
2026-11-24 01:15:43 +01:00
jschoubben 773ba91222 assigner: at the put of a run that waited for a package its readers wait for a build node again (issue 1984, review round 1)
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)
2026-11-23 23:19:56 +01:00
jschoubben 5884f8ed7b assigner: while a run waits for a package's publish its readers' wait-held names that package (issue 1984, review round 1)
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
2026-11-23 23:17:41 +01:00
jschoubben a46f14ba23 assigner: the words past a wait's bound name the package, the entry and the bound (issue 1984, review round 1)
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
2026-11-23 23:14:57 +01:00
jschoubben dc2ddb871a assigner: a run's start and its wait run on the assigner's own context (issue 1984, review round 1)
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)
2026-11-23 23:11:32 +01:00
jschoubben 051e104f1b assigner: each bind of the package-published consumer wakes every waiting run (issue 1984, review round 1)
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)
2026-11-23 23:06:56 +01:00
jschoubben 8a1605d283 assigner: a package-published wakes only the runs waiting for its artifact's package (issue 1984, review round 1)
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
2026-11-23 23:05:51 +01:00
jschoubben 4bcc12d7b1 T3 assigner: a run waits for its package's publish, bounded, then could not run naming it (issue 1984)
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)
2026-11-23 22:35:43 +01:00
jschoubben 024c137b94 T2 assigner: an empty pin of a run's entry is filled from mesh-builds.published (issue 1984)
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
2026-11-23 22:00:31 +01:00