A hypothetical multi-location fitness chain builds a cross-location class-booking system with membership entitlement verification and capacity enforcement. Named system owner: the chain's VP of operations. Named proposer: front desk staff at the booking location. Named independent approver: club operations lead at the booking location. All targets are hypothetical and illustrative.
Prelaunch fixtures.
fit_cur_1: Active premium member at Location A requesting a spin class at Location B, membership current, cross-location entitlement included, Location B capacity available
fit_cur_2: Booking draft prepared by front desk, entitlement verified against current membership record, queued for operations lead approval
fit_stale_1: Booking request from member whose premium membership expired yesterday (stale entitlement)
fit_unknown_1: Booking request where membership system returns unknown status for the member ID
fit_inelig_1: Booking request for a class session at full capacity (no spots remaining)
fit_unauth_role_1: Front desk staff at Location B attempting to override capacity limit (requires operations lead role)
fit_unauth_tenant_1: Staff from Franchise X attempting to book a member into Franchise Y class without cross-franchise entitlement
fit_unavail_1: Membership system temporarily unreachable for entitlement verification
Disjoint held-out setup. 11 held-out booking records (5 positive and 6 negative), plus one separate recovery-only fixture BKG-012. Positive cohort (5 records: BKG-001 through BKG-005): active membership, valid cross-location entitlement, capacity available, authorized front desk, qualified operations lead. Negative cohort (6 records: BKG-006 through BKG-011): each tests one denial condition (expired membership, unknown status, exhausted capacity, wrong role for override, cross-franchise without entitlement, membership system unavailable). Recovery-only fixture (BKG-012): tests revocation before reconnect, distinct from held-out negatives. The held-out total (11: 5 positive and 6 negative) excludes the named recovery-only revocation fixture (BKG-012) and private-restore test fixture. Training and tuning data separated from held-out fixtures; held-out cohorts are never used to train or tune system behavior. All hypothetical.
Allowed workflow (fit_1). Positive cohort BKG-001: member requests spin class at Location B. System reads current membership from authoritative membership system: active, premium tier with cross-location entitlement that includes Location B, start/end dates verified, current membership tier confirmed at current location. Checks Location B class capacity for this session: 2 spots remaining (latest capacity, not cached). Front desk (current role grant verified at Location B, scoped permission for cross-location booking confirmed) prepares booking draft with current membership status, class session start/end times and session version. Operations lead reads fresh membership, capacity and class version, approves. Booking committed. Independently verified: (a) class roster at Location B shows member (committed roster seat), (b) member's current check-in eligibility separately confirmed (current membership tier, location entitlement, class session version with start/end and scoped check-in permission all current). Access eligibility remains a separate check-in verification at arrival; the roster seat does not write an access grant, a booking does not grant facility access and a queued draft does not grant facility access. No capacity override beyond operator safety cap. Revoked entitlement rechecked: if membership revoked between draft and approval, booking denied. 5 of 5 positive bookings committed. Test acceptance targets.
Denied: expired membership (fit_2a). Fixture fit_stale_1 / negative BKG-006: membership expired. System reads current status: inactive. Booking denied, member notified of renewal requirement. 0 bookings on expired memberships.
Denied: unknown membership (fit_2b). Fixture fit_unknown_1 / negative BKG-007: membership system returns unknown status. Booking held for membership verification. 0 bookings without confirmed entitlement.
Denied: capacity exhausted (fit_2c). Fixture fit_inelig_1 / negative BKG-008: class session at full capacity. Member added to waitlist if eligible. 0 bookings exceeding capacity.
Denied: unauthorized override attempt (fit_2d). Fixture fit_unauth_role_1 / negative BKG-009: front desk attempts capacity override. System enforces operator safety cap: no capacity override beyond operator safety cap regardless of role. Operations lead may adjust future session capacity within operator policy but cannot override the cap for a session already at limit. 0 overrides beyond operator safety cap.
Denied: cross-franchise (fit_2e). Fixture fit_unauth_tenant_1 / negative BKG-010: member lacks cross-franchise entitlement. System enforces franchise boundary. 0 cross-franchise bookings without applicable entitlement.
Denied: authority unavailable (fit_2f). Fixture fit_unavail_1 / negative BKG-011: membership system unreachable. Booking queued, does not grant access. 0 bookings without authoritative membership verification (fail closed). Test acceptance target.
Denied: revocation before reconnect (fit_2g). Fixture fit_revoked_1 / recovery-only BKG-012: member had active premium membership when system went offline; front desk had queued booking draft with key op:fit_A_012 while membership was current and operations lead had approved. VP of operations (named revoker) revoked membership during outage. On delayed reconnect: system reads current membership status: revoked. Queries pending booking queue: op:fit_A_012 present but not committed. Reads class roster at Location B: no entry for BKG-012. Reads committed effects from prior bookings (BKG-001 through BKG-005): preserved, no modification. Fail closed: queued booking denied, member denied check-in access at Location B, no write, no replay. 0 bookings or access after revocation. Test acceptance target.
Idempotency and duplicate detection (fit_3). Operation A: front desk drafts booking BKG-001, operations lead approves, key op:fit_A_001. Both effects verified independently after approval: (a) class roster at Location B shows member for BKG-001 (committed roster seat), (b) independent eligibility check confirms current membership tier and class session version (eligibility check, not access grant). Replay of A with same key op:fit_A_001: rejected, 0 duplicate roster entries, prior log preserved. Operation B: front desk drafts distinct BKG-002, operations lead separately reads fresh membership and capacity, approves, key op:fit_B_002. Roster seat for BKG-002 at Location B confirmed (verified independently). Independent eligibility check confirms current membership for BKG-002. 2 of 3 applied (A and B), acceptance target 0 duplicates, not observed. Test acceptance targets.
Ambiguous first response (fit_3b). Fixture fit_ambig_1: front desk submits BKG-003, key op:fit_A_003. Network interruption. Before any repeat: (1) read durable booking log for key; (2) independently read class roster for committed seat; (3) separately read current check-in eligibility (current membership tier, location, class session version with start/end and scoped permission); (4) check for pending/inflight bookings. Log found, roster seat exists, eligibility current: complete, no repeat. Log found, roster seat missing: STOP. VP of operations investigates. Do not repeat. Log not found, roster seat exists: effect without log. Reconcile. Log not found, no seat AND no pending/inflight AND fresh reads verify current membership, location, capacity, staff role and operations lead authority: resubmit with identical key after operations lead approval. Membership revoked: fail closed, no repeat, no access. Queued offline request does not grant access. 0 duplicates. Test acceptance targets.
Booking logging and access control (fit_4). Write-once log: booking ID, member ID, class, location, entitlement status, approver, timestamp. No raw health data, biometric or medical information. Scoped read for operations and compliance. Retention owner: VP of operations. Avoid wellness diagnosis, biometric or medical claims.
Staged restore (fit_5). After membership system restored: stage the prior stable version privately with no real writes to class rosters, check-in systems or production booking queues. Named fixture fit_restore_1: queued booking draft for member M-803 at Location B, key op:fit_R_803, session version S-22, operations lead role grant current. In private staging: (a) test authorized route: verify VP of operations authority accepted, current front desk role and cross-location permission valid, operations lead role grant active, membership current with valid entitlement, class session version and capacity confirmed, and each independently committed roster entry from before the outage is still present and consistent; (b) test revoked/denied route: front desk staff whose Location B scope was revoked during outage attempts to approve a queued booking and system denies (zero bookings after revoked scope, revoked access never resurrected, no capacity override beyond operator safety cap). Reconcile exact queued booking drafts against current membership state and class capacity. Preserve each independently committed effect: already-committed roster entries and denied queued requests from manual fallback preserved. Require two named signoffs: VP of operations verifies data integrity, operations lead verifies booking correctness. Both approve before production restore. Named manual fallback during outage: front desk records exceptions manually with member ID, class, location and staff signature; queued offline requests hold without access; reconciles upon restore. Named fallback owner: VP of operations; queue reconciliation and two-role restart.
Tablet and keyboard access plan (fit_6). On iPad 10th generation at 820 by 1180, front desk staff attempts 3 tasks: (1) review booking exception queue (pass: fits viewport; fail: truncated; error: queue loads but entitlement-status column hidden), (2) open member entitlement detail with current membership tier, location and capacity (pass: scrollable with complete data; fail: data hidden; error: detail opens but capacity count stale), (3) tap Submit for Operations Review (pass: visible, draft not committed; fail: unreachable; error: submit fires but no confirmation). W3C WCAG 2.2 focus-not-obscured applies to interactive controls. On desktop at 1280 by 800, keyboard-only operations lead attempts 3 tasks: (1) navigate queue with arrows (pass: focus ring visible; fail: no indicator; error: focus skips), (2) open detail with Enter (pass: focus to panel; fail: nothing; error: panel opens, focus stays), (3) approve or defer with keyboard (pass: accessible, announced; fail: inaccessible; error: approval commits booking without capacity re-check). NIST SP 800-63B-4 applies to staff authenticator selection, not membership entitlement. Residual risk: if membership status changes between front desk draft and operations lead approval, the stale entitlement may not refresh on the approval screen without explicit re-check. All outcomes are test acceptance targets. Test plan; results not claimed.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.