CLI Agent Mode Gathers Its Own Context, and Reviews New Files
CLI 0.11 and MCP 1.7 gather the context larger agent reviews need up front, review new files, and show which change sizes agent mode suits.
Larger agent reviews now gather the context they need up front, so more of them finish in one pass. Agent mode also reviews the new files in your change, and the docs now say which change sizes it suits.
New
Context gathered up front
On larger changes, agent mode now collects the context a review needs before it starts, straight from your working copy. Reviews find as many known bugs as before, and the context step counts as part of the same review.
Agent mode
Faster reviews, with the right context.
7.2x
faster than a full review on small changes
- Agent mode Up to about 600 lines
- Either 600 to 2,000 lines
- Full review Over 2,000 lines
The gap narrows as changes grow. The agent mode docs carry the latest guidance.
- Untracked files
- Ignored files
- Binary files
- Credential files
- Files containing a key or token
- Included
- gathering context never uses an extra review
- --no-scout
- turns it off in the CLI
Use a full review for very large changes, or for anything a person will read. In the MCP server, turn the context step off with scout: false on review_agent.
Improvements
New files are reviewed
Agent mode and full reviews of local changes now include new files you have not run git add on yet. A new file that is a credential file, or that contains a private key or an API token, stays on your machine.
CLI 0.11.0
- New
--no-scoutflag to skip the context step. --jsonoutput lists only the documented fields.- New files are part of the review, with credentials kept out.
- A changed file that links to a file git ignores is no longer sent.
optibot review -breviews new files too, with the same checks.
MCP server 1.7.0
review_agentruns the same context step and acceptsscout: false.review_agentandreview_local_changesreview new files, with credentials kept out.- Files inside
.gitare never sent, including through a symlink.