Repository navigation
fix(improvement): read the user-global setup config as one ~/.claude Read - #13865
Conversation
…Read /improvement:setup and its config reference now say to look up ~/.claude/improvement.md with one Read of the literal path, ~ kept, never a Glob, a spelled-out home directory or a home-tree search. Refs: #13768 Co-Authored-By: Claude Opus 5.5 <[email protected]>
apply searched the plugin directory for the bundled churn exclusions with Grep and Glob, which the eval sandbox denies. Name the hotspot recipe file and read it with one Read. 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: no security issues foundI read all three changed files in full:
Instruction-surface lens. Both edits change instruction text, so I checked them against this lens before ruling out the skip. They delete or soften no rule. Each one adds a restriction.
Both edits narrow what the skill reads, from searches of the home and plugin trees down to two fixed paths. Neither adds a write, a tool grant, a command, a network or publish step, or a way for untrusted input to reach a lane that holds credentials. The existing WARN for an unreadable layer outside the repo is kept, as are the rule against modifying anything in Other checks:
Cost: none. Nothing here can cause a charge. critical-findings: 0 |
|
claude-review reviewed Code review: PR #13865 (no findings)I read the whole change in all 3 files: the changelog fragment, What changed
What I checked
Not checked
|
Refs: #13768
Draft: the coordinating session decides the ready flip.
Summary
/improvement:setupnow reads the user-global layer with one Read of the literal~/.claude/improvement.mdand reads the bundled churn exclusions with one Read of the hotspot recipe. Before this change, an eval sandbox denied both lookups, so thesetupsuite could not produce a VALID run.Fix
plugins/improvement/skills/setup/SKILL.mdcheck step 1, and the layer table inplugins/improvement/reference/config.md: the user-global layer is one Read of the literal~/.claude/improvement.mdwith~kept. It is never looked up with a Glob, a spelled-out home directory or a home-tree search. This is the same rule as fix(codebase-health): keep audit config and view lookups inside the session home #13807.SKILL.mdapply step 2: the skill names where the bundled defaults live (theexcludesERE in${CLAUDE_PLUGIN_ROOT}/skills/find/context/hotspots.md) and reads that file with one Read. It never Globs or Greps the plugin directory. In every drafts-case run the with-arm searched the plugin directory for those defaults, and the sandbox denied the search.SKILL.mdline, so no citation needed updating..changes/improvement/fix-13768-setup-user-global-read-4b8d2e61.md(patch).Verification
All runs use the same 3 cases on both sides: setup-apply-drafts-then-asks, setup-apply-verify-tracked-proposal and setup-check-zero-config-info. Each run uses
--runs 3 --scaffold --allow-tools Edit,Write.31531107e2: INVALID, 15 denials in 9 runs. The plugin is unchanged from this branch's base. The denials:~/.claude/improvement.mdin 9 of 9 with-arm runs.plugins/improvement/in all 3 drafts runs..claude/improvement.md.042e06d093(the~/.clauderule only): INVALID, 6 denials. The~/.claudereads were gone. What remained was Grep and Glob overplugins/improvement/in all 3 drafts runs. The apply step 2 line was then added, and the head was run once more.887643554a: VALID, 0 denials. Its traces show a Read ofskills/find/context/hotspots.mdand no plugin-directory search. The only warning is skill-fired, which is expected because the skill is slash-invoked (disable-model-invocation), so no case has a skill-fired grader.validate-cases.py plugins/improvement/evals: exit 0, 0 FAIL, 41 WARN. 40 of the WARNs are the standard allowed_tools grant notes. 1 is a pre-existing missing-samples WARN onfind-implement-request-routes.Remaining on #13768
tier2-gap,both-probesanduntracked-commit-itin the verify case.baseline-before-questionanddrafts-generated-exclusionin the drafts case. The bundled ERE does not coversrc/generated/, so drafting that entry is correct.bundled-default-windowin 1 check run..claude/improvement.md, the behaviour theno-writegrader exists to catch, is a permission denial that marks the whole suite INVALID instead of scoring that grader 0. It happened once on the before side and not on head.Related
~/.clauderule.🤖 Generated with Claude Code