SD-M2b: mesh-broker's events on the shared events stream, 7 days

The lead's ruling of 13:0x replaces 12:5x's said-subject: mesh-broker's events follow every seat, on
mesh.seat.mesh-broker.event.<event> in the shared events stream, 7 days; the bus module keeps a longer history on a
stream of its own module. So every seat family is that stream filtered to the seat's subjects: a definition says 7
days and no cap of its own, and the reader refuses anything else.

Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
2026-11-04 12:53:19 +01:00
parent c62ce1c309
commit 96b7eeeaf7
11 changed files with 57 additions and 81 deletions
+10 -10
View File
@@ -27,25 +27,25 @@ export const events = {
dropped: "dropped",
} as const;
export const family = { name: "mesh-broker.events", maxAgeDays: 30, maxMiB: 256, subjects: "mesh.seat.mesh-broker.said.>" } as const;
export const family = { name: "mesh-broker.events", maxAgeDays: 7 } as const;
export const createdSubject = "mesh.seat.mesh-broker.said.created";
export const createdSubject = "mesh.seat.mesh-broker.event.created";
export const refusedSubject = "mesh.seat.mesh-broker.said.refused";
export const refusedSubject = "mesh.seat.mesh-broker.event.refused";
export const driftedSubject = "mesh.seat.mesh-broker.said.drifted";
export const driftedSubject = "mesh.seat.mesh-broker.event.drifted";
export const driftClearedSubject = "mesh.seat.mesh-broker.said.drift-cleared";
export const driftClearedSubject = "mesh.seat.mesh-broker.event.drift-cleared";
export const fullSubject = "mesh.seat.mesh-broker.said.full";
export const fullSubject = "mesh.seat.mesh-broker.event.full";
export const fullClearedSubject = "mesh.seat.mesh-broker.said.full-cleared";
export const fullClearedSubject = "mesh.seat.mesh-broker.event.full-cleared";
export const orphanedSubject = "mesh.seat.mesh-broker.said.orphaned";
export const orphanedSubject = "mesh.seat.mesh-broker.event.orphaned";
export const recreatedSubject = "mesh.seat.mesh-broker.said.recreated";
export const recreatedSubject = "mesh.seat.mesh-broker.event.recreated";
export const droppedSubject = "mesh.seat.mesh-broker.said.dropped";
export const droppedSubject = "mesh.seat.mesh-broker.event.dropped";
/** the binding a module receives in its membership for one entry (ADR 0595 §1, §7) */
export interface Binding {