The agent restarted. Which commit passed?
Revision A passes verification. An agent lands a repair as revision B. Then the session crashes.
When it resumes, can yesterday’s green check close today’s build?
That’s the first question I want to put to a model checker in my coding-agent workflow. It came from a checkout example I liked: a card gets charged, the response times out, and the service has to decide whether to retry. If I model a timeout as a failed payment, I’ve already written the double charge out of the story. Watch the checkout example at 0:44
I approve the spec and plan. Agents build tasks in separate worktrees, run checks, and get an independent review. Once a wave merges, the workflow verifies the combined code. A reviewer can still send it back for repair. That’s how the revision can change after a green check.
The rule I want to model is small enough to write in one line:
A run can close only when its verification evidence covers the current merged revisions.
I’d let the checker explore different orders of merges, repairs, crashes, and resumes. If it finds a path where A’s result closes B, I want the exact sequence so I can replay it against the real tracker.
When your agents resume interrupted work, which checks do they run again?







Comments
0 comments