mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
feat(review): add reverse audit step to find coverage gaps
Add Step 2.6: after all findings are verified and aggregated, a single reverse audit agent reviews the diff with full knowledge of what was already found, specifically looking for important issues that all previous agents missed. - Only reports Critical/Suggestion level gaps (not Nice to have) - Findings go through the same verification as other agents - Single agent call — minimal cost overhead - If nothing is found, initial review had strong coverage This formalizes the "multi-round undirected audit" pattern that proved effective during the development of this PR (14 rounds, 40+ issues). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
95a62da039
commit
50d25733d7
2 changed files with 25 additions and 2 deletions
|
|
@ -31,6 +31,7 @@ Step 1.1: Load project review rules
|
|||
Step 1.5: Run deterministic analysis (linters, type checkers)
|
||||
Step 2: 5 parallel review agents (correctness, quality, performance, undirected, build/test)
|
||||
Step 2.5: Deduplicate → verify → aggregate findings
|
||||
Step 2.6: Reverse audit — find issues all agents missed
|
||||
Step 3: Present findings with verdict
|
||||
Step 3.5: Offer autofix for fixable issues
|
||||
Step 4: Post PR inline comments (if requested)
|
||||
|
|
@ -48,7 +49,7 @@ Step 5: Restore environment
|
|||
| Agent 4: Undirected Audit | Business logic, boundary interactions, hidden coupling |
|
||||
| Agent 5: Build & Test | Runs build and test commands, reports failures |
|
||||
|
||||
All agents run in parallel. Each finding is independently verified by a separate verification agent to reduce false positives.
|
||||
All agents run in parallel. Each finding is independently verified by a separate verification agent to reduce false positives. After verification, a **reverse audit agent** reviews the diff with knowledge of all confirmed findings to catch issues that every other agent missed.
|
||||
|
||||
## Deterministic Analysis
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue