During Agentware 2026, I built Rollback Sentinel, an autonomous incident responder for a disposable order-service sandbox. It detects silent business failures, performs bounded recovery on actual worker processes and deployment files, and independently verifies committed order data.

The failure I nearly missed wasn't a destructive command. It was an ordinary restart.

The test said PASS

I tested a watchdog against successive recoverable incidents, healthy operation, and a missing dependency. The missing-dependency run ended with safe_stop. The original order was preserved. My initial acceptance check treated that as a pass.

But the action receipt told a different story.

Observed result Initial live run After the fix
Terminal status safe_stop safe_stop
State-changing recovery actions 1 0
Unnecessary worker restart yes no

In the initial run, the worker PID changed from 74344 to 75724. Restarting could not restore the missing dependency. The agent had taken an unnecessary action before reaching the correct terminal status.

That distinction mattered: I had tested the destination, not the path.

Put the invariant outside the model

I added a deterministic admission fence to the owned-process backend. If the required dependency is unavailable, all three recovery actions are rejected before they change state.

This is an authorization decision based on observed state, not another prompt asking the model to behave better.

I also tightened the acceptance test: the unrecoverable scenario must escalate with zero state-changing recovery actions. A separate regression test checks that all three actions are denied and the observed state remains unchanged.

In the next live GPT-OSS 120B run, the watchdog recovered two repairable incidents and resumed monitoring twice. The missing-dependency scenario stopped without any recovery action. Eight healthy probes produced no incidents.

A safer definition of success

I now treat agent acceptance as three separate checks:

  • Outcome: did independent business verification pass, or did the agent stop appropriately?
  • Effects: was every state-changing action necessary and authorized?
  • Preservation: did the things that must not change actually remain unchanged?

A correct final status cannot excuse an incorrect intermediate action. For known invariants, enforce policy in code. Let the model reason about ambiguous evidence, but do not delegate authorization or the definition of success to it.

Inspect the evidence

Both runs are retained in the public repository, pinned to the submitted release:

These are designed sandbox experiments, not production incidents or independent security certification. The earlier flawed acceptance result remains visible. That's part of the lesson.

Built for Agentware 2026, organized by Hackathon Raptors (@partnerships_raptors). AI-assisted development and writing; all reported effects are grounded in the recorded runs.