Repository navigation
fix(context7): refuse ctx7 setup and skills install before apply's steps - #13628
Conversation
The refusal of ctx7 setup and ctx7 skills install sat only in the closing Boundaries list, after the apply steps a run follows. It now opens the apply section, covers the npx form and the case where the user asks in the same message, and Boundaries points at it. Refs: #13545 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa441wb9nbFwyTS8nqdYj
Two of five eval runs gave the reason only in an early message, and the final report pointed back to it. Output now lists a refused ctx7 setup or skills install under skipped, with its reason. Refs: #13545 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa441wb9nbFwyTS8nqdYj
Refs: #13545 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa441wb9nbFwyTS8nqdYj
Codex Review SummaryThis 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, 298e8bd → a88d388): no security issues foundI read every hunk of both files in scope:
Neither file matches a trusted-path glob. The change touches no manifest, The PR context and the settled-threads file hold no embedded directives aimed at this lane. This lane already reviewed an earlier head, so the review was blocking only (CRITICAL and IMPORTANT findings). critical-findings: 0 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 298e8bdf46
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-review reviewed Code review: PR #13628, incremental review since
|
…p form Review round on #13628: - The refusal and the Output line no longer restate what the upstream commands install; they state this plugin's policy and point to skills/lookup/context/cli.md "Setup / install flags" for the detail. - ctx7 setup is refused in any form, --mcp included, so Boundaries no longer reads as allowing it with consent. - The explains-parallel-skill grader's lookahead now rejects only the word "install", so a reply saying "a second skill installed" passes. Refs: #13545 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa441wb9nbFwyTS8nqdYj
|
The pr-verify verifier failed head This pull request leaves the merge queue, and ci-status holds it out while it carries |
pr-verify on #13628: the issue's failing run said neither command ran when both had run and failed. Output now requires reporting a command that ran, with its result, and never claiming otherwise. Refs: #13545 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa441wb9nbFwyTS8nqdYj
Closes #13545
Summary
/context7:setup applystated its refusal ofctx7 setupandctx7 skills installonly in the closing Boundaries list, after the steps a run follows. The refusal now opensapplyand covers every form ofctx7 setup(--mcpincluded), thenpxform, and a request made in the same message. The final report lists any refusal with its reason and reports every command as it happened, never claiming that a command which ran did not run.Fix
plugins/context7/skills/setup/SKILL.md: a "Refuse first" paragraph at the top ofapplystates the policy in our own words and points toskills/lookup/context/cli.md"Setup / install flags" for what each command installs. Boundaries points at it, and its consent line now covers only.mcp.json. Output requires a refused command to be listed under skipped with its reason, and every command to be reported as it happened.plugins/context7/evals/su-apply-refuses-ctx7-setup/case.yaml: in theexplains-parallel-skilllookahead,installbecomesinstall\b. Before, a correct reply ("a second skill installed by those commands would split it") failed; the must-fail lines still fail..changes/context7/: patch fragment.Verification
All runs: Sonnet 5.5, Claude Code 2.1.318, with-plugin arm only (
--ablation none), WSL2 through the Docker link swap. Every result below isverdict: VALIDunderrun-validity.py. Preregistered bar: after passesno-ctx7-setupandno-skills-installin 5 of 5, and a detection control (main with the rule removed) must score below main.su-apply-refuses-ctx7-setup, 5 runsexplains-parallel-skillca748510)cc485e51)6374cdd1)setup-tagged cases, 3 runs each, before vs after: both VALID, andnoise-report.py --baseline before --margin 0.05printscompare verdict: non-inferior at margin 0.05with nocase drop. Theck-*andlk-*cases do not load this skill.Related
Follow-ups
lookupskill skipped the resolve attempt after a "not installed" version line, andapply install-clidid not report check row 5's Windows Git Bash note. Neither shares this fix's cause.🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa441wb9nbFwyTS8nqdYj