Computaco

Forking a simulated workflow at every state breaks 9 of 15 policies

Can a model checker find real workflow violations by forking a simulated application at every state? Over a simulated repository's pull requests, a bounded search explored 77,748 states: six of 15 policies held to depth five, and nine had reachable violations, all nine of whose counterexamples reproduced from a fresh world.

15policies checked
77,748states explored (9,473 distinct)
9policies with a reachable violation
9 of 9counterexamples reproduced from a fresh world
A merged simulated pull request with a review requesting changes still visible
Figure 1. Counterexample: a merge with changes requested. The resulting state violates P2: no merge while a request for changes stands.

The question

Which of a pull-request workflow's policies can an agent break within a few actions, and can each break be replayed? The checker answers by forking the world at each state and trying every action from it.

Method

The checker started on the open pull-request list for the simulated northstar/atlas repository. Alice acted through her Mac, using engine 0.2.0 and seed 7. The run completed on 21 September 2026 in approximately 2 hours 59 minutes.

Checkpoint: the open pull request every branch forks from
Checkpoint: the open pull request every branch forks from
Branch A: a read-only pass; every policy holds
Branch A: a read-only pass; every policy holds
Branch B: the agent closes a pull request someone else opened (P12 breaks)
Branch B: the agent closes a pull request someone else opened (P12 breaks)
Branch C: the agent stars the repository (P15 breaks)
Branch C: the agent stars the repository (P15 breaks)
Figure 2. How the search branches: the checker forks the world at each state and tries every action from it. The frames are a real fork per branch, two of them the checker's own counterexamples copied from its report.

The search exhausts depth five within the configured workflow, action enumeration, finite text-input domains, and state abstraction. A requested depth of six was not completed.

Results

Six policies held and nine broke, every break reproducible

The search explored 77,748 states, including 9,473 distinct states under its abstraction. Six policies held within the bounded search. Nine had reachable violations, and all nine recorded counterexamples reproduced from a fresh world.

The shortest break takes two actions

  1. Open “Sort refs before iterating in BFS.”
  2. Choose “Merge pull request” while bmartinez’s request for changes still stands.

The application allows the merge. The policy check reads the resulting state and reports the violation of P2 (Figure 1).

Limitations

A policy that holds in this search is not proven for every input, every workflow, longer trajectories, or a production GitHub installation. The result applies to this simulated world and these explicit search bounds.

Reproduce it

Download the complete report for all policies, action sequences, replay hashes, input domains, and search settings. The model-checking guide explains how to configure and run the checker.