Understudy Call Sheet Swap Lens
Design intent
Measure whether publishing a revision actually calls the understudy and reaches the later cast-slip reader. Distinguish honest delivery, visible terminal deferral and a false posted claim; recovery corrects current cast information while preserving the wrong slip and trust loss. All proposed card, rite and events are defined in the single source page.
Affected objects
UCS-01, UCS-D1, ucs.prepare_sheet, ucs.answer_call, UCS-S0, UCS-S1, UCS-W1, UCS-Q1, UCS-O1, UCS-A1, UCS-N1, UCS-R1, UCS-R2, UCS-X1, UCS-K1, UCS-K2, ucs_runner_credits, ucs_cast_trust, ucs_uncovered_role, ucs_desk_work, ucs_false_revision_scar.
Pass/fail oracles
case-preparation-authority
Opening standalone UCS-01 creates once-only ucs.prepare_sheet without recruitment,route,calendar or resource prerequisites. Produce immutable inputs in authored order with zero preparation deltas: {“actors”: {“ilka”: “Ilka Ren, stage-management assistant and player-controlled decision maker”, “dov”: “Dov Hale, lead actor who signed a matinee withdrawal”, “pira”: “Pira Lune, understudy and harmed immediate reader”, “aster”: “Aster Moll, front-of-house manager and later cast-slip consumer”, “bek”: “Bek Tor, call runner delivering revisions and retractions”}, “inputs”: {“old_sheet”: {“producer”: “ilka”, “initial”: “ucs.prepare_sheet creates immutable UCS-S0 rev 0: role=Warden; performer=Dov Hale; call=matinee.”}, “withdrawal”: {“producer”: “dov”, “initial”: “ucs.prepare_sheet creates signed UCS-W1: matinee only, role=Warden, replacement=Pira Lune; undelivered.”}, “query”: {“producer”: “pira”, “initial”: “ucs.prepare_sheet creates immutable UCS-Q1 asking whether Pira is called; original answer=unanswered.”}, “slip_order”: {“producer”: “aster”, “initial”: “ucs.prepare_sheet creates UCS-O1 for one UCS-K1 from the current sheet; pending sheet forbids printing.”}, “allotment”: {“producer”: “bek”, “initial”: “ucs.prepare_sheet creates immutable UCS-A1 with two runner credits; revision costs one, retraction plus revision costs two.”}}}. Ilka may publish revisions; Dov withdrawal grants only Warden matinee replacement by Pira, no other performance change. Never edit S0.
initial-state-and-reachable-rite
Create UCS-D1 and ucs.answer_call at prepared=true,phase=review,notice=unanswered,sheet=S0_only; runner_receipt=absent,pira_status=uncalled,slip=absent; false_revision_ever,retraction_issued,recovery_done false; history empty. Counters ordered ucs_runner_credits,ucs_cast_trust,ucs_uncovered_role,ucs_desk_work,ucs_false_revision_scar start (2,2,1,0,0). Exactly send_revision,post_pending,claim_posted available, recovery unavailable. Trigger prepared=true AND phase=review AND notice=unanswered AND sheet=S0_only; no elapsed-time or turn trigger.
owned-atomic-notices
Ilka writes phase,notice,false flag,history; Bek writes runner_receipt; Pira writes pira_status; Aster writes slip. Each choice is indivisible. Append notices UCS-N1/
send_revision
Require required phase review for initial options and recovery for retract_and_call, exact resulting scalar state, deltas (changes not totals), relief,cost and later reader outcome: {“id”: “send_revision”, “kind”: “ordinary”, “reader”: “pira”, “inputs”: [“old_sheet”, “withdrawal”, “query”, “slip_order”, “allotment”], “counter_deltas”: {“ucs_runner_credits”: -1, “ucs_cast_trust”: 1, “ucs_uncovered_role”: -1, “ucs_desk_work”: 1, “ucs_false_revision_scar”: 0}, “state_after”: “phase=closed; notice=revised_and_sent; sheet=S1_current; runner_receipt=UCS-R1; pira_status=called; slip=K1_correct; false_revision_ever=false; retraction_issued=false; recovery_done=false; history+=send_revision.”, “relief”: “Pira receives S1 via Bek and reports for the matinee.”, “cost”: “One runner credit and one desk-work unit.”, “future_effect”: “Aster prints K1 naming Pira Lune as Warden.”}
post_pending
Require required phase review for initial options and recovery for retract_and_call, exact resulting scalar state, deltas (changes not totals), relief,cost and later reader outcome: {“id”: “post_pending”, “kind”: “ordinary”, “reader”: “pira”, “inputs”: [“old_sheet”, “withdrawal”, “query”, “slip_order”, “allotment”], “counter_deltas”: {“ucs_runner_credits”: 0, “ucs_cast_trust”: 0, “ucs_uncovered_role”: 0, “ucs_desk_work”: 1, “ucs_false_revision_scar”: 0}, “state_after”: “phase=closed; notice=replacement_pending; sheet=S0_pending; runner_receipt=absent; pira_status=on_notice; slip=withheld; false_revision_ever=false; retraction_issued=false; recovery_done=false; history+=post_pending.”, “relief”: “Pira gets an honest pending answer. No coverage relief occurs.”, “cost”: “One desk-work unit; role stays uncovered; no credit spent.”, “future_effect”: “Aster records K1 withheld and prints no slip; case closes deferred.”}
claim_posted
Require required phase review for initial options and recovery for retract_and_call, exact resulting scalar state, deltas (changes not totals), relief,cost and later reader outcome: {“id”: “claim_posted”, “kind”: “harmful”, “reader”: “pira”, “inputs”: [“old_sheet”, “withdrawal”, “query”, “slip_order”, “allotment”], “counter_deltas”: {“ucs_runner_credits”: 0, “ucs_cast_trust”: -2, “ucs_uncovered_role”: 0, “ucs_desk_work”: 0, “ucs_false_revision_scar”: 1}, “state_after”: “phase=recovery; notice=claimed_revised; sheet=S0_only; runner_receipt=absent; pira_status=released; slip=K1_wrong; false_revision_ever=true; retraction_issued=false; recovery_done=false; history+=claim_posted.”, “relief”: “Desk closes with no credit or work spent.”, “cost”: “Pira loses two trust, stays home believing she is uncalled; one permanent scar.”, “future_effect”: “Aster prints K1 naming absent Dov Hale; recovery becomes available.”}
retract_and_call
Require required phase review for initial options and recovery for retract_and_call, exact resulting scalar state, deltas (changes not totals), relief,cost and later reader outcome: {“id”: “retract_and_call”, “kind”: “recovery”, “reader”: “pira”, “inputs”: [“old_sheet”, “withdrawal”, “query”, “slip_order”, “allotment”], “counter_deltas”: {“ucs_runner_credits”: -2, “ucs_cast_trust”: 1, “ucs_uncovered_role”: -1, “ucs_desk_work”: 2, “ucs_false_revision_scar”: 0}, “state_after”: “phase=closed; notice=retracted_and_called; sheet=S1_current_S0_superseded; runner_receipt=UCS-R2; pira_status=called; slip=K2_correct_K1_withdrawn; false_revision_ever=true; retraction_issued=true; recovery_done=true; history+=retract_and_call.”, “relief”: “Pira receives X1 and S1 via Bek and reports in.”, “cost”: “Both credits and two desk-work units; only one of two lost trust returns.”, “future_effect”: “Aster withdraws but retains K1 and prints K2 naming the error and Pira Lune.”, “recovers”: “claim_posted”, “retained_scar”: “ucs_false_revision_scar stays 1; false N1 entry, S0, wrong K1 and X1 remain visible.”}
warned-harmful-commit
Publish control with no other selected posture commits claim_posted after a harm warning. Closing,waiting or reloading commits nothing. Harm ends (2,0,1,0,1), claimed_revised with S0 only and absent receipt, Pira released/staying home and actual wrong K1 naming absent Dov. These surfaces must coexist; notice does not create S1 or call Pira.
explicit-recovery-retains-error
Only phase=recovery AND false_revision_ever=true AND recovery_done=false permits retract_and_call. Ilka signs X1; Bek delivers X1/S1 and returns R2; Pira reports in; Aster withdraws but retains K1 and prints K2 with exact text: UCS-K1 listed Dov Hale in error; Warden played by Pira Lune. Final counters (0,1,0,2,1), false_revision_ever=true,retraction_issued=true,recovery_done=true. S0,wrong K1,false N1,X1 remain visible; scar stays 1. Recovery terminal and unrepeatable, never equivalent to honest send.
terminal-totals-and-invalid-duplicates
Send ends (1,3,0,1,0) with delivered S1,Pira called and K1 naming Pira. Pending ends (2,2,1,1,0) with Pira on_notice,uncovered role,K1 withheld and no printed slip; terminal deferral offers no later choice. Invalid/out-of-phase actions visibly reject Option unavailable for this docket state with zero deltas. Duplicate commits return recorded result without reapplying changes; preparation is once-only. No implicit time/view-triggered commitment.
Progress and evidence
Report supported named oracles out of 10; unsupported observations remain separate from passes. Each branch requires exact state, counter changes, relief,cost and later consumer outcome together. All checks are required; discovery alone is not runtime success.
Playtester evidence must identify seed,session,source revision,producer-owned preparation records,initial choices and state,ordered actions,precommit warning,append-only N1 entries,runner receipts,current and historical sheets,Pira responses,Aster slip outputs,counters before/after and computed deltas. Exercise all initial branches and harm-to-recovery; observe unavailable recovery initially,terminal deferral,wrong-phase rejection,duplicate commits and once-only preparation. Verify exact K2 text and retained S0/wrong K1/false N1/X1. Closing,waiting and reload must not commit a choice. These are design-only evidence specifications, not runtime results,replays or satisfaction verdicts.