Skip to main content
A full scan reads every file in the codebase. Pass --diff with a commit or a range to check only what changed.

Three forms

The working tree never affects the result. --diff reads the commits themselves, not your local edits.

Scan a pull request

Compare the base branch against the head commit with three dots.

What to expect

Each agent’s candidate files narrow to the touched set. The commit’s patch also feeds into every agent’s prompt, so it has context on the change even when it reads further with its tools. Every later phase runs on the touched files only. To run this check on each pull request, see Run agentgg in GitHub Actions. Full flag list: Scan flags.