noCV
ASAGA-105 · Persist multi-step progress

Reconcile shipping acceptance before issuing a replacement label

Practice briefTaskExpert

The shipping adapter loses its response after accepting a label, and the workflow currently creates a replacement immediately.

Focused work estimate
5h + prerequisites
Priority in the scenario
High
Engineering practice
Distributed failure · Reconciliation

Estimated field mix

  • Integrations50%
  • Distributed systems50%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

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.

Acceptance criteria

  • Query the original provider command identity before replacement.
  • Record accepted, rejected and unresolved outcomes explicitly.
  • Create a new generation only under a declared replacement rule.

Implementation constraints

  • The fake adapter must model accepted-but-unacknowledged requests.

Verification to include

  • Recover the original accepted label after a response loss.
  • Make status unavailable and retain unresolved shipping without a second label.

Deliverables

  • Shipping reconciliation and uncertainty probe

Rollout and recovery

Enable reconciled retries first; stop automatic replacement when provider identity lookup is 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.