ADR 0196: every tool announces itself on the bus in the NATS services protocol

This commit is contained in:
jochen
2026-10-03 22:03:34 +02:00
parent 50ddaf8408
commit 1b34821aa0
4 changed files with 97 additions and 0 deletions
+6
View File
@@ -4,6 +4,7 @@ status: designed
code: [mesh-catalog, mesh-tools, mesh-controller]
updated: 2026-10-03
decisions:
- 02-DECISIONS/0196-every-tool-announces-itself-on-the-bus-in-the-nats-services-protocol.md
- 02-DECISIONS/0195-the-meshs-tools-are-found-by-address-not-announced-whole.md
- 02-DECISIONS/0160-the-mesh-issues-an-assignments-subjects-and-a-runtime-serves-what-it-is-issued.md
- 02-DECISIONS/0159-a-tool-call-names-the-machine-and-a-holder-serves-its-seats-verbs.md
@@ -106,6 +107,11 @@ interchangeable is called with its machine or refused with the machines it runs
verb asks the mesh when it is called, so nothing is kept for a session's length; the flat catalogue
stays reachable through the `mesh` client and a setting, unannounced.
**What exists is what announced itself** ([ADR 0196](../../02-DECISIONS/0196-every-tool-announces-itself-on-the-bus-in-the-nats-services-protocol.md)):
every runtime answers the NATS services protocol's `$SRV.INFO` with what it serves, and the console
gathers one request's answers; the controller's records, read as JSON, say which assignments with
tools should have answered.
*Found 2026-10-03, measuring for that record:* §3's statement that a stateful module on two machines is
listed once per machine does not hold on the live console — postgres and mssql are listed once, `node`
optional, answered by whichever instance replies. The address replaces that statement rather than