An agent's execution container dies halfway through a task. What survives, and how does it recover?

Instruction: Separate durable session records, the control loop, and replaceable workers. Explain what can be restored, how stale workers are fenced, and when recovery must pause.

Context: Design recoverable agent execution with durable task evidence, verified artifacts, worker reconstruction, and explicit limits on resuming uncertain work.

Updated

Prepare a stronger answer

I'd keep the session record, task constraints, operation status, and durable artifact references outside the execution container. The control loop would treat a worker failure as a recorded tool error, not as the loss of the whole task...

This member answer includes:

  • • A complete, copyable sample answer
  • • A practical walkthrough
  • • Common mistakes and how to avoid them
  • • Guidance for adapting the answer to your experience
  • • Answered interviewer follow-ups
Unlock the full answer and preparation guide

One payment for one year of full access. No automatic renewal.

See pricing and everything included

Your preparation path

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

Related Questions