You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5eeba2c
Browse filesBrowse the repository at this point in the historyBrowse files
docs(decisions): record the PR #45 review disposition in ADR-0099
ADR-0099 gains Amendment 9: the behavior now implemented as the record
says, and the decisions the record was silent on (transport revocation, a
nonconforming broker, a test no one finishes, the detail read as an
exception to GET, the carrier list, the five steps, the adapter not reading
the idp mapper, the persistence of a pre-registered link, the undelivered
confirm-link copy and a superseded Complete). The false mapper-readback
statement gets two inline errata. ADR-0021's key-name correction is a dated
blockquote instead of a code comment.
Standards 01, 03, 04, 05, 07, 11 and 21, the identity module spec, the
glossary and the Keycloak guide follow the code; Phase 11 now owns the
production realm invariants, pre-registered accounts and the confirm-link
copy. The Phase 03 delivery log records each review finding's disposition,
what was not changed and why, the second review round of Step 0, and the
verification run.
ADR: 0099
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@@ -216,6 +221,9 @@ refreshed on `tenant.entitlement.updated` integration event.
216
221
217
222
A `Plan` row in Hub's database carries:
218
223
224
+
> **Erratum (2026-11-13, [ADR-0099](0099-confined-tenant-federation.md)).** The `sso.saml.enabled` key in this example is
225
+
> `identity.sso.saml` in the implemented registry. See [the dated amendment below](#2026-11-13--sso-key-names).
226
+
219
227
```json
220
228
{
221
229
"id": "plan-growth-monthly",
@@ -537,6 +545,6 @@ speculatively. No key is invented, and a key the contract does not name is not a
537
545
[ADR-0045 Amendment 2](0045-entitlement-and-feature-flag-socket.md) says the same of
538
546
`FeatureKeys` and `KillswitchKeys`.
539
547
540
-
### Amendment 1 — SSO key names (2026-11-13)
548
+
### 2026-11-13 — SSO key names
541
549
542
550
The SSO feature keys are `identity.sso.saml` and `identity.sso.oidc`. Both are plan-projected, default false and fail-closed in both repositories. The `sso.saml.enabled` and `sso.oidc.enabled` spellings in the sketch above were never the implemented names; the inline erratum records that. [ADR-0099](../decisions/0099-confined-tenant-federation.md) gates OIDC connections on `identity.sso.oidc`, and no Hub plan row carries that key yet.
Copy file name to clipboardExpand all lines: docs/decisions/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ records hosted qualification. Phase 11 owns production qualification.
141
141
| 0096 |[P03-5 Administration Contract Baseline](0096-p035-administration-contract-baseline.md)| Accepted 2026-11-10 after maintainer review and development-only/no-active-use confirmation: one exact snapshot/finding/comparator-bound incompatibility, with coordinated consumers and separate runtime/CI proof. Delivery stays in the [Phase 03 Status](../roadmap/phase-03-identity-admin.md). |
142
142
| 0097 |[Retained Provider Events and Tenant Audit Mirror](0097-retained-provider-events-and-tenant-audit-mirror.md)| Accepted 2026-11-11 after maintainer review: confined machine intake, finite pull recovery, nonblocking durable problem handling and frozen tenant Audit targets; implementation/qualification stay in the [Phase 03 Status](../roadmap/phase-03-identity-admin.md). |
143
143
| 0098 |[Session-Targeted Back-Channel Logout](0098-session-targeted-back-channel-logout.md)| Accepted 2026-11-12 after maintainer review: signed sid-targeted native notification, bounded replay/late-publication fences and owned callback-only TLS reachability; delivery/proof remain in the [Phase 03 Status](../roadmap/phase-03-identity-admin.md). |
144
-
| 0099 | [Confined Tenant Federation](0099-confined-tenant-federation.md) | Accepted 2026-11-13 after three review rounds and the maintainer's decisions: a fixed-alias, LearnStack-owned connection per tenant; a dedicated Admin adapter with a fixed broker profile; a bounded egress guard with a documented Standard 11 A10 exception; a link-only first-broker flow with no broker-created accounts and no self-unlink; the broker enabled at the provider only in test windows and when Active; host-bound brokered sessions; serialized, readback-verified provider writes. Implementation Step 0 (Keycloak pin to 26.7.5) is committed in `ed168594`; Step 1 (registry v4 key, connection aggregate and storage) is committed in `7928fc8b`–`37af223c` with fixes through `30d94bb5`; Step 2 (application operations and API) is committed in `8e435ed6`–`91501770` with round-one and round-two review corrections; Step 3 (egress fetcher, Keycloak adapter and realm invariants) is committed in `d166e12d` with round-one and round-two review corrections; Step 4 (native BFF host binding and `federation_test`, the Studio page and the brokered SAML proof) is committed with round-one review corrections and awaits its second review round. [Amendment 2](0099-confined-tenant-federation.md#amendment-2--keycloak-pin-decision-2026-11-13) pins 26.7.5 because no 26.6.5 image is published; [Amendment 3](0099-confined-tenant-federation.md#amendment-3--a-changed-oidc-configuration-needs-a-fresh-secret-2026-11-14) requires a fresh secret for a changed OIDC configuration; [Amendment 4](0099-confined-tenant-federation.md#amendment-4--corrective-disable-writes-and-gated-rotate-and-activate-2026-11-14) records the corrective disabling writes and the gated Rotate secret and Activate; [Amendment 5](0099-confined-tenant-federation.md#amendment-5--step-3-review-egress-adapter-and-linking-decisions-2026-11-14) records the Step 3 egress, allow-list, adapter-defence and reset-action decisions and the open brokered SAML login; [Amendment 6](0099-confined-tenant-federation.md#amendment-6--host-alias-carrier-and-test-record-carrier-2026-11-14) records the host-alias setter and the `federation.test_record` carrier; [Amendment 7](0099-confined-tenant-federation.md#amendment-7--step-4-review-purposes-test-freshness-and-detail-loads-2026-11-15) records the Step 4 review's purpose, test-freshness, detail-load and availability statements. |
144
+
| 0099 | [Confined Tenant Federation](0099-confined-tenant-federation.md) | Accepted 2026-11-13 after three review rounds and the maintainer's decisions: a fixed-alias, LearnStack-owned connection per tenant; a dedicated Admin adapter with a fixed broker profile; a bounded egress guard with a documented Standard 11 A10 exception; a link-only first-broker flow with no broker-created accounts and no self-unlink; the broker enabled at the provider only in test windows and when Active; host-bound brokered sessions; serialized, readback-verified provider writes. Implementation Step 0 (Keycloak pin to 26.7.5) is committed in `ed168594`; Step 1 (registry v4 key, connection aggregate and storage) is committed in `7928fc8b`–`37af223c` with fixes through `30d94bb5`; Step 2 (application operations and API) is committed in `8e435ed6`–`91501770` with round-one and round-two review corrections; Step 3 (egress fetcher, Keycloak adapter and realm invariants) is committed in `d166e12d` with round-one and round-two review corrections; Step 4 (native BFF host binding and `federation_test`, the Studio page and the brokered SAML proof) is committed with round-one and round-two review corrections. [Amendment 2](0099-confined-tenant-federation.md#amendment-2--keycloak-pin-decision-2026-11-13) pins 26.7.5 because no 26.6.5 image is published; [Amendment 3](0099-confined-tenant-federation.md#amendment-3--a-changed-oidc-configuration-needs-a-fresh-secret-2026-11-14) requires a fresh secret for a changed OIDC configuration; [Amendment 4](0099-confined-tenant-federation.md#amendment-4--corrective-disable-writes-and-gated-rotate-and-activate-2026-11-14) records the corrective disabling writes and the gated Rotate secret and Activate; [Amendment 5](0099-confined-tenant-federation.md#amendment-5--step-3-review-egress-adapter-and-linking-decisions-2026-11-14) records the Step 3 egress, allow-list, adapter-defence and reset-action decisions and the open brokered SAML login; [Amendment 6](0099-confined-tenant-federation.md#amendment-6--host-alias-carrier-and-test-record-carrier-2026-11-14) records the host-alias setter and the `federation.test_record` carrier; [Amendment 7](0099-confined-tenant-federation.md#amendment-7--step-4-review-purposes-test-freshness-and-detail-loads-2026-11-15) records the Step 4 review's purpose, test-freshness, detail-load and availability statements; [Amendment 8](0099-confined-tenant-federation.md#amendment-8--step-4-review-round-2-test-session-replacement-and-scope-confinement-2026-11-15) records the test-session replacement and scope-confinement corrections; [Amendment 9](0099-confined-tenant-federation.md#amendment-9--pr-review-behavior-corrected-to-this-record-and-decisions-recorded-2026-11-18) records the PR review's behavior corrections and recorded decisions. |
145
145
| 0100 |[P03-8 Federation Contract Transition](0100-p038-federation-contract-transition.md)| Accepted 2026-11-18 after the maintainer's review, four independent reviews and the development-only/no-active-use confirmation: one exact snapshot-, finding- and comparator-bound incompatibility for registry v4, federation administration and the self `federationAlias`, one carrier per ADR and a stated end of the exception's basis; the later growth of the closed grant contract stays open as G20; delivery and proof remain in the [Phase 03 Status](../roadmap/phase-03-identity-admin.md). |
Copy file name to clipboardExpand all lines: docs/glossary.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ This glossary defines LearnStack-specific terms. When a term is ambiguous across
53
53
|**Provider session target**| Exact verified issuer and opaque provider `sid`, optionally constrained by the token's subject. It identifies provider SSO rather than a tenant, browser handle or application scope; [ADR-0098](decisions/0098-session-targeted-back-channel-logout.md) describes its notification use. |
54
54
|**Logout publication fence**| Retained target evidence preventing matching delayed credential work from publishing after an accepted native logout notification. It is separate from token replay evidence and supplies no physical retirement credit; [ADR-0098](decisions/0098-session-targeted-back-channel-logout.md) owns its contract. |
55
55
|**Back-channel TLS bridge**| A fixed-purpose local transport from the provider container to the native logout handler, with independently configured TLS and no caller-selected forwarding destination. [ADR-0098](decisions/0098-session-targeted-back-channel-logout.md) describes its bounded ownership. |
56
-
|**Federation connection**| The one tenant-owned record of a tenant's brokered SAML/OIDC identity provider, with a state (Draft, TestOpen, TestPassed, Active, Disabled), a configuration revision and no stored secret. It confines a realm-level broker to its tenant; [ADR-0099](decisions/0099-confined-tenant-federation.md) defines its contract. |
56
+
|**Federation connection**| The one tenant-owned record of a tenant's brokered SAML/OIDC identity provider, with a state (Draft, TestOpen, TestPassed, Active, Disabled, and the terminal Deleted tombstone), a configuration revision and no stored secret. It confines a realm-level broker to its tenant; [ADR-0099](decisions/0099-confined-tenant-federation.md) defines its contract. |
57
57
|**Federation alias**| The opaque Keycloak broker alias LearnStack derives from a connection ID. It is a provider hint, not a secret and never tenant input; [ADR-0099](decisions/0099-confined-tenant-federation.md) defines its ownership proof. |
58
58
|**Federation test attempt**| A single-use, short-lived, actor- and revision-bound real broker sign-in as the administrator's own account that discards its tokens, publishes no session and ends in a sign-out. Its result gates activation but is an administrator-run check, not a security control; [ADR-0099](decisions/0099-confined-tenant-federation.md) defines its contract. |
59
59
|**Brokered session**| A LearnStack browser session whose authentication came through a tenant's brokered identity provider, recognized by the `idp` claim and its recorded provenance. Admitted only on its own tenant's host while that tenant's connection is Active; [ADR-0099](decisions/0099-confined-tenant-federation.md) decides the host binding and [Security § Federation host binding](standards/11-security.md#federation-host-binding) states its rules. |
0 commit comments