Released: TBD Compare: v0.12.0-alpha.3…v0.12.0-alpha.4
alpha.4 delivers strict-mode SSF transmitter support (PRD #196). alpha.3
brought goSignals into OpenID SSF 1.0 conformance; this release adds the
transmitter-side behavior a strict SSF receiver — the OpenID conformance
suite is the canonical example — requires to register and validate a stream
without supplying transmitter-owned fields. Three correctness changes land
together: presence-based acceptance of iss/aud with transmitter-assigned
identity when they are absent (ADR 0024), EventSource-aware routing so a
minted audience actually routes events, and a guarded Publish-mode re-sign that
no longer corrupts or races the shared event token under concurrent fan-out.
Compatibility: goSignals-to-goSignals cluster federation is unchanged. Strict
posture is operator-declared, never auto-detected — a new StrictSsf flag
on the server record, default false (flexible), so existing deployments keep
the prior behavior until they opt in. The one wire-visible default change is the
shape of a transmitter stream’s auto-assigned aud (now an opaque
urn:i2-open:ssf:aud:<ksuid> instead of the caller’s client_id/project_id);
any consumer that read the old echoed value as a caller handle must not rely on
it. One SCIM event-type URN was also corrected to canonical lowercase (see
below). This release continues the SHA→tag release-train migration: the family
now pins goSignals by tag (v0.12.0-alpha.4) rather than by raw commit SHA.
The PRD landed as six slices (#198–#203) under PR #204.
iss/aud acceptance on /stream create. A
caller-asserted iss or aud is honored verbatim; an absent one is minted
by the transmitter. Presence is never overridden by minting, and minting never
happens when the caller asserted intent — so a strict receiver can register
without supplying either, while a flexible peer (goSignals cluster sisters)
keeps its explicit values. See
ADR 0024.iss = the server’s advertised issuer (GetDefIssuer()), the same
issuer returned in the .well-known Transmitter Configuration, so the strict
receiver’s “iss equals discovered issuer” check (SSF §8.1.1) passes with no
special case. A per-stream iss is explicitly ruled out by SSF §8.1.1.1; every
transmitter stream signs under the one advertised issuer.jwks_uri derives from that issuer (baseURL + /jwks.json, the same JWKS
the metadata advertises, per ADR 0023). Derivation is gated on the minted-issuer
case; a caller-asserted foreign iss is left untouched.aud = a fixed, immutable, opaque, URI-shaped identifier
(urn:i2-open:ssf:aud:<ksuid>), generated once at create, persisted on the
stream, and stable for its lifetime. It does not leak the caller’s
client_id / project_id, and doubles as the AUDIENCE routing handle (below).…:receive) are unaffected — they connect to a foreign
transmitter, so the prior client_id → project_id default for an absent aud
remains the most specific stable local identity.MatchesStream now honors the EventSource routing axis (ADR 0004), so a
transmitter-assigned aud routes events even when the inbound event’s aud
differs:
EventSource) keeps the historical
(iss, aud, event-type) filter unchanged.aud as the routing handle and no longer
requires the inbound event’s aud to equal it (iss and event-type filters
still apply) — this stops a minted aud from silently black-holing delivery.EventRecord.Sid) is named in EventSource.SourceStreamIds.iss matching is mandatory for Forward (FW) mode and ignored
for Publish (PB) mode; other modes keep the historical empty-as-wildcard
behavior. RemoteStreamId is never consulted as a routing selector.iss/aud. The path now takes a value
copy of the SecurityEventToken before setting iss/aud/iat/kid, so each
stream signs under its own identity and the stored event stays pristine.jti and txn are preserved verbatim across the hop (ADR 0017); they are
carried by the copy and never touched. FW mode continues to emit
Event.Original bytes verbatim with no re-sign.StrictSsf is now a field on model.Server (json/bson tags, default
false = flexible). The full-struct decode in CreateServer / ServerUpdate
and the DAO DeepCopy carry it through POST /server and
PUT /server/{alias} with no new wiring. Default-off preserves
goSignals-to-goSignals cluster federation; posture is operator-declared only,
never auto-detected (ADR 0024).StripTransmitterSupplied lifted to pkg/ssfModels as a pure, exported,
table-tested helper, with both production callers wired to it (no duplicate
logic).executeCreateRequest now drops an operator-asserted
iss / aud / issuer JWKS URL with a user-visible message (SSF §8.1.1.1
— these are transmitter-supplied).TxAlias reads StrictSsf off the resolved server record and calls
the shared helper before POSTing on both the poll and push publisher-leg paths.urn:ietf:params:scim:event:misc:asyncResp →
urn:ietf:params:scim:event:misc:asyncresp). Clients keying off the prior
mixed-case value must update to the canonical form.conformance/archive-run.sh) collapses results/ down to
a single run-<ts>-archive.zip plus a copy of the latest summary, wired in as
the final step of make all and make full so results/ stays legible
run-over-run. Safe no-op when there is nothing to bundle; leaves .gitignore,
prior archives, and subdir snapshots untouched.run-plan.sh / run-receiver-plan.sh
verify suite-to-SUT connectivity before a run, surfacing networking failures up
front instead of silently. A check-suite-reaches-sut.sh guard and a
suite-overlay.yml (host-gateway wiring for localhost.emobix.co.uk) were
added, plus a global findings aggregator in run-all-plans.sh that reports
per-module non-PASS details in the summary. Receiver plan variants were updated
for suite v5.1.45 (ssf_auth_mode=static).CLAUDE.md minimized — build / test / run / Delve commands and Go
conventions stay; cross-repo, workflow, and agent-skills content moved to the
global agent configuration. De-staled Makefile targets and replaced stale
architecture prose with a CONTEXT.md pointer. Stale router symbols were also
corrected (StreamEventMatch → EventService.MatchesStream; the
pushEvent → prepareAndSendEvent → delivery.PushDelivery push chain)./stream create (presence-based iss/aud).iss / jwks_uri derivation).jti / txn preservation).conformance/README.md — runbook for reproducing the matrix.go test -race -count=1 ./... — all packages pass. The OpenID SSF conformance
matrix runs from the harness in conformance/; per-plan results land in
conformance/results/ (now collapsed to a single per-run archive), with the
aggregate Markdown summary as the source of truth for the release.