Repository navigation
Fix Breaking Change Checker review coverage inputs - #76588
Conversation
Pin the review context, expose narrow read-only PR capabilities, and require bounded patch recovery with honest partial-report semantics. Co-authored-by: Copilot App <[email protected]>
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. 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.
|
|
✅ 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.
|
|
✅ 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.
|
|
✅ PR Specification Reviewer completed successfully!
|
There was a problem hiding this comment.
Reviewed head 4efc93b0b0386722901059ad412977fe40b785f4. Applicable contract: specs/security-architecture-spec.md v1.1.9, IS-01/IS-11 and the runtime untrusted-data threat-model clarification.
Blocking finding: the new review procedure explicitly requires retrieving and recording merged PR title, body context at .github/workflows/breaking-change-checker.md:167, but does not instruct the agent to treat that MCP-returned text as untrusted data or prohibit following embedded instructions. A malicious PR body can therefore steer the compatibility reviewer while it processes untrusted repository content. Add an explicit prompt-injection boundary immediately before PR details are consumed (and apply it to commit messages, file contents, diffs, and saved oversized outputs), stating that these are evidence only and never instructions; preserve the requirement to report incomplete coverage. This finding is already present in the existing inline review comment and is not duplicated.
No specification synchronization is proposed: the change does not establish an intentional contract change, and the existing security obligations remain binding. Coverage limit: static review only; tests and conformance scripts were not run.
Generated by PR Specification Reviewer for #76588 · copilot · gpt50 · ~3 AIC · ⌖ ~2 AIC · ⊞ 1.6K
Comment /review-specs to run again
Comment MemoryPeek at saved memory (pr-code-quality-reviewer)Note This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread.
|
There was a problem hiding this comment.
Found three blocking correctness/test-contract issues:
- Invalid metadata aborts before the agent, making the documented
report_incompletepath unreachable. - The read-only regression assertion can pass without
GITHUB_READ_ONLY=1on the agent step. - The mandated noop message still claims generic last-24-hours analysis, contradicting the pinned interval and complete-coverage gate.
An existing review comment already covers the untrusted PR-content/prompt-injection concern; I did not duplicate it.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /diagnosing-bugs (the fix pins its inputs and reports partial coverage) and /tdd (the new test covers the contract). The direction is sound: a pinned 24-hour window, a narrowed read-only tool allowlist, and explicit partial-report semantics. Three items need attention.
📋 Key Themes & Highlights
Key Themes
- Timeout vs. coverage contract: the 10-minute step timeout may kill the agent before exhaustive pagination finishes, leaving no terminal signal.
- Brittle
GITHUB_READ_ONLYcheck: the test matches escaped JSON text instead of parsing the embedded MCP config. - Prose-only prompt tests: phrase checks can pass while the agent behaviour regresses.
Positive Highlights
- ✅ The prep step fails closed when the run SHA, creation time, or base branch cannot be pinned, and it has tests for each case.
- ✅ The
run-successmessage no longer claims full review, which matches the partial-coverage design. - ✅ The existing prompt-injection note (line 167) already covers untrusted PR text, so I did not duplicate it.
Verification notes
- Checked that the
readDocumentMetadataoptions argument matches other tests in the repo; it is a convention, not a defect. - The
GITHUB_READ_ONLYvalue is set only inside the embedded MCP JSON string in the lock (line 1094). - Triage (
pr-triage) classified this as abug_fix, and the skill selection followed it.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~12 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
There was a problem hiding this comment.
🟡 Changes recommended
Conflicting instructions can cause incomplete reviews to be reported as complete, and the CLI bridge leaves tools outside the intended allowlist callable.
3 open issues
What changed in this PR
Updates gh-aw’s Breaking Change Checker workflow to use reproducible review inputs and distinguish complete reviews from partial results.
Changes:
- Pins reviews to the run SHA and a UTC 24-hour window, rejecting invalid metadata.
- Replaces Git-history commands with repository-scoped GitHub API reads and disables agent editing.
- Adds pagination, bounded evidence recovery and coverage-reporting requirements, with regression tests and a regenerated workflow lock.
| File | Description |
|---|---|
actions/setup/js/breaking_change_checker_workflow.test.cjs |
Tests pinned context, metadata failures, compiled capabilities and reporting requirements. |
.github/workflows/breaking-change-checker.md |
Defines review preparation, read-tool configuration and coverage-aware reporting instructions. |
.github/workflows/breaking-change-checker.lock.yml |
Regenerates executable configuration for the updated workflow. |
Review effort: Max (auto)
Parse compiled read-only policy structurally, document fail-closed preparation, reserve reporting time, and reinforce pinned output and untrusted-evidence boundaries. Co-authored-by: Copilot App <[email protected]>
|
Regarding #76588 (comment): acknowledged the skills-review completion notice; it requests no standalone code change. The actionable inline findings are handled individually rather than treating this status as approval. |
|
Regarding #76588 (comment): acknowledged the code-quality review status; the status itself requires no change. The three concrete findings are addressed in their inline threads, and publication is not being treated as proof of complete coverage. |
|
Regarding #76588 (comment): no code change is needed for this completion notice. I am not interpreting the reported no-action outcome as verification of review coverage. |
|
Regarding #76588 (comment): no code change is requested by this test-analysis completion notice. Test-quality concerns from the separate inline review are addressed directly rather than inferred to be cleared by this status. |
|
Regarding #76588 (comment): no design or ADR change is requested by this completion notice. The batch remains scoped to the existing coverage contract and its regression checks. |
|
Regarding #76588 (comment): acknowledged the specification-review completion notice; it does not itself establish approval. The review's untrusted-evidence finding is handled in the existing inline thread without changing the specification contract. |
|
Regarding #76588 (comment): addressed the three recorded themes in their individual threads: structured read-only assertions, pinned complete-coverage noop wording, and an explicit intentional preparation-failure path. I have not edited the bot-managed memory block or treated it as a new independent defect. |
Disable shell bridge access, qualify clean no-op requirements, and report precise preparation failures with effective callable-tool regressions. Co-authored-by: Copilot App <[email protected]>
|
Regarding #76588 (comment), repeated in this batch: the earlier response still applies; this completion notice has no independent requested change. The new actionable Copilot review comments are handled separately. |
|
Regarding #76588 (comment), repeated in this batch: no additional change is warranted by the status notice itself. The concrete findings remain covered by their individual replies and fixes, not by an assumption that reported_action means approval. |
|
Regarding #76588 (comment), repeated in this batch: no further code change is requested. As before, reported_no_action is not being treated as proof of complete coverage. |
|
Regarding #76588 (comment), repeated in this batch: the completion notice adds no new test requirement. The new callable-tool concern receives its own structural regression rather than relying on this status. |
|
Regarding #76588 (comment), repeated in this batch: no additional design or ADR change is needed for this notification. The fixes remain within the existing review-coverage and read-only capability contract. |
|
Regarding #76588 (comment), repeated in this batch: this is a completion notice, not an additional requested change or approval. The untrusted-evidence boundary from the associated review was addressed in the previous batch and remains intact. |
|
Regarding #76588 (comment), repeated in this batch: the previously recorded findings have direct replies, and the newly reported no-op contradiction is handled in its new thread. No edit to the bot-managed memory block is needed. |
|
🎉 This pull request is included in a new release. Release: |



Breaking Change Checker published useful findings in run 42838691761, but could not complete its review: its Git command missed the allowlist prefix, the checkout was shallow, merged-PR tools were unavailable, and oversized patch responses were left unread. This change repairs the input and evidence-consumption contract without weakening incomplete-result handling.
Approach
pull-requests: read, retain approved-integrity filtering, and explicitly disable agent editing.report_incomplete. A no-findingsnooprequires complete coverage; success messages no longer assert that every change was reviewed.Validation
make agent-report-progresspassed: formatting/lint, typecheck, impacted tests and workflow drift checks.make recompilecompiled all 365 workflows; only this workflow's lock changed.Review notes and limits
The initial security review found no confirmed vulnerabilities and verified the narrowed production controls, but its follow-up failed with a model DNS error after the test infrastructure intent was clarified. Final security review approval remains unavailable; this is a draft for review, not a claim that the security gate passed.
Pagination, overflow recovery and honest completeness reporting remain agent instructions, not a deterministic proof of model compliance. No workflow was dispatched or rerun, and existing reports were not modified.
Checked in-flight fixes by concrete paths/diffs: the previously open #76537 changed only the generated
report_incompletetool summary, not these coverage inputs. No equivalent open fix was identified. Relates to #76542.