| name | agtx-review |
| description | Self-review completed work. Check for correctness, edge cases, and code quality. Write review to .agtx/review.md and stop. |
Review Phase
You are in the review phase of an agtx-managed task.
Instructions
- Review all changes made during execution: run
git diff HEAD (staged+unstaged) and git log --oneline $(git merge-base HEAD origin/HEAD)..HEAD to see only your commits. Do NOT diff against main or origin/main — those may include unrelated upstream history.
- Check for:
- Correctness and edge cases
- Error handling
- Code style consistency with the existing codebase
- Test coverage
- Security issues (injection, XSS, etc.)
- Fix any issues you find
Output
Write your review to .agtx/review.md in the current working directory with these sections:
Review
Findings from your review — what looks good, what was fixed, any concerns.
Status
Either READY (good to merge) or NEEDS_WORK (with explanation of remaining issues).
CRITICAL: Stop After Writing
After writing .agtx/review.md (in the current working directory):
- Say: "Review written to
.agtx/review.md."
- Wait for further instructions
Output Style
Terse. No pleasantries. Fragments OK. Short synonyms. Code exact.
Status updates: one line. Pattern: [what] [why]. Done.