HandbookIII the CastraPull requests and review
IIIthe Castra, Stay in controlPull requests and review
In plain words
A pull request asks to merge one branch into another and shows every changed line, so you or someone else can review it before it goes live.
Where you see it
Codex and Claude Code can open a pull request on GitHub when they finish a task. The Files changed tab shows every added and removed line, Vercel posts a preview link, and nothing reaches main until someone presses Merge.
What goes wrong
- Merging without opening Files changed
The description says "tidied the sidebar"; the diff also rewrites how password resets work. Read the file list even when you skip the details.
- One pull request with forty files
Nobody reviews forty files well, you included. Ask the agent for one change per pull request.
- Merging past a failing check
A red cross beside the pull request means a build or test failed. Merging anyway ships the failure.
What to tell your agent
Quick check
Sign in to earn +10 XP for itThe agent's pull request says "fixed button colour" but changes 14 files, including the auth middleware. What do you do?