Suppose a SaaS platform (TEN-SM001) and a content membership site (TEN-SM002) each use this cancellation pilot with wholly synthetic member, billing and benefit records. No real renewal or charge occurs. Pilot coordinator OP-SM101 (session SES-SM-001, ROLE-V1 at TEN-SM001) prepares a workspace with member/platform/role binding MEM-SM001/PLT-SM001/ROLE-V1, subscription revision SUB-SM001, view grant VGR-SM001, write grant WGR-SM001, export grant EGR-SM001 and synthetic data verification SDV-SM001.
Authorized initial approvals (A and B). Member OP-SM102 requests cancellation of TEN-SM001's subscription CXL-SM001 on key op:b187-smt-cxl_A_001, pinned to membership MEM-SM001 at revision REV-SM003. Account reviewer OP-SM103, handoff executor OP-SM104. Server commits PRT-SM-A001, AUD-SM-A001, ACR-CXL-SM501. Separately at TEN-SM002: member OP-SM105 requests CXL-SM002 on key op:b187-smt-cxl_B_002. Reviewer OP-SM106, executor OP-SM107. Commits PRT-SM-B001, AUD-SM-B001, ACR-CXL-SM502.
Current action-specific gates. Protected reads: session, role, member/platform, VIEW grant, benefit period. Exports: plus EXPORT grant. New-effect submissions: session, role, WRITE grant, frozen bytes/digest/revision matching membership and subscription. Failure produces denial before any effect.
Same-request retry with changed state (fw_4a, ACR-R101). Member OP-SM108 requests cancellation CXL-SM003 on key op:b187-smt-cxl_R_101. Between request and processing, the subscription renews automatically, issuing revision REV-SM004. The stale subscription reference does not match the renewed state. Two denials. Updated: member reviews current subscription status and resubmits cancellation if still desired.
Baseline read set at every checkpoint. Auditor OP-SM103 reads TEN-SM001 queue, A committed, R101 fence. Auditor OP-SM106 reads TEN-SM002 queue, B committed.
| Stage | TEN-SM001 expected | TEN-SM002 expected |
|---|
| EC-SM-0 | A committed; R101 frozen, 0 denials | B committed |
| EC-SM-1 | R101: 1 denial; A unchanged | B unchanged |
| EC-SM-2 | R101: 2 denials; A unchanged | B unchanged |
Replay distinct key rule. Exact replay of confirmed A or B returns the already-confirmed result. Changed bytes: conflict hold. Distinct key only for genuinely new approved work.
Authenticated event replay versus distinct older event. Two webhook deliveries arrive for the same subscription at TEN-SM001.
Event EVT-SM-REPLAY is an exact replay of a previously processed event with event ID evt_sm_001. The system independently verifies the Stripe signature before deduplication. The matching event ID is identified and the already-recorded result is returned with no new effect.
Event EVT-SM-OLDER is a distinct authenticated older event with a different event ID evt_sm_002 and an earlier creation timestamp. The system verifies the event signature, then reconciles the authoritative subscription, entitlements and pending/queued/in-flight state before any new effect or member-facing result. If the subscription has since been cancelled, the older event cannot reopen the stopped renewal. If the older event's effect has already been superseded, the reconciliation records the event without producing a duplicate effect. No live payment is processed in either case.
Timeout and reconciliation (ACR-R301). Cancellation CXL-SM004 dispatched on key op:b187-smt-cxl_R_301. Local receipt times out. Revalidate session, role, TEN-SM001 scope, current grants, subscription revision and destination. Committed branch: return authorized original. Reconcile authoritative subscription and entitlement state including pending, queued, scheduled, retry and in-flight. Prevent reopening a cancelled renewal from stale delivery. Absence branch: decisive absence; one guarded submission after fresh authorization. Unknown or in-flight: hold. Locally missing row NOT authoritative absence.
Configuration test: staged restore. Pilot owner OP-SM103 checks a verified configuration snapshot in isolated staging at TEN-SM001.
Five comparisons under current independently authorized scope:
- TEN-SM001 cancellation queue: auditor OP-SM103 (current view grant). Before and after: A committed, R101 renewal-conflict fence with two denials. Expected identical. Proposes current revocation preserved.
- TEN-SM002 cancellation queue: auditor OP-SM106 (current view grant). Before and after: B committed. Expected identical. Proposes cross-platform isolation.
- A committed record/receipt/audit: OP-SM103 (current scope, view grant). Expected: frozen bytes/revision/receipt identical.
- B committed record/receipt/audit: OP-SM106 (current scope, view grant). Expected identical.
- R101 renewal-conflict fence and denial log: OP-SM103. Frozen bytes, 2 denials, no commit/receipt. Expected: fence preserved and stale snapshot cannot downgrade renewal fence.
Verified-absence retry (ACR-R201). Cancellation CXL-SM005 dispatched on key op:b187-smt-cxl_R_201. Authoritative server reads confirm no matching record, no commit, no receipt, no pending, queued or in-flight work. All current grants, member binding, platform, subscription revision verified. One guarded submission proceeds. Server commits PRT-SM-R201, AUD-SM-R201, ACR-CXL-R201. Manual fallback if authoritative server becomes unavailable.
Residual risks: webhook delivery delay from payment processor; subscription state change between check and cancellation; benefit access cache invalidation timing; reactivation during cancellation processing; no global exactly-once promise.
Data owner retention and deletion. Pilot coordinator OP-SM101 decides retention windows for audit logs, cancellation receipts, exported billing data and backup copies. Cancelled member records retain receipt access through the agreed window independently of premium access. Offline copies are beyond platform control.
Planned desktop accessibility tests. A member completes a cancellation task end-to-end using only keyboard navigation and VoiceOver on Safari 18/macOS 15 Sequoia.
Steps: (1) navigate to account settings and select subscription management. (2) Review current plan details and benefit period. (3) Initiate cancellation and confirm the plan-specific effective date. (4) Verify the cancellation receipt is accessible and includes the benefit expiration date. (5) Trigger a denied state by revoking the member's VIEW grant and verify the denial error is announced by VoiceOver with a clear recovery instruction.
Normal cancellation outcomes (steps 1 to 4) are separated from the deliberately revoked denial (step 5).
A second reviewer completes the same five steps using Chrome 130/Windows 11 with NVDA 2024.4. Planned denominator: 5 of 5 steps on each combination.
Planned touch and mobile test. A member completes a cancellation on an iPhone 15 running iOS 18 using Safari with VoiceOver touch navigation. Steps: (1) open account settings, (2) review subscription status, (3) request cancellation, (4) confirm effective date and receipt, (5) verify denial on revoked WRITE grant is announced with safe recovery path. Planned pass target: 5 of 5 steps at 390px with touch targets at or above 44 CSS pixels, a chosen stronger minimum than the WCAG 2.2 default.
A second test uses a Samsung Galaxy S24 running Android 14 with Chrome and TalkBack. The same five steps and proposed 5 of 5 target apply. Proposed conditions with no observed results.
In-scenario reconciliation rule: governs all dispatches, retries, replays and held-out fixtures. Reauthorize. Reconcile authoritative state including pending, queued, scheduled, retry and in-flight. Locally missing row is not authoritative absence. Applied: return result. Absent: one guarded attempt. Unknown/in-flight: hold. Changed bytes: conflict. Distinct key for new work only. Conditional commit with dedup.
Held-out fixture groups.
| Group | Fixtures | Threshold |
|---|
| HG-B187-SM01: Wrong member or platform | FX-B187-SM01, FX-B187-SM02 | 2/2 mismatch denials (owner: OP-SM103) |
| HG-B187-SM02: Stale subscription state | FX-B187-SM03, FX-B187-SM04 | 2/2 renewal conflicts caught (owner: OP-SM103) |
| HG-B187-SM03: Revoked grants | FX-B187-SM05, FX-B187-SM06 | 2/2 revoked grants denied (owner: OP-SM106) |
| HG-B187-SM04: Concurrent cancellation race | FX-B187-SM07, FX-B187-SM08 | 2/2 dedup or hold applied (owner: OP-SM103) |
| HG-B187-SM05: Expired benefit and receipt authority | FX-B187-SM09, FX-B187-SM10 | 1/1 expired benefit denied + 1/1 receipt authority tested (owner: OP-SM103) |
FX-B187-SM01: Wrong member binding (request RQ-B187-SM01). Denied. FX-B187-SM02: Cross-platform read (request RQ-B187-SM02). Denied. FX-B187-SM03: Stale subscription state (request RQ-B187-SM03). Conflict. FX-B187-SM04: Retry with still-renewed subscription (request RQ-B187-SM04). Conflict. FX-B187-SM05: Revoked write (request RQ-B187-SM05). Denied. FX-B187-SM06: Revoked export (request RQ-B187-SM06). Denied.
FX-B187-SM07: Member OP-SM108 (request RQ-B187-SM07a on key op:b187-smt-cxl_FX07) and support agent OP-SM109 (request RQ-B187-SM07b on key op:b187-smt-cxl_FX07b) target the same subscription at TEN-SM001.
Both hold current WRITE grants and both reference the same subscription revision. The subscription accepts exactly one cancellation. OP-SM108's member-initiated cancellation on key op:b187-smt-cxl_FX07 commits first: server sets the cancellation effective date and returns receipt.
OP-SM109 attempts support-initiated cancellation on key op:b187-smt-cxl_FX07b. The authoritative subscription state check finds the subscription already cancelled by OP-SM108. OP-SM109 receives a conflict. Neither actor can reverse the committed cancellation through a stale request. OP-SM108's receipt is readable under OP-SM108's current VIEW grant scoped to TEN-SM001. If OP-SM108's VIEW grant has also been revoked, the read is denied and no data is disclosed.
FX-B187-SM08: Reconnect key op:b187-smt-cxl_FX08 (request RQ-B187-SM08) with modified bytes. Conflict hold.
FX-B187-SM09: A cancelled member attempts to access premium content after their benefit period has expired (request RQ-B187-SM09). The benefit expiration check blocks access.
FX-B187-SM10: Cancelled member OP-SM108 attempts to retrieve their cancellation receipt after premium access has expired (request RQ-B187-SM10). OP-SM108's current VIEW grant for receipts is verified. The receipt is returned because receipt access is authorized independently of current premium access. Benefit access remains denied, but the receipt is readable. A sibling test: support agent OP-SM110 with revoked receipt VIEW grant attempts to retrieve the same receipt. The revoked VIEW grant check denies the request and no receipt data is disclosed.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.