Repository navigation
chore(comments): remove comments at the necessary posture in root, .claude, docs, actionlint, ai-briefing, ai-slop, animation and app-control - #18308
Conversation
…laude, docs, actionlint, ai-briefing, ai-slop, animation and app-control ADR 0110 bulk comment sweep, batch B009. Comment-only deletions, each certified COMMENT-ONLY by change-shape.sh; no behavior change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa43yt8jZqGJ5kzhzjRAX
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 Chunk 1 of 3 (40 files)Security review: chunk 1 of 3 (40 files)No security issues found in this chunk. This was a blocking-only review: the lane already reviewed an earlier head ( I read every hunk of the 40 files in
No executable line, config key or value, permission, pin or hash changes. Trusted paths checked
Trust controls Nothing in this chunk touches these controls:
Nothing is widened. Instruction surfaces No CLAUDE.md, AGENTS.md, rules file, skill or agent body, or hook block list or allowlist changes in this chunk.
Identical copies The copies in Plugin manifests No PR context The description has no text aimed at the review lane. Prior findings The earlier summary of this chunk reported no findings, so there is nothing to repeat. Chunk 2 of 3 (40 files)Security review: chunk 2 of 3 (40 files)I found no security issues in this chunk. This head got a blocking-only review, because this lane already reviewed an earlier head. I read every hunk of the 40 files in Security-relevant code checked unchanged
Trust controls and trusted paths No file in this chunk matches a Instruction-surface lens This chunk changes no CLAUDE.md, AGENTS.md, rules file, skill or agent body, or hook block list or allowlist. Plugin manifests This chunk changes no Identical copies The copies in PR context The description contains no text addressed to the review lane. Note (not a finding) Several deleted comments were the only written reasons for security-relevant code:
The code that enforces each of these is unchanged, and the PR body's "Removed narrative" keeps the reasoning in the squash commit. No exploit path comes from removing the comments. This is the same class chunk 1 recorded under uncovered rules. Chunk 3 of 3 (8 files)Security review: chunk 3 of 3 (8 files)I found no security issues in this chunk. This was a blocking-only review, because the lane already reviewed an earlier head. That means only CRITICAL or IMPORTANT findings would have been posted. I read every hunk of the 8 files in What the changes are
Checks
critical-findings: 0 Uncovered rules (1)
|
|
claude-review reviewed Chunk 1 of 3 (40 files)Code review, chunk 1 of 3 (40 files): root Blocking only. The prior-findings file says No blocking findings. I read every hunk in this chunk. Each one deletes a comment line, or a trailing comment ending a code line, with one exception: I checked the places where deleting a comment could change behavior:
I ran none of the test suites. The PR's reported test results are the author's claim and I have not verified them. Other notes:
Verifier dropped 0 of 0 candidates. Chunk 2 of 3 (40 files)Code review, chunk 2 of 3 (40 files: ai-briefing build, ai-slop audit scripts, animation)Blocking only. This lane already reviewed an earlier head ( I read every hunk of the 40 files in this chunk. Each hunk removes or shortens comments: full-line comments, trailing comments, JSDoc blocks, and a few rewrites that cut a long rationale to two lines (
I ran no test suites. The PR's reported results are the author's claim and I have not verified them. Other notes:
Verifier dropped 0 of 0 candidates. Chunk 3 of 3 (8 files)Code review, chunk 3 of 3 (8 files, all app-control shell scripts and their tests). This was a blocking-only review, because this lane already reviewed an earlier head. No blocking findings. I read every hunk of the 8 files: Places where removing a comment could have changed behavior:
Not verified. I ran none of the test suites. The test results in the PR body are the author's claim. Other notes:
Verifier dropped 0 of 0 candidates. critical-findings: 0 |
No related issue: ADR 0110 bulk comment sweep, batch B009
Summary
Removes code comments at the
necessaryposture (ADR 0110, owner-approved bulk removal) from 87 of the 143 files in batch B009: root config files,.claude/,.lefthook/,docs/contractsanddocs/conventions, and the actionlint, ai-briefing, ai-slop, animation and app-control plugins. No behavior change. Each touched plugin gets abump: nonechangelog fragment.Counts:
Fix
/code-tidying:remove-comments necessary override <group>over five directory groups, each run by acode-tidying:comment-revieweragent. Every comment was triaged on its own; a comment run is kept or removed whole.Kept in every file:
shellcheckdirectives and their justifications,# yaml-language-server: $schema=lines;test-scope:,silent-skip-ok:andportability-ok:markers;# --- Git author,# --- Reportand# --- Python CI depsthat the cloud-bootstrap tests extract by;plugins/ai-slop/skills/audit/scripts/lib/*.sh,plugins/actionlint/git-hooks/adapters.sh);digest-guard.shandemit-fix-record.shprint as usage throughsed -n '2,/^set -euo/p';The comment lint (
code-tidying-remote-comment-lint) rejected 15 in-place terser rewrites of over-budget outside-party comments, because a rewritten line counts as added and carries no link. Those runs were deleted instead; their content is in the narrative below.The GLOBAL HARD path list was lifted by the
overrideargument, on an owner decision, for this batch. Lifted and edited, with the behavioral guards and COMMENT-ONLY still in force:.claude/cloud-bootstrap.sh.claude/hooks/cloud-bootstrap-author.test.sh.claude/hooks/cloud-bootstrap-plugins.test.sh.claude/hooks/hook-telemetry-sink.sh.claude/hooks/hook-telemetry-sink.test.shplugins/actionlint/hooks/actionlint-check.sh(wired inhooks.json)plugins/actionlint/git-hooks/lint.sh(a git-hook entry)Lifted but unchanged, because nothing in them was off the floor:
lefthook.yml,lefthook-remote.yml, every.lefthook/**wrapper (only# shellcheck shell=shand an outside-platform note),.gitleaks.toml,ruff.toml,_typos.toml,lychee.toml(their#characters are regex text), and the.claude/skills/formal-*files.Not changed:
plugins/ai-slop/skills/audit/scripts/rubric-fanout.test.shanduser-scope.test.share UNPROVABLE (their HEAD has tree-sitter parse errors), so they stay as they are.docs/conventions/pr-pipeline.yaml(955 comment lines in per-activity blocks) anddocs/conventions/pr-pipeline/examples/claude-code-plugins.yaml(tests cite its line numbers) are left whole.docs/conventions/*.yaml, the 49# --- x ---dividers in the ai-slop scripts, and the 90-line buf block indocs/contracts/ecosystem-commands/examples/go.yamlstay. Each is a shape used at scale, which the skill proposes and never applies.Verification
change-shape.shagainst the merge base returns COMMENT-ONLY for all 87 files, and the diff holds no file outside the batch list.code-tidying-remote-comment-lintandguardrails-remote-pre-commit-contenthooks and the commit-msg hook pass.cloud-bootstrap-author.test.sh(7/7),cloud-bootstrap-plugins.test.sh(79/79),hook-telemetry-sink.test.sh;docs/contracts/ecosystem-commands/examples.test.sh(16/16);post-merge-test-mutationreport.test.mjs(37) andexecute.test.mjs(9), which readmutation-testing.yaml;digest-guard.test.sh,user-scope.test.sh,emit-fix-record.test.sh.scripts/selection-audit.sh trace --strictover the 20 changed suites, run locally as CI's Test Selection job runs it, found one gap.plugins/actionlint/git-hooks/lint.test.shreadsplugins/actionlint/.claude-plugin/plugin.json, and the selector did not select the suite for it. The suite now declares that file in a# test-scope:line, and a re-trace reports no gap.Related
Removed narrative
The rationale the deleted comments carried. This body is the squash commit message.
Root and
.claude.claude/cloud-bootstrap.sh/optfleet list is trusted over the world-writable/tmpcopy.needs_refreshfails open andsnapshot_problemfails closed.72 declared, 0 installed, and 65 and 54 "failed" startup lines./releases/latestredirects; only/releases/download/asset URLs resolve, hence hard pins. The VM cannot reach the hosted composite actions CI installs tools through.$CLAUDE_ENV_FILEis the sanctioned channel for the session's Bash environment, and only the SessionStart-hook caller has one.claude plugin marketplace removehere: it deletes the marketplace entry from the tracked.claude/settings.json.plugin installresolves from the registered marketplace's clone and records that clone's commit asgitCommitSha, so the checkout's HEAD is the wrong reference.plugin marketplace list --jsonreportssourceas a plain string (claude 2.1.263);known_marketplaces.jsonnests it as an object with arepo.jq -routput is piped throughtr -d '\r'.plugin install --scope user -yhonors a catalogdefaultEnabled: false(claude 2.1.263), so disabled is the expected end state for those ids.plugin updatefalse-greens on the version compare (Plugin cache is keyed by version number, so post-install commits under the same version are invisible #2061), so the SHA recorded at install is compared against HEAD.plugin enableexits 1 ("already enabled at user scope") on a healthy refresh (claude 2.1.246); the end state is the verdict.uninstalldrops enabled state;--keep-datakeeps the data directory but notpluginConfigs.requirements-ci.txtcarries hashes for both CI's cp314 and the VM's system Python cp311 (fix(ci): add PyYAML 6.0.3 cp311 hashes for cloud Python 3.11 #2657 / Melodic cloud environment verification results (2026-08-14) #2654).--require-hashesis the tamper signal, so a failure stays fatal.sha256sums.txt, soshfmt_shais the asset's sha256, checked by a second download.author.*only, so the SSH signature on each commit keeps verifying, and is to be removed once upstream fixes it..claude/hooks/cloud-bootstrap-plugins.test.sh.claude/hooksbecause that is a CI discovery root (scripts/run-plugin-tests.sh). The trailing awk anchor needs its own guard.claude.exewins over an extensionless stub, so the suite probes whether the stub runs.plugin enableexit 1, the marketplace listsourceshape anddefaultEnabled, the same facts as above..claude/hooks/cloud-bootstrap-author.test.shauthor.*only, neveruser.*orcommitter.*, and nothing is set on a lookup failure. Also the anchor extraction and thecheckandglobal_configargument docs..claude/hooks/hook-telemetry-sink.shand its testexec) the session-telemetry reference sink, so no extra process starts. The test pins the shim and smoke-tests it.docs
docs/contracts/ecosystem-commands/examples.test.sh: what the test checks, theCHECK_JSONSCHEMA_BINoverride, "skipped, not passed", the stub-home fallback and the requires-case notes. The example YAML headers named the files and linked the contract README.ai-slop.yaml: the owner rulings.docs/upstreamuntil each file is purged.rule-curly-artifactsandrule-emoji-formattingare disabled for the whole rule.architecture.yaml: bots are excluded by name because the lanes bot's commits are feature work.attribution.yaml:excluded_pathsis unset so the bundled test-fixture default applies; the trigger-less stamp check is on here.code-metrics.yaml: whylights.tsis excluded, what the registries do, and that per-suite shell scaffolding rows are expected (Decide the fate of the shell test-harness boilerplate that lib/*.test.sh and plugin test files share #4125).docs-naming.yaml: the roots are ADR 0059's scope, and the sweep exclusions cover the GLOSSARY collisions.ecosystems/*.yaml:.shellcheckrc, and shell suites are run byscripts/affected-tests.sh --run.guardrails.yaml:fix_request_postis allowed because that guard protects only against our own actors.unpinned_leaseis blocked because AGENTS.md allows only a SHA-pinned lease.deny_on_crashkeeps a guard defect from letting a force push through.harness-config.yaml: suppressions are keyed byfinding_id, andaudit-engine.sh --tableprints them.mutation-testing.yaml:report.test.mjsfails when their glob lists differ.audit --exercisedrefuses here.scripts/run-covering-tests.sh.mutate.baseline-suite-ms72571 is the slowest covering suite measured 2026-10-25;timeout-msis 1.5x that plus 5 s, rounded up.planning.yaml: whatunattended_finish_checknames.source-control.yaml:subject_patternsource and its quoting rules, and thebabysit_loopkeys.review_venueand thesync_stale_baserationale.pre_readyverify is off because the local verify took 20 to 25 minutes and failed on load (docs(contracts): move plugin-author contracts out of docs/conventions #10719).testing.yaml: the map-pass and assertion-helper notes.work-items.yaml: lane posts come from a bot account, and the Azure subscription is passed per call.actionlint
git-hooks/lint.sh:--worktreeand--resolve..githooks/is skipped, and a missing actionlint followschecks.skipmissing.lint.test.shandactionlint-end-of-turn.test.sh: the behavior lists each suite covers; SC2045 is a ShellCheck-only finding.actionlint-check.sh: a usage fragment.ai-briefing
source-bookmarks.sh: the get/advance CLI, the bookmark file format, and the symlink and mktemp reasoning.run.js,emit-slides-data.jsand the other headers: CLI flag lists and file purposes.paths.js:scripts/lib/paths.js; the slides-data import is dynamic.CLAUDE_PLUGIN_DATA, so a value naming another plugin is ignored.schema.js: zod.url()alone acceptsjavascript:,data:andfile:URLs, so the refine rejects them. Also thesectionFieldsemantics.url-policy.js:build-pptx.js,build-sections.js,emit-slides.js,parse-briefing.js: section dividers, step narration, the date-priority list, the slide types and the virtual "news" chip.validate.js: the gate list and per-gate rationale (stale screenshot purge, orb-overflow skip).ai-slop
detect.sh:-w, because "great question" fired on "great questions").LC_ALL=Cportability story.detect.test.sh:cross-check.sh: the awk fence rules and per-function notes.emit-findings.sh: the crosswalk-mirror and findings-home notes, ISO-8601 and branch quoting, pipe escaping, and the repo-root spelling.rubric-fanout.sh: the step list, the awk notes, and the packing and digest rationale.user-scope.sh: the surface list, the symlink and containment rules, andautoMemoryDirectory.lib/cascade-read.sh: the slug ordering, and thatunsetre-expands a double-quoted subscript, so the slug is single-quoted.animation
roto.js: thebrush.jsonkey semantics (bias,blur,grain,tones) and theindex.jsonshape.capture.mjs: the playwright-cli package layouts.ink.js: strokes are rotated to run along +x.app-control
check-map.sh:namedflag, and UTF-8 counting by byte class.kubectl getnaming an object exits 1 when the object is missing, so only a get of resource types alone is a listing.upkeep-skip.sh: a count past nine digits is a window wider than any commit's age.[script]defaults to the sibling.py.Follow-ups
.claude/cloud-bootstrap.shgit-author block. It works around cloud sessions not authoring commits as the connected account; the cause is upstream..claude/cloud-bootstrap.shgh_userandgit config --global author.*. The author-only choice keeps the SSH signature on each commit verifying..claude/cloud-bootstrap.shplugin enable ... || true. The workaround forplugin enableexiting 1 on a healthy refresh (claude 2.1.246) stays in code.plugins/ai-slop/skills/audit/scripts/detect.shgawk retry. gawk aborts with exit 134 ("internal error") on clean trees; the cause is not located.plugins/ai-slop/skills/audit/scripts/detect.test.shstub for that gawk retry.🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa43yt8jZqGJ5kzhzjRAX