A hypothetical early-stage SaaS startup builds enterprise features. System owner: CTO. Proposer: tenant admin. Approver: security owner.
Prelaunch fixtures. str_cur: enterprise launch for Tenant CUST-ENT-001, OIDC issuer, client ID CID-001, audience AUD-001, key config KC-RSA256, config revision v1. Tenant admin proposes, scoped to startup/CUST-ENT-001/OIDC/v1. str_verify: security owner independently reads (a) current platform state and tenant isolation, (b) OIDC provider configuration compatibility, (c) pilot feature flag PILOT-ENT-001 (expectation: enabled for CUST-ENT-001), (d) onboarding task queue for CUST-ENT-001 (expectation: tasks pending). str_stale: config revision v0 when current is v1. str_wrong_tenant: SCIM event for CUST-ENT-002 delivered to CUST-ENT-001 endpoint. str_sso_authz: user authenticated through CUST-ENT-001 OIDC attempting CUST-ENT-002 data. str_unentitled: user authenticated through CUST-ENT-001 OIDC, valid tenant, but not entitled to pilot feature. str_deprovisioned: SCIM deprovisioning event received, user attempts access. str_wrong_role: junior developer attempts provisioning approval. str_unknown_tenant: provisioning for CUST-ENT-999 not in the platform (valid admin, unknown tenant). str_unavailable_auth: OIDC provider IDP-001 discovery endpoint unreachable during activation (unavailable activation authority).
Held-out fixtures. 13 records in disjoint cohorts. Positive (4): PRV-001 through PRV-004 with current revision, authorized tenant admin, security owner verification of platform state, OIDC config, pilot flag and task queue. Negative (9): PRV-005 stale version (0 provisioning on stale); PRV-006 cross-tenant SCIM leak (0 cross-tenant provisioning); PRV-007 SSO-as-authorization / wrong tenant data access (0 cross-tenant access through SSO); PRV-008 authenticated but unentitled to pilot (0 unentitled access); PRV-009 inactive pilot account with expired trial tenant CUST-ENT-003 (0 activation for inactive or ineligible accounts); PRV-010 wrong role (0 approvals); PRV-011 invalid OIDC discovery document (0 provisioning with invalid config); PRV-012 valid unknown tenant CUST-ENT-999 not in platform (0 provisioning for unknown tenants); PRV-013 feature flag or route authority unavailable during activation check (0 activation without authoritative flag and route confirmation). Excludes PRV-R101 and PRV-R201. Training and tuning data disjoint from held-out and recovery-only fixtures.
Allowed workflow (operation A). PRV-001: tenant admin proposes with key op:str_A_001 scoped to startup/CUST-ENT-001/OIDC/v1. Before approval, security owner independently checks: (a) reads platform state and tenant isolation (expectation: no conflict); (b) reads OIDC provider compatibility with validated issuer, audience and current keys (expectation: valid discovery document); (c) reads pilot feature flag PILOT-ENT-001 (expectation: flag off, pending activation); (d) reads onboarding task queue for CUST-ENT-001 (expectation: task absent, pending creation). All four pre-approval reads confirmed. Approves. Three effects: (1) pilot activation at tenant store for CUST-ENT-001, (2) feature flag PILOT-ENT-001 enabled, (3) onboarding task queue entry created. After approval: read pilot activation at tenant store independently (confirmed). Read actual protected pilot route for CUST-ENT-001 pilot account (confirmed accessible). Read onboarding task queue entry independently (confirmed present). Application authorization configured separately.
Replay of A. Same key op:str_A_001. Log: committed. Rejected, 0 duplicates.
Independently approved B. PRV-002: tenant admin proposes distinct second tenant pilot with key op:str_B_002 for different tenant CUST-ENT-002, OIDC issuer IDP-002, client ID CID-002, audience AUD-002, key config KC-RSA256-B, revision v1. Before approval, security owner independently checks: (a) reads platform state and tenant isolation for CUST-ENT-002 (no conflict with CUST-ENT-001); (b) reads OIDC provider compatibility for IDP-002 (valid discovery document); (c) reads pilot feature flag PILOT-ENT-002 (enabled for CUST-ENT-002); (d) reads onboarding task queue for CUST-ENT-002 (tasks pending). All confirmed. Approves. Three effects: (1) pilot activation at tenant store for CUST-ENT-002, (2) feature flag PILOT-ENT-002 enabled, (3) onboarding task queue entry for CUST-ENT-002. After approval: read pilot activation, feature flag and onboarding task each independently. Wrong-tenant account from CUST-ENT-001 attempting CUST-ENT-002 pilot route: denied. Unentitled account within CUST-ENT-002: denied. 2 of 3 (A, replay, B) approved. 0 duplicate effects.
Ambiguous first response (str_3b). Key op:str_A_003 for PRV-003. Network interruption. Pre-retry gates:
- Read durable log for
op:str_A_003: present/absent/error.
- Read current tenant/config state for CUST-ENT-001 and current revision.
- Verify tenant admin still holds CUST-ENT-001 provisioning authority.
- Read pilot activation at tenant store for PRV-003: committed/absent/pending.
- Read OIDC configuration state (issuer, audience, keys) for CUST-ENT-001.
- Read feature flag PILOT-ENT-001: enabled/disabled/pending.
- Read actual protected pilot route for CUST-ENT-001: accessible/denied.
- Read onboarding task queue entry: present/absent/pending.
- Read local provisioning and onboarding queues for inflight.
Log committed AND pilot activation confirmed at tenant store AND feature flag PILOT-ENT-001 enabled AND actual protected pilot route accessible to known CUST-ENT-001 pilot account AND wrong-tenant account denied AND unentitled account within CUST-ENT-001 denied AND onboarding task queue entry confirmed present, all consistent, no conflicting pending: complete, no repeat. Log present, activation absent, pending: STOP, CTO investigates. Log committed, pilot activation confirmed at tenant store AND feature flag enabled AND expected live pilot route accessible under current policy (verified committed effects) but onboarding task queue entry confirmed absent from task store AND absent from pending/inflight onboarding queues (one confirmed missing effect), recorded activation present, current tenant admin authority and OIDC issuer/audience/key configuration verified: standalone repair under new key op:str_C_003, create ONLY the missing onboarding task entry, security owner freshly approves with current approval version, independently verify pilot activation, feature flag, actual pilot route and onboarding task afterward. If log committed but both activation and onboarding task absent with nothing pending: HOLD for CTO, no new write. Log committed and any effect pending or inflight: STOP, CTO investigates. No log but one or more effects exist: reconcile existing effects without replay. No durable transaction for this key, activation conclusively absent, feature flag not applied, actual pilot route still closed, onboarding task conclusively absent, all provisioning/activation/task queues clear, current OIDC configuration and scope confirmed, revision confirmed, security owner freshly approves with current approval version: identical-key resubmit op:str_A_003. If verified activation exists without log: reconcile without replay. Any unknown read, read failure, any pending, unknown tenant, unavailable flag or route authority or conflict: hold for CTO.
Revoked authority (str_3c). PRV-R101 with key op:str_R_101 scoped to a distinct synthetic valid tenant ENT-R10, pilot flag FLG-R10, scoped pilot route Pilot-R10 and onboarding task ref TASK-R10: tenant admin queued provisioning for ENT-R10 while provisioning authority was current, fresh original security owner approval at version APV-1. Before confirmation, CTO revokes tenant admin's provisioning authority (approval version now APV-2). On delayed result: independently read tenant admin permission at APV-2 (provisioning authority absent). Local decision ledger: op:str_R_101 marked quarantined and non-dispatchable (retained for audit, not eligible for dispatch). Independently read authoritative activation store for ENT-R10: no pilot activation. Independently read feature flag authority for FLG-R10: flag off. Independently read actual protected pilot route Pilot-R10: closed, no activation. Independently read onboarding task store for TASK-R10: absent. Independently read pending and in-flight activation, flag, route and task queues at their respective authorities: zero pending or in-flight writes for this key at any authority. Separately re-read committed A effects: CUST-ENT-001 pilot activation present, PILOT-ENT-001 enabled, CUST-ENT-001 pilot route accessible, CUST-ENT-001 onboarding task present. CUST-ENT-002 (operation B) undisturbed where applicable. Before revocation: authority present at APV-1, provisioning queued for ENT-R10. After revocation: authority absent at APV-2, ENT-R10 activation absent, FLG-R10 off, Pilot-R10 closed, TASK-R10 absent, zero new scoped effects. 0 effects after revocation.
Private staged restore (str_5). PRV-R201 with key op:str_R_201, distinct from R101, outside held-out. Stage privately with no production writes using prior known revision. Read authoritative versions and current authority at APV-2: current pilot activations at tenant store, feature flag states at flag authority, onboarding task queue entries at task store, pending provisioning, activation, flag, route and task queues at their respective authorities, committed effects. Exact authorized key op:str_A_001 at CUST-ENT-001 scope: pilot activation committed at tenant store, feature flag PILOT-ENT-001 enabled at flag authority, actual protected pilot route accessible, onboarding task present at task store. CUST-ENT-002 (operation B) undisturbed where applicable. Exact revoked key op:str_R_101 at ENT-R10 scope: ENT-R10 activation absent at tenant store, FLG-R10 off at flag authority, Pilot-R10 closed, TASK-R10 absent at task store, local decision ledger entry quarantined, zero pending or in-flight writes at any authority for this key. Before/after state comparison for R201: R201 activation absent, flag not applied, route closed, task absent before and after staging, zero production writes. Authorized route: current tenant admin authority at APV-2 and security owner role accepted; known CUST-ENT-001 pilot account accesses scoped route, wrong-tenant and unentitled accounts denied. Revoked route: revoked tenant admin denied in staging. 0 production effects. Self-serve tenants unaffected by enterprise staging. Existing CUST-ENT-001 and CUST-ENT-002 activations, flags, routes and tasks preserved; ENT-R10 scope remains unactivated. Manual fallback: CTO. Queue reconciliation: CTO reviews provisioning, activation and onboarding queues against current authoritative records. Two roles restart: CTO verifies data, security owner verifies workflows. Both approve before production restore. Training and tuning data explicitly disjoint from both held-out fixtures and recovery-only fixtures.
Phone and tablet plan. On iPhone SE 3rd generation at 375 by 667, tenant admin attempts 3 tasks: (1) view provisioning queue (target: 0 horizontal overflow); (2) open detail with tenant, config and compliance scope (target: scrollable, SCIM config visible); (3) tap Submit for Review (target: reachable, draft not committed). On iPad 10th generation at 820 by 1180 with keyboard, security owner attempts 3 tasks: (1) arrow-key list navigation (target: visible focus indicator); (2) Enter to open detail (target: focus moves); (3) keyboard approve or defer (target: announced, no silent commit). Remaining risk: first enterprise customer may have OIDC configuration that differs from standard discovery document format.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.