Exit codes and report file

Exit codeMeaning
0All tests passed.
1At least one test failed.
2Healed 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.