Repository navigation
feat(review): add /review deep so one finder's blind spots don't go unreviewed - #2299
Merged
akramcodez merged 12 commits intoNov 25, 2026
Conversation
11 of 18 tasks
puri-adityakumar
marked this pull request as ready for review
November 19, 2026 20:15
puri-adityakumar
requested review from
addyCooks,
akramcodez and
will-lamerton
as code owners
November 19, 2026 20:15
11 of 18 tasks
…und unknown context sizes
…r bound unknown context sizes
akramcodez
added a commit
that referenced
this pull request
Nov 26, 2026
…CLI (#2417) * feat(review): restore the review foundation that grounded /review builds on (#2297) * feat(review): restore the review foundation * fix(review): catch same-second worktree edits in review snapshots * feat(review): ground /review findings in the code and verify each one (#2298) * feat(review): restore the review foundation * fix(review): catch same-second worktree edits in review snapshots * feat(review): make grounded review the default /review * fix(review): show incomplete reviews as incomplete in the activity line * refactor(review): run review agents on the shared turn engine * fix(review): keep offered text tool calls beside quoted markup and bound unknown context sizes --------- Co-authored-by: akramcodez <[email protected]> * feat(review): add /review deep so one finder's blind spots don't go unreviewed (#2299) * feat(review): restore the review foundation * fix(review): catch same-second worktree edits in review snapshots * feat(review): make grounded review the default /review * fix(review): show incomplete reviews as incomplete in the activity line * feat(review): add /review deep with specialist finders * refactor(review): run review agents on the shared turn engine * fix(review): keep offered text tool calls beside quoted markup and bound unknown context sizes * fix(review): share the diff size limit so deep review and the verifier bound unknown context sizes --------- Co-authored-by: akramcodez <[email protected]> * feat(review): let nanocoder review run in CI and pipes without a terminal (#2300) * feat(review): restore the review foundation * fix(review): catch same-second worktree edits in review snapshots * feat(review): make grounded review the default /review * fix(review): show incomplete reviews as incomplete in the activity line * feat(review): add /review deep with specialist finders * feat(review): run nanocoder review without a terminal * refactor(review): run review agents on the shared turn engine * fix(review): keep offered text tool calls beside quoted markup and bound unknown context sizes * fix(review): share the diff size limit so deep review and the verifier bound unknown context sizes * fix(review): keep the cancelled report and exit code when a headless review is interrupted --------- Co-authored-by: akramcodez <[email protected]> * fix(review): align review specs and docs with main after merge * fix(review): strip ANSI in review specs so they pass with color forced on * fix(review): stop headless quick review passing on empty or partial output --------- Co-authored-by: Aditya Kumar Puri <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Part 3 of 4 for #1287. Targets
feat/1287-grounded-reviewand builds on part 2 (#2298), so please merge that first. Until #2297 and #2298 are merged, this diff also shows their 4 commits; the new work here is the last commit.Problem. A single finder tends to look at a change from one angle. It often catches crashes but misses misused APIs, broken project conventions, or code that does not do what the change says it should.
What this PR does. It adds
/review deep, which runs three finders over the same pinned revision, each with its own focus:Then:
source/review/review-dedupe.ts).run-grounded-review.tsintosource/review/review-verify.ts, so/reviewand/review deepshare it.docs/features/review.md,docs/features/commands.md. Changeset:.changeset/deep-review.md.Type of Change
Changeset
pnpm changeset) describing this change for the changelogTesting
Automated Tests
.spec.ts/tsxfilespnpm test:allcompletes successfully)Run on macOS, Node 22:
test:format,test:lint,test:types,test:knip,build: pass.test:ava: 11,429 pass, 38 fail. The same 38 fail on plainfeat/1287-grounded-reviewin the same setup, so none come from this PR (34 incli-value-flags.cli-integrationwith a React duplicate-key error, 2--acptrust checks that need a trusted checkout, 2 auto-commit tests).Manual Testing
GMI Cloud (
zai-org/GLM-5.3-Flash) on the same fixture branch with four seeded bugs./review deepran 11 agents, 43 tool calls and 30 model calls, and verified 6 issues, including all four seeded bugs. It ended as "incomplete" because the 8-verification limit left one finding unverified, and the report says so.One thing I noticed: the finders often describe the same bug in different words, and the merge step only joins exact matches. Those near-copies use up verifications, so deep reviews hit the 8-verification limit quite often. I left this alone here, but smarter merging could be a follow-up.
Live panel:
Report:
Checklist
Logging: review steps go to the review activity store, as in part 2.
Part of #1287.