-
Notifications
You must be signed in to change notification settings - Fork 3k
feat(review): add the prose-execution audit and the counter-frame audit #9717
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
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b8ca367
feat(review): add the prose-execution audit and the counter-frame audit
wenshao eb4a89c
fix(review): gate 6d on the PR identity and weld its context pointer
wenshao 5484915
fix(review): make 6d's unperformable return clear the coverage gate
wenshao d3e9138
Merge remote-tracking branch 'origin/main' into review/prose-exec-and…
wenshao 70eb280
Merge remote-tracking branch 'origin/main' into review/prose-exec-and…
wenshao 40d0a09
fix(review): confine prose-exec execution and fund 6d's context read
wenshao 67a5434
docs(review): scope the medium-upgrade tip's counter-frame promise to…
wenshao c7d0763
Merge remote-tracking branch 'origin/main' into review/prose-exec-and…
wenshao e1048ec
Merge branch 'main' into review/prose-exec-and-counter-frame
wenshao 5f54ae5
fix(review): serve the roster a context-unavailable same-repo run sti…
wenshao 741d8de
fix(review): leave a failed pr-context no stale file to read (#9717)
qwen-code-ci-bot 8533257
Merge branch 'main' into review/prose-exec-and-counter-frame
qwen-code-dev-bot 228f960
fix(review): narrow stale-context prose and pin Agent 0 diff read (#9…
qwen-code-ci-bot 54914e8
Merge branch 'main' into review/prose-exec-and-counter-frame
qwen-code-dev-bot da1eac1
Merge branch 'main' into review/prose-exec-and-counter-frame
qwen-code-dev-bot f710b5d
fix(review): refuse exfiltration uploads and external writes in prose…
qwen-code-ci-bot 0416616
Merge branch 'main' into review/prose-exec-and-counter-frame
qwen-code-dev-bot baeaf73
Merge branch 'main' into review/prose-exec-and-counter-frame
qwen-code-dev-bot 5053075
fix(review): refuse prose-exec pushes to any URL and plug two isPromp…
qwen-code-ci-bot 3f551a7
Merge branch 'main' into review/prose-exec-and-counter-frame
qwen-code-dev-bot 83093e4
fix(review): confine prose-exec by reach, not text, and weld its fetc…
qwen-code-ci-bot 393bb72
Merge branch 'main' into review/prose-exec-and-counter-frame
wenshao 4bfd6fd
fix(cli): fail-close the scratch-tree config and hook screens (#9717)
qwen-code-dev-bot dd426dc
fix(cli): fail-close remaining scratch-tree screen gaps (#9717)
qwen-code-dev-bot 3d6ae4d
fix(cli): fail-close round-17 scratch-tree screen gaps (#9717)
qwen-code-dev-bot 50347cd
Merge branch 'main' into review/prose-exec-and-counter-frame
qwen-code-dev-bot ae0be2e
fix(cli): fail-close round-18 scratch-tree screen gaps (#9717)
qwen-code-dev-bot 31285aa
fix(cli): fail-close round-19 scratch-tree screen gaps (#9717)
wenshao fcf19bf
Merge branch 'main' into review/prose-exec-and-counter-frame
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
Large diffs are not rendered by default.
Oops, something went wrong.
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] 6d is not
budgetExempt(the exempt list is['0', '7', 'prose-exec', 'verify']), so its whole-diff budget branch computesmandatoryReadsas brief + diff pages only — while this welded context-file read is a launch-assigned mandate the budget block's own wording promises is "already counted in" ("your brief, the diff pages, any files your method mandates"). Probe at HEAD:[6d diff-only] mandatoryReads advertised in block: 4; counting the context read flips it to 5. On a PR with long discussion history the context file exceeds the 25 000-char read cap (SKILL.md's own paging warning names this shape), so 6d's mandated reads are undercounted by 1–4 pages and the agent hits its soft ceiling that many calls early — mid out-of-frame walk, the role's entire substance — on exactly the long-discussion PRs where the counter-frame audit matters most. Count the context file's pages in 6d'smandatoryReads, or make 6dbudgetExemptwith Agent 0's reason (issue-sized mandatory work, not diff-sized).中文说明
[Suggestion] 6d 不在
budgetExempt名单中(名单为['0', '7', 'prose-exec', 'verify']),因此其全 diff 预算分支只把mandatoryReads计为 brief + diff 页数——而这里 weld 的上下文文件读取是启动指派的强制任务,预算块自己的措辞承诺它们"已被计入"("你的 brief、diff 分页、你的方法强制要求的任何文件")。HEAD 探针:[6d diff-only] mandatoryReads advertised in block: 4;把上下文读取计入后翻转为 5。在讨论历史很长的 PR 上,上下文文件会超过 25 000 字符的读取上限(SKILL.md 自己的分页警告就点名了这种形态),6d 的强制读取因此少计 1–4 页,agent 会提前 1–4 次调用触及软上限——恰在走出框架的巡查中途(该角色的全部实质)——恰恰发生在反框架审计最重要的长讨论 PR 上。建议把上下文文件的分页计入 6d 的mandatoryReads,或以 Agent 0 的理由(问题规模的强制工作,而非 diff 规模)把 6d 设为budgetExempt。— qwen3.8-max via Qwen Code /review (v0.21.14)
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.
Fixed in
40d0a09via your second option: 6d declaresbudgetExemptwith Agent 0's reason (the mandated context read is discussion-sized, not diff-sized — its page count is unknowable at brief-build time, which is why counting it intomandatoryReadscannot be done honestly), and the exempt-set pin updates to['0', '6d', '7', 'prose-exec', 'verify'].中文说明
已在
40d0a09按你的第二个方案修复:6d 声明budgetExempt,理由与 Agent 0 相同(强制的 context 读取是讨论体量而非 diff 体量——其页数在构建 brief 时不可知,这正是无法诚实计入mandatoryReads的原因),豁免集 pin 更新为五元素。