Skip to main content

Failure Injection

You only know your agent can recover if you’ve broken it on purpose. This template gives you a test harness that injects realistic failures and asserts your agent recovers.

What to Inject


Python Harness


CI Integration


Regression Golden Rule

Every post-incident review (see Incident Recovery) must add one new failure-injection test. If the bug caused it, the test should have caught it. This turns incidents into permanently enforced guarantees.

Next Steps