Repository navigation
fix(plugin-reconfiguration): take the rerun scope from claude plugin list in every directory - #16236
Conversation
…e plugin list
The scope caveat ended with an unconditional home-directory sentence
("pass `user`") that replies read as replacing the `claude plugin list`
lookup. The caveat now says to run `claude plugin list` and pass the
scope it reports from any directory, the home directory included, and
keeps `user` only as the tie-break when the list shows one settings
file as both `user` and `project`. The verified-version record's
matching "Pass `user`" now carries the same condition.
Regenerates the 31 shared copies and adds a patch fragment per carrier.
Refs: #16011
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review (incremental, blocking only): no security issuescritical-findings: 0 This review covers only the changes made since What changed since the last review. The push changes documentation only. The Scope caveat (Caveat 2) of the plugin-reconfiguration convention is reworded again in four places:
The new text adds two conditions to the
I read the whole change in each of the 4 scoped files. The other shipped copies and fragments in the diff have the same hunks as the ones I read, and every copy sits at a What I checked:
Spend: the PR text plans an 8-run Sonnet eval for its run record. That uses only prepaid model usage and starts no charge. |
|
claude-review reviewed Code review (incremental since 08fac24): no blocking findingsThis was a follow-up review of the changes since the last reviewed head. Because this lane already reviewed an earlier head, it reported blocking findings only. What changed
Checks
Not verified: I did not run Spend: this diff adds none. The planned host check spends prepaid Sonnet eval runs. Verifier dropped 0 of 0 candidates. |
…om its project Project scope follows the working directory, so the scope caveat no longer reads as if a rerun works from any directory: the list lookup runs from the home directory too, and a `project` or `local` rerun runs from the project that install lives in. The `user` tie-break now names what the list shows (the plugin labeled both `user` and `project` from the home directory). The markdown-format scope-rule pass sample's last sentence matches the new tie-break. Regenerates the 31 copies and rewords the 31 fragments to match. Refs: #16011 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #16011
Summary
The host check after #16065 merged scored case
su-apply-ci-toggle-off-keeps-options(markdown-format) at 1.00 in 5 of 8 Sonnet runs, below the target of 7 of 8. The only failing grader wasscope-rule, which passed 5 of 8. Its judge was right all three times: those replies tell the user to pass a fixeduserscope for the install--configrerun with noclaude plugin listlookup. The five passing replies take the scope fromclaude plugin list.The cause is the shared reference's Scope caveat. It ended with an unconditional sentence ("When the working directory is the home directory, ... pass
user") that reads as replacing the list lookup, and the case's prompt puts the user in the home directory.Fix
docs/contracts/plugin-reconfiguration/README.md, Caveat 2 (Scope), now reads in full:useris now only a tie-break. Project scope follows the working directory, so aprojectorlocalrerun runs from that install's project.plugins/markdown-format/evals/su-apply-ci-toggle-off-keeps-options/samples/scope-rule.json: only the last sentence of the pass sample changed, to the new tie-break wording, so the judge's example matches the caveat. No other part of the case changed.The same file's verified-version record had a matching unconditional "Pass
user." in its "Home directory, one file, two labels" bullet. One failing reply repeats it as "Passuseranyway". It now reads "When it does, passuser." Issue Print the configure command first in the markdown-format setup skill and fix its scope-rule eval case #16011 put that record out of scope. This is the smallest change that keeps it from contradicting the caveat.plugins/*/reference/plugin-reconfiguration.md(31 copies) are regenerated withscripts/sync-shared-copies.sh..changes/<plugin>/fix-16011-reconfigure-scope-from-list-*.mdadds onepatchfragment per carrying plugin (31), throughscripts/new-changelog-fragment.sh --carriers-of.No grader, case.yaml or SKILL.md changed.
Verification
Before (host check on main
4f2dcaaff35e8f9fccc6a9f4d82a5830ab17a5c5, 8 runs, Sonnet, with the plugin, judge claude-opus-5-5, result file VALID): 5 of 8 at 1.00,scope-rule5 of 8, the other twelve graders 8 of 8. The three failing replies say:user."user. From the home directory, project and user scope are the same settings file, soclaude plugin listcan label it as both. Passuseranyway."claude plugin listcan label that one file as bothuserandproject, so pass-s useron the fallback route."Checks run from the worktree on this head:
scripts/sync-shared-copies.sh --check: All 901 registered copies match their canonical sources.scripts/sync-shared-copies.sh --check-bump origin/main: every carrying plugin bumped its version.scripts/check-changelog-fragments.sh --check-required origin/main: every one of the 31 changed fragment-mode plugins has a fragment.scripts/check-changelog-fragments.sh --check: all 35 fragments valid.python3 -I plugins/evals/skills/validate/scripts/validate-cases.py plugins/markdown-format/evals: 0 FAIL. It printed WARN lines only: caseallowed_tools, and samples that need judge calibration.scripts/check-affected.sh --no-fetch: 15 passed, 3 skipped over 64 changed files.git diff --check origin/main...HEAD: clean.scripts/sync-plugin-options-docs.py --check,scripts/check-purged-em-dashes.sh,scripts/check-line-citations.py,scripts/check-cross-plugin-source-drift.sh --check,scripts/check-contract-clause-coverage.py: pass.After (run record, planned before the launch with no reruns): the same case alone on head
7f4d98d577b48527fa8ab66fab52172f738f85f9, 8 Sonnet runs with the plugin (--ablation none, judge claude-opus-5-5, Claude Code 2.1.325). Target stated in advance: 1.00 in at least 7 of 8.4f2dcaaff35e)scope-rulerun-validity.py --runs 8 --scaffoldedexits 0 with one warning (skill fired: the case has no skill-fired grader, so it is not checked). The file is not partial, no run errored, no tool call was denied, and all 8 traces show claude-sonnet-5-5 and the markdown-format plugin loaded.is not a valid shim,Shell command permission check failed for patternandcommand not found: 0 hits.su-apply-ci-toggle-off-keeps-options. Cost 2.33 USD.The target is met.
Related
session: GitHub Support
🤖 Generated with Claude Code