Commit Graph
4198 Commits
Author SHA1 Message Date
mesh-tools cbaf0cba57 Merge pull request 'Design 47 H2's corrections: the gate's ledger lifetimes and owed acts, the bus module's recreate, gitea runs-as part 2 (issue 1984)' (#758) from feat/47-H2-corrections into main 2026-11-25 20:11:51 +00:00
jschoubben 54cf195bcb Merge branch 'feat/47-H2-corrections-b' into feat/47-H2-corrections 2026-11-25 19:11:29 +01:00
jschoubben 98775336d6 Merge branch 'feat/47-H2-corrections-a' into feat/47-H2-corrections 2026-11-25 19:11:29 +01:00
jschoubben f8e40950e1 nats: AC-G15b keeps a history's messages at a shorter age and turns the snapshot store's refusal when full on in place
Builds: design 47 H2 H-A-686
2026-11-25 19:11:14 +01:00
jschoubben e2e82311c9 gate: the reader of mover-added decodes through meshpipelinerunnerclient.MoverAdded, a refusal said
Builds: design 47 H2 H-A-645 (AC-DC2c)
2026-11-25 19:10:29 +01:00
jschoubben 43711755d6 Revert "mesh-config: the start waits for an owner view's Ready, the handlers ask the views' Unread beside the own copies' (review r1 finding 3)"
This reverts commit a37cde8bcc.
2026-11-25 19:09:56 +01:00
jschoubben a770848c65 Merge branch 'feat/47-H2-corrections-b' into feat/47-H2-corrections 2026-11-25 18:58:09 +01:00
jschoubben 9d7c4b2e8c Merge branch 'feat/47-H2-corrections-a' into feat/47-H2-corrections 2026-11-25 18:58:09 +01:00
jschoubben a37cde8bcc mesh-config: the start waits for an owner view's Ready, the handlers ask the views' Unread beside the own copies' (review r1 finding 3)
Builds: design 47 H2 H-A-708 (2), row S8
2026-11-25 18:57:21 +01:00
jschoubben 1ebb59a9d7 mesh-config, mesh-provisioner: Unread is asked in the verb and tool handlers only, the module's own start keeps the waiting read (review r1 finding 3)
Builds: design 47 H2 H-A-708 (2)
2026-11-25 18:56:20 +01:00
jschoubben e83a7adb2d nats: gofmt the import order of removal.go
Builds: design 47 H2 H-A-615
2026-11-25 18:55:32 +01:00
jschoubben ce2455d189 gate: AC-G4a and AC-G4b are steps of TestAGateWholeTakesAMergeCallAndWatchesTheHeadsOverARealBus
Builds: design 47 H2 H-A-597, H-A-609, H-A-617
2026-11-25 18:55:23 +01:00
jschoubben 6f7311820c nats: AC-G15b is a case of TestTheBusModuleRunsWhole, a recreate entering through the warrant
Builds: design 47 H2 H-A-686
2026-11-25 18:52:59 +01:00
jschoubben 1dbc2b6f88 gitea: the token lists are read before the retirement of the admin's old token, and the two missing rows of the token files' test (review r1 findings 4, 5)
Builds: design 47 H2 H-A-699 (2), H-A-699 how checked
2026-11-25 18:52:49 +01:00
jschoubben b15c220822 nats: a recreate's ask takes its words from the per-object lines, recreated's before names the held cap
Builds: design 47 H2 H-A-686 (3), H-A-740
2026-11-25 18:52:08 +01:00
jschoubben cda35e6c42 nats: narrow compares a consumer's filter with the entry's consumes in one form
Builds: design 47 H2 H-A-615, H-A-621
2026-11-25 18:51:23 +01:00
jschoubben 4b6d76d3dd gitea: the state fingerprints is in KEPT, so it is announced and its tools read it (review r1 finding 1)
Builds: design 47 H2 H-A-589 (2), G A-287
2026-11-25 18:51:03 +01:00
jschoubben fcc24fc468 Merge branch 'feat/47-H2-corrections-a' into feat/47-H2-corrections 2026-11-25 17:48:51 +01:00
jschoubben 89e5eef3c5 nats: mark twin-current-hours runtime, the tool reads it as its configuration at each call
Builds: design 47 H2 H-A-472 third addendum, ADR 0348 §5
2026-11-25 17:48:44 +01:00
jschoubben 99b9b826e5 Merge branch 'feat/47-H2-corrections-b' into feat/47-H2-corrections 2026-11-25 17:40:28 +01:00
jschoubben 023792c189 Merge branch 'feat/47-H2-corrections-a' into feat/47-H2-corrections 2026-11-25 17:40:28 +01:00
jschoubben b7ba5a3535 gitea: the whole test creates the state fingerprints and reads the stored version's key
Builds: design 47 H2 H-A-589 (2)
2026-11-25 17:39:26 +01:00
jschoubben 804f5c4ab4 failurekit: G8 kit-checked, a build module whose tests do not run the reproducible case is refused
Every build module claiming a node-build-* seat must hold a test that calls
conformance.Reproducible; mesh-build-node's tests now run it over its bundle
build, as mesh-build-go's and mesh-build-image's do. A row of the check's test
(a module with the rest of the kit and no reproducible case) is refused.

