Not a simple swap request. A full state machine (ShiftSwapPage.tsx:13-49) with peer acceptance, manager approval, qualification checks, and hard compliance blocks that prevent illegal handoffs. Every approved swap flows directly into roster and time reconciliation.
Single engine, three surfaces. Employees propose, peers accept, managers approve, compliance blocks illegal patterns. All visible in one workspace.
COMPLIANCE_BLOCKED state fires on expired permits, loan conflicts, OT caps, or qualification mismatches. No illegal swaps reach the ledger.
Approved swaps immediately update the weekly roster and feed time reconciliation with clean data. Cite ShiftSwapControlPages + WeeklyRosterPage.
Click states to simulate flow. This is an illustrative example only — actual behavior in the Payrovia dashboard uses the real 12-state machine from ShiftSwapPage.tsx:13-49 (SwapStatus + statusConfig) with GraphQL-backed approvals and qualification gates.