Skip to content

docs(code-tidying): cut restated knip, gopls and temp-path text to pointers and stated reasons - #16932

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16854-44162721888-1
Nov 17, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-16854-44162721888-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16854

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Handles the five code-tidying rows from #15527 (part 2 of 7) under upstream-drift contract 6.0.0. code-tidying-1: audit-dead-code's knip note now says knip runs a repo-controlled config module (our measured finding) instead of naming its loader (jiti), and points at knip's configuration Location section. code-tidying-3: the gopls check -h flag claim is replaced by our decision (the script relativizes paths itself) and a pointer to gopls check -h and the gopls command-line page. code-tidying-5: the quoted 'official docs' gopls sentence is replaced by our reason (a gopls run executes no project code; Go has no build.rs equivalent) and a pointer to Gopls: Diagnostics, in lanes.md and the matching comment in dead-code-scan.sh. code-tidying-17: the TEMP-before-TMPDIR order is kept, and its Git Bash reason now names the CHANGELOG 0.18.1 entry that records the observation. code-tidying-26: tidy's 'Edit tool, never sed -i' now states its reason (a structure-only tidying needs an exact replacement in a file already read; a sed pattern can rewrite a match nobody looked at). No row was skipped. Every operative rule and its reason is still there. Means choices: the gopls pointer links the Diagnostics page without a section anchor, because the statement sits in a bullet under no heading of its own. The knip probe is written as 'Measured', matching the rest of lanes.md, because shallow history let me find no script, PR or issue holding its evidence.

Not verified

  • code-tidying-1: the contract asks a probed behavior to name its probe (script, PR or issue). The shallow clone has no history, so I found no record holding the knip config side-effect experiment's evidence. The record is written as 'Measured' like the rest of lanes.md, under that file's header…
  • The ai-slop deterministic detector (detect.sh) could not run, because this lane allows only named wrappers in Bash. I applied the ai-slop pass as a read of the changed lines only. The tidy write-for-agents pass made one edit (it shortened the gopls pointer, and the review fix later replaced it).
  • Online link check (lychee-online-changed) for the three new external links is left to the PR's CI. I read each link with WebFetch in this run.
  • The tidy simplify, comment and residue passes on dead-code-scan.sh had nothing to do: the only changed lines are a comment I wrote, and it is a class-C reason, so it was kept.
  • Build and test step: no build or test covers markdown or a shell comment; script test suites are left to the PR's CI.

Fix

  • plugins/code-tidying/skills/audit-dead-code/SKILL.md: knip hard rule now states the decision (knip executes a repo-controlled config module; disclose it) without the jiti loader name, and points to the observation in context/lanes.md "knip: TS/JS" (code-tidying-1)
  • plugins/code-tidying/skills/audit-dead-code/context/lanes.md: knip config-evaluation bullet states our measured finding without the loader name and adds a pointer to the Location section of the knip configuration page (code-tidying-1); gopls invocation bullet replaces the quoted docs sentence with our no-build reason plus a pointer to Gopls: Diagnostics (code-tidying-5), and the path-relativizing note states our decision plus a pointer to gopls check -h and the gopls command-line page (code-tidying-3)
  • plugins/code-tidying/skills/audit-dead-code/scripts/dead-code-scan.sh: gopls lane header comment replaces the quoted docs sentence with our reason and the docs URL (comment-only; code-tidying-5)
  • plugins/code-tidying/skills/remove-comments/actions/remove.md: TEMP-first reason now names the plugin CHANGELOG 0.18.1 entry that records the Git Bash TMPDIR observation (code-tidying-17)
  • plugins/code-tidying/skills/tidy/SKILL.md: Phase E step 1 now states the reason for Edit tool over sed -i (code-tidying-26)
  • .changes/code-tidying/work-resolve-issue-issue-16854-44162721888-1-e73e9278.md: patch changelog fragment for code-tidying

Open work: the planted-config experiment behind the knip observation is not recorded in any script, PR or issue, so the lanes.md bullet still names no probe. Recording that probe is left for a follow-up.

