A runtime compiled to a binary runs itself (hq ADR 0193) #240

Merged
mesh-admin merged 1 commits from feat/0193-a-runtime-compiled-to-a-binary into main 2026-10-03 19:24:24 +00:00
Contributor

Design 38 WP4d, for the Go node-tools. A compiled bundle records the binary it is (Bundle.Binary, derived by BinaryOf, which the builder now shares so the name it writes and the name the composer runs agree). When the node's runtime is such a bundle, its process runs ./<binary> (mesh-host #81 makes that the bundle's own file) instead of an interpreter plus one entrypoint. Interpreted runtimes are unchanged. Test: a Go runtime module composes run: [./node-tools] with its words and user; full suite passes beside the current catalogue. No effect until node-tools is built in Go.

Design 38 WP4d, for the Go node-tools. A compiled bundle records the binary it is (`Bundle.Binary`, derived by `BinaryOf`, which the builder now shares so the name it writes and the name the composer runs agree). When the node's runtime is such a bundle, its process runs `./<binary>` (mesh-host #81 makes that the bundle's own file) instead of an interpreter plus one entrypoint. Interpreted runtimes are unchanged. Test: a Go runtime module composes `run: [./node-tools]` with its words and user; full suite passes beside the current catalogue. No effect until node-tools is built in Go.
mesh-admin added 1 commit 2026-10-03 19:24:22 +00:00
A compiled bundle records the binary it is (BinaryOf, shared by the builder and the composer), and
the node's runtime, when it is one, is run as ./<binary> from its own unpacked bundle rather than by
an interpreter and an entrypoint.
mesh-admin merged commit 2ebbb79937 into main 2026-10-03 19:24:24 +00:00
mesh-admin deleted branch feat/0193-a-runtime-compiled-to-a-binary 2026-10-03 19:24:25 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-controller#240