Cite hq ADR 0170, not 0169: the firewall seat's record was renumbered after a collision on hq main

This commit is contained in:
2026-10-02 14:52:28 +02:00
parent 809f07d085
commit 020003ea3f
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ export async function toolsOn(bus: Broker): Promise<Listing> {
for (const s of roles.seats ?? []) {
// A node-scoped seat's tool is asked of one machine (design 33 §4): listed with its scope, so
// a caller names the machine and the call carries it — `seat:<seat>.<verb>@<node>`. Left out
// of the listing, the verb never resolved as a seat's and nothing served it (ADR 0169).
// of the listing, the verb never resolved as a seat's and nothing served it (ADR 0170).
for (const t of s.tools ?? []) {
tools.push({ module: s.seat, name: t.name, description: t.description, input: t.input, seat: true, scope: s.scope });
}
+1 -1
View File
@@ -143,7 +143,7 @@ export function mcpSurface(bus: Broker, who: string): Surface {
const roles = have && seatsIn(have);
const bare = given.split("@", 1)[0];
const isSeatVerb = roles ? toolKey(bare, roles).startsWith("seat:") : false;
// A node-scoped seat's verb is asked of one machine (design 33 §4, ADR 0169): `node`
// A node-scoped seat's verb is asked of one machine (design 33 §4, ADR 0170): `node`
// names it and travels in the subject, as for a module's tool.
const nodeScoped = isSeatVerb && (have?.tools.some((t) => t.seat && t.scope === "node" &&
`${t.module}.${t.name}` === bare) ?? false);