Commit Graph
3482 Commits
Author SHA1 Message Date
jschoubben abd2e6e50f Finding 6 (review r1): a wait on conditions-unread names assigner_release with rejudge
Builds: design 47 H2b §829 5.
2026-11-27 03:54:36 +01:00
jschoubben f3d678d88d Finding 5 (review r1): a tier-late owed is said before a paused tier breaks
Builds: design 47 H2b §824 2., 4.; §832 4.
2026-11-27 03:54:10 +01:00
jschoubben 5e25feee3a Finding 4 (review r1): the composition runs' wait-held and wait-ended are owed in order, and a start says an open run's waits again
Builds: design 47 H2b §832 1., 2., 4.; H-A-873
2026-11-27 03:53:43 +01:00
jschoubben e296f57489 Finding 3 (review r1): the put-waits record is written when its wait-held is taken, not while it is owed
Builds: design 47 H2b §832 1., 4.; H-A-830
2026-11-27 03:52:14 +01:00
jschoubben e061c319f1 Finding 2 (review r1): the wait's held-said and ending are written by compare-and-set, and wait-held is owed only once the write took
Builds: design 47 H2b §832 3., §831
2026-11-27 03:51:32 +01:00
jschoubben e06c204af3 Review r1 part 1 finding 7: the assigner's live read and not-heard finding go through the hub's OnAllHeard and OnUnheard
Builds: design 47 H2b §836 1., §836 4.
2026-11-27 03:50:25 +01:00
jschoubben 896b0e1f75 Finding 1 (review r1): a mover kept by another pipeline at its own fingerprint is counted by its running
Builds: design 47 H2b §824 1., §825, §826 2.
2026-11-27 03:49:23 +01:00
jschoubben f4a9ea5e3f I4 (the assigner's row) set-aside-needs: a need word:<path> holds a want on a machine whose words lack it (AC-872b)
Builds: design 47 H §872
2026-11-27 03:29:23 +01:00
jschoubben 30817f1f39 Merge commit '0c3c9309' into feat/47-H2b-b 2026-11-27 03:29:03 +01:00
jschoubben dc3986313f AC-828b, AC-828c rows: a lapse heard on ask-ended raises the outside ask again; passes with nothing changed make no read
Builds: design 47 H2b §828, H-A-872
2026-11-27 03:28:58 +01:00
jschoubben 3fe271acf3 A13 event-unsaid-and-owed-tools: the assigner answers the verbs owed, owed-say and owed-drop of mesh-wants, an event owed past event-unsaid-after is the finding event-unsaid, the three tools call the verbs
Builds: design 47 H2b §832 6.
2026-11-27 03:28:14 +01:00
jschoubben f9232d5e60 A12 start-says-again: a start says wait-ended for an ending record, wait-held for every standing wait, a removal from its mark, then wanted for each want written with the key's write time as its at
Builds: design 47 H2b §832 4.
2026-11-27 03:25:20 +01:00
jschoubben 3089814382 A9 wait-states-derived, A10 end-before-decided: assigner_waits derives its states, a decided record goes by its fingerprint, assigner_wait_drop; an end is written before it is said and the wait goes only once the bus took it
Builds: design 47 H2b §830, §831
2026-11-27 03:20:07 +01:00
jschoubben 6e75c4198a A8 one-read-per-pass: one answer of a machine's conditions serves every wait judged on it in a pass, a decided record reads nothing
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
2026-11-27 03:14:21 +01:00
jschoubben b2f3b2e2d3 A7 bound-armed-once: a wait's bound and a settle's end arm the one timer only while still to come, the bound only while the module does not run
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
2026-11-27 03:12:34 +01:00
jschoubben a16654e248 A6 ask-while-not-running: the wait on an outside cause asks the operator only while its module does not run its wanted build
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
2026-11-27 03:11:47 +01:00
jschoubben 9141bd514a A4 no-version-by-fingerprint, A5 own-build-version: the pass finds a no-version mover's released version, an end naming a rebuild's is not kept
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
2026-11-27 03:10:38 +01:00
jschoubben 0c3c930979 I3 test budget: the four edge tests of I3 are subtests of existing tests, no new top-level test function
Builds: design 47 H2b §870 (test-budget instruction)
2026-11-27 03:07:14 +01:00
jschoubben 0941bd6d09 A2 tier-tools: assigner_written answers both lateness fields, held-by-tier names the tier and its holder, assigner_progress_drop
Builds: design 47 H2b §824 6., 7. (H-A-844)
2026-11-27 03:06:45 +01:00
jschoubben 388626ac82 I4 set-aside-needs: the take-in names the need word:<path> of each word its read set aside, and NeedsRules is 2
Builds: design 47 H2b §872
2026-11-27 03:06:12 +01:00
jschoubben 3c9be07489 A1 tier-goes-on: a delivery whose tier passed tier-bound goes on once the tier runs; lateness is written before it is said
Builds: design 47 H2b §824 1., 2., 3., 4. (H-A-828, H-A-839, H-A-858)
2026-11-27 03:05:42 +01:00
jschoubben 5162465293 I3 word-and-event-edges: the indexer derives the edge from the node-engine mover to a mover with a new word, and from an emitter to a consumer of its new event
Builds: design 47 H2b §870, H-A-838, H-A-851
2026-11-27 03:05:28 +01:00
jschoubben 83cbf2e464 A11 owed-in-order: the events of the seat mesh-wants the bus refuses are owed in order and said again under their ids, on the one timer
Builds: design 47 H2b §832 1., 2., 3. (H-A-777, H-A-801, H-A-830, H-A-831, H-A-832, H-A-846)
2026-11-27 03:02:58 +01:00
jschoubben b44a9ee1dc I2 hub-start-alone: the indexer starts its event hub with Start alone
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.
2026-11-27 03:01:31 +01:00
jschoubben 499bb15eae I1 wants-heard-in-order: the indexer orders a wanted by its want-revision
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
2026-11-27 03:01:31 +01:00
jschoubben aea1e6129c G3 program-long-running: a module whose processes run once or on a schedule declares no program
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
2026-11-27 03:00:14 +01:00
jschoubben aef199cb83 G2 keeper-kept-durables: the bus module's process gets a heard durable on each kept stream its module consumes
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.
2026-11-27 02:59:25 +01:00
jschoubben f05fb8ab55 G1 durables-composed: the grants part says durables-composed for each module whose durables a pass composed
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.
2026-11-27 02:58:04 +01:00
jschoubben 79c0bf8e90 Merge commit 'd36511022f895d41951b57dbf1128f8224582a8b' into feat/47-H2b-b 2026-11-27 02:57:56 +01:00
jschoubben 45c9d20baf A16 hub-start-alone: the journal line after Start and its integration test await
Builds: design 47 H2b §836 (the assigner's call)
2026-11-27 02:57:56 +01:00
jschoubben cecf4142e6 DC2 branches-adopt-before-start: NewBranches adopts the catalog-revision event before the reader's Start
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
2026-11-27 02:56:51 +01:00
jschoubben d36511022f DC1b owed-verbs: mesh-wants gains the verbs owed, owed-say and owed-drop
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
2026-11-27 02:55:53 +01:00
jschoubben 6f21579887 A3 same-version-again: a later pipeline carrying a stranded mover at its kept version keeps the end again
Builds: design 47 H2b §825 (the take's same-version path; the progress of the earlier pipeline below the end's rank)
2026-11-27 02:55:34 +01:00
jschoubben 21370394d7 DC1 pipeline-wanted-twice-and-want-revision: mesh-wants says pipeline-wanted at most twice, wanted gains want-revision
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.
2026-11-27 02:55:22 +01:00
jschoubben ff22c20d66 A16 hub-start-alone: the assigner's hub starts once; Start binds the kept seat events
Builds: design 47 H2b §836 (the assigner's call)
2026-11-27 02:54:52 +01:00
jschoubben a807a4511e A14 put-newest-passed, A15 put-by-prefix: the program resolves newest and a prefix at the put's first step
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)
2026-11-27 02:54:52 +01:00
mesh-tools 2aadb3f08b Merge pull request 'The indexer's take-in sets an unknown manifest word aside at any depth and says it (H-A-808, H-A-809)' (#372) from fix/47-H2b-nested-unknown-word into main 2026-11-26 23:33:41 +00:00
jschoubben 5717fd5036 Fold the set-aside take-in test into the replay test, and cite 1984's acceptance
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
2026-11-27 00:31:11 +01:00
jschoubben ad56d96bc4 The take-in says each manifest word it set aside, once per fingerprint (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
2026-11-27 00:22:06 +01:00
jschoubben 982a059e42 The take-in sets an unknown manifest word aside at any depth and names it (H-A-808)
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
2026-11-27 00:18:50 +01:00
mesh-tools 64a27c2cab Merge pull request 'Release a published build whose release was lost, say it as a finding, and wait out a bus refusal (H-A-773)' (#371) from fix/47-H2-773-release-again into main 2026-11-26 19:31:20 +00:00
jschoubben b87689e990 mesh-delivery-indexer: a message the indexer cannot take is given again after a doubling wait (H-A-773 (3); issues 1984, 1423)
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)
2026-11-26 20:16:39 +01:00
jschoubben 2dc707782f mesh-delivery-builder: a published version the catalog holds no release of is version-unreleased past its bound (H-A-773 (2); issues 1984, 1423)
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)
2026-11-26 20:11:05 +01:00
jschoubben 2f8571cb6b mesh-delivery-builder: builder_publish_again says a published, unreleased version's package-published again (H-A-773 (1); issues 1984, 1423)
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)
2026-11-26 20:07:11 +01:00
mesh-tools 5a855b9d84 Merge pull request 'mesh-delivery-pipeline: a predecessor a newer revision moved ties nothing, in every path that reopens a pipeline or reads its ties (design 47 H2 H-A-770; issue 1984)' (#370) from fix/47-H2-770-moved-predecessor-unties into main 2026-11-26 02:09:34 +00:00
jschoubben 9e08d230e7 mesh-delivery-pipeline: a lagging view drops no key for its own mover either (fix-770 round 5, issue 1984)
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
2026-11-26 03:04:22 +01:00
jschoubben 0049f591c5 mesh-delivery-pipeline: a mover counts as moved only at a head newer than its pipeline's revision (fix-770 round 4, issue 1984)
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)
2026-11-26 02:54:17 +01:00
jschoubben 587bda939e mesh-delivery-pipeline: remove Unfinished.HeldBehind, which nothing calls (fix-770 round 3, issue 1984)
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)
2026-11-26 02:39:53 +01:00
jschoubben 642564629a mesh-delivery-pipeline: a rerun of a test-run step and the held-behind list read the head too (fix-770 round 2, issue 1984)
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
2026-11-26 02:38:48 +01:00
jschoubben b423f14c4c mesh-delivery-pipeline: a predecessor a newer revision moved ties nothing in the carries, start, place and rerun (fix-770, issue 1984)
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
2026-11-26 02:33:37 +01:00