Skip to content

docs: repoint cross-plugin skill-folder cites in ai-slop, codebase-health, corrections, discovery - #10052

Merged
melodic-automation-lanes[bot] merged 4 commits into
mainfrom
work-resolve-issue/issue-9913-40208830746-1
Oct 25, 2026
Merged

melodic-automation-lanes[bot] merged 4 commits into
mainfrom
work-resolve-issue/issue-9913-40208830746-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #9913

Summary

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

Each of the 9 listed files no longer cites another plugin's skills/ folder. Prose cites now name the owning skill by /plugin:skill. Placeholder examples in the encapsulation detector and its skill use a non-plugin segment. The shared redact.py canonical moved from session-flow's skill folder to lib/redact.py, so both plugins carry generated copies whose header names lib/. docs-naming's bundled generated default is now empty, because its regenerator path only existed in this marketplace's own checkout; this repo's team layer keeps that entry.

Not verified

  • Issue acceptance: bash plugins/skill-quality/scripts/check-skill.sh plugins/<plugin>/skills for each touched plugin. This lane allows no direct command for it, and check-affected skipped changed-skills because it runs the checked tree's own code. Left to the PR's skill-quality-gate CI.
  • Ran no test suites directly: docs-naming resolve-config.test.sh (edited) and session-flow's audit-sessions pytest (its redact.py gained a header). This lane runs only the named wrappers, and check-affected's output does not list which suites it ran. Left to the PR's test lanes.
  • Issue acceptance: ci-status green on the PR. Left to the PR's CI.
  • Out of scope, not changed: plugins/corrections/tools/findings-buffer/buffer.test.sh:3 and :251 still cite plugins/session-flow/skills/audit-sessions/vendor/gitleaks (the vendored gitleaks rules byte-identity check). The file is not on this issue's list.
  • Behavior note: the session-flow redact.py header changes audit-sessions' collector digest, so the next collect run re-ingests every transcript once (recorded in the session-flow fragment).
  • The rename to lib/redact.py is staged, while the regenerated plugins/session-flow/skills/audit-sessions/scripts/redact.py is untracked; both belong in the patch. Untracked dotfiles at the checkout root (.bashrc, .idea, .vscode, and so on) are sandbox artifacts, not part of this change.

