Show return workflow progress without hiding unresolved compensation
The support console shows cancelled even when the label-void request timed out and the customer might still use it.
- Focused work estimate
- 1h 30m + prerequisites
- Priority in the scenario
- Medium
- Engineering practice
- Operational UX · Privacy
Estimated field mix
- Frontend40%
- Distributed systems30%
- Privacy engineering30%
Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.
Review it, then add it to your workspace.
The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.
Project context
A fictional equipment-rental service approves returns through several provider calls. Partial failures leave labels issued without inspections or refunds reported before provider confirmation.
Setup prerequisites
- Create synthetic return records and fake inspection, shipping and refund adapters.
- Use integer money values and no real payments or messages.
Preceding work
Complete these dependencies, or supply their agreed outputs before taking this ticket.
- ASAGA-101 · Model return workflow steps as durable facts with explicit pending states
- ASAGA-102 · Define stable provider command keys for each return step
- ASAGA-103 · Write the compensation table for return side effects
- ASAGA-104 · Persist return progress and next-step dispatch atomically
- ASAGA-105 · Reconcile shipping acceptance before issuing a replacement label
- ASAGA-106 · Run label compensation only when its original effect is confirmed
- ASAGA-107 · Authorize refund progression from verified return facts
Acceptance criteria
- Display business intent separately from confirmed provider outcomes.
- Highlight pending reconciliation and compensation states.
- Exclude provider credentials and raw customer payloads.
Implementation constraints
- Use a dedicated support projection with tenant authorization.
Verification to include
- Display a fully compensated synthetic return.
- Display unknown voiding as unresolved and deny another tenant's workflow.
Deliverables
- Scoped support workflow projection
Rollout and recovery
Enable read-only status first; keep uncertainty visible when adapters are unavailable.
Value of the work
For the engineer: Practice durable workflow state, compensation and uncertain outcomes.
For the team: Review recoverable business operations without assuming distributed transactions.
Evidence boundaries
Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.
Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.