Skip to content

docs(skills): mark optional-plugin skill mentions "(if enabled)" - #18565

Merged
kyle-sexton merged 16 commits into
mainfrom
feat/optional-plugin-if-enabled
Nov 24, 2026
Merged

kyle-sexton merged 16 commits into
mainfrom
feat/optional-plugin-if-enabled

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Closes #18506

Summary

Every SKILL.md mention of another plugin's skill outside ## Next and ## Related now 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 imports scripts/check-skill-links.py and reuses its TARGET, IF_ENABLED, sections(), body_lines() and dependencies(), so it applies exactly the check's scope (own plugin and declared dependencies excluded; frontmatter, fenced code, ## Next and ## Related skipped; a backticked mention gets the guard after its closing backtick). It added 1,094 guards in 203 files. Not committed: nothing re-runs it.
  • 18 lines already carried a guard of their own right after the mention, such as "(if the bugs plugin 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.
  • 4 line-wrapped "(if\n enabled)" guards, which the per-line check does not see, were merged by hand in multi-agent/audit-defaults, debugging/debug, planning/design and planning/brainstorm.
  • A third pass (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.
  • After claude-review on 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 in planning/plan is reworded; five merged fallbacks that had moved a rule into the otherwise branch (implementation/implement x2, planning/interview x2, 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 in review/security-review names file paths; and about 150 more prose conditions that repeated the guard are dropped.
  • Wording beyond the guard text is allowed by the owner decision recorded on Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506: Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506 (comment)
  • scripts/cheatsheet-config.mjs: two basis quotes from verification:confirm now carry the guard, so the cheatsheet generator still finds them. plugins/review/tests/explain-change.test.mjs quotes the guarded line.
  • plugins/planning/tests/interview-defenses.test.sh: four planning:interview sections changed only in that wording, so their pins are re-pinned through plugins/planning/scripts/repin-digests.sh. Each defended rule reads as before.
    • Stance (no-silent-resolve): 3186a92e… -> 0de6cf25…
    • Step 3 (confirmation-gate exemption): 4efb3896… -> 2602cd6d…
    • Step 4 (assumption machinery; "Never on your own estimate of remaining context" stands): c691a060… -> 78ad563a…
    • "does NOT do" (fudge prohibition): 0bc0ea2c… -> 7a4386a0…
  • A patch changelog fragment for each of the 69 changed plugins.

Verification

scripts/check-skill-links.sh on 263072845f (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" over plugins/ finds nothing. scripts/validate-plugins.sh over 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.sh fails 7 of 283 "crlf jq" cases locally, the same 7 on main at aadd6ba879, 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

kyle-sexton and others added 2 commits November 23, 2026 15:53
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
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 23, 2026 21:26
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T21:28:44.721411Z 2c60cb1 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

kyle-sexton and others added 2 commits November 23, 2026 16:30
…if-enabled

# Conflicts:
#	plugins/work-items/skills/morning-brief/SKILL.md
Lane-Activity: pr-unblock/resolve-conflicts
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed d5de4261c457c3d8bd509da427beb6f31ed42f78: read 275 of 275 changed file(s); 0 finding(s), 0 as inline comments.

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 (blocking only: yes), so this review reports only CRITICAL and IMPORTANT findings. None qualified.

What changed. I read every hunk of all 40 files in chunks/chunk-1.patch:

  • One added changelog fragment, .changes/actionlint/…-96b4b536.md.
  • 39 SKILL.md bodies, from actionlint/setup to discipline/hold-my-hand.

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:

  • "Never run it unasked" or "never invoke it unasked" in architecture/improve, architecture/improve-layout and coupling/reduce.
  • "Never invoke it from this run" and "Do not auto-invoke either skill, the user drives both" in codebase-health/audit.
  • "Never invoke that skill or any recorder yourself" in debugging/analyze-profile.
  • "Show every skill pointer as bare text; invoke none" in discipline/be-ambitious.
  • "Recommend the next step; do not invoke it yourself" in bugs/write.
  • --track filing in bugs/scan is still explicit-only.
  • "Only when the user explicitly asks to file" in code-tidying/batch-simplify.
  • The dry-run "no external side effect" rule in code-tidying/tidy.
  • The consent gate for research and install in code-tidying/audit-dead-code.
  • "A human merges. This skill never auto-merges" in coupling/reduce.

Some conditional calls now read as imperatives that carry the guard and keep their fallback:

  • /planning:interview in app-control/map ("Without it, ask inline").
  • /multi-agent:route in bugs/scan and batch-simplify.
  • /app-control:map refresh in debugging/debug.
  • /multi-agent:route worker code in remove-comments, which still requires a config-basis layer.

In debugging/debug, the post-mortem routing's fallback changed from "Otherwise" to "When neither route applies or its plugin is not enabled". It keeps the issue-tracker fallback. None of these changes reaches a credentialed or external action.

I judged the removed text by its consequences. I did not consult the protected-class list in docs/contracts/instruction-exception-register/README.md. No removed text guarded a protected action.

Other checks.

  • No untrusted text reaches a credentialed lane, no token scope changes, and no new actor becomes trusted.
  • This chunk has no plugin manifest or userConfig change.
  • The copies listed in identical.txt are all changelog fragments under .changes/. Their paths do not change what the content does.
  • Nothing in this chunk can cause a charge or spend extra credits.
  • The PR context and the owner comment on Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506 contain no directives aimed at the review.
  • Prior findings hold one earlier summary comment with no findings and no line anchor, so there is nothing to restate.

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 (blocking only: yes), so this review reports only CRITICAL and IMPORTANT findings. None qualified.

What changed. I read every hunk of all 40 SKILL.md files in chunks/chunk-2.patch. They run from discipline/pick-for-the-problem to harness-ops/audit-performance. Every change is prose:

  • It adds the "(if enabled)" guard after a mention of another plugin's skill.
  • It drops a condition that only repeated that guard ("when that plugin is enabled", "when it is among the available skills").
  • It rewords a possessive ("/x's" became "belongs to /x (if enabled)").

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:

  • In harness-config/draft-auto-mode-rules, "never make it" stays for the /corrections:codify call. The hard_deny second-layer advice and the fallback ("propose the strongest mechanism… marked unproven") are unchanged.
  • In docs-naming/generate-file-name-gate, "never make it" and "do not write one unprompted" stay.
  • In harness-config/unhobble, the pre-merge /review:security-review step keeps its fallback: without the plugin, record that the retired rules got no security pass.
  • In disk-hygiene/clean, the worktree handoff keeps its "take no target path" constraint. The engine protections are unchanged.
  • In harness-ops/audit-install-state, the skill is still report-only and deletion still goes to disk-hygiene:clean.
  • In docs-hygiene/audit-noise and audit-progressive-disclosure, the "Read-only" hard rules are unchanged.
  • In guardrails/setup, only the skill mentions in the hook documentation changed. No hook entry, scan or block list changed.
  • In domain-driven-design/ubiquitous-language, "No autonomous consensus" and "Never rewrites code or copy" stay.

Some calls that were conditional now read as plain imperatives carrying the guard:

  • /multi-agent:route in audit-derivability.
  • /skill-quality:check listing-budget in audit-native-overlap.
  • /discovery:research in unhobble Decide step 2.
  • /corrections:codify in draft-auto-mode-rules.

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 docs/contracts/instruction-exception-register/README.md. None of the removed text guarded a protected action.

Other checks.

  • No untrusted text reaches a credentialed lane, no token scope changes, and no new actor becomes trusted.
  • No plugin manifest or userConfig key changes in this chunk.
  • Nothing in this chunk can cause a charge or spend extra credits.
  • The PR context and the owner comment on Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506 contain no directives aimed at the review.
  • Prior findings: one earlier summary comment with no findings and no line anchor, so there is nothing to restate.

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 (blocking only: yes), so only CRITICAL and IMPORTANT findings would be reported here. None qualified.

What changed. The chunk is 40 SKILL.md bodies, from harness-ops/audit-plugin-landscape through pixel-art/tileset, and every hunk is prose. Each one adds an "(if enabled)" guard after a mention of another plugin's skill. Some hunks also drop a condition that only repeated the guard ("when that plugin is enabled", "when it is among the available skills"), or reword a possessive into "the job of /x (if enabled)". No file in this chunk is a script, workflow, manifest, hook, trust control or trusted path, and none has a userConfig change.

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:

  • harness-ops/changelog: rows too large are filed "only after the user confirms that batch", and a stage whose plugin is not enabled is still reported as not executed.
  • implementation/implement-dispatch: never accept a worker's green claim, never invoke /source-control:worktree create from the orchestrator, untrusted input still skips the workspace setup, and the concurrent-wave frontier rule stands. The reworded phase-boundary review still runs /review:quality-gate with its fallback reviewer and the same --quality-bar and mode rules.
  • implementation/implement: "Do not commit-and-push unilaterally" stays, and so do "Not on your own estimate of the remaining window" and the handoff STOP gate. The rewritten discipline:reuse-or-replace line still says "never writing the entry here".
  • improvement/improve: "A human merges. This skill never merges" stays, and the unattended ready flip still needs the caller's authorization.
  • knowledge/map-corpus: "never crawl unasked" stays.
  • pixel-art/sprite: "Do not start the interview unless the user accepts" stays.
  • mutation-testing/audit: the dirty-tree and red-baseline hard stops are unchanged.
  • performance/protect: the reworded /corrections:codify fallback still marks the proposal unproven.

Every otherwise/else fallback is still present. A guard written right after "never" (implement-dispatch, /source-control:worktree create) does not narrow the prohibition: a skill that is not enabled cannot be invoked anyway. I judged these rules by their consequences. I did not check them against the protected-class list in docs/contracts/instruction-exception-register/README.md, and none of the removed text guarded a protected action.

Other checks.

  • No untrusted text newly reaches a credentialed lane, no token scope changes, and no new actor becomes trusted.
  • The course-digest credential handling and the machine-health auto-mode research paragraph are unchanged apart from the guard text.
  • Nothing in this chunk can cause a charge, and none of it spends extra credits.
  • The PR context and the owner comment on Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506 contain no directives aimed at the review.
  • Prior findings: one earlier summary comment with no findings and no line anchor, so there is nothing to restate.

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 (blocking only: yes), so only CRITICAL and IMPORTANT findings count, and none qualified.

What changed. I read every hunk of all 40 files in chunks/chunk-4.patch:

  • 38 SKILL.md bodies, all prose.
  • planning/tests/interview-defenses.test.sh: four section-digest pins updated, one comment added.
  • review/tests/explain-change.test.mjs: one regex updated to match the guarded line.

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: review/skills/security-review/SKILL.md. I read its whole change and what it gates.

  • The merge-hold bullet now names plugins/source-control/skills/babysit-prs/scripts/diff_risk.py instead of "/source-control:babysit-prs's diff_risk.py". It still covers babysit_verify_evidence.py and the modules imported from that scripts/ directory. Same files, same import closure, so the merge-hold list is no narrower.
  • The other edit adds "(if enabled)" after /corrections:codify reviews.
  • No severity, hold or reporting rule changed.

Instruction-surface lens. I judged changes by consequence and did not consult the register's protected-class list. Every gate I checked still stands:

  • Security controls. planning/plan Step 1 and planning/interview still forbid dropping one without the user's decision. plan still keeps it on unattended runs (USER-RESERVED) and still falls back to any security or destructive-operation guard.
  • External writes. plan tracker publish still keeps the plan local without the skill. explain-change still says "do not publish it" on its fallback. merge-risk and wayfind still stop without their plugin.
  • Paid voice. In reviewer-media, the --allow-paid-voice rule is unchanged, and --producer-unavailable still follows the skill-list check.
  • No auto-invoking. prd keeps "Do NOT auto-clear or auto-invoke", build-generator keeps "never switch on your own", and repo-hygiene deletion gates are unchanged.
  • Plain imperatives. In continue-in-background and design-handoff, conditional calls now read as plain imperatives with the guard. Both keep their fallbacks and reach no credentialed action.

Test pins. The re-pinned interview/SKILL.md sections still hold the no-silent-resolve, fudge-prohibition, confirmation-gate and "Never on your own estimate of remaining context" rules. The new Stance pin (da00ce1d…) differs from the PR description's 0de6cf25…: a description mismatch, not a security issue.

Other checks.

  • No untrusted text reaches a credentialed lane, no token scope grows, no new trusted actor.
  • No manifest or userConfig change.
  • Nothing can cause a charge or spends extra credits.
  • The PR context holds no directives aimed at this review.
  • One prior summary comment with no findings, so nothing to restate.

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 (blocking only: yes), so this review reports only CRITICAL and IMPORTANT findings. None qualified.

What changed. I read every hunk of all 40 SKILL.md files in chunks/chunk-5.patch, from session-flow/handoff to work-items/measure-delivery. Every change is prose:

  • An "(if enabled)" guard is added after mentions of another plugin's skill.
  • Some prose conditions that only repeated the guard are dropped.
  • Some possessives are reworded.

No file in this chunk is a script, workflow, manifest, hook or userConfig change, and none matches a trusted-path glob.

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:

  • running-retro: it still never edits CLAUDE.md, rules or memory, and still files nothing on its own, skill-fit gaps included.
  • retro: Phase 4 still needs explicit user approval.
  • attend-queue: a [post-merge] record still counts only from the workflow identity or a trusted escalation author. Any other author is still reported as a suspected spoof.
  • verification/confirm: the untrusted-stage rule (fork PR or untrusted-provenance: run-e2e runs neither up nor info) is unchanged, as are the unattended no-install rule, verdict independence and the PR-prep hard gate.
  • run-e2e: trusted-root, the Step 5 mask and publishable scan, "installs and enables nothing" and "ask and wait" are unchanged.
  • testing/cleanup: deletes need a yes per item, unattended runs apply none, and push or PR happens only when asked.
  • ratchet: "Does not commit, push or merge" stands.
  • wizard/generate: the isolated-profile, no-secret browser rule stands.
  • pull-request: "Never arms auto-merge" and "refused unattended" for --skip stand.

Some conditional calls now read as imperatives carrying the guard, for example "invoke /planning:interview (if enabled) …; otherwise ask inline" and the Stage 1 delegation to /toolchain:check in confirm. Each keeps its fallback, so the meaning is unchanged, and none reaches a credentialed, publishing or external action it did not reach before.

I judged these rules by their consequences. I did not check them against the protected-class list in docs/contracts/instruction-exception-register/README.md. None of the reworded text guarded a protected action.

Other checks.

  • No untrusted text reaches a credentialed lane, no token scope changes, no actor becomes newly trusted, and no merge hold or kill switch is touched.
  • No manifest or userConfig change. The ${user_config.*} mentions in spelling/setup and attend-queue sit on unchanged context lines.
  • None of this chunk's files is in identical.txt.
  • Nothing here can cause a charge or spends extra credits.
  • The PR context and the owner comment on Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506 contain no directives aimed at the review.
  • Prior findings: one earlier summary comment with no findings and no line anchor, so there is nothing to restate.

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 (blocking only: yes), so this review reports only CRITICAL and IMPORTANT findings, and none qualified.

What changed. I read every hunk of the 7 files in chunks/chunk-6.patch:

  • Six plugins/work-items/skills/*/SKILL.md bodies: morning-brief, onboard-adapter, ship, triage, work-loop and work.
  • scripts/cheatsheet-config.mjs, where two basis strings now carry the guard.

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 cheatsheet-config.mjs change only edits quoted string literals that the generator matches against skill text. No logic changes.

Instruction-surface lens. I read each rewritten line for a standing rule that was removed, narrowed or softened. Every control is still there:

  • work/SKILL.md "Open the PR": the line changed from "When /source-control:pull-request is among the available skills, invoke…" to "Invoke … (if enabled)". The "Without the source-control plugin" fallback (draft PR, skip the babysit handoff, stop) is unchanged. So are these rules:
    • read the human merge hold through merge-hold.sh
    • --draft 'merge hold unread' on any other exit
    • disable auto-merge before and after a push
    • "no lane arms auto-merge"
  • "Never-merge boundary": still says "never work". The --unattended flag list in Step 3 is unchanged apart from the guards, and unattended-callers.test.mjs still pins it.
  • work-loop/SKILL.md background-launch paragraph: the reworded plugin-profiles sentence still says to run that skill's argv and to launch nothing on exit 1, with the "otherwise run the command as written" fallback. "Must not call EnterWorktree" stands.
  • triage/SKILL.md: the /bugs:write fallback (shape the report inline) is kept. The idea-issue labelling rules, including provenance: untrusted, are unchanged.
  • Unchanged elsewhere: the floor keys of the fix gate in work, which are read from the default branch, and the lane-push identity rule.

I judged these rules by their consequences. I did not check them against the protected-class list in docs/contracts/instruction-exception-register/README.md. None of the removed text guarded a protected action.

Other checks.

  • No untrusted text reaches a credentialed lane, no token scope changes, and no new actor becomes trusted.
  • This chunk has no plugin manifest or userConfig change. The ${user_config.work_dispatch_concurrency_cap} text is unchanged apart from the guards.
  • Nothing here can cause a charge or spends extra credits.
  • The PR context and the owner comment on Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506 contain no directives aimed at the review.
  • Prior findings: one earlier summary comment, with no findings and no line anchor, so nothing needs restating.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed d5de4261c457c3d8bd509da427beb6f31ed42f78: read 275 of 275 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 6 (40 files)

Code review: chunk 1 of 6 (40 files), blocking-only re-review

This chunk has no blocking findings. This lane already reviewed three earlier heads, and the prior-findings file says blocking only: yes. So this review reports only blocking findings and manifest flags.

What this chunk changes:

  • One changelog fragment, .changes/actionlint/… (bump: patch). Its 68 identical copies all sit under .changes/<plugin>/, so no copy's path changes what it does.
  • Prose edits in 39 SKILL.md files, actionlint/setup through discipline/hold-my-hand. Each adds (if enabled) after a mention of another plugin's skill. Many also drop a nearby condition that only repeated the guard, or reword a possessive.

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:

  • app-control/map step 3: "Without it, ask inline".
  • bugs/scan and code-tidying/batch-simplify: "Run /multi-agent:route all … (if enabled)" is still followed by its "When … does not resolve" fallback.
  • code-metrics/audit-coverage, audit-duplication and audit: the INCONCLUSIVE rule still applies on the enabled path.
  • corrections/codify step 2: "/architecture:improve (if enabled), otherwise to /planning:design (if enabled)" keeps both branches.
  • debugging/debug, Prevention: "When neither route applies or its plugin is not enabled" keeps both conditions.
  • developer-experience/setup and build-cli, and coupling/reduce step H and its Composition table: each ; otherwise … or ; else … is still attached to its guard.

A few lines keep a condition that now repeats the guard, such as "if the discovery plugin is enabled, invoke /discovery:explore (if enabled)" in code-tidying/tidy Phase C and batch-simplify, and the source-control one in tidy Phase H. This is harmless redundancy, not blocking, so it is left out.

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 scripts/check-skill-links.sh.

Tests. No test in this chunk pins the reworded prose. The re-pinned tests are in chunk 4.

Other checks:

  • Loosened checks would be marked: fail (default; the prompt has no verdict or patterns line); patterns: 0. With no decision-record line, I did not check the citation requirement. Nothing here loosens a check.
  • No plugin manifest changed in this chunk. bump: patch fits a wording-only change.
  • The PR context and the closing issue contain no instructions aimed at this lane.
  • Cost: none.

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 SKILL.md files, discipline/pick-for-the-problem through harness-ops/audit-performance), blocking-only re-review

No blocking findings in this chunk. The prior-findings file says blocking only: yes, so this review reports only blocking findings and manifest flags.

What this chunk changes. It edits the prose of 40 SKILL.md files. Each edit adds (if enabled) after a mention of another plugin's skill. Many also drop a nearby condition that only repeated the guard, or reword a possessive.

What I checked. I read every hunk. Earlier rounds' blocking findings were all one kind: a fallback lost its guard, or a rule moved into the otherwise branch. I checked each rewritten guard for that. Each fallback still follows its condition:

  • harness-config/draft-auto-mode-rules: the earlier finding is fixed. It now reads "When the corrections plugin is not enabled, propose …".
  • docs-naming/generate-file-name-gate and docs-hygiene/write-for-agents: the absent case names the corrections plugin.
  • formal-verification/chart: "(if installed; otherwise …)" became "(if enabled); otherwise …".
  • docs-hygiene/audit-derivability: "When it does not resolve, omit the model …" still follows the route.
  • harness-ops/audit-native-overlap: "(if enabled) (otherwise state …)" keeps the do-not-bake fallback.
  • harness-config/unhobble, audit-automation-gaps, evals/plugin-eval, discovery/blindspot, docs-hygiene/extract-ssot: each absent or otherwise branch is still attached to its skill.
  • Conditions not about a plugin being enabled are unchanged.

Note on the author's verification: the PR body says grep "(if enabled)'s" over plugins/ finds nothing. My Grep finds one line, plugins/guardrails/skills/setup/SKILL.md:187: "/source-control:pull-request (if enabled)'s pre-PR check". The meaning is intact, so this blocking-only review does not count it.

Closing issue #18506. The owner's decision allows rewording as long as every fallback and every condition about something other than enablement stays. This chunk fits that. AC10 (0 mentions missing the guard), the rewriter not being committed, and re-running on conflict are PR-wide claims. The author's 1,094 → 0 count is author-claimed and unverified: I had no shell to run scripts/check-skill-links.sh.

Tests. No test in this chunk pins the reworded prose. The re-pinned tests are in chunk 4.

Other checks

  • Loosened checks would be marked: fail. That is the default, because the prompt has no verdict or patterns line; patterns: 0. With no decision-record line, I did not check the citation requirement. Nothing here loosens a check.
  • No plugin manifest changed in this chunk.
  • No embedded instructions aimed at this lane in the PR context.
  • Cost: none.

I ran no verifier subagent: I checked each candidate inline, and none reached the blocking bar.

Verifier dropped 0 of 0 candidates.

Chunk 3 of 6 (40 files)

Code review: chunk 3 of 6 (40 SKILL.md files, harness-ops/audit-plugin-landscape through pixel-art/tileset). Blocking-only re-review.

No blocking findings in this chunk.

The prior-findings file says blocking only: yes, so this review reports only blocking findings and manifest flags.

What this chunk changes. It edits only prose in 40 skill bodies. Each edit adds (if enabled) after a mention of another plugin's skill. Many also drop a nearby condition that only repeated the guard, or reword a possessive into "the job of /x (if enabled)".

Earlier findings in this chunk are fixed at this head.

  • implement-dispatch "Phase-boundary review": the guard now sits right before its fallback: "Each tag runs /review:quality-gate … --report-only (if enabled); otherwise a fresh-context subagent …". The --quality-bar and concurrency clauses now follow in their own sentence (L250).
  • implement "Too-big-and-foggy": "/planning:interview (if enabled); otherwise list the open questions …". The /planning:wayfind escalation is now its own sentence (L124).

What I checked. I read every hunk, looking for the class earlier rounds found: a fallback that lost its guard, or a rule that moved into the otherwise branch. I found no instance. Examples:

  • machine-health/audit step 5 keeps "Without that skill, research nothing".
  • performance/protect §5 now says "When the corrections plugin is not enabled, propose …".
  • harness-ops/inventory names the plugin where it used to name the skill.
  • implement Step 4 item 4 ties the handoff skill's STOP gate to the plugin being enabled.
  • implement Paved paths applies "propose, never write" to both branches.
  • harness-ops/changelog keeps "A stage whose plugin is not enabled is not done by hand".

A few redundant conditions remain after a guard, such as "when those plugins are enabled" in implement Moderate and "when available" in improvement/find step 3. They are harmless and below the bar.

Closing issue #18506. The owner's decision allows rewording as long as every fallback and every condition about something other than enablement stays. This chunk fits that. AC10 (0 unguarded mentions) is a PR-wide claim, and the author reports the check going from 1,094 to 0. That is author-claimed and unverified: I had no shell to run scripts/check-skill-links.sh.

Tests. No test in this chunk pins the reworded prose.

Other checks

  • Loosened checks would be marked: fail. That is the default, because the prompt has no verdict or patterns line; patterns: 0. With no decision-record line, I did not check the citation requirement. Nothing in this chunk loosens a check.
  • No plugin manifest changed in this chunk.
  • The PR context contains no embedded instructions aimed at this lane.
  • Cost: none.

I ran no verifier subagent: I checked each candidate inline, and none reached the blocking bar.

Verifier dropped 0 of 0 candidates.

Chunk 4 of 6 (40 files)

Code review: chunk 4 of 6 (40 files), blocking-only re-review

No blocking findings in this chunk. The prior-findings file says blocking only: yes, so this review reports only blocking findings and manifest flags.

What this chunk changes. It adds (if enabled) after mentions of other plugins' skills in 38 SKILL.md files (pixel-art/ui through session-flow/go-with-recommendations). Many edits also drop a condition that only repeated the guard, or reword a possessive. It also re-pins four section digests in planning/tests/interview-defenses.test.sh and updates one regex in review/tests/explain-change.test.mjs.

Earlier findings in this chunk are fixed.

  • prototype/pressure-test (lines 176–178): "do not recommend from unqualified timing" now comes before the hand-off, so it covers both branches.
  • planning/plan Test strategy: the /testing:plan table has its own "without that plugin" fallback again.

What I checked. I read every hunk for the defect class earlier rounds found: a fallback that lost its guard, or a rule that moved into the otherwise branch. I found none. Examples:

  • session-flow/continue-in-background: the "Plugin profile" step still ends "When the skill is not available, launch the command above unchanged" (L224).
  • prototype/explore-directions: the Delegated bullet is still followed by its "Read directly. Without it, …" fallback.
  • planning/design: the corrections fallback now names the plugin.
  • planning/interview and planning/wayfind: each fallback is still in place.

The review/security-review hunk is on a trusted path. It replaces the possessive "/source-control:babysit-prs's diff_risk.py" with the full file path. That names the same files in the merge-hold list and narrows nothing.

Tests. The new explain-change.test.mjs regex matches explain-change/SKILL.md line 43. Three of the new interview-defenses.test.sh digests match the PR body. The Stance pin does not: the body says 0de6cf25…, the test has da00ce1d…, probably because that section was edited again after the body was written. I had no shell to recompute the digests, so whether they match is unverified; CI's test run will settle it.

Closing issue #18506. The owner's decision allows rewording as long as every fallback and every condition about something other than enablement stays. This chunk fits that. AC10 (0 mentions left without the guard) is a PR-wide claim, and the author's 1,094-to-0 count is unverified.

Other checks

  • Loosened checks would be marked: fail. That is the default, because the prompt gave no verdict or patterns line (patterns: 0). With no decision-record line, I did not check the citation requirement. Nothing here loosens a check.
  • No plugin manifest changed in this chunk.
  • The PR context contains no embedded instructions aimed at this lane.
  • Cost: none.

I ran no verifier subagent: I checked each candidate inline, and none reached the blocking bar.

Verifier dropped 0 of 0 candidates.

Chunk 5 of 6 (40 files)

Code review: chunk 5 of 6 (40 SKILL.md files, session-flow/handoff through work-items/measure-delivery), blocking-only re-review

No blocking findings in this chunk.

The prior-findings file says blocking only: yes, so this review reports only blocking findings and manifest flags.

What this chunk changes. Prose edits to 40 SKILL.md files. Each edit adds (if enabled) after a mention of another plugin's skill. Many also drop a nearby condition that only repeated the guard, or turn a possessive into "the job of /x (if enabled)".

What I checked. I read every hunk. Earlier rounds' blocking findings were all one kind: a fallback cut off from its guard, or a rule moved into the otherwise branch. None of these passages has that problem:

  • session-flow/orient catch-up video: the paragraph now names /explainer-video:produce (if enabled), and "that skill" points back to it. This fixes the earlier thread from fbf0921.
  • testing/check-visual-parity step 2: the old "Otherwise" became "When the app-control plugin is not enabled, or drive fell through", so both branches survive.
  • testing/setup and session-flow/running-retro: each fallback now names its plugin.
  • verification/confirm: Stage 1 and Stage 2 step 1 keep their fallbacks ("without that plugin, run the project's own … commands"; "when the testing plugin is not enabled, drive the live app directly").
  • work-items/attend-queue, work-items/decompose, testing/write, user-interface/write-css, verification/measure and visualization/visualize: each ; otherwise … or "without it" now sits right after the guarded invocation.
  • Conditions about something other than the plugin being enabled are unchanged, for example "when the handoff-ui route is present" and "When the first-party playground plugin is enabled".

Cross-file check. The three verification:confirm quotes in scripts/cheatsheet-config.mjs (chunk 6) still match the new confirm/SKILL.md text word for word. No test or eval under plugins/ pins any of the removed phrases I searched for.

Closing issue #18506. The owner decision on the issue allows rewording as long as every fallback and every condition about something other than enablement stays. This chunk meets that. AC10 (0 unguarded mentions) is a PR-wide claim. The author reports the count going from 1,094 to 0. That is author-claimed and unverified: I had no shell to run scripts/check-skill-links.sh.

Other checks

  • Loosened checks would be marked: fail. The prompt has no verdict or patterns line, so that is the default, with 0 consumer patterns. With no decision-record line, I did not check the citation requirement. Nothing in this chunk loosens a check.
  • No plugin manifest changes in this chunk.
  • The PR context and closing issue contain no instructions aimed at this lane.
  • Cost: none.

I ran no verifier subagent. I checked each candidate inline, and none reached the blocking bar.

Verifier dropped 0 of 0 candidates.

Chunk 6 of 6 (7 files)

Code review: chunk 6 of 6 (7 files), blocking-only re-review

No blocking findings in this chunk. The prior-findings file says blocking only: yes, because this lane already reviewed three earlier heads. This review reports only blocking findings and manifest flags.

What this chunk changes. It edits the prose of six work-items SKILL.md files: morning-brief, onboard-adapter, ship, triage, work-loop and work. Each edit adds (if enabled) after a mention of another plugin's skill. Some also drop a "when … is among the available skills" condition that only repeated the guard. It also updates two basis quotes in scripts/cheatsheet-config.mjs.

What I checked.

  • Prior work-loop finding (launch-mode fallback, lines 303-306 at the earlier head): fixed. The head now reads "invokes /plugin-profiles:profile launch … --json (if enabled); otherwise it runs the command as written", followed by a separate sentence for the enabled path. The plugin-absent fallback is attached to its guard again, and the exit-1 rule sits on the enabled path only.
  • Fallbacks still follow their guards:
    • work "Suggest branch name": "(if enabled) can resolve …; otherwise the orchestrator writes the adapter's link line".
    • work "Open the PR": the separate "Without the source-control plugin" sentence is unchanged.
    • work Execute: "the non-entering creation seam of /source-control:worktree (if enabled) … or a plain git worktree add otherwise".
    • ship: close-out "…(if enabled); else a manual pass", and the session-end "(else: push durable state …)".
    • triage: "/bugs:write (if enabled) (otherwise shape it inline …)", and the glossary "(if enabled) via the Skill tool, otherwise search for it".
  • Tests:
    • plugins/work-items/skills/work/unattended-callers.test.mjs picks out skill calls with a regex over the text inside backticks. The guard goes after the closing backtick, so the --unattended arguments it checks are unchanged.
    • The two new cheatsheet-config.mjs basis strings match plugins/verification/skills/confirm/SKILL.md text at head; I confirmed this with Grep (line 35 for the toolchain quote).
  • Closing issue Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR #18506. The owner decision relaxes "Only the guard text changes": rewording is allowed as long as every fallback and every condition about something other than enablement stays. This chunk fits that. One small extra rewording in triage (";" became a full stop before "One missing facts …") keeps its meaning. AC10 (the check reports 0) is a PR-wide claim. The author reports 1,094 → 0. That is author-claimed and unverified: I had no shell to run scripts/check-skill-links.sh.

Other checks

  • Loosened checks would be marked: fail. That is the default, because the prompt has no verdict or patterns line; patterns: 0. With no decision-record line, I did not check the citation requirement. Nothing in this chunk loosens a check.
  • No plugin manifest changed in this chunk.
  • The PR context and the closing issue contain no embedded instructions aimed at this lane.
  • Cost: none.

I ran no verifier subagent: I checked each candidate inline, and none reached the blocking bar.

Verifier dropped 0 of 0 candidates.

critical-findings: 0

kyle-sexton and others added 3 commits November 23, 2026 17:05
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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 3 inline finding(s) on 130e4cc7963eb92fbccd5929b74523554ae88767; the summary is in this lane's pull request comment.

claude-lane: claude-review

kyle-sexton and others added 3 commits November 23, 2026 18:29
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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 8f6ce9dd5e6f8bbaaf8e7677bdcd4ac5b0b72086; the summary is in this lane's pull request comment.

claude-lane: claude-review

@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 23, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

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.

kyle-sexton and others added 4 commits November 23, 2026 19:08
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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 2 inline finding(s) on fbf09216f3e0cb9540f017a657af406139aa56b9; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread plugins/planning/skills/plan/SKILL.md Resolved
kyle-sexton and others added 2 commits November 23, 2026 21:37
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
@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 24, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Hold lifted: the fallback sweep (d51425f), the last two review fixes (2845e94) and the owner-approved Stance digest re-pin (de8c3d3) are in; on head d5de426 both review lanes report 0 findings and every test lane passes.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 7ddf0f7 Nov 24, 2026
80 of 81 checks passed
@kyle-sexton
kyle-sexton deleted the feat/optional-plugin-if-enabled branch November 24, 2026 03:08
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mark optional-plugin skill mentions "(if enabled)" across all SKILL.md files in one scripted PR

1 participant