Skip to content

fix(playbooks): take repo-sweep's issue target from the plugin manifest - #17524

Merged
kyle-sexton merged 1 commit into
mainfrom
fix/17208-playbooks-issue-target
Nov 19, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
fix/17208-playbooks-issue-target

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #17208

Summary

repo-sweep's plan step checked override issues, and its review step filed catalog and procedure issues, against a hardcoded repository (#17208).

Fix

  • plan.md and review.md name <plugin-repo>, which SKILL.md (Scripts) defines as the owner/repo of the repository URL in ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json. Without that field, the skill asks for the repository and skips the override check.
  • The playbooks plugin.json gains a repository field: publisher metadata the manifest exists to carry (docs/plugin-philosophy.md, "Design boundary").
  • Fragment: playbooks patch.

Verification

  • claude plugin validate plugins/playbooks: passed.
  • scripts/validate-plugin-contracts.mjs: exit 0.
  • plugins/playbooks/skills/repo-sweep/scripts/skill-version.test.sh: all passed (it reads the nearest plugin.json).

Remaining

What #17208 still needs after this PR, each carried by its own follow-up PR under Refs: #17208:

  • Classify every other organization-specific match in shipped content as runtime behavior, instruction, permitted citation or test fixture, and record the result on Remove organization-specific dependencies from shipped plugins #17208.
  • Make the remaining runtime and instruction matches read a documented, overridable value: the source-control trust and cost settings, including the DECISION_ROW owner-decisions link in plugins/source-control/skills/babysit-prs/scripts/babysit_merge_policy.py (open in fix(source-control)!: read the merge trust and cost settings from userConfig #17473); fleet's converge_docs_url (branch pushed, PR to follow); the git-hooks git_url shared by the plugins that install git hooks; and the guardrails lane App login.
  • Add the CI portability check (scripts/check-skill-portability.sh or its token classes) that fails when shipped content adds a new organization dependency outside the allowed citation shapes. It lands last.

Related

Plan item 10 of #17208.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBVgaQE4QB75SPD3ky1jd

repo-sweep's plan step checked override issues, and its review step
filed catalog and procedure issues, against a hardcoded repository. Both
now use <plugin-repo>, the owner/repo of the repository URL in the
plugin's own plugin.json, which gains that field (publisher metadata the
manifest exists to carry). Without the field the skill asks.

Refs: #17208

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBVgaQE4QB75SPD3ky1jd
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 19, 2026 20:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T20:57:48.579856Z 6cb83d9 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found

I read all five changed files in full. The PR swaps the hardcoded melodic-software/claude-code-plugins issue target in repo-sweep's plan.md and review.md for <plugin-repo>. SKILL.md defines that value as the owner/repo path of the repository URL in the plugin's own ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json.

  • Where the value comes from: the installed plugin's own manifest. The plugin's publisher already controls every file under the plugin root, so this adds no new attacker input. A fork that ships its own repository value gets its own issues, which is what the change is for.
  • How it is used: it goes only into gh issue view <n> -R <plugin-repo> --json state (read-only) and into the target for issue drafts the session writes. It grants no new tools or tokens. When the field is missing, the skill asks the user and skips the override check.
  • Trust controls: none touched. No trusted path, workflow, token, kill switch or merge hold is changed.
  • Instruction surface: no guardrail is deleted or weakened. Only the target repository string is replaced.

critical-findings: 0

Manifest lines (1)
  • manifest repository: pass (repository is in the inert set; it was added at plugins/playbooks/.claude-plugin/plugin.json:10)

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: no findings

This PR stops repo-sweep from using a hardcoded melodic-software/claude-code-plugins target. It now reads <plugin-repo> from the repository field of the playbooks manifest, both in the plan step's override check (gh issue view -R) and when the review step drafts catalog or procedure issues.

What I checked:

  • All five changed files, every hunk.
  • The definition of <plugin-repo> in SKILL.md (Scripts). It is the owner/repo path of the repository URL, read with jq -r .repository. It matches the two places that use it, in reference/plan.md step 3 and reference/review.md step 4.
  • After this change, no hardcoded target repository is left in plugins/playbooks/skills/repo-sweep/. The other melodic-software matches are links to issue history, not places issues get filed.
  • Catalog override issue numbers point at issues in the repository the plugin ships from, so looking them up against <plugin-repo> is correct.
  • With no repository field, the skill asks the user for the repository during review and skips the override check in plan. That fallback is stated and consistent with how the review step already works (nothing is filed until the user approves it).
  • No check is loosened: the diff changes only docs, the manifest and a changelog fragment.
  • PR fix(playbooks): take repo-sweep's issue target from the plugin manifest #17524 only refers to Remove organization-specific dependencies from shipped plugins #17208 (Refs:); it closes no issue, so there are no acceptance criteria to check against. The PR body has no embedded instructions.
  • The verification in the PR body (claude plugin validate, validate-plugin-contracts.mjs, skill-version.test.sh) is the author's claim; I did not run it.

Spend: none. The change is docs and manifest metadata only.

Loosened-check verdict: fail (default; the wrapper supplied no loosened_check_verdict: or loosened_check_patterns: line); patterns: 0. There was no loosened_check_decision_record: line, so I did not check the citation requirement.

Advisory and manifest lines (3)
  • manifest repository: pass. A new metadata field, read by SKILL.md (Scripts) through jq -r .repository.
  • manifest version (fragment bump:): pass. A patch bump fits an instruction-level fix with no change to the interface.
  • manifest description/keywords: pass. No capability was added or removed.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit e86c8b3 Nov 19, 2026
62 of 75 checks passed
@kyle-sexton
kyle-sexton deleted the fix/17208-playbooks-issue-target branch November 19, 2026 22:23
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant