Disjoint held-out setup. 10 synthetic cycle-count records in two cohorts. Positive (3: CC-001 through CC-003): current authenticated worker session, active assignment for target bin, scanned bin matches assigned bin, scanned or manually entered item code matches expected item in bin, count discrepancy exists. Negative (7: CC-004 through CC-010): expired session, worker not assigned to target bin, scanned bin does not match assigned bin, item code does not match expected item (wrong SKU), no discrepancy (count matches expected), duplicate pending discrepancy for same bin/item, bin under active hold by another process. Held-out excludes revocation (CC-R101), restore (CC-R201), dropped-response recovery (CC-R301) and stale (wf_R_STALE_901). Training/tuning disjoint. All hypothetical.
Allowed workflow (wf_1, operation A). Fixture CC-001: worker WKR-5500 authenticates, assigned to count bin BIN-A03-R2-S4, assignment ASG-7701. Scans bin location barcode (confirms BIN-A03-R2-S4 matches assignment). Scans item barcode for SKU-9901 (or enters manually if label damaged). Expected count from WMS: 24 units. Actual count by worker: 21 units. Discrepancy: minus 3. Submits discrepancy report with key op:wf_A_001 scoped to worker WKR-5500/bin BIN-A03-R2-S4/item SKU-9901/assignment ASG-7701/session SES-WF-001. Cycle-count coordinator independently reads: (a) WKR-5500 active; (b) session current; (c) ASG-7701 valid for BIN-A03-R2-S4; (d) SKU-9901 expected in BIN-A03-R2-S4; (e) no existing pending discrepancy for same bin/item; (f) bin not under hold. Approves the exact discrepancy report. WMS exception processor (authorized executor) submits to WMS exception authority. Expected business receipt: discrepancy report receipt at WMS exception authority with reference DISC-REF-5501 (read independently, confirm present with correct bin, item, expected and actual counts). Discrepancy receipt is distinct from inventory quantity adjustment, release or supervisor approval. Evidence: exception log at audit authority (read independently, confirm present for op:wf_A_001). Acceptance target: 3 of 3 positive records produce confirmed discrepancy report receipts at WMS exception authority.
Replay of A. Key op:wf_A_001 already committed. Exact replay with identical key and payload by still-authorized requester: returns existing non-secret receipt DISC-REF-5501 and current report status only. 0 new reports. 0 duplicates. Same key with changed payload or unauthorized requester: held or rejected.
Independently approved B (wf_1b, operation B). Fixture CC-002: different worker WKR-5501 at bin BIN-B07-R1-S2 for SKU-9902, assignment ASG-7702, count discrepancy plus 2, key op:wf_B_002, session SES-WF-002. Independently approved. Expected receipt: DISC-REF-5502. From three submissions: 2 new discrepancy receipts, 0 from replay.
Denied: wrong bin scan (wf_2a). CC-004: scanned bin does not match assigned bin. 0 reports for unmatched bins. Denied: wrong item (wf_2b). CC-005: scanned item code does not match expected item in bin. Error displayed; worker rescans. 0 reports for wrong SKU. Denied: no discrepancy (wf_2c). CC-006: actual count matches expected. No exception report needed; confirmed count recorded. Denied: duplicate pending (wf_2d). CC-007: pending discrepancy exists for same bin/item. 0 duplicates. Denied: bin under hold (wf_2e). CC-008: bin locked by active receiving process. 0 counts during hold. Denied: expired session (wf_2f). CC-009: session timeout. 0 reports on expired sessions. Denied: unassigned worker (wf_2g). CC-010: worker not assigned to target bin. 0 reports from unassigned workers.
Revocation (wf_4, CC-R101). Fixture CC-R101 with stable key op:wf_R_101: worker WKR-5500 queues discrepancy report for bin BIN-A03-R2-S4/item SKU-9901/assignment ASG-7701 while assigned at version v1. Before first send, device local assignment check detects v2 (cancelled) and parks the queued submission; app blocks retry from device. Read WMS exception authority before: DISC-REF-5501 (op:wf_A_001) present, DISC-REF-5502 (op:wf_B_002) present, no receipt for op:wf_R_101. If the stale queued submission bypasses the device and reaches the backend, WMS exception authority reads assignment ASG-7701 v2 (cancelled) and rejects; no receipt created, no inventory adjustment or release effect. Read WMS exception authority after: DISC-REF-5501 and DISC-REF-5502 unchanged, no receipt for op:wf_R_101. If pending or in-flight at WMS exception authority for op:wf_R_101: HOLD for warehouse supervisor. 0 reports for cancelled assignments.
Dropped response recovery (wf_4b, CC-R301). Distinct fixture: worker WKR-5502 submits discrepancy CC-R301 for bin BIN-C01-R3-S1/item SKU-9903/assignment ASG-7703 with count revision (expected 30, actual 27, discrepancy minus 3) and key op:wf_R_301, session SES-WF-003, response dropped. Independently read: (1) WKR-5502 active at current worker record; (2) session SES-WF-003 current; (3) ASG-7703 valid for BIN-C01-R3-S1 at current version; (4) SKU-9903 expected in BIN-C01-R3-S1; (5) durable transaction log for op:wf_R_301 present or absent; (6) WMS exception authority receipt under op:wf_R_301 present or absent; (7) audit authority for op:wf_R_301 present or absent; (8) pending/in-flight at WMS exception authority for op:wf_R_301; (9) any downstream inventory adjustment or release triggered by this key. First guard: if any read is unknown, unavailable, contradictory, or pending/in-flight at WMS exception authority or audit for this key: HOLD for warehouse supervisor; no resend, no write, no inventory adjustment or release. Applied: if log committed AND receipt confirmed present AND audit confirmed present, all consistent, no pending/in-flight: complete, return existing receipt, no resend. Disagree: if receipt confirmed present but audit or log absent or inconsistent: HOLD for warehouse supervisor read-only reconciliation; no resend, no write. Committed but absent: if log committed but receipt absent at WMS exception authority: HOLD for warehouse supervisor. Conclusively uncommitted: durable log absent, WMS exception authority conclusively absent for op:wf_R_301, audit conclusively absent, pending/in-flight clear, no downstream adjustment, session current, WKR-5502 active, ASG-7703 current for BIN-C01-R3-S1, SKU-9903 still expected at current count revision; independently confirm no inventory adjustment or release triggered by op:wf_R_301; cycle-count coordinator freshly scoped approves; WMS exception processor resubmits same key op:wf_R_301 with same payload. No automatic retry. 0 duplicates. 0 inventory adjustments or releases from recovery alone.
Staged restore (wf_5, CC-R201). Stage privately with no production discrepancy submissions or key writes. Read existing A/B keys and receipts: op:wf_A_001 → DISC-REF-5501 at WMS exception authority, op:wf_B_002 → DISC-REF-5502 at WMS exception authority. Read R101 key op:wf_R_101: no receipt (denied, assignment cancelled v2). Read R201 key op:wf_R_201: absent before restore. Independently read WMS exception authority, audit authority and pending/in-flight/downstream state (including any inventory adjustment or release) before restoring verified snapshot in private. After staging, re-read: op:wf_A_001 → DISC-REF-5501 at WMS exception authority (unchanged), op:wf_B_002 → DISC-REF-5502 (unchanged), op:wf_R_101 → no receipt (confirmed denied), op:wf_R_201 → absent, pending/in-flight clear, no new adjustment or release effects. Planned test: compare authoritative operation log and audit records for op:wf_A_001, op:wf_B_002, op:wf_R_101 and op:wf_R_201 before and after private staging: A/B operation markers and audit entries unchanged, R101 denial evidence preserved in audit, R201 has no operation record or audit entry, pending/in-flight and downstream controls unchanged. Newer revocations preserved: ASG-7701 cancelled at wf_4 v2 remains denied; no re-enabled assignment or live adjustment/release effect from restore. Named owner: warehouse supervisor reads exception register, reconciles pending against independent receipts and signs off. Two roles sign off before production resume: cycle-count coordinator verifies exception register, WMS exception processor verifies submission workflows. Named fallback: warehouse supervisor; cycle counts revert to paper forms with manual WMS entry.
Concrete native accessibility targets. On Zebra TC52x (Android 13) with TalkBack: (1) scan bin and confirm assignment match (target: scan confirmation announced, bin ID read aloud); (2) scan item and enter count (target: discrepancy calculated and announced); (3) submit report and receive confirmation (target: receipt reference announced). On Honeywell CT60 (Android 11) with integrated scanner: same 3 tasks with hardware scan trigger. Manual entry path on either device: same 3 tasks without scanner, keypad entry with field labels announced. Camera barcode decode on consumer Android device without dedicated scanner: same workflow with camera-based scanning where lighting permits. Text scale: bin identifiers and count fields readable at 200% system scale on Zebra TC52x. Weak/offline acceptance: discrepancy captured and queued locally on Zebra TC52x in cold-storage zone with no connectivity; on reconnect re-checks assignment active and bin status before submission. No photo upload implied for cycle count. No iOS warehouse scanning claimed. Test plan with stated targets; no claim tests executed.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.