Safe Agent Testing
Replacing Recorded HTTP Cassettes With Live Simulator State Authority for Stateful Integration Test Suites
Stateful simulators beat cassettes by catching what replay can't.
Marcus Szymański · November 21, 2026 · 8 min read
8 stories
Stateful simulators beat cassettes by catching what replay can't.
Simulators that own resource state keep agent tests honest.
Building a ledger system to track and reverse agent actions beyond git.
Tracing orders through fills, cancels, and restarts catches bugs that a profitable backtest hides.
Map every output and guard against repeats before Linear Loops go live.
Stateful simulators let agent CI test real Slack workflows safely.
Some Slack changes can be undone, others can't, and agents blur the line.
Scope a GitHub App tightly, or your PR agent can rewrite its own CI.