Added
A claims-processing agent handles cases that can take several hours and may be interrupted by deployments. It delegates document extraction and policy research to separate workers, while a supervisor makes the final decision. Workers must not see each other's sensitive inputs, and resumed runs must preserve approved findings without replaying completed external actions. The team already has a durable job database and cannot introduce a new orchestration platform this quarter. Which design is best?
Versioned workflow state and step-level checkpoints support durable resumption without replaying completed side effects. Passing each worker only scoped inputs and outputs preserves context isolation while the supervisor retains decision authority. Replaying the full transcript cannot reliably distinguish completed side effects from pending ones. A shared conversation violates the stated isolation boundary. Synchronous execution under one request is fragile for multi-hour work and whole-request retries can duplicate actions.