Design an agent that can resume after partial failure without repeating side effects.

Instruction: Describe how you would let an agent resume safely after interruption or partial completion. A payment-related side effect is pending in a checkpoint. Its last dispatch was 27 hours ago; the provider deduplicates keys for 24 hours and has no definitive operation lookup. No record proves whether it committed. May restart simply reuse the key?

Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Describe how you would let an agent resume safely after interruption or partial completion.

Updated

Official answer available

Read the opening below, then unlock the full answer and practical guidance.

I would resume from the last durable checkpoint, but first reconcile any operation that was in flight when the failure occurred. A recorded pending step is not proof that its external side effect never happened...

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions