ADR 0198: a module's long-running code is launched by the node's runtime and reaches the bus through it; research 022; design 38 WP4c plan
This commit is contained in:
@@ -14,6 +14,7 @@ decisions:
|
||||
- 02-DECISIONS/0188-a-modules-own-code-is-bundles-in-any-language-and-a-tools-bundle-speaks-mcp-to-the-runtime.md
|
||||
- 02-DECISIONS/0192-a-tools-bundle-declares-what-it-is-given-and-the-runtime-hands-it-to-that-bundle-alone.md
|
||||
- 02-DECISIONS/0193-every-bundle-the-runtime-serves-is-launched-and-the-runtime-knows-no-language.md
|
||||
- 02-DECISIONS/0198-a-modules-long-running-code-is-launched-by-the-node-runtime-and-reaches-the-bus-through-it.md
|
||||
---
|
||||
|
||||
# 38. Building the operator's machine
|
||||
@@ -297,6 +298,17 @@ consumes with, the words its code reads at import, the packages the image instal
|
||||
client), and the service it reaches by a container network name. That begins with a decision record,
|
||||
after which the twenty-three move and the registration gate refuses the container shape for all.
|
||||
|
||||
*Decided 2026-10-03, [ADR 0198](../../02-DECISIONS/0198-a-modules-long-running-code-is-launched-by-the-node-runtime-and-reaches-the-bus-through-it.md):*
|
||||
the node's runtime launches that code as it launches tools, and is its bus — `mesh/subscribe` and
|
||||
`mesh/ask` beside `mesh/publish` on the stdio channel, the module's own durable consumer bound by the
|
||||
runtime and acknowledged only after the child answered. **In order:** the runtime's subscription and
|
||||
its grants; the SDK's `on` and provisioner bound to the channel; then the modules in three waves — the
|
||||
provisioners and handlers whose backends are reached on loopback with a system package (postgres,
|
||||
redis, mosquitto, influxdb, keycloak, umami, cloudflare-dns, grafana, icecast, home-assistant, nodered,
|
||||
nextcloud, minio), the two whose clients exist on no system (mongodb, mssql: a driver in the bundle),
|
||||
and last the mesh's own (mesh-catalog, mesh-vault, records, gitea, mailu, audit-logger, lab, and the
|
||||
three mains).
|
||||
|
||||
## WP5 — The shell, on a server first
|
||||
|
||||
*mesh-catalog #224, already written. Half a day to assign and prove.*
|
||||
|
||||
Reference in New Issue
Block a user