Captured conflict simulation
The seven-day model compares the resolver's default policy with an owner opt-in for settling high-confidence updates between authenticated captured rows.
The seven-day model compares the resolver’s default policy with an owner opt-in for settling high-confidence updates between authenticated captured rows. It uses the production decision helpers and fixed verdicts; it does not call an LLM or ClickHouse.
Run it from the repository root:
uv run --locked python scripts/ops/simulate_captured_conflicts.py
Results
| Scenario | Captured rows | Human-reviewable pairs, default | Human-reviewable pairs, opt-in | All automatic settlements, default | All automatic settlements, opt-in | Captured-policy settlements, opt-in |
|---|---|---|---|---|---|---|
| Light | 700 | 372 | 141 | 176 | 407 | 231 |
| Steady | 1,750 | 975 | 328 | 413 | 1,060 | 647 |
| Surge | 3,500 | 1,965 | 645 | 829 | 2,149 | 1,320 |
In all six runs, backlog growth, false automatic settlements, and settled genuine contradictions were zero. Each scenario used a review capacity of 2,000 pairs per sitting. The model produced no failed resolver jobs and left no resolver work pending.
Model inputs and limits
- Seven days of seeded synthetic cases use fixed resolver verdicts and confidence scores.
- Resolver batches contain 40 rows, concurrency is 8, bursts last at most 300 seconds, and a row gets at most three attempts.
- A daily resolver call cap stands in for the namespace cost-share limit; it is not a provider price estimate.
- Review capacity is an input, not a measured operator rate. The generated workload contains no Undo events.
- Synthetic case mixes and fixed verdicts do not represent production distributions. The model excludes database races, provider latency distributions, and real restore writes.