Work with files, checkpoints, and background tasks
Suppose the agent has calculated an estimate and now needs a person to approve the next action. Save a named checkpoint before waiting. Record the operation ID, the result you already have, and the decision still needed. Store only enough JSON to reconstruct the next step. Put large files in the authorized task workspace.
On resumption, read the checkpoint and the latest decision. Reuse the existing estimate or receipt when it still applies. Waiting releases runner capacity, so the same process may not be there when the person answers.
For analysis, configure an isolated workspace executor or supported managed workspace. Grant only the input files the task needs and review the output artifacts before sharing them. Use test credentials for connected systems in Sandbox.
Exercise restart after a completed operation and before the next model turn. Reuse the recorded operation result. If the outcome of a write is uncertain, reconcile it before continuing. Stopping a task stops further work and can leave a previously accepted external action in place.
What belongs in a checkpoint?
For a job waiting on approval of an estimate, keep the estimate’s reference, the revision the person saw, the proposed destination and the decision still needed. Keep the working spreadsheet as an authorized file. A second copy embedded in a checkpoint would be harder to update or withdraw if access changes.
Test resumption with one changed fact. If the customer moved the visit to another site while the job was waiting, the approval for the original site cannot settle the revised action. Show the new destination for review. The estimate and receipt can still explain what happened before the change.