docs(adr): scope ADR-0035's one-switch claim and record the install check
Refs #286 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
96300834ef
commit
d32143b44b
1 file changed
+10
-10
@@ -1,4 +1,4 @@
|
||||
# Bundled Claude Code skills are turned off with one user-level switch
|
||||
# Bundled Claude Code skills are turned off at user level
|
||||
|
||||
**Status: accepted (2026-12-03), amended 2026-12-06 (#286).**
|
||||
|
||||
@@ -15,8 +15,8 @@ skills `design`, `doctor` and `plugin-authoring` still load, and so do their too
|
||||
|
||||
## Decision
|
||||
|
||||
**Bundled skills are turned off with one switch, not a per-name list.** The settings live at user
|
||||
level in `providers/claude-code/settings.json`, which `scripts/install.sh` deploys to
|
||||
**Bundled skills are turned off with one switch; built-in plugin skills need a per-name list.** The
|
||||
settings live at user level in `providers/claude-code/settings.json`, which `scripts/install.sh` deploys to
|
||||
`~/.claude/settings.json`:
|
||||
|
||||
- `disableBundledSkills: true`
|
||||
@@ -30,18 +30,19 @@ level in `providers/claude-code/settings.json`, which `scripts/install.sh` deplo
|
||||
- `syncClaudeAiPlugins: false`, the plugin counterpart of `syncClaudeAiSkills`.
|
||||
|
||||
**A per-name `skillOverrides` blocklist is accepted for built-in plugin skills only**, because the
|
||||
single switch does not reach them. Bundled skills stay under the switch.
|
||||
single switch does not reach them. Bundled skills stay under the switch. `enabledPlugins` lives in
|
||||
this user-level file, so ADR-0018's ban on it in the project `.claude/settings.json` does not apply.
|
||||
|
||||
Holocron does not distribute these settings to consumer repos. User-level settings already apply to
|
||||
every repo on the machine, and another machine needs its own `install.sh` run.
|
||||
|
||||
**`install.sh` must merge into an existing `~/.claude/settings.json` before these settings are
|
||||
deployed.** Today it copies the file over, which would drop 11 of the operator's 13 top-level keys.
|
||||
The merge is a separate implementation ticket, not part of this ADR's PR.
|
||||
deployed.** It used to copy the file over, which would have dropped 11 of the operator's 13 top-level
|
||||
keys. Done since: `scripts/merge-json.py` merges the file, and `tests/test-install.sh` covers it.
|
||||
|
||||
## Considered options
|
||||
|
||||
**A `skillOverrides` blocklist (rejected).** It needs a new entry for each unwanted skill that ships.
|
||||
**A `skillOverrides` blocklist (rejected as the general mechanism).** It needs a new entry for each unwanted skill that ships.
|
||||
It is now used for built-in plugin skills (#286), but is still rejected as the general mechanism.
|
||||
|
||||
**`skillOverrides` in the committed `.claude/settings.json`, as #266 proposed (rejected).** apm owns
|
||||
@@ -74,10 +75,9 @@ operator chose to turn off all syncing.
|
||||
- **From the docs only:** the `syncClaudeAiSkills` behaviour.
|
||||
- **Tested** in headless mode on Claude Code 2.1.337, from the `init` event of
|
||||
`claude -p … --output-format stream-json --verbose`: `skillOverrides` for `design`, `doctor` and
|
||||
`plugin-authoring`, and `enabledPlugins` for the two plugins.
|
||||
`plugin-authoring`, and `enabledPlugins` for the two plugins. Confirmed after `scripts/install.sh`:
|
||||
the `init` event lists none of the three skills and only the four plugins kept on.
|
||||
- **From the setting's description in the binary only:** the `syncClaudeAiPlugins` behaviour.
|
||||
- `enabledPlugins` lives in the user-level file, so ADR-0018's ban on it in the project
|
||||
`.claude/settings.json` does not apply.
|
||||
- Sources: code.claude.com/docs/en/settings-reference, `/skills` and `/ship-command-troubleshooting`.
|
||||
|
||||
Related: ADR-0018, ADR-0019; #266, #286.
|
||||
Reference in new issue
Block a user