Skip to content
PathGuided

When Agents Become Bureaucrats

Stale progress metadata should never blind an agent system. Separating read-only inspection from fail-closed execution interlocks removes procedural dead ends without loosening safety boundaries.

3 min read
Email

One of the most frustrating failure modes in a multi-step agent system is neither a crash nor a hallucination. It is procedural paralysis.

A coordinator session dies, restarts, or hands off to a successor. On disk, the durable evidence is intact: git commits exist, run manifests are readable, review receipts are present. Yet a progress projection is stale, or a checkpoint records an earlier coordinator_session ID. When the successor agent inspects the package, it hits an ownership or bookkeeping mismatch and concludes that it cannot report what happened, reconcile obvious facts, or continue independent authorized work. The human operator is forced to hand-edit metadata just to let the system reason from evidence it already possesses.

The agent has turned into a bureaucrat—refusing to look at reality because a form from yesterday has the wrong signature.

The Conflation Behind the Dead End

In our own runtime audit, we traced this paralysis to a clean architectural mistake: conflating reporting and reconciliation with execution interlocks.

Progress files are locator and ordering aids, not authoritative truth. Canonical run manifests hold the actual execution record, and our recovery reader already joined progress rows against canonical manifests. Yet readRecoveryOperations required the checkpoint's coordinator_session to match the requesting session before returning a recovery account. A capable successor holding valid package-local facts received an ownership error instead of a read-only summary.

Worse, direct skill progress imposed a hold whenever a prior session's progress report was unfinished or reporting tools were unavailable—turning a bookkeeping gap into an execution freeze.

Always Permitted Revision-Checked Only Fail-Closed Ownership and Custody Durable Sources (Run Manifests, Commits, Receipts) Read-Only Inspection Evidence-Backed Reconciliation Execution Interlocks Reports Known Facts, Provenance, and Unknowns Updates Projections Without Granting Acceptance Governs Dispatch, Cancellation, and Holds

Separating Visibility from Authority

The durable invariant is simple: inaccurate or stale progress metadata alone must never prohibit inspection, reporting, evidence-backed reconciliation, or independent authorized work.

At the same time, fixing bureaucracy must not invite recklessness. A readable status is not a capability token. Inspection must never silently authorize dispatching a worker, canceling a process, releasing an explicit user hold, or declaring a step accepted.

Keeping those boundaries distinct forced two concrete engineering disciplines during our first recovery tranche:

  1. Preserve ownership and history instead of overwriting them. Direct skill reports now let a successor open a new report linked via an optional continuation_of UUID while preserving the original session's record. When a dead serial coordinator is marked stale, we stopped overwriting its historical finished_at with the detection clock; instead, we keep the real finished_at intact and record a separate recovery_observed_at as a conservative overlap bound.
  2. Reject optimistic takeover shortcuts. During cross-review, we rejected a prototype that treated an empty tracked process-group inventory as proof that serial work had stopped. Detached shell descendants can outlive inventoried groups, and serial admission did not yet share one atomic claim across every writer path. Rather than weakening the guard, we kept missing or malformed finish metadata strictly fail-closed until full process custody and atomic admission exist.
Alerts drawer surfacing workspace state and holds without conflating inspection and execution
Alerts drawer surfacing workspace state and holds without conflating inspection and execution

Independent review also caught a subtle reducer bug: an unfinished predecessor report was suppressing a completed successor handoff in compact counts. Separating recorded handoff evidence from unfinished reporting activity fixed the projection while keeping managed running attempts and wave-sealing vetoes untouched.

Reliable software factories need two opposite virtues at once: total transparency when observing state, and strict conservatism when mutating it. When you separate those two planes, agents stop acting like bureaucrats—and start behaving like disciplined engineers.

Join the PathGuided Closed Beta

Onboard your repositories with local-to-cloud spec execution, split-tier model routing, and commit-bound Work Tours.

Request beta access