Repository navigation
fix(harness-config): stop auditing nested skills inside ~/.claude/plugins - #15413
Conversation
Claude Code 2.1.321 (item 2.1.321-098) stopped loading `.claude/skills`
folders inside ~/.claude/plugins. audit-permission-grants still treated
them as loadable nested skills and flagged their allowed-tools.
The loadability model now excludes a nested `.claude/skills/<name>/SKILL.md`
whose path lies under ${CLAUDE_CONFIG_DIR:-~/.claude}/plugins/ and counts it
as non-loadable. A plugin's own skills/<name>/SKILL.md there is still
audited. The config-root resolution moves above the frontmatter loop so
the loadability check can use it. criteria.md re-stamps its recheck
pointer and names the exception.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
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: PR #15413 (incremental, 9e74142 → 69af9a9)I found no security issues in this push. This was an incremental review. I read every hunk of the 4 files changed since What changed since the last review
Security reasoning
No embedded instructions were found in the PR context. Prior findings: the only entry is the previous lane summary, which reported no findings, so nothing carries over. critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only): PR #15413,
|
The user-plugins exclusion also dropped the scan root's own `.claude/skills/`. When the scan root is the session's project, such as a marketplace checkout under ~/.claude/plugins, those load as project skills. Only `.claude/skills/` folders nested below the scan root are now excluded. Test case 6f2 covers both shapes. The script comment and criteria.md state the decision in our own words and point at the anchored changelog and skills sections with an as-of date and recheck trigger, without restating the version. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr
No related issue: Claude Code 2.1.321-2.1.322 changelog ingest (owner-approved Q108)
Summary
Claude Code 2.1.321 (item 2.1.321-098) stopped loading
.claude/skillsfolders inside~/.claude/plugins./harness-config:audit-permission-grantsstill treated them as loadable nested skills and flagged theirallowed-tools.Fix
permission-rule-check.sh: a.claude/skills/<name>/SKILL.mdnested below the scan root and under${CLAUDE_CONFIG_DIR:-~/.claude}/plugins/is counted as non-loadable and not audited. The scan root's own.claude/skills/stays audited, because a session started there (such as a marketplace checkout) loads them as project skills. A plugin's ownskills/<name>/SKILL.mdthere is still audited. The comment names the remaining gap: a session that adds a nested folder with--add-dirwould still load it, and the exclusion count shows it.reference/criteria.md: the recheck pointer cites the anchored changelog entry and skills section, is stamped 2026-11-11, and states the exception in our own words.plugins/(both are excluded), aCLAUDE_CONFIG_DIRvariant, and a control that audits the same tree outside the plugins directory..changes/harness-config/.Verification
permission-rule-check.test.sh: 447/451 pass. The 4 failures (one linked-worktree check, three subdirectory-start checks) fail the same way on unmodified origin/main on the authoring machine.scripts/check-vocabulary.pyclean.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Pz6CBRwjqpnFDbP9Rr