i2goSignals

goSignals

32. The supported-event catalog is extensible by configuration

Date: 2026-08-19

Status

Accepted (GH #261)

Context

model.GetSupportedEvents() was a compiled-in list: the SCIM (RFC 9967), CAEP, RISC and WISE packs, and nothing else. Three surfaces read it, and together they make the catalog a routing gate rather than a mere advertisement:

The consequence for an event type outside the catalog was a silent drop. The registration succeeded with 201 and a non-empty events_requested; the negotiated events_delivered was empty; SETs carrying that type were accepted, verified, persisted and counted — and matched no stream, so they were never routed. "*" short-circuited to the same catalog, so no registration input was a workaround. ADR 0031 fixed the SSTP inbound RouteMode gate, and the aud-routed two-hop topology it was filed for still did not carry a custom vocabulary, because the vocabulary was the second gate.

The catalog is deliberately narrow — see the WiseEvents comment: it advertises only what pkg/goSetValidate can vouch for, so an advertised type is never one that reports Unsupported and is rejected by a STRICT receiver. That reasoning is right for the built-in packs and wrong as a hard limit: a deployment routing its own event vocabulary through goSignals cannot recompile the gateway, and should not have to.

Decision

A server-level environment variable, I2SIG_EVENT_TYPES_EXTRA, extends the catalog for the process. GetSupportedEvents() returns the built-in packs plus the configured extension; every existing caller therefore sees one consistent set with no new wiring.

Consequences

Positive

Negative