Design 47 H1: the node-engine composes its wants from the bus (want fields, version, apply-order) #239

Merged
mesh-tools merged 9 commits from feat/47-H1-node-engine into main 2026-11-20 07:15:11 +00:00
Member

Design 47 milestone H1, "the one chain": the merge call is the delivery's start (ADR 0682), the take-in is a commit with fingerprints and a revision, validate is a pipeline step on the seat mesh-wants, one take-in one pipeline, wants by the newest passed release written tier by tier, every account may call every verb, every delivery part wakes on its inputs alone. Design: hq 03-DESIGN/01-to-be/47-milestones/H-1..H-3 (§734–§774) and H-lead-answers.md (H-A-1..H-A-128).

This repository: the node-engine composes its wants from the bus with the want's fields (H-A-37), its version (H-A-45) and the verb apply-order (H-A-46); it hears the catalog-revision events; the live grant must carry mesh.seat.mesh-catalog.event.catalog-revision.* (clean state).

Group: mesh-contracts feat/47-H1-seats, mesh-sdk feat/47-H1-seats, mesh-tools feat/47-H1-tool-runner, mesh-host feat/47-H1-node-engine, mesh-delivery feat/47-H1, mesh-catalog feat/47-H1-gate-forge; merge order as listed (plan section 5).

No check runs on this pull request: the checker retires with H1 and the pipeline is not live yet; the clean state's validate step is the one run (said to the operator 2026-11-20 02:55).

Reviewed-by: mesh-code-reviewer@shanks at 39e16689fa

https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy

Design 47 milestone H1, "the one chain": the merge call is the delivery's start (ADR 0682), the take-in is a commit with fingerprints and a revision, validate is a pipeline step on the seat mesh-wants, one take-in one pipeline, wants by the newest passed release written tier by tier, every account may call every verb, every delivery part wakes on its inputs alone. Design: hq 03-DESIGN/01-to-be/47-milestones/H-1..H-3 (§734–§774) and H-lead-answers.md (H-A-1..H-A-128). This repository: the node-engine composes its wants from the bus with the want's fields (H-A-37), its version (H-A-45) and the verb apply-order (H-A-46); it hears the catalog-revision events; the live grant must carry mesh.seat.mesh-catalog.event.catalog-revision.* (clean state). Group: mesh-contracts feat/47-H1-seats, mesh-sdk feat/47-H1-seats, mesh-tools feat/47-H1-tool-runner, mesh-host feat/47-H1-node-engine, mesh-delivery feat/47-H1, mesh-catalog feat/47-H1-gate-forge; merge order as listed (plan section 5). No check runs on this pull request: the checker retires with H1 and the pipeline is not live yet; the clean state's validate step is the one run (said to the operator 2026-11-20 02:55). Reviewed-by: mesh-code-reviewer@shanks at 39e16689fa64ac01db372ff1237112ab63da22a7 https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
mesh-tools added 9 commits 2026-11-20 05:42:24 +00:00
The node-engine no longer reads a want's parts: the parts check (G 524) and its hold
parts-differ are removed, the digests of a build are resolved through the registry
seats from the want's version, and a candidate's added module is resolved from its
version alone.

Builds: design 47 H §750, §764; H-A-37, H-A-38

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The record's capabilities no longer hold want-parts; manifest-reads holds the word
want:version, stated at the first reading and said by manifest-reads-changed.

Builds: design 47 H §772, §764; H-A-45

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
settle applies the changed wants in the order of design 47 H 771: the node's own composition,
a reverted module, the holder of node-backup and the bus module (by the claims of the manifests
the composer holds), each pipeline's wants by rank (older source first), the rest by name, the
engine's own module last. A want of a higher rank waits on this machine alone for the lower
ranks of its pipeline, held in its have as a wait of step placing and judged again at the next
settle. The want's pipeline and rank are the mesh-delivery contract's stand-in until its commit.

Builds: design 47 H §771; H-A-46, H-A-59, H-A-67, H-A-68

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
One row per unapplied changed want: module, pipeline, rank, position, why, waits.
Served beside process-builds and claimed in module.json.

Builds: design 47 H §771; H-A-46

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A want of rank 2 whose composition is made first is held in a wait of step placing on the
module of rank 1 of its pipeline; rank 1 is applied first, rank 2 after it, and the wait ends.

Builds: design 47 H §771, §774; H-A-59

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
Unit test functions: 1,719 before H1, 1,717 after (three fewer by the merges, one added for the
claims read); integration tests: 10 before, 11 after (budget 50). The module stays over the
unit budget of 500.

Builds: design 47 H §774

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
A want carries no composed digest, no keeping node and no newest build (design 47 H 750,
H-A-37): the agent takes the digest from the composition the node made for the want's
build, the shadow's resolution around a missing entry (A-405) and KeptBuildOf's keeping node
go, and the artifact is fetched from the store. Tests of the removed behaviour go.

