From debd703d4eeffb4ddcbfc4701bfd92e2ea3a57e5 Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 26 Sep 2026 23:33:34 +0200 Subject: [PATCH] The sdk names no transport Task 3.7 of novox/hq ADR 0116, and the whole of the sdk's diff for the bus change. Three comments said AMQP where they meant 'message headers' and 'a broker client'; the code never spoke it, which is why no module is rebuilt for any of this (ADR 0039). --- src/contracts/index.ts | 2 +- src/events/index.ts | 2 +- src/messaging/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/contracts/index.ts b/src/contracts/index.ts index d57ae11..e52264e 100644 --- a/src/contracts/index.ts +++ b/src/contracts/index.ts @@ -19,7 +19,7 @@ export interface ToolDefinition { } /** - * The metadata that rides an event as AMQP headers (novox/hq ADR 0042). An event's identity and + * The metadata that rides an event as message headers (novox/hq ADR 0042). An event's identity and * provenance live here, not in the body, so a consumer — or the broker, or an audit tool — reads * who/when/what without parsing the payload. An unknown `x-` header is ignored, not refused: an * event is observed by parties that need not all understand every header. diff --git a/src/events/index.ts b/src/events/index.ts index b99aa26..42e902a 100644 --- a/src/events/index.ts +++ b/src/events/index.ts @@ -4,7 +4,7 @@ // credential — just the broker's topic routing). Declared as emits/consumes on the manifest so the // mesh knows the event graph. // -// Identity and provenance ride as AMQP headers, not in the body (novox/hq ADR 0042): a consumer — +// Identity and provenance ride as message headers, not in the body (novox/hq ADR 0042): a consumer — // or the broker, or an audit tool — reads who/when/what without parsing the payload, and the body // is only the domain payload. This surface hides the header/exchange/queue mechanics; a module // names a type and a body and never sees the wire. diff --git a/src/messaging/index.ts b/src/messaging/index.ts index ce71883..d717458 100644 --- a/src/messaging/index.ts +++ b/src/messaging/index.ts @@ -25,7 +25,7 @@ export interface Broker { /** * How a module obtains its broker. The hosting runtime sets this once; module code calls broker() * without knowing the concrete binding. Keeping the binding out of the sdk is deliberate — the sdk - * carries the contract, not a specific AMQP client build. + * carries the contract, not a specific broker client build. */ let binding: (() => Broker) | undefined;