Fix

  • plugins/ai-slop/skills/audit/context/persist-findings.md: dropped the two paths into the review plugin's skill folder; names /review:fanout "Shared inputs" and Step 1 of /review:fanout fix
  • plugins/codebase-health/skills/audit/SKILL.md: dropped the parenthetical path into review's fanout context; the row already names /review:fanout run-everything
  • plugins/discovery/reference/parent-contract.md: replaced the GitHub URL into harness-config's skill folder with /harness-config:audit
  • plugins/docs-hygiene/context/derivability-route-followups.md: board rows for other plugins' skill files now read /plugin:skill plus a skill-relative path
  • plugins/docs-hygiene/skills/audit-noise/scripts/lib/noise-shapes.sh: comment names the I6 cue pattern of /harness-config:audit-instructions instead of the script path (the cited I6_ERE name no longer existed)
  • plugins/docs-hygiene/skills/audit-encapsulation/SKILL.md: example roots plugins/PLUGIN/skills/X/ and plugins/.../skills/<X>/ changed to plugins/*/skills/X/ and plugins/<plugin>/skills/<X>/; quoted trigger phrases unchanged
  • plugins/docs-hygiene/skills/audit-encapsulation/scripts/detect.sh: comment example plugins/demo/skills/alpha/ changed to plugins/<plugin>/skills/<skill>/
  • lib/redact.py: new canonical, renamed unchanged from plugins/session-flow/skills/audit-sessions/scripts/redact.py
  • plugins/session-flow/skills/audit-sessions/scripts/redact.py: now a generated copy of lib/redact.py (header added, code unchanged)
  • plugins/corrections/tools/findings-buffer/lib/redact.py: regenerated; header now names lib/redact.py
  • scripts/shared-copies.txt: lib/redact.py registered as canonical for both copies
  • scripts/cross-plugin-source-registry.txt: duplication-audit cluster line for lib/redact.py and its two copies
  • plugins/docs-naming/skills/setup/templates/docs-naming.json: generated default emptied, _comment updated
  • plugins/docs-naming/reference/config.md: generated default documented as \[\]; layer intro notes the exception
  • plugins/docs-naming/skills/setup/SKILL.md, plugins/docs-naming/README.md: "defaults are this marketplace's own values" now notes that generated is empty
  • plugins/docs-naming/scripts/resolve-config.test.sh: cases 6 and 7 assert the resolved generated is \[\] (overlay and user-global declarations ignored)
  • .changes/{ai-slop,codebase-health,corrections,discovery,docs-hygiene,docs-naming,session-flow}/docs-repoint-cross-plugin-skill-cites-9913-4c1e7a02.md: one patch fragment per touched plugin

Verification

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

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • Grep of plugins/\[A-Za-z0-9_.-\]+/skills/ over the 9 listed files: one hit left, derivability-route-followups.md:111, which cites docs-hygiene's own skill (allowed)
  • .lane/checks/bin/check-changelog-fragments: All 9 changelog fragment(s) under .changes/ are valid (run after the final edit)
  • .lane/checks/bin/check-affected: 11 passed, 5 skipped over 24 changed files (run after the final edit); skipped: validate-plugins sub-steps that run checked-tree code, typos (not installed), changed-skills
  • .lane/verify/bin/sync-shared-copies --check: All 523 registered copies match their canonical sources
  • .lane/verify/bin/cant-fail-scan --file plugins/docs-naming/scripts/resolve-config.test.sh --check: PASS, no gating findings
  • Fresh-context subagent review of the full diff: no correctness bugs; one out-of-scope finding (below) and two nits, one fixed (docs-naming's 'defaults are this marketplace's own values' lines)
  • Glob confirmed every /plugin:skill newly named in derivability-route-followups.md has a SKILL.md (10 of 10)
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40208830746

Left out: the items under Not verified.

Related

#9913

Lane-Activity: work-resolve-issue/resolve-issue

@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: 2 inline finding(s) on 634609b33e27bac1604dfac28adf11e7c6a026c7; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed e03a70f8ad0fa3e45586bfadebd8f3f37447b166: 0 finding(s), 0 as inline comments.

No findings. I read the full diff (24 files) and the PR context. I ran no commands myself, since this lane has no shell.

Closing issue #9913, read. Each criterion against the diff:

  • No cite into another plugin's skills/ folder in the 9 listed files: this holds in the diff. Every changed cite is repointed to /plugin:skill or rewritten with a placeholder. corrections/.../lib/redact.py now cites lib/redact.py. The PR's own grep reports one hit left, a cite to docs-hygiene's own skill, which is allowed. I did not re-run that grep.
  • Changelog fragments: one fragment per touched plugin (7 plugins). Levels match the change. docs-naming is minor because the bundled generated default changes behavior. The rest are patch, for doc or comment edits and a header-only change to redact.py.
  • check-skill.sh and ci-status: not verifiable from the diff. The PR body says they are left to CI.

Checks that the docs-naming default change is safe:

  • Bundled defaults come from skills/setup/templates/docs-naming.json. The .claude/docs-naming.json team layer in this repo still declares the landscape.json entry (lines 72-73), so the marketplace's own behavior is unchanged.
  • resolve-config.test.sh cases 6 and 7 now assert []. Case 8 (team layer supplies generated) is unchanged. setup-apply.test.sh sets generated explicitly and does not depend on the old default.
  • Docs (config.md, README, setup SKILL) agree with the empty default.

Checks that the redact.py move is consistent:

  • shared-copies.txt and cross-plugin-source-registry.txt register lib/redact.py as the canonical for both copies.
  • Both copies carry identical headers naming lib/redact.py.
  • Nothing else in the repo still cites the old canonical path. The remaining references, in collect.py and its test, use the session-flow-relative copy path, which still exists.
  • The canonical's RULES_FILE (parents[1]/vendor/...) only resolves at the two copy locations, as before. It is not run from lib/.

Behavior note. The header added to session-flow's redact.py changes the collector digest, so the next collect run re-ingests every transcript once. The session-flow fragment records this.

Out of scope. corrections/tools/findings-buffer/buffer.test.sh still cites session-flow's vendored gitleaks path. It is not on the issue's list, and the PR body notes it.

Spend. No change here can start a real charge. The change spends no prepaid credits or subscription usage beyond normal CI runs.

@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed e03a70f8ad0fa3e45586bfadebd8f3f37447b166: 0 finding(s), 0 as inline comments.

No security issues found in this pull request (head e03a70f).

critical-findings: 0

Scope read: all 24 changed files in the full diff, plus the PR context. No changed file matches a trusted path (trusted-actors, check-trusted-trigger, CODEOWNERS, .gitmodules). No plugin.json or marketplace.json changed, so there are no manifest <field> lines to report.

What I checked:

  • Redactor move (lib/redact.py, the two generated copies, scripts/shared-copies.txt, scripts/cross-plugin-source-registry.txt): The diff says the move was a pure rename and that the generated copies add only a header. The two generated copies differ from the canonical only by that header comment. The regexes, the fail-closed logic and the RULES_FILE lookup (Path(__file__).resolve().parents[1] / "vendor" / "gitleaks") are unchanged. Each copy sits at the same path as before, so the vendored rules file resolves as it did. The redaction passes are not weakened.
  • docs-naming bundled generated default emptied: This removes a default that carried a shell regenerate command. It narrows the default execution surface, and the generated key stays team-layer-only. The updated tests still assert that overlay and user-global generated declarations are ignored. Repositories with no team-layer generated entry now get ordinary reference edits to docs/architecture/landscape.json. That is a behavior change, not a security one.
  • Doc and comment repoints (ai-slop, codebase-health, discovery, docs-hygiene): Only citations changed. No instruction, hook block list, allowlist or guardrail was deleted or softened. The discovery "credentials stay unread" passage keeps its rule. It now points to /harness-config:audit instead of a GitHub URL.
  • PR description: It contains no embedded directives aimed at the review.

Spend: none beyond this review run.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 634609b33e27bac1604dfac28adf11e7c6a026c7. The lanes clear this reason on their own; 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

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

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 25, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: a review finding is uncertain or deferred, so a person decides it.

  • Reason: feedback-uncertain
  • Resume key: ddfd77b0d4e02c5f7e2914acbbcdeb10137b4ab6 (the head the lane stopped on)

To resume, deal with the reason above, remove the needs-human label (and do-not-merge, if set), then dispatch the pr-unblock workflow with pr-number=10052 and activity=address-feedback:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=10052 -f activity=address-feedback

kyle-sexton and others added 2 commits October 25, 2026 14:09
Restore mode 100644: the file is sourced by detect.sh and has no shebang.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kyle-sexton kyle-sexton removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 25, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head e03a70f8ad0fa3e45586bfadebd8f3f37447b166.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 25, 2026
Merged via the queue into main with commit 41eb276 Oct 25, 2026
79 of 81 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-9913-40208830746-1 branch October 25, 2026 18:41
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.

docs: repoint cross-plugin skill-folder cites in ai-slop, codebase-health, corrections, discovery, docs-hygiene and docs-naming

1 participant