Builds: design 47 H §750; H-A-37

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The seat mesh-catalog keeps no state verdicts (H-A-79): frombus taken, the composer's parse and the composer's
reading of a candidate drop the verdict branch and decode the manifest alone, a module in a catalog revision being
accepted by being there; the composer no longer reads the request field Case.Verdicts (H-A-112). Tests that held a
module by a verdict hold it by the decoder, or go.

Builds: design 47 H, H-A-79, H-A-111, H-A-112

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
The node-engine consumes the entries client's asking again (H-A-60, H-A-110): the setting entry-asks (default 5; module.json
config and file resource, read at the engine's start) goes to Entries.Asks; Entries.AskAgain is called at each link's start and
on each catalog-revision the composer hears (the shadow's cache too); the finding entry-unanswered joins the engine's finding
kinds, written with a journal line when an entry ends unanswered and cleared when it is answered or no longer wanted; the
shadow's wait and the have's hold end on it instead of waiting without bound.

Builds: design 47 H, H-A-60, H-A-110

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
mesh-tools merged commit 0b388fa675 into main 2026-11-20 07:15:11 +00:00
mesh-tools deleted branch feat/47-H1-node-engine 2026-11-20 07:15:12 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_1043_20d26fe4/4dc1f46ee753da93",
"sequence": 13520,
"bytes": 4242,
"of-bytes": 262144,
"record": {
"milestone": "main.1043",
"heads": {
"novox/mesh-host@239": "0b388fa675fe033e987faee474ea728d762e47d6"
},
"opened": "2026-11-20T07:15:28.740842788Z",
"form": 1,
"group": {
"group": "",
"members": [
"novox/mesh-host@239"
],
"pulls": [
{
"repository": "novox/mesh-host",
"number": 239,
"head": "0b388fa675fe033e987faee474ea728d762e47d6",
"state": "merged",
"commit": "0b388fa675fe033e987faee474ea728d762e47d6",
"base": "main"
}
]
},
"entries": {
"mesh-host|src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd|": {
"key": "mesh-host|src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd|",
"module": "mesh-host",
"fingerprint": "src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd"
}
},
"outcomes": {
"|||take-in": {
"key": "|||take-in",
"module": "",
"step": "take-in",
"outcome": "taken-in",
"at": "2026-11-20T07:15:28.739771247Z"
}
},
"acts": {
"note.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.a08b9be0": {
"id": "note.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.a08b9be0",
"act": "note",
"repository": "novox/mesh-host",
"number": 239,
"head": "0b388fa675fe033e987faee474ea728d762e47d6",
"outcome": "performed",
"at": "2026-11-20T07:15:32.680313236Z",
"owed": {
"act": "note",
"commit": "0b388fa675fe033e987faee474ea728d762e47d6",
"head": "0b388fa675fe033e987faee474ea728d762e47d6",
"id": "note.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.a08b9be0",
"line": "2026-11-20T07:15:32Z record record/main_1043_20d26fe4/4dc1f46ee753da93: take-in taken-in (the take-in step's event)",
"number": 239,
"repository": "novox/mesh-host",
"said": "2026-11-20T07:15:32.557780732Z"
}
},
"view.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.eaa60f43": {
"id": "view.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.eaa60f43",
"act": "view",
"repository": "novox/mesh-host",
"number": 239,
"head": "0b388fa675fe033e987faee474ea728d762e47d6",
"outcome": "performed",
"at": "2026-11-20T07:15:33.005044251Z",
"owed": {
"act": "view",
"head": "0b388fa675fe033e987faee474ea728d762e47d6",
"id": "view.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.eaa60f43",
"number": 239,
"repository": "novox/mesh-host",
"said": "2026-11-20T07:15:32.561269267Z",
"text": "{\n "records": [\n {\n "instance": "record/main_1043_20d26fe4/4dc1f46ee753da93",\n "sequence": 10323,\n "bytes": 823,\n "of-bytes": 262144,\n "waits": "its difference is not known yet",\n "record": {\n "milestone": "main.1043",\n "heads": {\n "novox/mesh-host@239": "0b388fa675fe033e987faee474ea728d762e47d6"\n },\n "opened": "2026-11-20T07:15:28.740842788Z",\n "form": 1,\n "group": {\n "group": "",\n "members": [\n "novox/mesh-host@239"\n ],\n "pulls": [\n {\n "repository": "novox/mesh-host",\n "number": 239,\n "head": "0b388fa675fe033e987faee474ea728d762e47d6",\n "state": "merged",\n "commit": "0b388fa675fe033e987faee474ea728d762e47d6",\n "base": "main"\n }\n ]\n },\n "entries": {\n "mesh-host|src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd|": {\n "key": "mesh-host|src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd|",\n "module": "mesh-host",\n "fingerprint": "src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd"\n }\n },\n "outcomes": {\n "|||take-in": {\n "key": "|||take-in",\n "module": "",\n "step": "take-in",\n "outcome": "taken-in",\n "at": "2026-11-20T07:15:28.739771247Z"\n }\n }\n }\n }\n ]\n}"
}
}
},
"ended": {
"at": "2026-11-20T09:20:15.218411666Z",
"why": "H1 clean state step 5.8 (plan section 5; the operator's yes to dropping old data): every open delivery record of the earlier model ends; the new programs take every head in at the seed",
"by": "shanks.node-tools"
}
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_1043_20d26fe4/4dc1f46ee753da93", "sequence": 13520, "bytes": 4242, "of-bytes": 262144, "record": { "milestone": "main.1043", "heads": { "novox/mesh-host@239": "0b388fa675fe033e987faee474ea728d762e47d6" }, "opened": "2026-11-20T07:15:28.740842788Z", "form": 1, "group": { "group": "", "members": [ "novox/mesh-host@239" ], "pulls": [ { "repository": "novox/mesh-host", "number": 239, "head": "0b388fa675fe033e987faee474ea728d762e47d6", "state": "merged", "commit": "0b388fa675fe033e987faee474ea728d762e47d6", "base": "main" } ] }, "entries": { "mesh-host|src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd|": { "key": "mesh-host|src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd|", "module": "mesh-host", "fingerprint": "src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd" } }, "outcomes": { "|||take-in": { "key": "|||take-in", "module": "", "step": "take-in", "outcome": "taken-in", "at": "2026-11-20T07:15:28.739771247Z" } }, "acts": { "note.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.a08b9be0": { "id": "note.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.a08b9be0", "act": "note", "repository": "novox/mesh-host", "number": 239, "head": "0b388fa675fe033e987faee474ea728d762e47d6", "outcome": "performed", "at": "2026-11-20T07:15:32.680313236Z", "owed": { "act": "note", "commit": "0b388fa675fe033e987faee474ea728d762e47d6", "head": "0b388fa675fe033e987faee474ea728d762e47d6", "id": "note.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.a08b9be0", "line": "2026-11-20T07:15:32Z record record/main_1043_20d26fe4/4dc1f46ee753da93: take-in taken-in (the take-in step's event)", "number": 239, "repository": "novox/mesh-host", "said": "2026-11-20T07:15:32.557780732Z" } }, "view.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.eaa60f43": { "id": "view.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.eaa60f43", "act": "view", "repository": "novox/mesh-host", "number": 239, "head": "0b388fa675fe033e987faee474ea728d762e47d6", "outcome": "performed", "at": "2026-11-20T07:15:33.005044251Z", "owed": { "act": "view", "head": "0b388fa675fe033e987faee474ea728d762e47d6", "id": "view.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795158932557721292.eaa60f43", "number": 239, "repository": "novox/mesh-host", "said": "2026-11-20T07:15:32.561269267Z", "text": "{\n \"records\": [\n {\n \"instance\": \"record/main_1043_20d26fe4/4dc1f46ee753da93\",\n \"sequence\": 10323,\n \"bytes\": 823,\n \"of-bytes\": 262144,\n \"waits\": \"its difference is not known yet\",\n \"record\": {\n \"milestone\": \"main.1043\",\n \"heads\": {\n \"novox/mesh-host@239\": \"0b388fa675fe033e987faee474ea728d762e47d6\"\n },\n \"opened\": \"2026-11-20T07:15:28.740842788Z\",\n \"form\": 1,\n \"group\": {\n \"group\": \"\",\n \"members\": [\n \"novox/mesh-host@239\"\n ],\n \"pulls\": [\n {\n \"repository\": \"novox/mesh-host\",\n \"number\": 239,\n \"head\": \"0b388fa675fe033e987faee474ea728d762e47d6\",\n \"state\": \"merged\",\n \"commit\": \"0b388fa675fe033e987faee474ea728d762e47d6\",\n \"base\": \"main\"\n }\n ]\n },\n \"entries\": {\n \"mesh-host|src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd|\": {\n \"key\": \"mesh-host|src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd|\",\n \"module\": \"mesh-host\",\n \"fingerprint\": \"src2:021bb6bf4a140f850381c369a6c2ce54311e72ca0a57f13825b7fffa376920bd\"\n }\n },\n \"outcomes\": {\n \"|||take-in\": {\n \"key\": \"|||take-in\",\n \"module\": \"\",\n \"step\": \"take-in\",\n \"outcome\": \"taken-in\",\n \"at\": \"2026-11-20T07:15:28.739771247Z\"\n }\n }\n }\n }\n ]\n}" } } }, "ended": { "at": "2026-11-20T09:20:15.218411666Z", "why": "H1 clean state step 5.8 (plan section 5; the operator's yes to dropping old data): every open delivery record of the earlier model ends; the new programs take every head in at the seed", "by": "shanks.node-tools" } } } ] } <!-- mesh-act:view.record/main_1043_20d26fe4/4dc1f46ee753da93.novox/mesh-host#239@1795166415221171101.196c9307 -->
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-host#239