fix(#2484): add finding reconciliation step to review agent#2486
fix(#2484): add finding reconciliation step to review agent#2486fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
The review agent could emit contradictory findings within the same review — e.g., a High protected-path finding asserting "no authorization exists" alongside an Info implicit-authorization finding citing specific config that authorizes the change. This happened because orchestrator findings (step 6e) were added after the challenger pass without checking whether existing sub-agent findings negated their premise. Add step 6e-1 (finding reconciliation) between the orchestrator checks (6e) and outcome determination (6f). When a sub-agent finding cites specific evidence (e.g., renovate.json, dependabot.yml) that directly authorizes changes flagged by an orchestrator finding, the orchestrator finding is downgraded to info severity. The finding is not suppressed — human approval is still required for protected paths — but the contradiction is resolved and the verdict is no longer escalated to request-changes based on a negated premise. Closes #2484
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
Site previewPreview: https://cf3a5bd9-site.fullsend-ai.workers.dev Commit: |
|
🤖 Finished Review · ❌ Failure · Started 8:55 AM UTC · Completed 9:10 AM UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ReviewFindingsHigh
Medium
Low
Labels: Bug fix to the review agent skill file (harness component). |
The review agent could emit contradictory findings within the same review — e.g., a High protected-path finding asserting "no authorization exists" alongside an Info implicit-authorization finding citing specific config that authorizes the change. This happened because orchestrator findings (step 6e) were added after the challenger pass without checking whether existing sub-agent findings negated their premise.
Add step 6e-1 (finding reconciliation) between the orchestrator checks (6e) and outcome determination (6f). When a sub-agent finding cites specific evidence (e.g., renovate.json, dependabot.yml) that directly authorizes changes flagged by an orchestrator finding, the orchestrator finding is downgraded to info severity. The finding is not suppressed — human approval is still required for protected paths — but the contradiction is resolved and the verdict is no longer escalated to request-changes based on a negated premise.
Closes #2484
Post-script verification
agent/2484-reconcile-contradictory-findings)22500115e0f3a0f55972e2c31be79a61d94942e1..HEAD)