Repository navigation
chore(comments): remove comments at the necessary posture in .github/scripts - #18686
Conversation
…scripts ADR 0110 comment sweep, batch V005: comment-only edits to 35 files under .github/scripts (reconcile, tidy-code-upkeep, merge-base, plugin-eval, post-merge-demotion-alert, post-merge-test-mutation, pr-merge-risk, pr-merge). Reasons moved from deleted comments: - .github/scripts/maintenance-tidy-code-upkeep/batch.mjs:scan: scan validates PR bodies before any branch is pushed so a missing spec issue or second issue link stops the batch early. - .github/scripts/maintenance-tidy-code-upkeep/batch.mjs:push: open-pr-count uses the job's read-only COUNT_TOKEN because the lanes App token holds no pull-request permission there. - .github/scripts/maintenance-tidy-code-upkeep/upkeep.mjs:sweepsOf: each sweep PR's own merge commit is not churn, so merging a tidy PR does not re-trigger its area. - .github/scripts/merge-base/prepare.sh:lane commits: recognizing lane commits by author name alone is safe because forging it only makes the repeat cap escalate early. - .github/scripts/plugin-eval/hill-climb-publish.mjs:catch: a refused gate is appended to the step summary because the win is already recorded there. - .github/scripts/plugin-eval/select-plugins.mjs:caseLoadRefusals: an unread tree is skipped because linkRefusals already refuses it. - .github/scripts/plugin-eval/summarize.mjs:cell: newlines, pipes and @ are escaped because table cells carry case names and errors from the result. - .github/scripts/post-merge-demotion-alert/handoff.bash:fix_work: a fix issue filed before the job rename is matched by its kebab-case job id only when no issue names the check now; new fix issues leave Size, Complexity and Uncertainty to intake because apply-verdict.mjs holds an issue whose dimensions this token set. - .github/scripts/post-merge-demotion-alert/red-main.mjs:BRANCH_WIDE_GATES: gitleaks failed counts against no merge because the all-branches secret scan fails on any branch. - .github/scripts/post-merge-demotion-alert/report.mjs:range: at most 25 merges are read so their evidence reads fit the call budget. - .github/scripts/pr-merge-risk/write-rating.mjs:catch: the warning prints error.message because it names a field, never the result's text. - .github/scripts/pr-merge/carry-run-cache.mjs:read: a trust failure stops the read; an unreadable file counts as absent and the other file is still carried. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review (incremental, blocking only): no issues foundThis review covers only what changed since I read every hunk of all 11 files on the incremental list in
No token, value, set member or control flow changed. Trusted paths. Two of the files are on the trusted-path list. I read the whole change in each:
Neither file widens a trust control, a token scope, a merge hold, or what untrusted text can reach. Other checks.
critical-findings: 0 |
|
claude-review reviewed CI code review: PR #18686, incremental since
|
|
PR lane (desk): this is over 2 h old with no push since 03:34Z, and it's BLOCKED on 1 open review thread. Still on it? Reply here with an ETA, or post 'Owner: PR lane may take over' and the desk PR lane finishes it. No owner reply by 07:00Z and I take it. |
The comment sweep altered spacing on code lines next to removed comments (`= (` became `=(`). Restore each such line to its base text. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Unattended merge: risk MED at head |
|
PR lane (desk): this has been CLEAN with 0 open threads and unqueued since its 07:11Z push, about 4 h, and it's 8 h old. If it's ready, queue it; or post 'Owner: PR lane may queue' and the desk PR lane merges it pinned to its head. |
|
PR body contract — issue linkage This PR body does not yet satisfy the issue-linkage contract:
Edit the body and this comment updates itself on the next run. |
Refs: #18772 (batch V005)
Summary
Removes comments at the
necessaryposture from 35 files under.github/scripts(reconcile, tidy-code-upkeep, merge-base, plugin-eval, post-merge-demotion-alert, post-merge-test-mutation, pr-merge-risk, pr-merge). 447 comment lines deleted, 23 lines of the first pass restored after review. No code token changed.Fix
change-shape.shreads COMMENT-ONLY (exit 0) for all 35, and two files that read otherwise (merge-base/context.test.sh,merge-base/prepare.test.sh) were restored whole.Verification
change-shape.shover all 35 files against the base: all exit 0.scripts/check-shell-portability.sh origin/main: no unexcused constructs in 4 shell files.scripts/selection-audit.sh trace --strict --jobs 3 --budget 720over the 17 touched suites: no gap.cite_audit.pyover the branch: no citation of a file in this batch changed.Related
N/A
Reasons moved from deleted comments
.github/scripts/maintenance-tidy-code-upkeep/batch.mjs:scan: scan validates PR bodies before any branch is pushed so a missing spec issue or second issue link stops the batch early..github/scripts/maintenance-tidy-code-upkeep/batch.mjs:push: open-pr-count uses the job's read-only COUNT_TOKEN because the lanes App token holds no pull-request permission there..github/scripts/maintenance-tidy-code-upkeep/upkeep.mjs:sweepsOf: each sweep PR's own merge commit is not churn, so merging a tidy PR does not re-trigger its area..github/scripts/merge-base/prepare.sh:lane commits: recognizing lane commits by author name alone is safe because forging it only makes the repeat cap escalate early..github/scripts/plugin-eval/hill-climb-publish.mjs:catch: a refused gate is appended to the step summary because the win is already recorded there..github/scripts/plugin-eval/select-plugins.mjs:caseLoadRefusals: an unread tree is skipped because linkRefusals already refuses it..github/scripts/plugin-eval/summarize.mjs:cell: newlines, pipes and @ are escaped because table cells carry case names and errors from the result..github/scripts/post-merge-demotion-alert/handoff.bash:fix_work: a fix issue filed before the job rename is matched by its kebab-case job id only when no issue names the check now; new fix issues leave Size, Complexity and Uncertainty to intake because apply-verdict.mjs holds an issue whose dimensions this token set..github/scripts/post-merge-demotion-alert/red-main.mjs:BRANCH_WIDE_GATES: gitleaks failed counts against no merge because the all-branches secret scan fails on any branch..github/scripts/post-merge-demotion-alert/report.mjs:range: at most 25 merges are read so their evidence reads fit the call budget..github/scripts/pr-merge-risk/write-rating.mjs:catch: the warning prints error.message because it names a field, never the result's text..github/scripts/pr-merge/carry-run-cache.mjs:read: a trust failure stops the read; an unreadable file counts as absent and the other file is still carried.🤖 Generated with Claude Code