Repository navigation
Description
Split from the changelog release issue(s) above under the owner's decision of 2026-11-21 (melodic-software/architecture#148): one issue per handoff row, rows that edit the same file grouped.
Route: lane work. Basis: wording corrections to match docs/contracts/permission-rule-hygiene/README.md:166-173 and current upstream; no runtime control changes.
Problem
harness-config: permission-rule-check.sh P3 says plugin settings.json supports subagentStatusLine, removed in 2.1.323
Row 3 of #15693 (key changelog:2.1.323..2.1.323:correct:plugins/harness-config/skills/audit-permission-grants/scripts/permission-rule-check.sh). Required sentence: Component says a plugin's settings.json supports only the agent and subagentStatusLine keys (false). The release says subagentStatusLine is removed and the plugin agent key is deprecated with warnings, though it still applies (true). The inert-permissions conclusion still holds.
On main, plugins/harness-config/skills/audit-permission-grants/scripts/permission-rule-check.sh still says so at :23 (P3 header), :791 and :804 (the P3 warning users see). The contract already carries the corrected wording at docs/contracts/permission-rule-hygiene/README.md:166-173: only agent takes effect, it is deprecated, and 2.1.323 removed subagentStatusLine.
The row notes the surface audits permission grants (security-relevant). Only the wording changes, and the inert-permissions verdict is unchanged.
harness-config: audit-permission-grants eval expects the subagentStatusLine plugin setting removed in 2.1.323
Row 4 of #15693 (key changelog:2.1.323..2.1.323:correct:plugins/harness-config/skills/audit-permission-grants/evals/evals.json). Required sentence: Component says a plugin's settings.json supports only the agent and subagentStatusLine keys (false). The release says subagentStatusLine is removed and the plugin agent key is deprecated with warnings, though it still applies (true). The inert-permissions conclusion still holds.
On main, plugins/harness-config/skills/audit-permission-grants/evals/evals.json:44 expected_output still reads "a plugin settings.json supports only agent/subagentStatusLine". The corrected wording is at docs/contracts/permission-rule-hygiene/README.md:166-173. Fix this together with the permission-rule-check.sh P3 text issue.
harness-config: audit-permission-grants treats nested skills in --plugin-dir plugins as loadable (2.1.325)
Changelog 2.1.325 (item 2.1.325-106): nested .claude/skills folders inside --plugin-dir plugins no longer load from a session started above them. That is a second non-loadable location, and the audit still lists only one:
plugins/harness-config/skills/audit-permission-grants/reference/criteria.md:80-82: "we treat a nested one inside the user plugins directory,${CLAUDE_CONFIG_DIR:-~/.claude}/plugins/, as non-loadable"plugins/harness-config/skills/audit-permission-grants/scripts/permission-rule-check.sh:613-616: the same exclusion, for the user plugins directory only
The detector over-reports, flagging grants in skills that cannot load (the safe direction). The recheck trigger at criteria.md:76-78 ("either section changes which directories load nested skills") fires. The skills page section on discovery from parent and nested directories names no --plugin-dir exception yet (docs-lag), so the change cites the changelog entry.
Done when
- :23, :791 and the :804 P3 message match the wording at
docs/contracts/permission-rule-hygiene/README.md:166-173(onlyagenttakes effect, deprecated;subagentStatusLineremoved in 2.1.323), and the script's tests still pass. - evals.json:44 expected_output matches
docs/contracts/permission-rule-hygiene/README.md:166-173(only a deprecatedagenttakes effect; apermissionsblock is inert), and the eval suite still validates. -
criteria.mdand the exclusion inpermission-rule-check.sheither treat nested.claude/skills/inside a--plugin-dirplugin root as non-loadable, citing https://code.claude.com/docs/en/changelog#2-1-325, orcriteria.mdsays why the script cannot tell a--plugin-dirroot apart and keeps the over-report. - A fixture test covers whichever case the change takes.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 21, 2026
Size: Medium
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the audit-permission-grants skill in harness-config (permission-rule-check.sh messages and exclusion, criteria.md, evals.json) and its fixture tests; read by anyone running that audit.
Reversible: yes; revert the wording, eval and exclusion edits.
Open questions: none
Understood: correct the P3 wording (only a deprecated
agentkey takes effect;subagentStatusLineremoved in 2.1.323) in the script and the eval, matching the contract. Also treat nested skills in --plugin-dir plugins as non-loadable (2.1.325), or document why that can't be detected. Add a fixture test for the chosen case. The done-when items are exact and the issue picks the design. I found no duplicate among open issues and no merged PR that already fixes this.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"30f9da1877ba7baa9d1daac702b4d9b9bedc2cdab1de49e56a2f71981f4b60af","body_sha256":"80f2edbc6947137735413987a0c5fa70483d6b796d9d47fa3e1d1871a94cfe2b"}
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"30f9da1877ba7baa9d1daac702b4d9b9bedc2cdab1de49e56a2f71981f4b60af","body_sha256":"80f2edbc6947137735413987a0c5fa70483d6b796d9d47fa3e1d1871a94cfe2b"}
github-actions commentedon Nov 21, 2026