| Classification | Example |
|---|---|
| Recoverable | Cookie modal blocks the target, transition mid-flight, stale locator |
| Not recoverable | Real regression, 500 error, network outage, CAPTCHA, browser crash |
Recovery adds latency: 5-20s for diagnosis, up to 10s per generated step.

Eligibility
- Only runs with
CI=trueare eligible (editor sessions never trigger recovery) - A single run can recover at most 3 times
- Only primitive steps, not modules or AI action
- Infrastructure failures (timeouts, 5xx, crashes) are never recovered
- Configuration errors (invalid options, nonsensical sequences) are never recovered
Configuration
Enable per test in test options, or set the default viaai.failureRecovery in
momentic.config.yaml:
momentic.config.yaml
Usage guidance
Treat frequent recovery as a flakiness signal, not a success.- Don’t rely on recovery as the only reason a test passes
- Fix the underlying app or test behavior
- Quarantine persistently flaky tests
- Use recovery-status filters in the run viewer to spot trends