Repository navigation
chore(comments): remove comments at the necessary posture in apply-patch, dependabot, dead-code-scan and notification scripts - #18983
Conversation
…tch, dependabot, dead-code-scan and notification scripts Comment-only deletions in 7 files; no behavior change. One docs citation re-pointed. Reasons moved from deleted comments: - .github/scripts/apply-patch/apply-patch.mjs:196: Only `unfixed` and `not-reproducible` retry one model rung up; `protected-path`, `weaken-required`, and `flaky` stay with a person. - .github/scripts/apply-patch/apply-patch.mjs:944: A written patch proceeds even when the report escalated checks because the patch pushes a new head whose CI decides and the round cap bounds retries. - .github/scripts/apply-patch/apply-patch.mjs:1432: A `thread-trailer` row writes nothing without scanned replies because a commit naming no thread would land no reply. - .github/scripts/apply-patch/apply-patch.test.mjs:2321: The `docs` row keeps the moved-head path because `fix-docs` runs once per PR, while `review-threads` skips moved heads because its replies judged the gated head. - plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh:564: Pre-applied vulture `--ignore-decorators` list (`@app.route,@*.route,@pytest.fixture,@Property,@*.setter,@*.command,@*.task`) covers measured false-positive classes; consumers extend via native whitelist. - plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh:693: `gopls` health is decided before emitting any candidate so a degraded module never ships rows alongside an "emits no records" lane line. - plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh:991: Untracked or unknown files default to `$NOW` (newest) so `--max` keeps oldest-untouched code. - .github/dependabot.yml:55: Biome and Claude Code are executable CI dependencies locked at the root lockfile. - .github/dependabot.yml:72: Minor and patch bumps are batched into one reviewed PR; majors stay individual PRs. - .github/scripts/apply-patch/apply-patch.mjs:770: Only a kept-threads row writes Lane-Thread lines, because they name kept threads. - .github/scripts/apply-patch/apply-patch.mjs:886: A stop routed to a failing status skips lane-stopped (escalation-routes.mjs). - .github/scripts/apply-patch/apply-patch.mjs:892: A clean merge commits with no patch, a conflicted merge needs the model's patch, and an empty patch leaves the conflicts as git left them. A clean-patch row takes a clean merge alone, with the producer's patch or with none when the producer's run was empty. - .github/scripts/apply-patch/apply-patch.mjs:1533: One refused entry refuses the whole patch before anything is written; a rename is checked as one entry first. - .github/scripts/apply-patch/apply-patch.mjs:1604: A hold set while the model worked stops the commit. - .github/scripts/apply-patch/apply-patch.test.mjs:494: Agent instructions, plugin hooks and manifests, MCP config and .claude reach review on every row past its optional refusals; settings files, submodules and CODEOWNERS stay refused on every row. - .github/scripts/apply-patch/apply-patch.test.mjs:691: The docs-naming.yaml `tiers:` reader throws on any other non-blank line in the block, so a path written another way cannot slip past the comparison. - .github/scripts/apply-patch/apply-patch.test.mjs:1346: The content rule refuses, before any API call, an in-scope manifest change that is more than a version: a script, a new file, a rename, or a lock resolved to another host. - .github/scripts/apply-patch/apply-patch.test.mjs:2596: A patch that changes README.md and changes it back is invalid for fix-ci, because the producer said it wrote a change. - .github/scripts/apply-patch/apply-patch.test.mjs:2667: Only unfixed and not-reproducible retry once, one model rung up. Flaky ends in a failing status the dispatcher retries on the head. A rung-1 run never retries again in the same run. - .github/scripts/apply-patch/apply-patch.test.mjs:2693: The default row (fix-docs) reads no report, so it never selects rung-up: an empty patch escalates patch-empty and a written one pushes. - .github/scripts/apply-patch/apply-patch.test.mjs:2768: A protected-path escalation beside a weaken-required one always goes to the session-builder queue, even when weakenRetry is set. - .github/scripts/apply-patch/apply-patch.test.mjs:2972: collect-patch.sh writes an exact move as a rename header, and the refusals read the built tree, so the old path and the new path each face them. - .github/scripts/apply-patch/apply-patch.test.mjs:3191: Zeros compress, so a patch well under the 1 MiB patch cap can carry many MiB of blobs; this is why the 20 MiB total-blob cap is tested separately. - .github/scripts/apply-patch/apply-patch.test.mjs:3504: In one merge, 400 base-side files the base already holds upload nothing; 2 clean two-sided merges and 1 resolved conflict upload one blob each; the patch is the resolution alone, so max-files counts 1 path. - .github/scripts/apply-patch/apply-patch.test.mjs:3773: The shared-copies row takes the base sync script's patch on a clean merge of the pinned base, and only for copies the base-tip registry lists. - .github/scripts/apply-patch/apply-patch.test.mjs:3838: When both sides regenerate one canonical's copy, git merges cleanly and regeneration is empty, yet pr-merge still refuses the head; the clean merge alone must push, or the head stays held. - plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh:35: Caller-supplied targets are anchored to the invocation directory before the cd to the repo root, or they silently miss (repeated at :144). - plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh:465: knip ownership is computed before anything else, because it decides both what a root scans for and what it may report. - plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh:723: A gopls diagnostic about a file this module does not own belongs to the nested owning module, and counts only when that module's run is healthy. - plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh:803: unreferenced-file searches each basename and repo-relative path repo-wide (CI workflows, settings, manifests, docs). A hit inside the file itself does not save it. A computed path or glob never spells those keys, so a miss is only an uncertain candidate. - plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh:939: The search spans every tracked file, so a C# member named by a Razor/cshtml view, or used by a partial type's other file, is saved. - plugins/desktop-notification/hooks/desktop-notification.sh:94: Non-actionable notification types exit with no telemetry (the same shape as a matcher miss); the default-message override applies only when the system sent the generic placeholder. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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: PR #18983, comment sweep F017No security issues found. I read all 11 changed files in full in
Trusted paths:
Other files:
Instruction surfaces: no PR context: the description matches the diff, and it contains no text addressed to this lane. No plugin manifest is touched. No trust control, token scope, kill switch or merge hold changes. Nothing in this change spends API credits or incurs a charge. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsThis pull request only deletes comments (batch F017 of the ADR 0110 comment sweep). It touches What I checked
Loosened checks. The prompt had no Loosened checks would be marked: fail (default); patterns: 0 Verifier dropped 0 of 0 candidates. |
Refs: #18772
Summary
Batch F017. Removes 214 comment lines from 7 files under
.github/,plugins/code-tidying,plugins/couplingandplugins/desktop-notificationat thenecessaryposture (ADR 0110). Antigravity made the edits in one write job (425 lines deleted across 11 files); one Opus keep review and my floor gates restored the rest run by run (runs naming a git, GitHub or platform behavior, a measured number, a trust-boundary reason, a file-top contract, or a sync pointer; numbered and lettered dividers all-or-nothing per file). No code line changed (the diff has no added line outside one docs citation and three changelog fragments).This is a small batch (214 lines); the orchestrator pairs it with another.
Fix
Comment-only deletions in
.github/dependabot.yml,.github/scripts/apply-patch/{apply-patch.mjs,apply-patch.test.mjs},plugins/code-tidying/scripts/commented-out-code.py,plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh,plugins/coupling/skills/reduce/scripts/value-sites.test.shandplugins/desktop-notification/hooks/desktop-notification.sh.docs/upstream/mattpocock-sandcastle.mdcitesapply-patch.mjs:1444-1449forfailedAnswer; the function is now at lines 1599-1614, so the citation is re-pointed to1608-1614. Onebump: nonefragment per touched plugin (code-tidying, coupling, desktop-notification).Reasons moved from deleted comments
unfixedandnot-reproducibleretry one model rung up;protected-path,weaken-required, andflakystay with a person.thread-trailerrow writes nothing without scanned replies because a commit naming no thread would land no reply.docsrow keeps the moved-head path becausefix-docsruns once per PR, whilereview-threadsskips moved heads because its replies judged the gated head.--ignore-decoratorslist (@app.route,@*.route,@pytest.fixture,@property,@*.setter,@*.command,@*.task) covers measured false-positive classes; consumers extend via native whitelist.goplshealth is decided before emitting any candidate so a degraded module never ships rows alongside an "emits no records" lane line.$NOW(newest) so--maxkeeps oldest-untouched code.tiers:reader throws on any other non-blank line in the block, so a path written another way cannot slip past the comparison.Not changed
plugins/context-usage/scripts/context-zone.test.sh: a cluster canonical inscripts/cross-plugin-source-registry.txt(copied toplugins/plugin-quality/scripts/); reverted to main rather than sweep a shared source.plugins/code-tidying/scripts/scope-code-files.test.sh,plugins/code-tidying/scripts/test_comment_census.py,plugins/debugging/skills/debug/scripts/hitl-loop.template.sh: every deletion was restored by the keep review (file-top contracts, git and platform behavior, numbered dividers kept all-or-nothing), so they have no net change.Verification
change-shape: COMMENT-ONLY or DOCSTRING-ONLY for.mjs,.pyand.yml; the three shell files it cannot parse (exit 21) show identicalshfmt -ln bash -mnoutput for base and new.scripts/selection-audit.sh trace --strict --jobs 3 --budget 720over the 2 suiteschangedprints (apply-patch.test.mjs,value-sites.test.sh): no gap, 37 files read. Both suites pass on the branch (446 and 285 tests, 0 failed).scripts/check-cross-plugin-source-drift.sh --check: clean.typosover the changed files: clean.Related
🤖 Generated with Claude Code