# Review checklist for agent-written changes

> Agentic AI CoE delivery template · version 0.1 · draft for review. Use with risk-tiered review: Tier A changes have a human approver during the pilot and can be auto-merged after 30 clean days (no escaped defect, revert or security finding from a tier A change; any one resets the count) when every automated check passes; Tier B and C need the human checks below.

## Review tier (decide first)

| Tier | Typical change | Who reviews |
| --- | --- | --- |
| A, low | Docs, tests, copy, internal refactors under the size limit with full test coverage | Automated checks plus AI review; one human approver during the pilot, then a human spot check once auto-merge starts |
| B, medium | Feature code, new dependencies, schema changes, prompts and tool contracts | One human reviewer who did not write the spec |
| C, high | Authentication, authorization, payments, data deletion, infrastructure, security controls, anything irreversible | Two humans incl. a security or domain reviewer; no auto-merge |

## Automated checks (all tiers, must pass)

- [ ] Build, unit and integration tests pass; coverage did not fall
- [ ] Evals pass their thresholds (if the change touches prompts, tools, models or retrieval)
- [ ] Static analysis (SAST) has no new high or critical finding
- [ ] Secret scan clean
- [ ] Dependency check: every new package exists in the registry, is maintained, has an allowed licence and no known critical vulnerability (guards against hallucinated or look-alike packages)
- [ ] Licence and code-match scan: no match to public code above the threshold without attribution
- [ ] AI reviewer ran and its findings are resolved or answered
- [ ] Commit carries the agent attribution trailer; PR links the spec ID

## Human checks (Tier B and C)

- [ ] The change does what the spec says, and nothing the spec did not ask for
- [ ] Tests really test the requirement (not mirrors of the implementation; try breaking the code mentally or with mutation tests)
- [ ] No weakened checks: no skipped, deleted or loosened tests, no disabled lint or type rules, no broad exception handling added
- [ ] Permissions, network calls, file access and data handling are what the design allows
- [ ] Error paths and edge cases from the EARS "IF ... THEN" requirements are handled
- [ ] Nothing reads instructions from untrusted content (issues, web pages, tool output) and acts on them
- [ ] Readable by the team that will maintain it after handover (P5)
- [ ] Reviewer can explain the change in their own words

## Record

| Spec ID | Tier | Reviewer(s) | Decision | Date |
| --- | --- | --- | --- | --- |
