From 82d7306ee01fcc55db97e85a86bc6fad7f2644c6 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 2 Oct 2026 21:29:04 +0200 Subject: [PATCH] Cite ADR 0188, not 0187: the record was renumbered before it merged (0187 is the dead-tracker record) --- README.md | 2 +- src/launch.ts | 2 +- src/runtime.ts | 2 +- test/fixtures/many-delta.py | 2 +- test/fixtures/many-epsilon.mjs | 2 +- test/node-runtime.test.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f82b448..28c4f3f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ this runtime is what loads them and puts them on the mesh. It: 4. serves every module's tools on that module's subjects and every held seat's verbs on the seat's. A bundle that is not plain JavaScript — a Go or Rust binary, a Python script, or a JavaScript file -marked executable — is **launched** rather than imported (novox/hq ADR 0187): the runtime starts it +marked executable — is **launched** rather than imported (novox/hq ADR 0188): the runtime starts it as a child with its own environment and speaks MCP over stdio to it, `tools/list` once and `tools/call` per call. A tool it lists as `.` is the seat's implementation. A child that exits is named in the log and started again on its next call. So a tools bundle may be written in diff --git a/src/launch.ts b/src/launch.ts index 83180c8..585f4d0 100644 --- a/src/launch.ts +++ b/src/launch.ts @@ -1,4 +1,4 @@ -// A tools bundle as a process the runtime launches (novox/hq ADR 0187). +// A tools bundle as a process the runtime launches (novox/hq ADR 0188). // // The runtime does not run a tool's code itself when the bundle is not JavaScript: it starts the // bundle's executable as a child with the runtime's environment and speaks MCP over stdio to it — diff --git a/src/runtime.ts b/src/runtime.ts index 4f0ce91..2b6329f 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -108,7 +108,7 @@ export async function runTools(opts: RuntimeOptions): Promise<() => void> { // the registrations it adds are the ones that appear after it, which is how each is attributed // to the module whose bundle made it. // A bundle that is not plain JavaScript — or is marked executable — is launched as a process - // and spoken to over MCP on stdio instead (ADR 0187); what it lists is registered the same way. + // and spoken to over MCP on stdio instead (ADR 0188); what it lists is registered the same way. const failed = new Map(); const owner: string[] = []; // registration index → the module whose bundle registered it const launched: { module: string; owner: string; tools: ToolDefinition[] }[] = []; diff --git a/test/fixtures/many-delta.py b/test/fixtures/many-delta.py index 4ab229a..0627196 100755 --- a/test/fixtures/many-delta.py +++ b/test/fixtures/many-delta.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# A tools bundle in a second language (novox/hq ADR 0187): MCP over stdio, no SDK, no dependencies. +# A tools bundle in a second language (novox/hq ADR 0188): MCP over stdio, no SDK, no dependencies. # One tool of its own, one seat verb, and one that exits the process mid-call. import json, sys diff --git a/test/fixtures/many-epsilon.mjs b/test/fixtures/many-epsilon.mjs index be23f22..6cda2f7 100755 --- a/test/fixtures/many-epsilon.mjs +++ b/test/fixtures/many-epsilon.mjs @@ -1,6 +1,6 @@ #!/usr/bin/env node // A TypeScript bundle written against the protocol and marked executable: served through the -// launcher like any other language, with the in-process shortcut off (novox/hq ADR 0187). +// launcher like any other language, with the in-process shortcut off (novox/hq ADR 0188). import { serveStdio } from "@novox/mesh-sdk/stdio"; await serveStdio("epsilon", [ diff --git a/test/node-runtime.test.ts b/test/node-runtime.test.ts index b9daecc..fd9a61e 100644 --- a/test/node-runtime.test.ts +++ b/test/node-runtime.test.ts @@ -100,7 +100,7 @@ test("the node's runtime serves five modules' bundles on one credential — two await mesh.issue(membershipOf("alpha", "anchor", { plain: true })); await mesh.issue(membershipOf("beta", "anchor", { seats: { "node-shelf": ["list", "clear"] } })); await mesh.issue(membershipOf("gamma", "anchor")); - // Two more, launched rather than loaded (ADR 0187): delta is Python and holds the node-lamp seat; + // Two more, launched rather than loaded (ADR 0188): delta is Python and holds the node-lamp seat; // epsilon is TypeScript written against the protocol and marked executable. await mesh.issue(membershipOf("delta", "anchor", { seats: { "node-lamp": ["on"] } })); await mesh.issue(membershipOf("epsilon", "anchor"));