Verification

The runner ran each check from the base copy against 633045b:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • read https: //knip.dev/overview/configuration: the Location section (#location) lists the config file names knip looks for and says nothing about how TS/JS config files are loaded
  • read https: //go.dev/gopls/features/diagnostics: in the 'Compilation errors' bullet, the page says gopls does not actually run the compiler; the page has no unusedfunc or -severity text
  • read https: //go.dev/gopls/command-line: the page does not document gopls check or its flags and sends readers to gopls help
  • web search for the gopls quote: it found the gopls diagnostics doc (go.googlesource.com gopls/doc/features/diagnostics.md) as its source
  • .lane/checks/bin/check-changelog-fragments: all 14 fragments valid (run before and after tidy and review fixes)
  • .lane/checks/bin/check-changed-skills: 3 skills checked, 0 failed (warnings are pre-existing size warnings, plus audit-dead-code SKILL.md body 240 -> 241 lines)
  • .lane/checks/bin/check-affected: 16 passed, 6 skipped, 0 failed over 6 changed files
  • fresh-context subagent review of the whole diff: 5 findings (a date on the probe record, two new paraphrases of upstream pages, 'without invoking the compiler' paraphrase, dropped go list mechanism); fixed the first four, kept the fifth out on purpose because it restated upstream behavior the…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44162721888

Left out: the items under Not verified.

Related

#16854

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, blocking only): no security issues found

This was an incremental review. It covered one changed file, plugins/code-tidying/skills/audit-dead-code/SKILL.md, and I read its whole change.

What changed: one word in a sentence that only points the reader to another file. "The probe behind both" now reads "The observation behind both", and it still points to context/lanes.md "knip: TS/JS".

What stays in force:

  • The rule "knip executes a repo-controlled config module. Disclose it on every run that loads one." is unchanged.
  • The rule that **/evals/fixtures/** is never scanning input is unchanged.
  • No guardrail was deleted, narrowed or softened, so the instruction exception register was not needed.

Scope checks:

  • No file in this change matches a trusted path.
  • There is no change to a manifest, workflow, token, trust control or merge hold.

This lane already reviewed an earlier head, so this review reported blocking findings only. It found none.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 633045b2035b530b3631f527f20ec48d18cb46da; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #16932 (incremental, 633045b..4919c0e)

This was an incremental review of one changed file, plugins/code-tidying/skills/audit-dead-code/SKILL.md. I read its whole hunk in the incremental diff.

The push changes one word. Line 147 now says "observation behind both is in context/lanes.md" where it used to say "probe". That fixes this lane's earlier finding: the line no longer claims that lanes.md holds a probe record it lacks. The resolved thread is marked lines changed since resolution: no at this head, so it stays settled. The PR body now lists the unrecorded planted-config experiment as open work under "Fix", which is what the earlier finding asked for. The knip row (code-tidying-1) of closing issue #16854 now has our rule, a pointer that does not overclaim, and the missing probe recorded as follow-up work.

I found no new blocking findings. This review was blocking only, because the lane already reviewed an earlier head, so advisory findings were not considered.

No manifest file changed. I found no embedded instructions in the PR context or thread text.

Loosened-check verdict: fail (the default, because the prompt has no loosened_check_verdict: or loosened_check_patterns: line); 0 patterns. The change is prose only and loosens no check.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44166187989

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM64oUVg
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 4919c0e
Run 44166187989

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 4919c0e.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44166187989

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 4919c0e73953c4c958e6dc2d8e60af56a47e0192. 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)

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 4919c0e

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-16932-4919c0e73953c4c958e6dc2d8e60af56a47e0192, 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=4919c0e73953c4c958e6dc2d8e60af56a47e0192 rubric=10.2.0 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 e71ea9e Nov 17, 2026
64 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16854-44162721888-1 branch November 17, 2026 22:32
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit e71ea9e0830062f72187c6c606440762490be011; 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.

skills: cut restated upstream text to pointers (held form-only rows, group 3: seven plugins) - part 2 of 7

0 participants