Builds: design 47 H2 H-A-591 (4), H-A-593 (3)
2026-11-25 17:39:00 +01:00
jschoubben f6dbeafeea mesh-build-image: G7 reproducible-image, buildah bud --timestamp 0 and the kit's case over a real build
The image's creation time and every layer file's time are the Unix epoch; the
image fixture (no fetching step) built by real buildah in two folders gives one
manifest digest (without the flag the case fails, naming the artifact and both
digests). No label names a commit, a folder, a time or a node; the version
label stays.

Builds: design 47 H2 H-A-591 (3), H-A-593 (3)
2026-11-25 17:38:12 +01:00
jschoubben feb0120330 G15b recreated-before-after: the event recreated says what each object held before and after, its why a sentence
Builds: design 47 H2 H-A-740, H-A-686 (3)
2026-11-25 17:37:29 +01:00
jschoubben 5c1911dd7c gitea: the package seats' bed passes the publish kit unchanged, no answer translated
Builds: design 47 H2 H-A-729, H-A-738 (1), H-A-593 (2)
2026-11-25 17:36:06 +01:00
jschoubben 1841bc959e build modules: G9 again-delays-default, 15s,90s in mesh-build-go, mesh-build-image and mesh-build-node
The default spans the tool runner's restart (three runs, 105 s); each module's
test reads the declared default and requires 15 s after the first run and 90 s
after the second.

Builds: design 47 H2 H-A-603, H-A-570 (5)
2026-11-25 17:35:57 +01:00
jschoubben 64f68ec3f0 mesh-build-go: G6 reproducible-go, the kit's case over a bundle, an archive and a Go package
The build step builds a fixture of each kind it builds twice, in two workspace
folders of other names and file times, and requires one digest per artifact.
The case names nothing to fix: the recipe's -trimpath and -buildvcs=false, the
epoch-timed sorted pack and the Go module zip give one digest (without
-trimpath the case fails, naming the artifact and both digests).

Builds: design 47 H2 H-A-591 (1) (5), H-A-593 (3)
2026-11-25 17:35:56 +01:00
jschoubben 82abaa03ac G18 unanswered-said-at-start: the gate says again every act owed with no outcome at its start and when it hears the forge bridge's module running
Builds: design 47 G §165, H-A-712 (3) (hq 7c5c3860), H-A-717 (DMC-15, DQ-51) (hq eed55e62)
2026-11-25 17:34:25 +01:00
jschoubben 8aef19934e G15 recreate-in-place: a recreate reads the account's room first, changes each object in place where the bus takes it, makes empty only a retention that changes, stops at a refused change; the ask names each object
Builds: design 47 H2 H-A-686 (1) (2) (3), H-A-634 (3), H-A-706 (DQ-42) (hq 95cf2052, 999e6525, 543e6963)
2026-11-25 17:33:19 +01:00
jschoubben 7c1f61f735 gitea: G3 held-version-answered, the fingerprints state and other-bytes (go and npm seats)
A version the forge holds at another digest is answered other-bytes {digest,
kept fingerprint}, the call not failing, nothing stored, no transfer named in
the answer. The state fingerprints (16 MiB, key <name>.<version> escaped) is
written before the forge takes a version (a write refused at its cap refuses
the publish), deleted at removed (remove and retention) and read by versions.

