Pull request review loop

A step of the Claude Code development environment tree on Gradus, in the Guardrails area: Permissions, verify, review.

Have every assistant-written change land through a pull request that a reviewer subagent and CI check before a person merges it.

Usually comes after: A single verify command.

Prompt for your AI assistant

Set up a workflow where changes are pushed to a branch and opened as a pull request with a generated description. Add a CI job that runs the verify command and a review step that runs the reviewer subagent on the diff. Document the loop in CLAUDE.md so the assistant follows it without being asked.

This is https://gradus.kazet.blog/tree/claude-dev-environment/step/review-loop as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.