Design 47 H2: seat packages read tolerantly, composition-diff, the have's run and the declaration Version #19

Merged
mesh-tools merged 8 commits from feat/47-H2 into main 2026-11-22 04:56:12 +00:00
8 Commits
Author SHA1 Message Date
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 28cb4d5441 H2 own-put: the vault seat takes a module's own secret in two sealed steps
The vault served no write of a module's own secret, so the forge module could
not keep its token there. own-put, modelled on licence-put: the first step names
the secret and answers a call and a key; the second sends the call and the
value sealed to that key, kept as the calling module's own (named by the
caller's account, never an argument), newest generation only. get answers it
to a process of the same module, sealed to that process's key.
Packages generated again by seatgen (seatgen -check clean).

Builds: design 47 H2 §822, §808; H-A-345; H-A-349 DQ-7
2026-11-21 23:06:03 +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