Repository navigation
fix(repo-hygiene): name the files setup reads instead of searching the plugin - #13895
Conversation
…e plugin
The setup check told the model to read the clean skill directory and probe
what it does, so the with-arm searched the plugin root with Glob and compound
cd/find/head Bash calls, which the eval sandbox denies. Name each file by its
${CLAUDE_PLUGIN_ROOT} path, read it with Read, forbid searching the plugin
directory, and run each probe as its own Bash call. Cited line numbers are
unchanged.
Refs: #13768
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Move the Read pointer for the clean skill and destructive-guard.sh after the sentence, so "hooks: block in ... SKILL.md frontmatter" reads as one phrase again. Line count is unchanged. Refs: #13768 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…entence Move the read-this-file instruction out of the sentence that says where the destructive guard registers, so the report keeps "frontmatter hooks" together. Refs: #13768 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed Security review: PR #13895No security issues found. What I read: every hunk of both changed files, Instruction-surface lens: the SKILL.md diff changes wording in the read-only
No standing rule is removed or softened. "Do not modify anything", "Install nothing, and run no mutating tier", and the rule against echoing Trust controls: none are touched. Nothing changes a trusted actor, token scope, kill switch, merge hold or Actions workflow. Embedded text: the PR context contains no directive aimed at the review lane. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsThe PR has two files: What I checked myself:
Not verified: the eval scores and the "0 denied calls in 24 traces" result in the PR description come from the author and are unverified. I ran no evals. Issue criteria: the PR says Prior findings: none. This lane had not reviewed an earlier head, so this was a full review, not a blocking-only one. |
Refs: #13768
Summary
Setup's Bash-only eval cases were INVALID twice on #13768 part (b). The with-arm searched its own plugin directory with Glob, Grep and compound
cd; find; headcommands, and the sandbox denied it.SKILL.md now names each file it reads, as
${CLAUDE_PLUGIN_ROOT}/...paths read with the Read tool:skills/clean/SKILL.md,clean-common.sh,hooks/exec-bash.mjs,destructive-guard.shandREADME.md. It forbids searching the plugin tree, and each probe runs as its own Bash call.A second commit moved a read-this-file instruction out of the sentence that says the guard registers from the frontmatter
hooks:block, which restored thefrontmatter-hooksgrader.Precedents: #13808 and #13809.
Fix
plugins/repo-hygiene/skills/setup/SKILL.mdedits (no cited line moved).Verification
Laptop lane, run from an rsync copy outside git, Claude Code 2.1.319, model
claude-opus-5-5, judgeopus,--runs 3 --allow-tools Bash. The cases' premise is "no ghq", so ghq was kept off PATH.Head only, because the before side (main) cannot be VALID: it is denied on exactly the plugin-root Grep/Glob and the read of the user config directory that this fix removes (hub rule R382).
Head
65f1ba1c: VALID, 0 denied calls in 24 traces.The "skill fired" warning is expected: every case starts with the
/repo-hygiene:setupslash command and carries no Skill grader (setup-ghq-absent-info/prompt.md:2).On guard-unarmed-expected,
frontmatter-hookspassed 2 of 3 with-arm runs at this head against 0 of 3 at the previous head21c1ad05.The CLI's exit 1 is only the 0.8 threshold on two cases, not a run error.
Left out: the before side (main), which cannot produce a VALID run for the reason above.
Remaining on #13768
git-absent-every-tier (0.67) and headless-toggle-configure (0.70) are weak cases with a with-arm under 0.8, still well above without.
Related
🤖 Generated with Claude Code