Repository navigation
Conversation
Split oversized discovery into complete oldest prefixes, retain catch-up failure identities, and delay audits and activation until discovery completes. Preserve metadata limits and checkpoint safety with isolated regression coverage. Co-authored-by: Copilot App <[email protected]>
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills... |
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
Review complete: no actionable correctness, performance, or maintainability issues found in the changed lines. The specialist pass completed with no findings.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~5 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved batching and prefix-selection defects can prevent failures from triggering audits and leave catch-up unable to advance its checkpoint.
3 open issues
What changed in this PR
Adds bounded catch-up to Auditor’s incremental run collection so oversized discovery windows can make checkpoint progress while audits and agent activation wait for complete evidence.
Changes:
- Bisects oversized creation windows and checkpoints fully collected prefixes with overlap and backward-progress protection.
- Introduces failure carry-over state and gates activation on complete discovery and evidence.
- Adds catch-up and failure-boundary fixtures, updates workflow guidance, and regenerates the executable workflow.
| File | Description |
|---|---|
scripts/auditor-workflow.test.cjs |
Adds catch-up, pagination, boundary, and checkpoint-preservation fixtures. |
.github/workflows/auditor.md |
Implements bounded discovery, failure carry-over, activation gates, and updated guidance. |
.github/workflows/auditor.lock.yml |
Regenerates the executable workflow and metadata hashes. |
Review effort: Max (auto)
| (total !== undefined && total !== body.total_count)) { | ||
| throw new Error('Incomplete or changing recent run scope; checkpoint unchanged'); | ||
| } | ||
| if (body.total_count >= 1000) { |
There was a problem hiding this comment.
The bisection-based collector was replaced with revision-aware health selection in 13c53c9, so this tracked-prefix selection path is no longer used.
| const midpoint = Math.floor((Date.parse(start) + Date.parse(discoveryEnd)) / 2000) * 1000; | ||
| if (page !== 1 || midpoint <= Date.parse(state.checkpoint)) { |
There was a problem hiding this comment.
The midpoint catch-up collector was replaced with revision-aware health selection in 13c53c9, so this boundary case no longer applies to the current collector.
| catchup_failures: !manifest.evidence_complete && | ||
| (!discoveryComplete || (state.catchup_failures || []).length) ? newFailureKeys : []}); |
There was a problem hiding this comment.
The failure carry-over logic was removed with the bisection-based collector and replaced by revision-aware health selection in 13c53c9.
Co-authored-by: Copilot App <[email protected]>
| ...response.data.map(pr => ({ | ||
| number: pr.number, | ||
| title: pr.title, | ||
| body: pr.body, |
There was a problem hiding this comment.
This assignment focused on syncing main and fixing the impacted Go test failure; it did not change PR text handling in the collector. This security concern remains unaddressed and should stay open.
| ...response.data.map(pr => ({ | ||
| number: pr.number, | ||
| title: pr.title, | ||
| body: pr.body, |
There was a problem hiding this comment.
This assignment focused on syncing main and fixing the impacted Go test failure; it did not change PR body persistence in the collector. This disclosure concern remains unaddressed and should stay open.
|
Copilot assignment requested for the following outstanding work:
Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI. Sous-chef requested-head: 13c53c9
|
I’m updating this branch from Sous-chef requested-head: 13c53c9 |
…ence-scope Co-authored-by: gh-aw-bot <[email protected]>
Co-authored-by: gh-aw-bot <[email protected]>
|
@copilot piping is not essential since --health provides already the dynamic selection of runs. make sure it does not add too much complexity |
Co-authored-by: pelikhan <[email protected]>
Removed health-report stdin/pipeline support; |

Why
Auditor repeatedly failed at metadata collection with
Incomplete or oversized recent run scope; checkpoint unchanged. Run 42458892731 restored a successful collection cache from roughly 14 hours earlier. Historical queries over the approximate checkpoint window returned 2,500 runs, versus 104 in its final hour, supporting a filtered-result ceiling diagnosis. Four additional runs have the same first-failure signature; their logs do not establish which guard branch fired. The exact failed response and restored checkpoint contents were unavailable.The initial commit implemented bounded oldest-prefix catch-up. At the user's request, this follow-up replaces that custom all-run collector with the existing revision-aware
healthalgorithm and makes its selected targets directly chainable intoaudit.Changes
gh aw audit --health [workflow]for shared health discovery followed by up to five independent audits, rather than a multi-run diff.gh aw health --json | gh aw audit --health --stdin --jsonand saved-report input without repeating discovery. Preserve the original health report, completed audits, remaining targets and explicit partial/error status. JSON stays on stdout despite root help routing.audit --stdin, not an unreleased runtime flag.Validation
audit --healthand pipedhealth --json | audit --health --stdinworked against existing Auditor evidence. The scoped health scan used 20 metadata requests, selected two runs and audited one with a limit of one; JSON reportedcomplete: true,partial: false, and one remaining target.make agent-report-progresspassed. The final additional test/control delta passed focused regressions andmake agent-report-progress-no-testwithout rerunning unchanged impacted Go tests.Limitations and review
No workflow was dispatched or rerun, and no live checkpoint or credentials were changed. CLI verification only read existing evidence and wrote local reports.
Dry-run compilation remains blocked by Auditor's pre-existing authored host steps; those controls were not removed or bypassed, and no diagnostic lock or live-execution approval is claimed. The earlier independent review covered only the initial catch-up candidate. This health-based follow-up has direct validation but no independent security-review verdict. Review the intentional sampling/activation and budget changes before any live execution.