$ fssg build --deterministic --validate |

I Do Not Want Autonomous Agents. I Want Recoverable Ones.

Logs

The industry keeps asking how long an AI agent can work without a human.

I think that is the wrong measure.

I care more about a harder question: after the agent fails, can I tell exactly what happened, preserve the work that is still valid, and continue without repeating an unsafe action?

An agent that runs for eight hours is impressive. An agent that can be interrupted after seven hours and fifty-nine minutes, reconstructed from durable evidence, and resumed from the last safe boundary is useful.

That difference is the line between autonomy as theatre and autonomy as infrastructure.

Autonomy optimizes for distance from the operator

Most agent demos measure distance: number of steps, tool calls, elapsed time, or tasks completed before a person intervenes. These numbers make good screenshots because they turn autonomy into a visible race.

But production systems do not fail at the clean edge of a step. They fail between realities:

  • an API accepts a request, but the local process crashes before recording the response;
  • a file is changed, but the validation stage never runs;
  • a pull request is created, but the agent retries and creates another;
  • a human approves one patch, while the runtime later executes a modified patch;
  • a model, prompt, or tool schema changes before a suspended run resumes.

The dangerous question is not whether the agent can continue. The dangerous question is what it believes has already happened.

A transcript cannot answer that reliably. Memory cannot answer it. A trace may explain the past, but explanation alone does not define what can be replayed. The runtime needs a durable account of execution.

I have written before that context is not memory. There is another boundary that matters just as much:

Memory is not recovery.

Memory helps an agent remember. Recovery lets a system prove.

The real unit of progress is not a message

Chat interfaces taught us to treat a response as the unit of AI work. Agent systems inherit that assumption and add tools around it. The result looks sophisticated, but the state model is still conversational: a sequence of messages with occasional side effects.

Engineering needs a different unit: a committed transition.

A transition should have at least five parts:

intent -> exact input -> execution boundary -> durable receipt -> verified state

If any part is missing, the runtime does not know whether it may retry, resume, compensate, or stop.

This is why I built filesystem checkpoints and deterministic rollback order into IOSM CLI. The checkpoint is not a convenience feature. It changes the semantics of the agent. Before a risky mutation, the system can name a known state. After the mutation, it can validate the result. If the gate fails, rollback is not a new act of model reasoning; it is an available runtime operation.

That distinction matters. The model should propose a recovery plan only when the system lacks a defined recovery path. It should not be forced to invent history from terminal output every time something breaks.

A recoverable agent needs four kinds of evidence

I see four artifacts as the minimum viable recovery model.

1. A checkpoint

A checkpoint answers: what stable state can we return to?

For code, it may be a filesystem snapshot or Git reference. For a workflow, it may be persisted graph state. For an external system, it may be a versioned object or transaction boundary.

A checkpoint without identity is only a backup. It needs a stable run ID, step ID, timestamp, and relationship to the operation that follows.

2. A receipt

A receipt answers: what definitely happened outside the model?

A successful tool message is not always enough. A useful receipt can include the exact operation, target, result identifier, input hash, tool version, and the state observed after execution.

This becomes crucial when the process dies after an external side effect. On restart, the runtime should inspect the receipt—or query by an idempotency key—instead of asking the model whether it should try again.

3. A gate result

A gate answers: is the resulting state acceptable?

Completion and correctness are different events. A command can exit successfully and still produce the wrong architecture. A patch can apply cleanly and still violate scope. A generated article can build and still be thematically repetitive.

In IOSM, phase gates exist because progress should be earned by evidence. The same principle applies to agent recovery: the runtime needs to know not only that a step ran, but whether its output became trusted state.

4. A decision record

A decision record answers: why did the system choose this branch?

Not every model thought belongs in permanent storage. Most intermediate reasoning is noise. What matters is the compact decision: alternatives considered, selected action, constraints, and evidence used.

This is where the IOSM artifact model becomes more than process documentation. Baselines, hypothesis cards, phase reports, waivers, and decision logs form a recovery surface. They let a future run understand not merely the latest files, but the engineering intent that produced them.

Replay is a permission problem

The word resume sounds harmless. In a system with side effects, it is a permission decision.

A read can usually be repeated. A write may need an idempotency key. A destructive operation may require a fresh approval. A model call can be reused only if its prompt, model, tools, and policy versions are still valid for the run.

I would encode replay policy explicitly:

Operation Default recovery policy
Read/search replay
Deterministic local transform replay or recompute
Model call reuse recorded result; regenerate only through a declared migration
File/database write verify receipt, then skip or compensate
External message/API mutation require idempotency key and receipt
Destructive action stop and request renewed approval

This is one place where contracts are not prompts. A prompt can ask the agent to "avoid duplicate actions." A contract can make the action unavailable unless the runtime supplies a valid operation identity and replay policy.

The best safety instruction is often not a sentence the model reads. It is a state transition the runtime refuses to perform.

Human approval must attach to an artifact

Human-in-the-loop is often presented as a button: approve or reject.

That is not enough.

Approval should bind to the exact artifact the person reviewed—a command, patch, deployment plan, message, or transaction. If that artifact changes, the approval expires. Otherwise the system quietly converts consent for version A into permission for version B.

A durable approval record should include:

{
  "run_id": "...",
  "step_id": "...",
  "artifact_hash": "...",
  "decision": "approved",
  "constraints": ["no schema migration"],
  "expires_at": "..."
}

This may look bureaucratic compared with a chat reply. But production engineering is full of structures that look bureaucratic until the first serious incident. Type systems, migrations, transactions, and audit logs all impose friction in exchange for making failure legible.

AI systems need the same maturity.

The autonomy benchmark I would trust

I do not want another benchmark where an agent receives a clean repository and works until it reaches a passing test.

I want an adversarial recovery benchmark.

Kill the process after a tool succeeds but before the agent records success. Change the model version during suspension. Expire an approval. Return a timeout after an external API has already committed the operation. Corrupt one checkpoint. Resume the same run on another machine. Force two workers to claim the same step.

Then measure:

  • duplicated side effects;
  • lost valid work;
  • time to a trusted state;
  • number of human decisions repeated unnecessarily;
  • recovery paths completed without new model improvisation;
  • divergence between recorded intent and final state.

That benchmark would tell me more about an agent platform than a thousand-step demo.

Intelligence determines how ambitious a plan can be. Recoverability determines how much of that ambition can safely enter the real world.

The future agent will be interrupted by design

I do not expect the best agents to run forever without interruption. I expect them to cross machines, models, deployments, approvals, budgets, and policy changes. Interruption will not be an exception. It will be part of normal execution.

That changes the design target.

The goal is not an immortal process. The goal is a process whose identity survives its implementation:

run identity
+ versioned contracts
+ durable checkpoints
+ side-effect receipts
+ artifact-bound approvals
+ explicit replay policy
= recoverable agency

This is also why runtime matters more than the agent. Model capability will keep improving and model identity will keep changing. The durable value lives in the layer that can preserve intent, constrain action, verify transitions, and recover trusted work.

I am not against autonomous agents.

I am against autonomy that disappears the moment the process dies.

The agent of the future will not be the one that never stops. It will be the one that can stop anywhere—and still know, structurally rather than narratively, how to continue.

Further reading

FACET AI CLI Terminal
facet@ai:~$