ci: remove drift codeql.yml — GitHub-managed default setup is active - #108
ci: remove drift codeql.yml — GitHub-managed default setup is active#108don-petry wants to merge 2 commits into
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Outdated review (superseded by re-review at
|
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR deletes a per-repo codeql.yml that is genuinely redundant: the GitHub-managed CodeQL default setup is confirmed active (state=configured, languages=[actions], query_suite=default) and appears as a separate passing CI check. All CI gates pass (Lint, Format, CodeQL, SonarCloud, AgentShield, dependency audit). The latest commit is a CI retrigger with no logic change; the substantive deletion was already approved at SHA 3003e38. The only systemic concern is the compliance audit token bug (403 fetching managed-setup state) that will continue regenerating this PR unless fixed separately.
Findings
- info: GitHub-managed CodeQL default setup confirmed active via CI: the 'CodeQL' managed check passed alongside 'Analyze (actions)' from the per-repo file. Deleting the per-repo file removes redundant scanning — coverage is not lost.
- info: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2e, github/codeql-action@95e58e9, github/codeql-action@95e58e9), which is a supply-chain best practice. GitHub-managed setup handles action versioning centrally — this coverage is not lost.
- minor: The weekly compliance audit (issue #65) has a persistent token-permissions bug: it calls GET /repos/.../code-scanning/default-setup with a token lacking the required scope, receives a 403, and misinterprets the raw error JSON as the setup state. This will reopen issue #65 and spawn a fifth AI-generated deletion PR after this one merges unless the audit token is granted the 'security_events' scope. Fix is out of scope for this PR but should be prioritized to break the AI-agent loop.
- info: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the same deletion. The pattern is caused by the audit token bug, not by incorrect AI behavior — the deletion is correct each time. Merging this PR plus fixing the audit token will break the cycle.
- info: All CI checks pass: Lint (SUCCESS), Format (SUCCESS), CodeQL managed (SUCCESS), Analyze/actions per-repo (SUCCESS), SonarCloud (SUCCESS, 0 new issues, 0 security hotspots), AgentShield (SUCCESS), dependency-audit (SUCCESS). No failures or warnings.
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR deletes a per-repo codeql.yml that is genuinely redundant: the GitHub-managed CodeQL default setup is confirmed active (state=configured, languages=[actions]) and appears as a separate passing CI check ('CodeQL' managed check SUCCESS alongside 'Analyze (actions)' per-repo check SUCCESS). The only commit since the prior approved review is a no-content CI retrigger commit — the substantive deletion is unchanged. All CI gates pass and SonarCloud reports zero new issues and zero security hotspots.
Findings
- INFO: GitHub-managed CodeQL default setup confirmed active via CI: the 'CodeQL' managed check passed alongside 'Analyze (actions)' from the per-repo file. Deleting the per-repo file removes redundant scanning — coverage is not lost. Both scan the same 'actions' language.
- INFO: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2e, github/codeql-action@95e58e9, github/codeql-action@95e58e9), which is a supply-chain best practice. GitHub-managed setup handles action versioning centrally — this coverage is not lost.
- MINOR: The weekly compliance audit (issue #65) has a persistent bug: it calls GET /repos/.../code-scanning/default-setup with a token lacking the required scope, receives a 403, and misinterprets the error JSON as the setup state. This will reopen issue #65 and spawn a fifth AI-generated deletion PR after this one merges unless the audit token is granted the 'security_events' scope. Fix is out of scope for this PR but should be prioritized to break the AI-agent loop.
- INFO: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the same deletion. The pattern is caused by the compliance audit token bug, not by incorrect AI behavior — the deletion is correct each time. Merging this PR plus fixing the audit token will break the loop.
- INFO: All CI checks pass: Lint (SUCCESS), Format (SUCCESS), CodeQL managed (SUCCESS), Analyze/actions per-repo (SUCCESS), SonarCloud (SUCCESS, 0 new issues, 0 security hotspots), AgentShield (SUCCESS), dependency-audit (SUCCESS). No failures or warnings.
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR deletes a per-repo codeql.yml that is genuinely redundant: the GitHub-managed CodeQL default setup is confirmed active (state=configured, languages=[actions]) via a passing 'CodeQL' managed CI check. All CI gates pass (Lint, Format, CodeQL managed, SonarCloud 0 issues/0 hotspots, AgentShield, dependency-audit). The only systemic concern is a pre-existing bug in the compliance audit token that will continue to reopen issue #65 — that is out of scope for this PR and does not affect the correctness of this deletion.
Findings
- INFO: GitHub-managed CodeQL default setup confirmed active via CI: the 'CodeQL' managed check passed (SUCCESS) alongside 'Analyze (actions)' from the per-repo file. Deleting the per-repo codeql.yml removes redundant scanning; security coverage is not lost. Both scan the same 'actions' language.
- INFO: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2e, github/codeql-action@95e58e9, github/codeql-action@95e58e9), which is a supply-chain best practice. GitHub-managed setup handles action versioning centrally — this coverage is not lost.
- MINOR: The weekly compliance audit (issue #65) has a persistent token-permissions bug: it calls GET /repos/.../code-scanning/default-setup with a token lacking the required scope, receives a 403, and embeds the raw 403 JSON into the issue body as if it were the setup state string. This will reopen issue #65 and spawn a fifth AI-generated deletion PR after this one merges unless the audit token is granted the 'security_events' scope. Fixing the audit token is out of scope for this PR but should be prioritized to break the AI-agent loop.
- INFO: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the same deletion. The pattern is caused by the compliance audit token bug, not by incorrect AI behavior — the deletion is correct each time. Merging this PR and fixing the audit token will break the loop.
- INFO: All CI checks pass: Lint (SUCCESS), Format (SUCCESS), CodeQL managed (SUCCESS), Analyze/actions per-repo (SUCCESS), SonarCloud (SUCCESS, 0 new issues, 0 security hotspots), AgentShield (SUCCESS), dependency-audit (SUCCESS). No failures or warnings. Two prior approved reviews from petry-projects-pr-review-agent already exist at head SHA 51ef749.
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR #108 deletes a per-repo codeql.yml that is genuinely redundant: the GitHub-managed CodeQL default setup is confirmed active via a passing 'CodeQL' managed CI check alongside the 'Analyze (actions)' per-repo check, both succeeding. All CI gates pass (Lint, Format, CodeQL managed, SonarCloud 0 new issues/0 hotspots, AgentShield, dependency-audit). The triage escalation was due to a triage output parse failure, not a substantive security concern; the deletion itself is correct and safe.
Findings
- INFO: GitHub-managed CodeQL default setup confirmed active via CI: the 'CodeQL' managed check passed (SUCCESS) alongside 'Analyze (actions)' from the per-repo file. Deleting the per-repo codeql.yml removes redundant scanning of the 'actions' language — no security coverage is lost.
- INFO: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2e, github/codeql-action@95e58e9, github/codeql-action@95e58e9), which is a supply-chain best practice. GitHub-managed setup handles action versioning centrally — this coverage is not lost.
- MINOR: The weekly compliance audit (issue #65) has a persistent token-permissions bug: it calls GET /repos/.../code-scanning/default-setup with a token lacking the required scope, receives a 403, and embeds the raw error JSON as the setup state string (repeated 3 times in issue body). This will reopen issue #65 and spawn a fifth AI-generated deletion PR unless the audit token is granted the 'security_events' scope. Fix is out of scope for this PR but must be prioritized to break the AI-agent loop.
- INFO: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the identical deletion. The pattern is caused by the compliance audit token bug misreporting managed-setup state as a 403 JSON blob, not by incorrect AI behavior — the deletion is correct each time. Merging this PR and fixing the audit token scope will break the loop.
- INFO: All CI checks pass: Lint (SUCCESS), Format (SUCCESS), CodeQL managed (SUCCESS), Analyze/actions per-repo (SUCCESS), SonarCloud (SUCCESS, 0 new issues, 0 security hotspots), AgentShield (SUCCESS), dependency-audit (SUCCESS), CodeRabbit (SUCCESS). Four prior approved reviews from petry-projects-pr-review-agent already exist at head SHA 51ef749.
- INFO: Triage escalated with signal 'triage-output-invalid' — the escalation was caused by a parse failure in the triage tier output, not by a substantive security signal in the PR content itself. This review cycle (4) has exceeded MAX_REVIEW_CYCLES (3), indicating the cascade retry loop is itself affected by the same class of tooling bugs.
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR deletes a per-repo codeql.yml that is genuinely redundant: the GitHub-managed CodeQL default setup is confirmed active via a passing 'CodeQL' managed CI check (SUCCESS) alongside the 'Analyze (actions)' per-repo check (SUCCESS), both scanning the same 'actions' language. All CI gates pass (Lint, Format, CodeQL managed, SonarCloud 0 new issues/0 security hotspots, AgentShield, dependency-audit). The triage escalation was caused by a parse failure in the triage tier output, not a substantive security signal in the PR itself.
Findings
- INFO: GitHub-managed CodeQL default setup confirmed active via CI: 'CodeQL' managed check passed (SUCCESS) alongside 'Analyze (actions)' per-repo check (SUCCESS). Deleting the per-repo codeql.yml removes redundant scanning of the 'actions' language — no security coverage is lost. (
.github/workflows/codeql.yml) - INFO: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2e, github/codeql-action@95e58e9, github/codeql-action@95e58e9), which is a supply-chain best practice. GitHub-managed setup handles action versioning centrally — this coverage is not lost. (
.github/workflows/codeql.yml) - MINOR: Issue #65 will remain OPEN after this merge: the weekly compliance audit has a persistent token-permissions bug — it calls GET /repos/.../code-scanning/default-setup with a token lacking the required scope, receives a 403, and embeds the raw 403 JSON three times as the 'state' string. The audit token must be granted 'security_events' scope to break the AI-agent loop that has now produced PRs #75, #92, #98, and #108. Fix is out of scope for this PR but must be prioritized.
- INFO: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the identical deletion. The pattern is caused by the compliance audit token bug misreporting managed-setup state as a raw 403 JSON blob, not by incorrect AI behavior — the deletion is correct each time. REVIEW_CYCLE (5) exceeds MAX_REVIEW_CYCLES (3), indicating the cascade retry loop is itself affected by the same class of tooling failures.
- INFO: All CI checks pass: Lint (SUCCESS), Format (SUCCESS), CodeQL managed (SUCCESS), Analyze/actions per-repo (SUCCESS), SonarCloud (SUCCESS, 0 new issues, 0 security hotspots), AgentShield (SUCCESS), dependency-audit (SUCCESS), CodeRabbit (SUCCESS). Five prior approved reviews from petry-projects-pr-review-agent exist at head SHA 51ef749; PR is blocked on REVIEW_REQUIRED (human approval needed).
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR deletes a per-repo codeql.yml that is genuinely redundant: GitHub-managed CodeQL default setup is confirmed active (state=configured, languages=[actions]) via passing 'CodeQL' managed CI check alongside 'Analyze (actions)' per-repo check. All CI gates pass (Lint, Format, CodeQL managed, SonarCloud 0 new issues/0 hotspots, AgentShield, dependency-audit). The triage escalation was caused by a parse failure in triage output, not a substantive security signal in the PR itself. The only systemic concern is a pre-existing compliance audit token bug (missing security_events scope) that will continue reopening issue #65 after merge and spawning additional AI-generated PRs unless fixed separately.
Findings
- INFO: GitHub-managed CodeQL default setup confirmed active via CI: 'CodeQL' managed check (SUCCESS) and 'Analyze (actions)' per-repo check (SUCCESS) both passed. Deleting the per-repo codeql.yml removes redundant scanning of the 'actions' language — no security coverage is lost. Both setups scan the identical language scope.
- INFO: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2, github/codeql-action@95e58e9, github/codeql-action@95e58e9) — a supply-chain best practice. GitHub-managed setup handles action versioning centrally, so this coverage is not lost.
- MINOR: The weekly compliance audit (issue #65) has a persistent token-permissions bug: it calls GET /repos/.../code-scanning/default-setup with a token lacking the required 'security_events' scope, receives a 403, and embeds the raw 403 JSON three times as if it were the setup state string. This will reopen issue #65 and spawn a fifth AI-generated deletion PR after this one merges unless the audit token is granted the 'security_events' scope. Fix is out of scope for this PR but must be prioritized to break the AI-agent retry loop.
- INFO: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the identical codeql.yml deletion. The pattern is caused by the compliance audit token bug misreporting managed-setup state as a raw 403 JSON blob, not by incorrect AI behavior — the deletion is correct each time. REVIEW_CYCLE (6) exceeds MAX_REVIEW_CYCLES (3), indicating the cascade retry loop is itself being driven by the same class of tooling failures. Merging this PR and fixing the audit token scope will break the loop.
- INFO: All CI checks pass: Lint (SUCCESS), Format (SUCCESS), CodeQL managed (SUCCESS), Analyze/actions per-repo (SUCCESS), SonarCloud (SUCCESS, 0 new issues, 0 security hotspots), AgentShield (SUCCESS), dependency-audit (SUCCESS), CodeRabbit (SUCCESS). The triage escalation was caused by a triage-output parse failure (signal: triage-output-invalid), not by any substantive security finding in the PR content. Six prior approved reviews from petry-projects-pr-review-agent exist at head SHA 51ef749; PR is blocked on REVIEW_REQUIRED (human approval needed).
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR #108 deletes a per-repo codeql.yml that is genuinely redundant: GitHub-managed CodeQL default setup is confirmed active (state=configured, languages=[actions]) via a passing 'CodeQL' managed CI check alongside the 'Analyze (actions)' per-repo check — both scanning the same language. All CI gates pass (Lint, Format, CodeQL managed, SonarCloud 0 new issues/0 security hotspots, AgentShield, dependency-audit). The triage escalation was caused by a parse failure in triage output (signal: triage-output-invalid), not a substantive security signal in the PR content; the deletion is correct and no security coverage is lost.
Findings
- INFO: GitHub-managed CodeQL default setup confirmed active via CI: 'CodeQL' managed check (SUCCESS) and 'Analyze (actions)' per-repo check (SUCCESS) both passed. Deleting the per-repo codeql.yml removes redundant scanning of the 'actions' language — no security coverage is lost.
- INFO: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2, github/codeql-action@95e58e9, github/codeql-action@95e58e9) — a supply-chain best practice. GitHub-managed setup handles action versioning centrally; this coverage is not lost.
- MINOR: The weekly compliance audit (issue #65) has a persistent token-permissions bug: it calls GET /repos/.../code-scanning/default-setup with a token lacking the required 'security_events' scope, receives a 403, and embeds the raw 403 JSON three times as the setup state string. This will reopen issue #65 and spawn a fifth AI-generated deletion PR after this one merges unless the audit token is granted the 'security_events' scope. Fix is out of scope for this PR but must be prioritized to break the AI-agent retry loop.
- INFO: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the identical codeql.yml deletion. The pattern is caused by the compliance audit token bug misreporting managed-setup state as a raw 403 JSON blob, not by incorrect AI behavior — the deletion is correct each time. REVIEW_CYCLE (7) exceeds MAX_REVIEW_CYCLES (3), indicating the cascade retry loop is itself being driven by the same class of tooling failures. Merging this PR and fixing the audit token scope will break the loop.
- INFO: All CI checks pass: Lint (SUCCESS), Format (SUCCESS), CodeQL managed (SUCCESS), Analyze/actions per-repo (SUCCESS), SonarCloud (SUCCESS, 0 new issues, 0 security hotspots), AgentShield (SUCCESS), dependency-audit (SUCCESS), CodeRabbit (SUCCESS). Seven prior approved reviews from petry-projects-pr-review-agent exist at head SHA 51ef749; PR is blocked on REVIEW_REQUIRED (human approval needed).
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR #108 deletes a per-repo codeql.yml that is genuinely redundant: GitHub-managed CodeQL default setup is confirmed active via a passing 'CodeQL' managed CI check (SUCCESS) alongside the 'Analyze (actions)' per-repo check (SUCCESS), both scanning the same 'actions' language. All CI gates pass (Lint, Format, CodeQL managed, SonarCloud 0 new issues/0 security hotspots, AgentShield, dependency-audit). The triage escalation was caused by a parse failure in triage tier output (signal: triage-output-invalid), not a substantive security signal in the PR content — the deletion is correct and no security coverage is lost.
Findings
- info: GitHub-managed CodeQL default setup confirmed active via CI: 'CodeQL' managed check (SUCCESS) and 'Analyze (actions)' per-repo check (SUCCESS) both passed at head SHA. Deleting the per-repo codeql.yml removes redundant scanning of the 'actions' language — no security coverage is lost. Both setups scan the identical language scope.
- info: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2, github/codeql-action@95e58e9, github/codeql-action@95e58e9) — a supply-chain best practice. GitHub-managed setup handles action versioning centrally; this coverage is not lost.
- minor: The weekly compliance audit (issue #65) has a persistent token-permissions bug: it calls GET /repos/.../code-scanning/default-setup with a token lacking the required 'security_events' scope, receives a 403, and embeds the raw 403 JSON three times as the setup state string. This will reopen issue #65 and spawn a fifth AI-generated deletion PR after this one merges unless the audit token is granted the 'security_events' scope. Fix is out of scope for this PR but must be prioritized to break the AI-agent retry loop.
- info: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the identical codeql.yml deletion. The pattern is caused by the compliance audit token bug misreporting managed-setup state as a raw 403 JSON blob, not by incorrect AI behavior — the deletion is correct each time. REVIEW_CYCLE (8) far exceeds MAX_REVIEW_CYCLES (3), indicating the cascade retry loop is itself being driven by the same class of tooling failures. Merging this PR and fixing the audit token scope will break the loop.
- info: All CI checks pass: Lint (SUCCESS), Format (SUCCESS), CodeQL managed (SUCCESS), Analyze/actions per-repo (SUCCESS), SonarCloud (SUCCESS, 0 new issues, 0 security hotspots), AgentShield (SUCCESS), dependency-audit (SUCCESS), CodeRabbit (SUCCESS). The triage escalation was caused by a triage-output parse failure (signal: triage-output-invalid), not any substantive finding in the PR content. Eight prior approved reviews from petry-projects-pr-review-agent exist at head SHA 51ef749; PR is blocked on REVIEW_REQUIRED (human approval needed).
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: MEDIUM
Reviewed commit: 51ef74958241bb8535d91da9a00aac85d0982324
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6)
Summary
PR #108 deletes a per-repo codeql.yml that is genuinely redundant: the GitHub-managed CodeQL default setup is confirmed active (state=configured, languages=[actions]) via a passing 'CodeQL' managed CI check alongside the 'Analyze (actions)' per-repo check. All CI gates pass (Lint, Format, CodeQL managed, SonarCloud 0 new issues/0 security hotspots, AgentShield, dependency-audit) and SonarCloud reports zero new issues and zero security hotspots. The triage escalation was caused solely by a parse failure in the triage tier output (signal: triage-output-invalid), not by any substantive security finding in the PR content.
Findings
- INFO: GitHub-managed CodeQL default setup confirmed active via CI: 'CodeQL' managed check (SUCCESS) and 'Analyze (actions)' per-repo check (SUCCESS) both passed at head SHA. Deleting the per-repo codeql.yml removes redundant scanning of the 'actions' language — no security coverage is lost. Both setups scan the identical language scope.
- INFO: The deleted workflow used pinned SHA hashes for all action references (actions/checkout@de0fac2, github/codeql-action@95e58e9, github/codeql-action@95e58e9) — a supply-chain best practice. GitHub-managed setup handles action versioning centrally; this coverage is not lost.
- MINOR: The weekly compliance audit (issue #65) has a persistent token-permissions bug: it calls GET /repos/.../code-scanning/default-setup with a token lacking the required 'security_events' scope, receives a 403, and embeds the raw 403 JSON three times as the setup state string. This will reopen issue #65 and spawn a fifth AI-generated deletion PR after this one merges unless the audit token is granted the 'security_events' scope. Fix is out of scope for this PR but must be prioritized to break the AI-agent retry loop.
- INFO: This is the fourth consecutive AI-generated PR (#75, #92, #98, #108) making the identical codeql.yml deletion. The pattern is caused by the compliance audit token bug misreporting managed-setup state as a raw 403 JSON blob, not by incorrect AI behavior — the deletion is correct each time. REVIEW_CYCLE (9) far exceeds MAX_REVIEW_CYCLES (3), indicating the cascade retry loop is itself being driven by the same class of tooling failures. Merging this PR and fixing the audit token scope will break the loop.
- INFO: Triage escalated with signal 'triage-output-invalid' — the escalation was caused by a parse failure in the triage tier output, not by any substantive security signal in the PR content. This review cycle (9) has exceeded MAX_REVIEW_CYCLES (3), and 8 prior approved reviews from petry-projects-pr-review-agent already exist at head SHA 51ef749. PR is blocked on REVIEW_REQUIRED (human approval needed), not on CI.
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
Automated review — human attention neededThis PR has been through 10 automated review cycles (cap: 3) without converging on an approval-and-merge state. Further automated review has been paused to avoid infinite loops. Please take a look manually, or close this PR if it's no longer needed. Once a human review resolves the situation, remove the Posted by the don-petry PR-review cascade. |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Please resolve the conflicts and push: |
fe7bd32 to
a52bd41
Compare
d8073c2 to
21a37f9
Compare
|
|
Closing — after rebasing onto main, this branch has no remaining commits. The fix was already incorporated into main via a subsequent PR. |
Pull request was closed



Summary
configured(state=configured,languages=[actions],query_suite=default)codeql.ymlfiles are treated as drift by the compliance audit.github/workflows/codeql.ymlto stop the double-billing of CI minutes and resolve the compliance findingWhy previous PRs weren't enough
PRs #75, #92, and #98 each made this same deletion but were never merged. Dependabot's PR #84 (which bumped
codeql-action) was then merged, re-introducing the drift file onmain. This PR makes the fix from the currentmainHEAD again — please merge promptly before Dependabot opens anothercodeql-actionbump.Test plan
codeql.ymldeleted — GitHub-managed setup continues to run CodeQL onactionslanguage weeklyCloses #65
Generated with Claude Code