Commit Graph
3454 Commits
Author SHA1 Message Date
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
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
jschoubben 436e65f0c4 G5 consumer-narrow: the tool nats_consumer_narrow removes some filters of a live consumer, keeping its position
It judges the durable's module by name as nats_consumer_remove does, reads the module's trunk fingerprint from
the seat mesh-catalog's modules and its entry's consumes, refuses a subject the entry consumes, every filter
and a subject not filtered, and records a hand act before the consumer's create-or-update call.

Builds: design 47 H2 H-A-600, H-A-615, H-A-621, H-A-657
2026-11-25 17:10:12 +01:00
jschoubben a569c80e98 466-a review: accept takes the served fields; AC1 and AC3 over every store; the rule counts named
Builds: design 55 §2, §2.2, §7; lead answers L-466-1, L-466-2 (issue 466 note 18), note 20 items (c), (d); 466/AC1, AC3
2026-11-25 17:09:24 +01:00
jschoubben c1abd7e210 gitea: the Go bundles read a token from the vault alone, no token file stands in
G2 token-stand-in-goes (Go half): TokenFile, fromFile, DefaultStateDir, SourceFile, the
line at start naming the source and the two env lines go.

Builds: design 47 H2 H-A-575, H-A-602, H-A-642
2026-11-25 17:07:30 +01:00
jschoubben af36f1a617 G14 ledger-lifetimes-planned: a ledger giving ended-days is planned with lifetimes, its snapshot store refuses when full, its binding says ended-days once the bus holds them
The bus module plans a ledger whose own configuration gives ended-days with a lifetime per key on its
state and index buckets and a lifetime per message on its snapshot store, reads a held stream's lifetime
back, plans every ledger's snapshot store to refuse when full, names ended-days in the binding only once
every object that asks a lifetime holds one, and says created again when the binding it would say differs
from the one it last said (Made.Said).

Builds: design 47 H2 H-A-634 (3), H-A-636, H-A-685 (1) (2), H-A-687 (1) (5)
2026-11-25 17:07:17 +01:00
jschoubben ce04011f96 gitea: a member whose base is no watched branch is merged plainly with the note, not refused
G1b unwatched-base-merged: judgeMember marks a member plain when its base is no
watched branch, whatever its repository; the note's words are the one constant
for both cases (DQ-49); the refusal row leaves the table and a row is added.

Builds: design 47 H2 H-A-704, H-A-717 (DQ-49)
2026-11-25 17:05:52 +01:00
jschoubben f282a74e59 gitea: the patch spool is read by the module's own account
Review round 1: since gitea runs as its own account, the tools no longer run as
the machine's account that owns the forge-patches directory; they read and
remove the named file as any other account may.

Builds: design 47 H2 H-A-543
2026-11-25 17:02:17 +01:00
jschoubben 1d9e8d6824 gitea runs as its own account, so the vault gives it its own secret
gitea asks the vault for module/gitea/* from inside the machine's tool runner,
whose calls are named <machine>.node-tools, and the vault refuses that account:
every gitea tool and the seat git's merge-pull failed. Its manifest now declares
runs-as gitea, the user resource gitea (in the group docker, which the seat
git's note verb needs for docker exec into the forge's container),
secrets-owner gitea and the own secret broker, so the node-engine composes a
runtime of its own for it on the account <machine>.gitea.

Builds: design 47 H2 H-A-543, H-A-545 (1)
2026-11-25 17:02:17 +01:00