Commit Graph
102 Commits
Author SHA1 Message Date
jschoubben 21b0b2430e Read assignments: skip a key that does not read, say it once, answer the rest
One versionless module key of a retired module refused every reader of the
assigner's whole assignments state (mesh-config's set among them). The read of
another owner's state now skips such a key, says key and reason once through
the process's standard log, and answers the rest; a node whose keys disagree
is still an error.

Builds: design 47 H2 H-A-509 (and its addendum (a))
2026-11-23 00:19:12 +01:00
jschoubben ba5a253888 H2 K: the have's pipeline is compared only when the want's branch is the same
A pipeline's key is <branch>.<source>, so the engine compares a want's run
with the have's when the want's branch, the key without its last part, is
the have's; the description said "the same" pipeline. Description only, no
form change. Generated with mesh-delivery's seatgen (built from b65b6173's
source); seatgen -check clean in all five folders.

Review round 2, finding: the whole pipeline key compared instead of its branch.

Builds: design 47 H2 §813 (1); H-A-429 (1), H-A-458 (1)
2026-11-22 03:13:15 +01:00
jschoubben 8f2bed18e5 H2 K: the have keeps its run's pipeline; the composition answer says drift
A want's run is ordered only within its pipeline, so the have, the record of
what the engine applied, keeps the pipeline of the want it was applied from
beside its run; and the composition answer's drift, the directory entries
the mesh made whose owner or mode on disk differ, is the contract's own
rather than the engine's private shape. Both land in one release, so the
seat's form rises once, to 4. Generated with mesh-delivery's seatgen (built
from b65b6173's source); seatgen -check clean in all five folders. Fixture
rows: a have naming its run and pipeline, and a composition answer with drift.

Builds: design 47 H2 §813 (1); H-A-429 (1), H-A-392 (b), H-A-458 (1), H-A-458 (2), H-A-458 addendum
2026-11-22 02:55:51 +01:00
jschoubben 2dfdcc3316 H2: every seat contract says each verb's description
A tools program that serves a seat's verbs as tools reads a verb's
description from the generated contract, one copy taken from seat.json,
instead of writing it again. Generated again in all five folders by
mesh-delivery's seatgen (feat/47-H2 b65b6173), which now writes
VerbDescription; seatgen -check clean, every package's vet and tests green.

Builds: design 47 H2 H-A-449
2026-11-22 02:36:36 +01:00
jschoubben e6ed560e48 H2 K: the node record states the declaration Version its engine reads
The composer writes a node's declaration at the lower of its own Version and
the one the node's engine reads, so an older engine never meets a Version it
refuses; the node record gains declaration-reads, and the seat's form rises
to 3. Generated with mesh-delivery's seatgen (feat/47-H2 1f5b0f81); seatgen
-check clean.

Builds: design 47 H2 §813 (12); H-A-416 (2), H-A-419
2026-11-22 01:14:49 +01:00
jschoubben f070c8defa H2 K: the node-engine's have carries the run a module was applied from
The engine kept the composition run each module was applied from in its
memory only, so a restarted engine applied an older run's want again. The
have value, the record of what the engine applied, gains run, and the
seat's form rises to 2. Packages generated again by mesh-delivery's seatgen
(feat/47-H2 1f5b0f81, whose fields digest is per type: the other four
packages' digest lines follow); seatgen -check clean.

Builds: design 47 H2 §813 (1); H-A-352 (2), H-A-384 (2), H-A-388 (1)
2026-11-22 00:15:31 +01:00
jschoubben 2172a8732d H2 K1: every seat package read tolerantly, saying its form
A reader of another part's value refused a field it did not know, so a holder
that added one broke every reader until each was rebuilt. Every package is
generated again by mesh-delivery's seatgen (feat/47-H2 ff7db337): each
generated decoder keeps unknown fields, returns the form read (1 when absent)
and each package states its Form (1 everywhere, left out on the wire). The
hand-written clients take the three values, and the node-engine client's
ask, answer, composition and have decoders keep unknown fields too; their tests
now hold that tolerance. seatgen -check clean in all five folders.

Builds: design 47 H2 §780; H-A-350 DMC-4
2026-11-21 23:15:25 +01:00
jschoubben 3fbe33612f H2 composition-diff: the node-engine seat's read verb composition-diff
The node-engine serves seat verbs and has no tools bundle, so the composed
values read by resource are a read verb beside composition: given a module and
a revision or digest, the entries that differ between the running composition
and the other, per resource, environment entries by name, a secret masked.
Packages generated again by seatgen (seatgen -check clean).

Builds: design 47 H2 §813 (3); H-A-349 DQ-12b
2026-11-21 23:04:35 +01:00
jschoubben 7afd93ddc2 The node-engine seat's converged answers the node's links
The holder of node-packet-filter must tell an outward link from the tunnel
without reading the loaded table's shape, so converged answers the links as
the engine classifies them for its filter render: tunnel, the private
network's interface, and outward, the outward links. Packages generated
again by seatgen (seatgen -check clean).

Builds: design 33 control-verbs §10; design 08 control-verbs §2; design 47 H H-A-325
2026-11-21 21:15:35 +01:00
jschoubben efcef83cf4 The node-engine seat's read verb converged (ADR 0683, design 33 control-verbs §10)
The holder of node-packet-filter refuses allow and disallow on an adopted node
and never assumes converged, so it asks the node-engine the node's convergence
state: adopted or converged, since when, and the found firewall's kind when
adopted. The composition answer gains withheld-parts, each part a compose kept
because its read did not answer, with why: the filter's node-packet-filter.allowed.
Packages generated again by seatgen (seatgen -check clean).

Builds: design 33 control-verbs §10; design 08 control-verbs §4; ADR 0683; H-A-316, H-A-321
2026-11-21 21:02:53 +01:00
jschoubben dca9ce0245 contracts-wait-step-placing: the seat node-engine's Wait.step names placing
Builds: design 47 H §771, H-A-67
2026-11-20 02:36:04 +01:00
jschoubben 1c910e9d10 contracts-node-engine-apply-order-and-word: the verb apply-order and the constant want:version on the seat node-engine
Generated with seatgen whose identifier function splits on ':' (H-A-64, the contracts-indexer-bridge developer's change in mesh-delivery-sdk/seatgen); seatgen -check passes only with it.

Builds: design 47 H §771, §772, H-A-45, H-A-46, H-A-63, H-A-64
2026-11-20 02:31:20 +01:00
jschoubben 226a097811 contracts-placement-build: the verb placement shows each row's build beside its branch
Builds: design 47 H §750, H-A-39
2026-11-20 02:29:04 +01:00
jschoubben b96e709d7c mesh-config seat: drop the state kept and the meshconfigclient (issue 1982; ADR 0681 §1, §6)
The mesh knows no pull request (design 47 G, G-1 §38-39), so mesh-config keeps no value held for one. The seat definition
loses the state kept, its fixtures and generated Go and TypeScript (seatgen), and the generated client package, which held
only the held values' key and decoder, goes with its artifact in module.json.

Builds: ADR 0681 §1 (nothing mesh-config records is a held value), §6 (no check reads a held value, so the seat keeps none and its generated client goes).

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
2026-11-19 22:50:57 +01:00
jschoubben 36e78f5ff0 nodeengineclient: a composition names the digests of the templates archives it was rendered from (A-481, A-481a)
Builds: design 47 G A-481, A-481a
2026-11-17 23:42:11 +01:00
jschoubben 0806ca5d05 node-engine seat: compose-candidate is a verb marked chunks; its ask carries a call token and its answer names the chunks (A-237b)
Builds: design 47 G (G-22 lead answers 2) A-237b; A-237, A-249
2026-11-16 14:36:46 +01:00
jschoubben 2db6e5df49 node-engine client: compose-candidate takes three key forms, built by the client and read by one parser (A-226b)
Builds: design 47 G (G-22 lead answers 2) A-226b; ADR 0593 §7
2026-11-16 13:57:04 +01:00
jschoubben 5e95cbed59 A-316: the assigner's candidate gains added, the version and parts the want it would write carries
The state candidates' value (CandidatesByProposalNodeValue) gains `added`, by module name, each an AddedModule
with `version` and `parts` in the want's own forms. It is a copy of the two properties of the seat mesh-wants'
state wants, because the seat-definition format cannot reuse another repository's seat's forms (includes take only
parts/ of the same repository, and a part holds no state value); a fixture holds both to the want's wire.
Regenerated with seatgen. The node names the first round-2 pass left in fixtures lines equal to base lines are
role names now, the generated tests with them.

Builds: design 47 G A-316 (corrected, hq #594), §626
Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 22:48:01 +01:00
jschoubben 821d611530 Round 2 T1, T2, T5: the contracts end G with no more tests than at their merge base; fixtures name roles
The test that read every fixture for the operator's account and a node goes (T1); the tests G added
fold into existing ones as subtests, so each module counts its merge base (design 47 G §626, A-306);
node names in the lines G adds are role names (T5).

Builds: design 47 G §626, A-306; review round 2 findings T1, T2, T5
Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 22:18:04 +01:00
jschoubben 181dd3263d G A-230: the seat mesh-recovery's restore point says names, the bus names it took
Point gains names, one per bus object as Aside's (required, at least one), regenerated with seatgen; the kept-points
fixture names its point's bus name, so the fixture test fails without the field.

Builds: design 47 G A-230, §554, §565

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 11:35:10 +01:00
jschoubben 622adcc26c Join 11: merge main (mesh-contracts #8, the engine reads' heard event) 2026-11-12 11:29:23 +01:00
jschoubben 04c6a1eead enginereads: the event heard is kept in the node's statement (issue 1975 note 6)
mesh/delivery merged: source.main moved to novox/mesh-contracts@0e12819cc727
mesh/delivery-group group fix/engine-reads-and-compositions merged: every member is merged
mesh/check checking 04c6a1eead98 on 0e12819cc727 | novox/mesh-contracts#8 in group fix/engine-reads-and-compositions
Builds: issue 1975 note 6 (the lead's review round 1; no design line). The engine 'not yet' half is dropped there.

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 11:00:33 +01:00
jschoubben e575659187 enginereads: a statement older than an event heard does not stand (issue 1975)
Builds: issue 1975 note 4 (the lead's handover; no design line)
2026-11-12 10:46:28 +01:00
jschoubben 62e31e2451 Merge branch 'feat/47-G-fix11-b4b' into feat/47-G-join11 2026-11-12 10:25:41 +01:00
jschoubben dbb197b0c7 AM-H1 contract: the node-engine's composition answer names the withheld subjects
A session reads in one composition why a marked tool is not served on a node,
or that the grants part did not answer.

Builds: design 46 7 §6 (the node-engine's composition of the module names the withheld subjects; "withheld unknown: the grants part does not answer"), lead answer A-239 (withheld, withheld-unknown)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 06:26:10 +01:00
jschoubben ff63be3028 AM-D3/AM-H1 path: the node's record carries the runner's reading; mesh-grants gains withheld
The grants part must tell a reading of the running tool runner from an older
one, and the node-engine's composition reads the withheld subjects through a
verb of the seat, never the grants part's state.

Builds: design 46 7 §6 (the node's record takes the runner's capabilities and fingerprint; the seat mesh-grants' verb withheld, class read, callers the node-engine, persons and the operator, input node, with a fixture), lead answer A-203 (runner-capabilities, runner-fingerprint; withheld's input and answer)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 06:04:56 +01:00
jschoubben 6be23459ab A7: the contracts' fixtures and the tests generated from them name no operator account and no workstation (role names)
Builds: the lead's handover item A7 (fixtures name no operator account or node); no design line names it
Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 04:59:34 +01:00
jschoubben 630de8babc G A-129: the seat mesh-recovery's kept-points answers unrestored
The asides whose record ended at removed with no running act holding them, which the recovery
module's health check fails on, are listed in the answer the tool and the check read.

Builds: design 47 G A-129, §554, §657

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 01:29:07 +01:00
jschoubben e3520750d5 G A-124: the seat mesh-recovery's aside says names, a list of the bus names it was live under
Builds: design 47 G A-124, §516, §560

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 01:17:22 +01:00
jschoubben b58c4e6b14 G A-117: the seat mesh-recovery's ended and restored events gain why, the hand act's words for a cancel
Builds: design 47 G A-117, §560
Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-12 01:06:05 +01:00
jschoubben 30389b2ed9 Merge branch 'feat/47-G-recover-host-contracts' into feat/47-G-join8 2026-11-12 00:11:50 +01:00
jschoubben 97b5f9684e Merge branch 'feat/47-G-placement6' into feat/47-G-join8 2026-11-12 00:11:50 +01:00
jschoubben 2ae0c67930 G A-92: the node-engine's seat definition gains the state bounds, key <what>.<id>, in its old section
Builds: design 47 G §560, §557, §627, A-77, A-92

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-11 23:44:36 +01:00
jschoubben b0be30c267 Contract: the seat mesh-module-assigner gains the read verb placement
Builds: design 47 G A-62 (§704, §402)

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
2026-11-11 22:58:13 +01:00
jschoubben cf5590c759 bus5 K27 (§681): mesh-broker's snapshot-get, snapshot-restore, snapshot-restore-cancel, snapshot-remove and snapshot-restored; the format's verb word chunks
Builds: design 47 G §681, §691, A-44
2026-11-11 22:37:57 +01:00
jschoubben 78e61c9437 K25 (D-33): the node-engine's first-views answers entries and wants, and the seat gains entry-again
Builds: design 47 G §698 (§683, §422)

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 21:36:34 +01:00
jschoubben b76e52d30a K24 (mesh-recovery's hand verbs): take, restore, retry, aside, discard-aside and expire-points, asker and why on every hand verb, one answer form with cancel
Builds: design 47 G §682, §691 (§516, §554, §566, §656, §681)

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 20:45:56 +01:00
jschoubben 74b6162807 K21a (regenerate, in between): the generated Go and TypeScript follow the definitions so far
The conditions developer reads kinds, attempt-changed, wait-held and wait-ended from it. K21 regenerates last. The client
meshconditionsclient does not build against the findings state's new layout until the question on it is answered.

Builds: design 47 G §341, §523, §580, §541, §499

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 20:31:55 +01:00
jschoubben a7ab33028f Merge origin/main (#5): mesh-broker's Binding is the wire form; restore-kept and snapshot-kept taken out, the binding names its objects
The conflicts in mesh-broker's seat.json and fixtures took origin/main's Binding (list, show and orphans answer each
binding) and the objects field of C8; C8's snapshot-kept, restore-kept, KeptPoint and Aside are not carried over as G
section 555 moves them to the seat mesh-recovery, which mesh-broker does not gain. The generated Go and TypeScript of
mesh-broker are written again by seatgen.

Builds: design 47 G §399, §513, §555

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 14:40:11 +01:00
jschoubben 0167b24b95 mesh-broker's fixtures take a keeper ledger plan's binding with a type and an index, so types survive the round trip
mesh/delivery-group group fix/1966-bindings-first-view merged: every member is merged
mesh/delivery merged: source.main moved to novox/mesh-contracts@5fd0bf86f120
mesh/check checking 0167b24b9564 on 5fd0bf86f120 | novox/mesh-contracts#5 in group fix/1966-bindings-first-view
Builds: design 25 bindings-first-view §2

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 10:54:37 +01:00
jschoubben e529c372d0 C14: the generated Go and TypeScript of every seat follow the definitions
Written by seatgen at c62650e4 (GEN3) with mesh-sdk b19fc7fa (reader release): the seat mesh-grants new,
every TypeScript contract as index.js with index.d.ts, events with subject and stream. mesh-watchdogs gains
its family, which a definition with events needs. Written with the reader as it is: the field needs-approval
(node-login-shell) and the section bodies (mesh-conditions) are unknown to it, so they were laid aside for
the run; nothing generated carries either.

Builds: design 47 G §339, §341, §261, §389

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 10:45:30 +01:00
jschoubben ed12ffb387 mesh-broker's Binding is the wire form and Held carries it, so list, show and orphans answer the binding
The seat's Binding takes the fields the events carry and the membership holds
(local, storage, template, stream, subject, bucket, object-store, history,
state, indexes, snapshot, types): one form in the events, in list, show and
orphans. Held gains binding, present on an entry the bus holds. Definition,
fixture and generated Go and TypeScript contract.

Builds: design 25 bindings-first-view §2, §7 (hq d0760629, PR 543)

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 10:14:55 +01:00
jschoubben c9ffed7042 S1-S3: the node-engine seat's client asks a node once more when an ask came while one ran, and shows when the event was heard (issue 1966 note 170)
mesh/delivery merged: source.main moved to novox/mesh-contracts@f5d76e84ca71
mesh/delivery-group group fix/1966-engine-reads-asked-again merged: every member is merged
mesh/check checking c9ffed70421a on f5d76e84ca71 | novox/mesh-contracts#4 in group fix/1966-engine-reads-asked-again
An event of manifest-reads-changed heard while an ask of the same node ran was dropped
without a line, so a restated engine could stay read at its first statement (ace,
2026-11-10 07:36). Every reader goes through Keeper.AskNode, so the assigner, the
builder and the indexer are fixed at once (ADR 0668 §4: the caller hears it and calls
again; ADR 0634 §1: the seat's client).

- AskNode: an ask while one runs is asked once more after it, one follow-up however
  many came, said in one line (1966/AC170-1, AC170-3). The asks of one node so run one
  after another, and take keeps the last answer, as before (no rule on the engine's
  clock: review round 1).
- Statement.EventAt (event-at): when the node's event was last heard, read by the
  parts' engine-reads tools; forgotten with the node's key.

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-10 11:42:05 +01:00
jschoubben bb16f99e2d C7: the node-engine seat's client keeps the wait of every caller's kept manifest-reads calls, ReadsCalls beside Keeper.Unanswered, its bound's end asking once whether the machine is heard (issue 1966, ADR 0668 §3, ADR 0634 §1, ADR 0596 §2; review round 3, findings 1 and 2)
mesh/delivery merged: source.main moved to novox/mesh-contracts@7fbfd77a76cb
mesh/delivery-group group fix/1966-call-made-once merged: every member is merged
mesh/check checking bb16f99e2d5e on 7fbfd77a76cb | novox/mesh-contracts#3 in group fix/1966-call-made-once
The assigner, the builder and the indexer share it instead of two copies; it names no other seat's client (the client check), so each caller writes its finding in mesh-conditions' layout through Raise, stamped with ReadsCalls' clock.

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-10 04:54:06 +01:00
jschoubben c6689bfdb3 C4: a statement keeps since when its engine is unanswered, and the keeper names each node unanswered past a bound while heard (issue 1966, ADR 0668 §3; review round 1, finding 4)
Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-10 04:15:01 +01:00
jschoubben c584f4570b C3: the engine-reads keeper keeps the fallback or the last statement at the first fault while the kept call asks on (issue 1966, ADR 0668 §3; review round 1, finding 1)
A part whose node answers nothing waited out busretry.Bound (30 s) before it acted on the node's record: Once asks the verb once, and its fault is taken at once.

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-10 04:11:07 +01:00
jschoubben 5c29bea0b3 C1: the engine-reads keeper calls every node again at its part's consumer bind (issue 1966, ADR 0668)
A manifest-reads-changed said before the part's consumer existed was never heard (note 155), and the
statement taken while an engine restarted stood. AtBind is registered on the hub's OnBound.

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-10 02:54:44 +01:00
jschoubben b77560786a Complete go.mod and go.sum for the externals each module builds with
mesh/delivery merged: source.main moved to novox/mesh-contracts@08580d25d2dc
mesh/delivery-group group feat/registry-milestone merged: every member is merged
mesh/check checking b77560786a6a on 08580d25d2dc | novox/mesh-contracts#1 in group feat/registry-milestone
A check's tests run without network, so each module must carry every external module it builds with.

Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
2026-11-06 00:51:22 +01:00
jschoubben 76de6889fc The assigner's seat says assignments throughout: the type, the events and the defs; the legacy key form placement.<node> leaves the client (issue 1966)
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
2026-11-05 21:57:16 +01:00
jschoubben fdcec5d384 The Placement domain goes: the module assigner and the four node seats move to the Core place, the assigner's state and verb placement become assignments, mesh-wants goes to mesh-delivery (issue 1966)
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
2026-11-05 21:39:56 +01:00