Repository navigation
Bound CI doctor reviews and stop filtered-evidence retries - #11923
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Deferred-candidate rotation checkpoints all offered candidates rather than actual attempts, so the five-candidate cap can repeatedly skip eligible work.
1 open issue
What changed in this PR
This PR bounds AWF’s CI diagnosis-maintenance reviews and stops filtered-evidence retries early, addressing the budget exhaustion reported in #11922.
Changes:
- Cap reviews at five candidates, starting with one when cost is unknown, while preserving backlog and receipts.
- Add an access probe and stop-on-denial guidance that prohibits cross-PR retries and evidence fallbacks.
- Add focused regression assertions and refresh lock metadata without changing permissions, sandboxing, or dependency pins.
| File | Description |
|---|---|
scripts/ci/diagnosis-maintenance-workflow.test.ts |
Adds assertions for bounded batches and filtered-evidence stop conditions. |
.github/workflows/ci-integration-doctor-updater.md |
Defines review limits, evidence-access handling, and front-loaded safeguards. |
.github/workflows/ci-integration-doctor-updater.lock.yml |
Updates the generated body hash for the revised instructions. |
Review effort: Max (adaptive)
| within those limits and the time budget. Select at most 5 candidates for this | ||
| workflow, starting with 1 when review cost is unknown; never fill the shared |
|
@copilot address review feedback |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Implemented actual-attempt-based deferred rotation and added multi-run regression coverage for partial batches and early evidence denial. The fix is in commit |
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
✅ Copilot review passed with no inline comments. @lpcox Add the |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Fixed the failing CI prompt contract assertions and committed the lock-safe wording update in |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (2 files)
Coverage comparison generated by |

CI and Integration Doctor Updater selected a 50-PR batch, repeatedly requested integrity-filtered evidence, and substituted Git history before reporting incomplete. The proposed changes constrain review scope and stop evidence-access failures before they consume the run budget.
Bounded review
Evidence-access handling
Safeguards
Genuine evidence-access failures still report incomplete; this does not relax the gateway policy.