Builds: design 47 H2 H-A-589 (1) (2) (3), H-A-612, H-A-593 (2), H-A-618 (1), H-A-667, H-A-729, H-A-732, H-A-738 (1)
2026-11-25 17:32:59 +01:00
mesh-tools 3f9f976fac Merge pull request 'mesh-knowledge: a record keeps every progressive insight; knowledge_restore gives back what propose dropped (issue 466)' (#757) from fix/466-insights-kept into main 2026-11-25 16:30:11 +00:00
jschoubben 0aed3065b5 distribution: G3 held-version-answered, the fingerprints state and other-bytes
A version held at another digest is answered other-bytes {digest, kept
fingerprint}, the call not failing, nothing stored, no transfer opened; the
reader compares the fingerprint. The state fingerprints (16 MiB, key
<name>.<version> escaped) is written before the store takes a version
(a write refused at its cap refuses the publish), deleted at removed and
read by versions. No fill finding.

Builds: design 47 H2 H-A-589 (1) (2) (3), H-A-612, H-A-593 (2), H-A-618 (1), H-A-667, H-A-729, H-A-732, H-A-738 (1)
2026-11-25 17:29:48 +01:00
jschoubben 5de68de0a0 G13 indexes-kept: the gate keeps its ledger indexes by a watcher, builds an index behind again at its start before the pass of the ends, and raises index-behind and record-end-unwritten
Builds: design 47 H2 H-A-690 (2) (3) (4), H-A-634 (2) (hq 95cf2052, 999e6525); H-A-706 (DMC-13) (hq 543e6963)
2026-11-25 17:29:28 +01:00
jschoubben aa1a59c6bc G12 records-tools: gate_records_expiring and gate_records_follow_ends, gate_records says the ledger's ended-days, keeping days and soonest expires
Builds: design 47 H2 H-A-634 (7), H-A-689 (2) (hq 999e6525, 95cf2052)
2026-11-25 17:27:17 +01:00
jschoubben e580f54a4b G16 fill-names-object: full and full-cleared carry the fill of the object judged and its part, and show answers each object
The fill pass keeps the object of an entry with the highest share and says full and full-cleared (the body's
v 2) with a fill naming that object, its part (history, state, index <name> or snapshot of a ledger), its
messages, bytes and cap; their why and the condition's text name it. mesh-broker.show's fill keeps the sum
and gains objects, one item of the definition ObjectFill each.

Builds: design 47 H2 H-A-634 (9), H-A-636, H-A-687 (3), H-A-706 (DQ-41), H-A-717 (DQ-50)
2026-11-25 17:22:15 +01:00
jschoubben 141cddf7c9 466-c review: made by propose is read from the accepted version's why, compared with the last accepted version
Builds: design 55 §1.1; lead answer L-466-4 (issue 466 note 18); 466/AC5
2026-11-25 17:22:06 +01:00
jschoubben cdae0e0339 G19 started-decoded-by-contract: the gate reads pipeline-started with the contract's decoder
A pipeline-started of the earlier form, whose movers carry fields the new StartedMover leaves out, is
taken as the new form is: a field this reader does not know is left unread, never refused.

Builds: design 47 H2 H-A-709 (3)
2026-11-25 17:20:47 +01:00
jschoubben c055c82bd8 G11 records-listed-by-watch: the gate lists its records from a watch of its ledger, writes no month list, sweeps nothing, and removes the month lists standing at its start
The gate keeps the key and opening of every record from a watch of its ledger's record/> (stdio.WatchLedger):
the current states at its start, then each change; a key gone is dropped from every list, and an event for
it is said in the journal and changes nothing. An open writes no month list and sweeps and refuses nothing;
List, months, heldIn, Sweep, Retention and DefaultRecordRetention go; a month list a watch of held/> hands
with a state at the start is removed with mesh/ledger.remove, and no forget is applied (H-A-721).

Builds: design 47 H2 H-A-634 (2), (5), (6), H-A-706 (DMC-13), H-A-712 (1), H-A-721
2026-11-25 17:20:29 +01:00
jschoubben b1b7940f4f G10 records-end-with-their-record: an end writes each mover's and act's end after the head's, the ledger gives its own ended-days, record-retention goes
The ledger records asks max-mib 3072 and its own configuration max-age-days 90 and ended-days 30; record,
mover and act name ends-with ended, mover and act gain the field ended and the operation end. A record's
end writes the head's end first, then each mover's and act's with the head's ended; a reopening empties
theirs first, then the head's; a late running moves every one's end alike. The setting record-retention
leaves the manifest, its settings file and its code; the words of room name ended-days.

Builds: design 47 H2 H-A-634 (2), H-A-688, H-A-691, H-A-721
2026-11-25 17:17:34 +01:00
jschoubben 8baa3f5ada mesh-provisioner: a read of a followed state before its copy is read is the fault away
H-A-717's answer to DQ-55: the holder's handlers ask WatchedStates.Unread before they read the
states it follows from its start; its own states, followed on first read, still wait.

Builds: design 47 H2 H-A-708 (2), H-A-717 (DQ-55)
2026-11-25 17:16:13 +01:00
jschoubben 3b7d5c8328 mesh-vault: a read of the assignments before their first view is answered is the fault away
H-A-717's answer to DQ-55: mesh-vault's word is answered as away, the view's owner verb named.

Builds: design 47 H2 H-A-708 (2), H-A-717 (DQ-55)
2026-11-25 17:15:24 +01:00
jschoubben c6f478aee9 G4 late-running: a late running moves a record's end only from a machine present at it, a record says its end count, a mover-added is counted and a higher pipeline end reopens the record
On fa345c83's RanAfterEnd: a running from a machine away at the end, or a repeated one, moves nothing;
a first running from a present machine moves ended and delivery-time and says record-ended again with ends
one higher (an id of its own). The record head gains ends and pipeline-ends (the end operation's fields);
a pipeline-ended of a count above 1 and higher than pipeline-ends reopens the record; the gate consumes
mover-added and counts the mover in the record its pipeline key names.

Builds: design 47 H2 H-A-585, H-A-597, H-A-609 (2), H-A-617, H-A-645, H-A-648, H-A-728
2026-11-25 17:15:18 +01:00
jschoubben 8f8d749bb8 mesh-build-go: the state steps asks 64 MiB
G17 steps-at-64: ADR 0690's state entries stay at 64 MiB.

Builds: design 47 H2 H-A-678, H-A-694
2026-11-25 17:13:38 +01:00
jschoubben 2799ba177c 466-c review: restore only what a version made by propose dropped; the answer counts the versions written
Builds: design 55 §1.1, §10; lead answers L-466-4, L-466-5 (issue 466 note 18), note 20 items (a), (b); 466/AC5, AC7
2026-11-25 17:13:15 +01:00
jschoubben c7681636a8 mesh-config: a read before its first view is answered is the fault away, naming the view
G21 config-first-view-away: views.Follower.Unread for the owners' views, WatchedStates.Unread
for the module's own states, whose watches start with the module.

Builds: design 47 H2 H-A-708 (2), H-A-717 (DQ-55 in part: mesh-config)
2026-11-25 17:12:31 +01:00
jschoubben 9c8ce82151 mesh-issues: the runner's show is read to its last page before a pipeline row is written
G20 issues-read-show-pages.

Builds: design 47 H2 H-A-709 (2)
2026-11-25 17:11:26 +01:00
jschoubben 2bf3426efb mesh-delivery-gate: apply a running heard after its record ended to that record, so its delivery time is kept
The gate hears the assigner's pipeline-wanted and the node-engine seat's running on consumers no ordering
joins, so a record can end before the last running of its movers is applied, and that delivery's time was
lost: an ended record took no running (H-A-585, issue 721 note 11).

- StepConsumer.apply applies a running that names a mover of an ended record to it (the mover marked running
  on that machine), and Records.RanAfterEnd writes ended and, for a record that ended with every mover
  running, delivery-time again from it when it is later than the end, keeping the class the movers' entries
  kept when they opened. record-ended is not said again; one journal line names the record, the module, the
  machine and both times. A running offered again after that write was refused writes it then.
- TestWhatIsHeardWhileAnEventIsWrittenWaitsUntilItIsApplied gains the row "pipeline-wanted before the
  running", its end's write refused once; TestAGateWhole's record of 126 movers, ended with none running,
  takes a running after its end with its delivery time and the journal line. Both fail without the change.

Fixes: issue 721 note 11
Builds: design 47 H2 H-A-585, §810, H-A-394 (3); G §144
2026-11-25 17:10:35 +01:00
jschoubben 5a82d93ccb gitea: a start ends the token files an earlier build kept, revoked at the forge, never read
G2 token-stand-in-goes (TypeScript half): at each start while a token file remains and once
this start's token is held, the forge's token lists are read before any token is deleted, a pair
is matched by the token's last eight characters and its scopes, revoked by its id and deleted;
a .tmp goes with its pair, a cut one unrevoked; a pair that stays is the finding
token-file-unrevoked. findingKey and findingValue move to findings.ts.

Builds: design 47 H2 H-A-575, H-A-602, H-A-642, H-A-699
2026-11-25 17:10:33 +01:00
jschoubben ef7d3f69d2 466-b review: the insight-links case fails with either check disabled
Builds: design 55 §4, §5; lead answer L-466-3 (issue 466 note 18); 466/AC4
2026-11-25 17:10:31 +01:00