Exit codes and report file
| Exit code | Meaning |
|---|---|
0 | All tests passed. |
1 | At least one test failed. |
2 | Healed steps are waiting for review. |
CI systems treat any non-zero code as a failed step. With ci.failOnHealedPending: true in aitp.config.yaml, a run with healed steps waiting for review stops the pipeline until someone reviews them with npx aitp heal --review.
Report file
Each run writes its report to .aitp/last-run.json. Open it with npx aitp report --last. Coding agents read this file to see what passed, failed or was healed; see For coding agents.