Skip to content

refactor(code-tidying): restate a comment-census test comment in present tense - #16697

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
chore/tidy-adhoc-plugins-code-tidying-2026-11-17
Nov 17, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
chore/tidy-adhoc-plugins-code-tidying-2026-11-17

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Refs: #12894

Summary

Ad hoc tidy sweep of plugins/code-tidying/** (anchor commit: none (ad hoc), base e86b5d2123). One Beck #15 tidying: a test comment that the plugin's own residue detector flags as history-narration (tier 1) is restated in present tense. Only a comment changes.

Fix

  • plugins/code-tidying/scripts/test_comment_census.py: above test_tracked_subdirectory_target_lists_its_files, used to census zero files became would census zero files. The first line explains the git ls-files pitfall the test guards, so the comment stays. 1 line changed.
  • .changes/code-tidying/chore-tidy-adhoc-plugins-code-tidying-2026-11-17-10c914f4.md: patch changelog fragment.

Verification

  • python3 -m unittest test_comment_census (from plugins/code-tidying/scripts): 18 tests OK, 2 skipped (scc not on PATH). The touched test ran, because pygments is present.
  • skills/remove-comments/scripts/detect.sh on the edited file: T1=0 T2=0 T3=0.
  • scripts/affected-tests.sh also selected .github/scripts/graphql-operations/graphql-operations.test.sh, which cannot run locally (Cannot find module 'graphql', no node_modules). CI's run is the real check.
  • Hunt over the whole scope: shellcheck (only deliberate SC2015 notes in scripts/comment-settings.sh), unused-import and unreferenced-definition scans (clean), relative-link integrity (clean), markdownlint-cli2 over 48 files (0 issues).

Related

  • Scope budget: 1 file, 2 lines changed. No candidate was deferred.
  • Not tidied because they are false positives of the detector: skills/remove-comments/scripts/detect.sh lines 170 and 288 describe runtime state and the detector's own rules, and lib/resolve-convention-home.sh is a sync-managed copy whose source is lib/resolve-convention-home.sh at the repository root.
  • No HARD exclusion was lifted.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head fc0072dbad4ebfd6d85d9e7da1f64731a72976d4. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed fc0072dbad4ebfd6d85d9e7da1f64731a72976d4: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read every hunk of both changed files:

  • plugins/code-tidying/scripts/test_comment_census.py: one comment line is reworded from "used to census zero files" to "would census zero files". No code changes, and the line is not a standing instruction.
  • .changes/code-tidying/chore-tidy-adhoc-plugins-code-tidying-2026-11-17-10c914f4.md: a new patch changelog fragment.

Neither file matches a trusted-path glob. The diff doesn't touch any trust control, merge hold, workflow, plugin manifest, token scope or instruction surface. The pull request description matches the diff and contains no embedded directives.

This was a full review, not a blocking-only one, because this lane has reviewed no earlier head.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed fc0072dbad4ebfd6d85d9e7da1f64731a72976d4: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #16697

This is a full review of both changed files. Nothing to fix.

  • plugins/code-tidying/scripts/test_comment_census.py: one comment line changes from "used to census zero files" to "would census zero files". The new wording is in present tense and still explains the git ls-files -- <dir> pitfall that test_tracked_subdirectory_target_lists_its_files guards against. No code changes.
  • .changes/code-tidying/chore-tidy-adhoc-plugins-code-tidying-2026-11-17-10c914f4.md: a new changelog fragment with bump: patch and a ### Changed entry. Patch is the right level for a change that only touches a comment, and the entry describes what ships.

The PR closes no issue (it only references #12894), so there are no acceptance criteria to check. The PR body has no embedded instructions. The test runs and detector output in the description were reported by the author; I did not run them myself.

No plugin manifest changed, there were no prior findings, and nothing here costs money.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head fc0072dbad4ebfd6d85d9e7da1f64731a72976d4, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for fc0072d

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16697-fc0072dbad4ebfd6d85d9e7da1f64731a72976d4, expires on 2026-12-17.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=LOW demote=false head=fc0072dbad4ebfd6d85d9e7da1f64731a72976d4 rubric=10.0.1 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 76b9529 Nov 17, 2026
45 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the chore/tidy-adhoc-plugins-code-tidying-2026-11-17 branch November 17, 2026 06:04
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 76b9529c260642152c957856cec183e0cec06fad; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants