Repository navigation
docs(skills): mark optional-plugin skill mentions "(if enabled)" - #18565
Conversation
One scripted pass adds " (if enabled)" after every optional-plugin skill mention outside ## Next and ## Related, using the uniformity check's own scope. Lines that already carried a guard of their own keep one guard, in the "(if enabled); otherwise <fallback>" form. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
Drop prose conditions that repeated the "(if enabled)" guard ("when
enabled", "when that plugin is enabled", "is enabled") and reword
possessives such as "`/x` (if enabled)'s" so the guard is not followed
by 's. Update the two cheatsheet basis quotes the guard text changed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
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. |
…if-enabled # Conflicts: # plugins/work-items/skills/morning-brief/SKILL.md
Lane-Activity: pr-unblock/resolve-conflicts
|
claude-security-review reviewed Chunk 1 of 6 (40 files)Security review: chunk 1 of 6 (40 files)I found no security issues in this chunk. This lane already reviewed an earlier head ( What changed. I read every hunk of all 40 files in
Every change is prose. Each one adds an "(if enabled)" guard after a mention of another plugin's skill. Some also drop a condition that only repeated that guard, or reword a possessive or a conditional. None of these files is a script, workflow, manifest, hook, trust control or trusted path. Instruction-surface lens. I checked every removed or reworded line for a standing rule that was deleted, narrowed or softened. Every prohibition and consent gate is still there:
Some conditional calls now read as imperatives that carry the guard and keep their fallback:
In I judged the removed text by its consequences. I did not consult the protected-class list in Other checks.
Chunk 2 of 6 (40 files)Security review: chunk 2 of 6 (40 files)I found no security issues in this chunk. This lane already reviewed an earlier head ( What changed. I read every hunk of all 40
No file in this chunk is a script, workflow, manifest, hook, trust control or trusted path. Instruction-surface lens. I read each changed line for a standing rule that was removed, narrowed or softened. Every prohibition and consent gate stays:
Some calls that were conditional now read as plain imperatives carrying the guard:
Each one keeps its fallback ("When it does not resolve…", "When that plugin is not enabled…", "When it is absent…"), so what each rule forbids or allows is unchanged. None of these calls reaches a credentialed action or sends content off the machine. I judged these rules by their consequences. I did not consult the protected-class list in Other checks.
Chunk 3 of 6 (40 files)Security review: chunk 3 of 6 (40 files)I found no security issues in this chunk. This lane already reviewed an earlier head ( What changed. The chunk is 40 Instruction-surface lens. I read every changed line looking for a standing rule that was removed, narrowed or softened. Every prohibition and consent gate is still there:
Every otherwise/else fallback is still present. A guard written right after "never" ( Other checks.
Chunk 4 of 6 (40 files)Security review: chunk 4 of 6 (40 files)No security issues in this chunk. This lane already reviewed an earlier head ( What changed. I read every hunk of all 40 files in
Each prose edit adds "(if enabled)" after a mention of another plugin's skill, sometimes dropping a condition that only repeated it or rewording a possessive. No script, workflow, manifest, hook, token request or trust-control file is in this chunk. Trusted path:
Instruction-surface lens. I judged changes by consequence and did not consult the register's protected-class list. Every gate I checked still stands:
Test pins. The re-pinned Other checks.
Chunk 5 of 6 (40 files)Security review: chunk 5 of 6 (40 files)This chunk has no security issues. This lane already reviewed an earlier head ( What changed. I read every hunk of all 40
No file in this chunk is a script, workflow, manifest, hook or Instruction-surface lens. I read each removed or reworded line for a standing rule that was deleted, narrowed or softened. Every prohibition, consent gate and trust check is still there:
Some conditional calls now read as imperatives carrying the guard, for example "invoke I judged these rules by their consequences. I did not check them against the protected-class list in Other checks.
Chunk 6 of 6 (7 files)Security review: chunk 6 of 6 (7 files)I found no security issues in this chunk. This lane already reviewed an earlier head ( What changed. I read every hunk of the 7 files in
Every change adds an "(if enabled)" guard after a mention of another plugin's skill. Some changes also drop a condition that only repeated the guard ("when that skill is available", "when enabled") or reword a possessive. None of these files is a workflow, manifest, hook, trust control or trusted path. The Instruction-surface lens. I read each rewritten line for a standing rule that was removed, narrowed or softened. Every control is still there:
I judged these rules by their consequences. I did not check them against the protected-class list in Other checks.
critical-findings: 0 |
|
claude-review reviewed Chunk 1 of 6 (40 files)Code review: chunk 1 of 6 (40 files), blocking-only re-reviewThis chunk has no blocking findings. This lane already reviewed three earlier heads, and the prior-findings file says What this chunk changes:
What I checked. I read every hunk. The earlier rounds' blocking findings were one kind of error: a fallback came loose from its guard, or a rule moved into the otherwise branch. I checked each rewritten guard here for that and found none. Examples:
A few lines keep a condition that now repeats the guard, such as "if the Closing issue #18506. The owner decision relaxed "Only the guard text changes": rewording is allowed as long as every fallback is kept, along with every condition that is not about a plugin being enabled. This chunk meets that. AC10, the script not being committed, and re-running after a conflict are claims about the whole PR. The author reports the uniformity check going from 1,094 to 0. That is author-claimed and unverified: this lane has no shell to run Tests. No test in this chunk pins the reworded prose. The re-pinned tests are in chunk 4. Other checks:
I ran no verifier subagent. I checked each candidate inline, and none reached the blocking bar. Verifier dropped 0 of 0 candidates. Chunk 2 of 6 (40 files)Code review: chunk 2 of 6 (40
|
claude-review on 2c60cb1 found defects the scripted guard pass left: guards written inside wrapped code spans, a split compound word, merged fallbacks that moved a rule into the otherwise branch, guards inside sentences about a skill being absent, a guarded file list in the security-review criterion, and prose conditions that still repeat the guard. This fixes each, per the owner decision on #18506 that the rewording may go beyond the guard text. planning:interview's Stance, Step 3, Step 4 and "does NOT do" sections changed only in that wording, so their interview-defenses pins are re-pinned through repin-digests.sh; every defended rule reads as before. explain-change's test quotes the guarded line. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
Four rewordings left an "otherwise" clause after an unrelated clause, so the fallback read as applying to the wrong case: implement-dispatch's phase-boundary review, implement's too-big-and-foggy route, pressure-test's performance hand-off (the no-unqualified-timing rule now covers both branches), and work-loop's profile launch. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
The Next/Related merge from main added three wayfind mentions of optional plugins' skills without "(if enabled)"; this guards them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
|
Hold: an open blocking review finding (draft-auto-mode-rules, thread on 8f6ce9d) and a sweep of 75 candidate paragraphs of the same class are being fixed; the label comes off after that push and its review round. |
A sweep of all paragraphs whose old text paired a plugin condition with an "Otherwise" found 14 more files where the fallback, with the condition dropped, read as the alternative to a nearby clause. Each fallback now follows its guard directly or opens with "When the `x` plugin is not enabled", and sentences that said a guarded skill was not available now name the plugin. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
…if-enabled # Conflicts: # plugins/architecture/skills/adr/SKILL.md
SKILL.md Stance section is unchanged (the in-round no-silent-resolve rule lives here): 0de6cf255c385bb2394c675090b43537c81a948f2a0222a3263f352f7d7299b6 -> da00ce1da1f6eae9bf57e362b92b83ba296d72ecc7315e529d93a9fe428864b5 Why the defense still holds: only optional-plugin guards changed in the section, "(if enabled)" after the ubiquitous-language lookup mention and the glossary fallback tied to the domain-driven-design plugin. The in-round no-silent-resolve rule and both defenses are unchanged. Re-pinned at the owner's direction (2026-11-23, "go w/ recommendations"). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
…if-enabled # Conflicts: # plugins/guardrails/skills/setup/SKILL.md
plan's test strategy lost the fallback for when the testing plugin is off: the table of /testing:plan now carries its own "without that plugin" clause. orient's catch-up video offer and protect's ratchet check had replaced the skill mention with the plugin's name; both name /explainer-video:produce and /toolchain:ratchet again, guarded. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L
Closes #18506
Summary
Every SKILL.md mention of another plugin's skill outside
## Nextand## Relatednow reads "/plugin:skill(if enabled)" (decision D4), so a plugin profile that switches that plugin off leaves no unmarked reference. One scripted pass made the edit across all plugins, as the owner decided (one scripted PR, not hand edits in the link-group PRs).Fix
python3 -I .work/guard-optional/rewrite.py <repository root>: a throwaway rewriter that importsscripts/check-skill-links.pyand reuses itsTARGET,IF_ENABLED,sections(),body_lines()anddependencies(), so it applies exactly the check's scope (own plugin and declared dependencies excluded; frontmatter, fenced code,## Nextand## Relatedskipped; a backticked mention gets the guard after its closing backtick). It added 1,094 guards in 203 files. Not committed: nothing re-runs it.bugsplugin is enabled; otherwise …)" or "via the Skill tool (if enabled)". A second throwaway pass (dedupe.py) merged each into one guard, in D4's "(if enabled); otherwise " form where the old guard named a fallback.multi-agent/audit-defaults,debugging/debug,planning/designandplanning/brainstorm.cleanup.py) dropped 95 prose conditions that only repeated the guard ("/x(if enabled) when enabled", "... when that plugin is enabled"), and about 65 lines were reworded by hand: possessives such as "/x(if enabled)'s job" became "the job of/x(if enabled)", and "when/x(if enabled) is enabled, invoke it" became "invoke/x(if enabled)". Every otherwise/else fallback is kept, and conditions about something other than the plugin being enabled are untouched.2c60cb1: guards that had landed inside a wrapped code span (testing/check-visual-parity,testing/cleanup,review/reviewer-media) now sit after the span's closing backtick; the split compound word inplanning/planis reworded; five merged fallbacks that had moved a rule into the otherwise branch (implementation/implementx2,planning/interviewx2,work-items/triage) read as they did before; sentences about a skill being absent name the plugin instead of a guarded skill; the merge-hold file list inreview/security-reviewnames file paths; and about 150 more prose conditions that repeated the guard are dropped.scripts/cheatsheet-config.mjs: two basis quotes fromverification:confirmnow carry the guard, so the cheatsheet generator still finds them.plugins/review/tests/explain-change.test.mjsquotes the guarded line.plugins/planning/tests/interview-defenses.test.sh: fourplanning:interviewsections changed only in that wording, so their pins are re-pinned throughplugins/planning/scripts/repin-digests.sh. Each defended rule reads as before.3186a92e…->0de6cf25…4efb3896…->2602cd6d…c691a060…->78ad563a…0bc0ea2c…->7a4386a0…Verification
scripts/check-skill-links.shon263072845f(main at branch time):1094 optional-plugin mentions lack (if enabled). On this branch:0 optional-plugin mentions lack (if enabled).grep "(if enabled)'s"overplugins/finds nothing.scripts/validate-plugins.shover the changed plugins passes. Locally green:interview-defenses.test.sh(185/185),repin-digests.test.sh(23/23, all 38 real pins match),explain-change.test.sh(151/151),reviewer-media.test.sh,ci-review-lanes.test.sh(327).plugins/ai-slop/skills/audit/scripts/detect.test.shfails 7 of 283 "crlf jq" cases locally, the same 7 on main ataadd6ba879, so not from this change.On a conflict with a link-group PR (#18474-#18479), re-run the rewriter on the new base instead of resolving by hand.
Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01UJUn7LaiGLnfcEhW7oFi7L