Skip to content

docs(testing): record why cleanup briefs keep the rendered plugin root - #7961

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-6046-39094371211-1
Oct 18, 2026
Merged

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #6046

Summary

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

/testing:cleanup now states its decision to keep the rendered plugin root in subagent briefs and records a pointer to the Claude Code docs section on cleanup of previous plugin versions, with an as-of date and a recheck trigger. No retention figure is restated and no resolver is added. A testing changelog fragment is included.

Not verified

  • check-skill reports refresh-feature-map FAIL (scripts/upkeep-skip.test.sh); a file this change does not touch, not investigated
  • CI's check-skills on the PR is left to the PR's CI
  • Simulated rename test (AC2) waived by the owner; #6038 criterion rewording is done on the tracker after merge

Fix

  • plugins/testing/skills/cleanup/SKILL.md: decision sentence and Pointer/As of/Recheck trigger record after step 4 (Classify)
  • .changes/testing/docs-cleanup-plugin-root-retention-pointer-3c9e5a17.md: new patch fragment for testing

Verification

The run reports:

  • read https: //code.claude.com/docs/en/plugins/loading: section 'Cleanup of previous versions' exists (anchor #cleanup-of-previous-versions) and covers removal of previous plugin version directories
  • check-changelog-fragments: all 132 fragments valid
  • check-skill plugins/testing/skills: cleanup PASS (0 errors, 2 warnings, none from this change)
  • fresh-context subagent review of the diff: one finding (paraphrased upstream behavior in the decision sentence), fixed and recommitted
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/39094371211

Left out: the items under Not verified.

Related

#6046

melodic-automation-lanes Bot and others added 2 commits October 18, 2026 03:47
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…eam behavior

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

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

No security issues found in PR #7961 at 7b87b2c. The PR adds one changelog fragment and a documentation paragraph in plugins/testing/skills/cleanup/SKILL.md. That paragraph gives a pointer, an as-of date and a recheck trigger for the rendered plugin root. The diff only adds text. It removes, narrows or softens no standing instruction, so the instruction-surface lens found nothing to check. It adds no code, commands, permissions or secrets. The instruction exception register was not consulted, because nothing in the diff called for it.

@github-actions

Copy link
Copy Markdown
Contributor

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

Review: PR #7961 — no findings

Scope: plugins/testing/skills/cleanup/SKILL.md (one decision sentence plus a Pointer / As of / Recheck trigger record after step 4) and the new testing changelog fragment.

Checked and found sound

  • Pointer anchor (I fetched it this session): https://code.claude.com/docs/en/plugins/loading has a "Cleanup of previous versions" section, so #cleanup-of-previous-versions resolves. The rule in .claude/rules/skill-bodies-state-current-rules.md requires a section anchor, and this has one.
  • No restated specific: the body does not give the retention figure, the marker file name or the cleanup mechanics. It states the decision in its own words and points to the live section. That is what the rule and the closing issue's brief ask for.
  • Record shape: pointer with section anchor, as-of date (2026-10-13, Claude Code 2.1.296) and recheck trigger are all present.
  • Closing issue fix(testing): stop subagent briefs breaking when the plugin auto-updates mid-session #6046, as narrowed by the owner's 2026-10-13 decision and the Agent Brief:
    • The pointer record is present, and the body states no retention number.
    • No script or resolver was added. Only SKILL.md and one fragment changed.
    • The testing fragment is in .changes/testing/ and testing is listed in scripts/fragment-plugins.txt, so a fragment is the right mechanism.
    • The original acceptance criteria asked for a rename test; the owner waived it, and the PR body says so.
  • "Every brief this skill writes": this covers the second rendered-root brief near line 235 (the skeptic brief) as well as the classifier brief the record sits under.

Unverified by me: check-skills, check-changelog-fragments and the author's reported subagent review are author-claimed or left to CI. I did not run them.

Embedded text: the PR context contains no directive aimed at the lane.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path enqueued this pull request at head 7b87b2c6ca3186c1a5c566b14a6e8feb5ac413a0.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 18, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot removed this pull request from the merge queue due to a manual request Oct 18, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path enqueued this pull request at head 7b87b2c6ca3186c1a5c566b14a6e8feb5ac413a0.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit 07a551f Oct 18, 2026
24 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-6046-39094371211-1 branch October 18, 2026 06:50
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.

fix(testing): stop subagent briefs breaking when the plugin auto-updates mid-session

0 participants