-
Notifications
You must be signed in to change notification settings - Fork 3k
feat(review): deterministic incremental plans, widened one import hop #9188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
wenshao
wants to merge
15
commits into
fix/review-anchor-model-gate
from
review-incremental/1-dep-widening
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5febdc5
feat(review): rescope — deterministic incremental plans, widened one …
wenshao 6dfe7c0
fix(review): harden rescope and the widening against review findings
wenshao 2f59b09
fix(review): round-2 findings — slice the fetched diff, cap and recon…
wenshao c61499d
fix(review): round-3 findings — follow the lineage, absolute full-dif…
wenshao 94a55ea
Merge remote-tracking branch 'origin/fix/review-anchor-model-gate' in…
wenshao 4aba5e9
fix(review): round-4 findings — chunk-scoped role briefs, resolver gaps
wenshao 9f4ed14
Merge remote-tracking branch 'origin/fix/review-anchor-model-gate' in…
wenshao aa052b4
Merge remote-tracking branch 'origin/fix/review-anchor-model-gate' in…
wenshao 483976b
fix(review): round-5/6 Criticals — readers for restored files, honest…
wenshao 83a1a66
fix(review): round-6/7 Criticals — whole tree entries, and an async-p…
wenshao 9f8da7c
Merge branch 'fix/review-anchor-model-gate' into review-incremental/1…
wenshao 96f2f62
Merge remote-tracking branch 'origin/main' into tmp-9188-merge
wenshao f395bee
Merge remote-tracking branch 'origin/fix/review-anchor-model-gate' in…
wenshao 58ef6a3
fix(review): drop the duplicate `incremental` field the merge left be…
wenshao d365c0f
Merge remote-tracking branch 'origin/fix/review-anchor-model-gate' in…
wenshao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Suggestion] (1 of 2 in a pattern: contract gaps in the new describe block) The mixed delta+interaction chunk shape is untested; a mutation making the two bullet branches mutually exclusive (
else if) survives every test here. — Failure scenario: rescope's composite diff concatenates interdiff and interaction diff, andbuildDiffPlancuts on diff-line count regardless of scope kind, so a boundary chunk can hold a delta file and an interaction file. Mutation-verified: changing the secondif (seamHere.length > 0)inbuildChunkAgentPrompttoelse ifsurvives 4/4; a mixed-chunk probe (one chunk holdingsrc/changed.ts+src/caller.ts) fails under the mutation (… to contain 'INTERACTION only') — the seam bullet vanishes and the interaction file is re-reviewed from scratch, the regression this describe block was written to catch.Suggested fix: add a fixture chunk whose
filesholds both kinds and assert both the "changed since the last round" and the "INTERACTION only" bullets render in the same brief.中文说明
建议:(模式 1/2:新 describe 块的契约缺口)delta+interaction 混合 chunk 形态未被测试;把两个 bullet 分支改成互斥(
else if)的变异在此全部测试下存活。失败场景:rescope 的复合 diff 拼接 interdiff 与 interaction diff,buildDiffPlan按 diff 行数切块、不区分作用域种类,边界 chunk 可能同时含 delta 文件与 interaction 文件。变异实测:把buildChunkAgentPrompt第二个if (seamHere.length > 0)改成else if后 4/4 存活;混合 chunk 探针(同一 chunk 含src/changed.ts+src/caller.ts)在变异下失败——接缝 bullet 消失,interaction 文件被从头复审,正是本 describe 块要抓的回归。建议:新增files同含两类的 fixture chunk,断言两种 bullet 同时出现在同一份简报中。— qwen3.8-max via Qwen Code /review (v0.21.12)