# Config Cascade Convention > "Cascade" (CSS `@layer`/`!important`) is the established term that carries both per-key override > and a ratified precedence inversion, matching this contract's layers plus its policy floor. A versioned, marketplace-wide contract for **how** a plugin's consumer-tracked configuration layers resolve: which layers exist, what order they resolve in, and what a later layer may do to an earlier one. Every plugin that reads config from a consuming repo resolves it the same way, so an operator who learns one surface has learned all of them. This directory is the source of truth: `README.md` (the contract), `CHANGELOG.md` (version history), and topic siblings such as [`consumer-gotchas.md`](consumer-gotchas.md) (concatenating consumer gotchas for participating skills, #3547). [`locations.md`](locations.md) is the one editable list of config file locations; each plugin that teaches one carries a generated copy at `reference/config-locations.md`. ## Boundary: this contract owns the axis, never the keys It governs **layering, precedence, personal override naming, and (from contract 1.2) expression form**. Which keys a plugin's config has, what they mean, and how they are validated belong to that concern's own owner doc under `docs/conventions//`, or to the plugin's own bundled reference. The two compose: a per-concern doc declares its keys and points here for how its layers merge and which expression form the surface uses. The distinction is what keeps this doc from colliding with the one-owner-doc-per-shared-concern rule. Layering and expression form are cross-cutting axes every plugin's config shares; keys are not. ## The layers Four layers, lowest first, a higher layer refining a lower one key by key ([ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md), superseding [ADR 0061](../../adr/0061-adopt-a-five-layer-plugin-config-cascade-read-through-one-shared-resolver.md)'s layers and [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) Decision 8): | Order | Layer | Source | Belongs to | |---|---|---|---| | 0 | plugin default | the plugin's bundled default | the plugin | | 1 | `userConfig` | the plugin's `userConfig` option; `pluginConfigs` is read only from user and managed settings | the operator, per user | | 2 | team | `/.yaml` validated by a JSON Schema, and `/.md` for prose ([location](#location-of-the-team-layer-a-docs-convention-file-or-claudename)) | the consuming repository, tracked in version control | | 3 | personal | `/.local.` | one operator in one repo, gitignored | `` is the repository's convention home, bound by the pointer region (see the [Expression doctrine](#expression-doctrine-which-surfaces-are-files-and-which-are-convention-docs)); the default is `docs/conventions`. **A linked worktree reads the main checkout's personal override.** Git does not copy an ignored file into a worktree made by `git worktree add`, so in a linked worktree the personal layer is `
//.local.`, and its provenance names that file. The team layer stays the worktree's own. When the worktree has its own `/.local.yaml` or `.local.md`, that file is the personal layer and the main checkout's is not read; the two are never merged. The shared resolver finds the main checkout from the worktree's `.git` file and the `commondir` file in its git directory, and takes the parent of that common directory only when it is a directory named `.git`. Any other layout (a bare repository, a `--separate-git-dir` clone, a submodule) leaves the worktree reading only its own file. The main checkout's file takes the same guards as the worktree's: a symlink is refused, and a relative `` that resolves outside the main checkout makes the layer invalid. An absolute `` is the same directory from every worktree. - **Precedence.** The personal layer beats the team layer, except on a policy-floor key, where it may only tighten. Instruction text beats config, and config beats plugin defaults. A skill that defers to an instruction says which file won, and instruction text never loosens a policy-floor key. Plugin defaults are fallbacks, and a skill never couples to this repository's own conventions. - **No user-global file layer.** `~/.claude/` and ADR 0061's `~/docs/conventions/` move into `userConfig` (ADR 0075 fix 9), so a per-person value has one channel. A surface that still reads one is a declared deviation until it migrates in its own change. - **Invalid value.** A reader names the file, key and value and drops that layer, so a valid higher layer still wins, otherwise the default. A lower layer's value is never used. Every resolver reports which layer supplied each value. **Every file layer absent is a valid state**, not an error. The surface falls through to the plugin default, or to whatever the plugin's own resolution ladder specifies next: inference from the repo's own files or an interview. ### Location of the team layer: a docs convention file, or `.claude/` The team layer of a **structured surface** (a surface whose values are keys, not prose the model reads) lives in `/.yaml`, validated by a JSON Schema ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) Decision 1, superseding [ADR 0044](../../adr/0044-default-structured-team-config-to-a-docs-convention-file-with-a-claude-fallback.md) for structured configuration). `` is the owning plugin's name, or the convention's name for a cross-plugin concern. `` is the convention home the pointer region binds, default `docs/conventions`, created when missing; the root is no longer fixed (ADR 0075 supersedes ADR 0064 Decisions 2 and 3). The home also holds the concern's prose, `.md`. Anything a script, hook, CI lane or policy floor reads is the YAML file; prose `.md` is only for model-read guidance with no floor (ADR 0075 fix 3). YAML never goes under `.claude/`, and there are no plugin-specific convention files and no `.work-item-tracker.json` (ADR 0075, "The convention home"). A plugin concern's schema ships at `plugins//schemas/.schema.json`; a cross-plugin convention's schema sits in its convention folder. A schema error in a committed `docs/conventions/*.yaml` fails CI: the validation step runs with `continue-on-error: true` and feeds the job's result aggregator. A runtime reader runs no validator. It names the invalid value's file, key and value and drops that layer, so a valid higher layer wins, else the key's default; a lower layer's value is never used (ADR 0064 Decision 7). A new surface takes this form: no fenced config block and no folder form. Surfaces that already use another location keep working until each migrates in its own change, resolved in this order: | Precedence | Team-layer location | Read when | |---|---|---| | 1 | `/.yaml` | the plugin reads it | | 2 | `/.md`, the fenced config block in it (ADR 0044 surfaces) | the file exists and holds the block | | 3 | `${CLAUDE_PROJECT_DIR}/.claude/` | neither of the above supplies the layer | The rest of this section describes the ADR 0044 block form those surfaces still read. In that form `` is the stem of the surface's `.claude/` file, and the file holds the prose rules for the concern and exactly one config block with the same keys the `.claude/` file would carry. Other agents and tools read the convention docs; they do not read `.claude/`. **The block form.** The opening line is three backticks at column 0, then the language of the `.claude/` file, then `config`: ` ```yaml config ` or ` ```json config `. The body ends at the first line that is exactly three backticks. - A reader finds the block with one line-by-line pass: it matches the opening line, stops at the closing line, and skips lines inside any other fenced block, so a prose example of the block sits in a longer outer fence (four backticks) and never counts. A human finds it by searching the file for `config` on a fence line. - The body parses as the `.claude/` file does. An error names the `.md` file and that file's own line number. - An empty block is a block. A docs file with no block does not supply the team layer. - Two config blocks in one file is an invalid layer, never first-wins. The error names both lines, and the layer degrades per rule 5 of the resolution algorithm. **Both locations present.** The docs block wins and the resolver prints one warning line naming both paths and the one it used. `.claude/` is a supported location, not a retired file: its fallback read carries no retirement record and is not the dual-read window below. **The user-global and personal override layers.** There is no user-global file layer. A per-person value lives in `userConfig`. The personal override is `/.local.`. A surface that still reads `~/.claude/` or `${CLAUDE_PROJECT_DIR}/.claude/.local.` keeps working until it migrates in its own change. The team-tracked verdict, the root classification (resolution step 2), and the merge semantics apply to the home file as the team layer. **The pointer region is the binding.** A `CLAUDE.md` or `AGENTS.md` line such as "if testing, read `docs/conventions/testing.md`" outside the marked region is only a load hint: it loads the doc into the model's context on demand, and no script reads it. The marked, machine-owned pointer region (see the Expression doctrine) binds ``, and a script resolves the home by reading it. ### Why these four and not others Each layer answers a question the others cannot. The plugin default keeps every setting resolvable with nothing configured. `userConfig` carries a per-person value across repos, which a tracked file structurally cannot, because a per-user setting cannot decide the location or content of a team-shared artifact. The team layer is the only layer teammates receive. The personal override is the only place a personal deviation can live without either editing the shared file or going uncommitted and lost. ## Merge semantics **Additive-preferred.** A later layer *adds to or refines* earlier layers. It never silently replaces them wholesale. Two sanctioned forms, in order of preference: 1. **Concatenate.** Every layer that exists is loaded and appended. Correct when the content is prose the model reads as guidance: the layers accumulate, and a reader wants all of them. This is what the first-party precedent does. 2. **Per-key override.** A later layer replaces an earlier layer's value **key by key**; a key absent from a later layer keeps the earlier value. Correct when the values are scalars or closed lists, where concatenation is meaningless or actively wrong: two anchored regexes cannot concatenate into a third valid regex, and two attribution-trailer templates would emit two trailers. A prose personal override, `/.local.md`, replaces whole team sections by heading: the personal override's section under a heading wins over the team's section under the same heading, and every team section the personal override does not name is kept. That is per-section override, not wholesale replacement. **Wholesale replacement is forbidden.** A layer that "overrides this file entirely" or takes the first matching layer and stops is outside the contract: it turns every key the personal override does not mention into a silent loss of the base layer's value, which is exactly the failure additive-preferred exists to prevent. Both sanctioned forms preserve unmentioned keys; wholesale replacement is the one that does not. **A surface using per-key override must declare it** in its own contract, next to its keys. The declaration is what makes it a design decision a reviewer can check rather than an accident. ### Sanctioned exception class: policy-floor precedence inversion One class of surface, and only this class, inverts the precedence *direction* above while staying additive on every other axis. A **policy-floor surface** encodes, in its team-tracked layer, a floor that personal layers may extend or tighten but must never weaken. On a **direct conflict the team layer wins**, the reverse of the default where a later layer refines an earlier one. It never drops a base layer wholesale; it only decides who wins a conflict. Instruction text never loosens a policy-floor key either. **Tighten means one direction per surface.** The Implementers table's `Floor direction` column names it, and is the one source of each surface's direction ([ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md)). The shared resolver ships inside plugins and cannot read this README in a consumer repository, so each caller passes its row's directions to the resolver as an option. The closed set of values: | Value | Meaning | |---|---| | `no-floor` | no key of the surface is a policy floor | | `team-only` | the team layer wins a direct conflict; a personal layer may add or tighten, never weaken | | `lowest-value` | the lowest value across layers wins | | `any-layer-wins` | the tightening value (`true`, or `report`) in any layer wins | | `stricter-value` | the strictest value on the key's ordered scale across layers wins | A cell holds one value, or several separated by commas. Each surface's keys and scales stay in its owner doc. A surface qualifies for this class only when all three hold: 1. Its team layer is a genuine **policy floor**, a shared standard whose whole purpose is that a personal layer cannot loosen it; personal weakening of a team-agreed rule is the failure mode worth structurally preventing. 2. Personal layers (`userConfig` and the personal override) remain **add/tighten-only**: they may never supply a looser value that takes effect. 3. **Provenance is reported**: when a personal-layer rule materially shapes output, the surface names the contributing layer, so a reader can tell a team floor from a personal addition. This mirrors prior art: managed settings that supersede user settings, org-enforced rulesets a repo cannot loosen, and MDM managed preferences, where a higher-authority layer may be extended but not weakened. A surface in this class is **conformant, not a tolerated deviation**, and must declare the inversion in its own contract next to its keys. The class was ratified by #649; `standards` is its exemplar. ## Personal override naming and the consumer `.gitignore` The personal override is `/.local.`: the concern, `.local`, then the original extension, one rule for every surface ([ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md) fix 8). One ignore line covers every current and future surface: ```gitignore /**/*.local.* ``` That is the whole convention, **one line in recursive form for every surface**, with `` written out (`docs/conventions/**/*.local.*` for the default home). `**/` matches zero or more directories, so this single rule covers a flat `/testing.local.yaml` and a nested personal override alike while leaving team files tracked. A narrower `/*.local.*` silently fails to ignore a nested personal override; use the recursive form only, and never ask a consumer for two lines where one is exact. **Setup writes the ignore line in the same step that writes the pointer region**, announced, and touches nothing else in the file. When the home moves, setup rewrites the line. A personal override written before the line exists would leak a personal file into the index, which is why the pointer and the line are one step. A repository that declines setup is never asked again (the region's `declined` line, see the Expression doctrine). The pre-0075 surfaces keep their own postures until each migrates in its own change. Two consumer-root appends were ratified before this contract and stand until then: - `/source-control:setup apply layer=team` appends the recursive `docs/conventions/**/*.local.*` line when missing, because a personal override written before that line exists would leak a personal file into the index. `layer=local` never edits `.gitignore`: it fails with a recommendation when the personal override is exposed ([ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#the-fifteen-conventions-vetting-fixes), fix 8). - `/work-items:setup apply` appends `/work-items.local.yaml`, announced, because that personal override sits outside the `.claude/**/*.local.*` line, and keeps a legacy `.work-item-tracker.local.json` ignored and untracked while it exists ([ADR 0015](../../adr/0015-bind-the-tracker-at-repo-root-with-an-allowlisted-personal-overlay.md), superseded by ADR 0075: the binding lives in `/work-items.yaml`). Discovery, verification, planning, review, harness-ops, and the standards root also write a self-ignoring `.gitignore`, but *inside a plugin-owned directory* (memory root or `/`). That file is not the consumer's `.gitignore`, so it is not an exception. ## Expression doctrine: which surfaces are files, and which are convention docs The layers above describe **where** a surface's values live relative to each other. This section describes **how** a surface is expressed at all, and it ratifies a second expression form alongside the dedicated file ([ADR 0018](../../adr/0018-express-team-shared-conventions-as-consumer-convention-docs.md), 2026-09). **The criterion.** A surface takes exactly one of the expressions below, settled by what the content *is*, never by the author's preference: - **Team-shared prose configuration**, meaning guidance the model reads (a repo map, audit-target prose, a lane description) that every operator on the team is meant to share and that has no per-operator axis, is expressed as a **natural-language convention doc at the consumer's convention home** (default `docs/conventions/.md`), discovered or asked once at setup and bound by the pointer region below. Its personal channel is the prose personal override `/.local.md`, which replaces whole team sections by heading. A migrated plugin's setup `check` WARNs on any pre-existing personal override file at a retired path rather than silently ignoring it. The personal override no longer has an effect there, and silence would let a personal deviation look live. - **Structured data where YAML/JSON is the right tool** (`routing.yaml`, `binding.json`, `testing.yaml`) stays a keyed config file under the layers above. Its team layer is `/.yaml`, validated by a JSON Schema ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) Decision 1); a surface not yet migrated keeps its existing location per the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename). Its personal channel is `/.local.yaml` and the plugin's `userConfig`. Each plugin adopts the YAML file in its own change. - **Everything else stays a dedicated file under the layers above, team layer included**: per-operator-keyed surfaces (a value keyed by operator identity or machine, or one an operator legitimately overrides privately, with `testing`'s e2e config as the fleet example), every policy-floor file, and all mutable state. For a policy floor, `/.yaml` is that dedicated file for the team layer (ADR 0064 Decision 5): it is read from the default branch, the team layer wins, personal layers may only tighten it in the direction the Implementers table's `Floor direction` column names, and the surface may declare no `userConfig` option (ADR 0064 Decision 5). `implementation`, `review` and `testing` (`check-visual-parity`) keep a tighten-only `userConfig` option as declared deviations in their rows. The criterion is applied per surface, in that surface's own migration PR, and recorded in the Implementers table's row. Nothing in this contract retroactively re-expresses a surface. **The convention home is bound by one pointer region, and the region is the binding.** The consumer's existing `AGENTS.md` or `CLAUDE.md` carries a marked pointer region naming the convention home (and, where the home holds several topics, pointing at its index). The default home is `docs/conventions`; setup creates it when missing and conforms to an existing equivalent home (for example a PascalCase `Documentation/`). There is no separate binding file: a plugin resolves the home by reading the region. The region is a **marked, machine-owned** block, the `instruction-placement` rules-index block being the precedent, so setup can rewrite it idempotently without touching the operator's prose around it, and a reviewer can see the region is generated. The consumer's root file otherwise carries only content needed in effectively every conversation; topic conventions live at the home, loaded on demand. The one exception is a plugin's evidence-gated trigger line inside the shared `plugin-conventions` block, owned by the [setup-lifecycle convention](../setup-lifecycle/README.md). Inside a foreign home, our file names stay lowercase-kebab and an index file in the home lists them, so the consumer can rename them under the pointer later ([ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md) fix 15). **Three absences are separate** (ADR 0075 fix 1), and only the first asks: | Absence | Resolves as | |---|---| | No pointer region | ask once per repository (interactive), or escalate once per repository (lane) | | A pointer, but no concern file | the bundled default, silently, reported as layer `default` | | An absent key | the key's default | **The pointer region is the consent record** (fix 2): writing it means "use these defaults here". An optional `declined` line in the region stops a declined repository from being asked again. Pointer-region rules a resolver honors (the small tested helper the program's mechanism phase ships owns the grammar; consumer prose it reads is **untrusted input**, never executed or interpolated): - **Which file owns the region.** A file without a marked region is not consulted, even if it is named `AGENTS.md`. A `CLAUDE.md` whose whole content is the `@AGENTS.md` import is a pure shim and is not consulted for a pointer. When exactly one of the two files carries the marked region, that file is canonical. When both files carry a marked region, `AGENTS.md` wins and `CLAUDE.md`'s copy is reported as a duplicate finding (remediation: remove it), except that the two files are compared physically (`pwd -P` / `realpath`) and a symlink from one to the other is one file, with no duplicate warning (fix 6). Two pointer lines inside one region is a FAIL, never first-wins. Setup writes the region where the repository already keeps instructions, the existing canonical file first, and creates `AGENTS.md` only when neither exists (fix 7). - **Ask, never silently rebind.** A pointer absent while a previously-known home still exists on disk, or a pointer whose target directory is missing, is a FAIL that routes to `apply`'s interview. Inference may *propose* a home from repo evidence; only the operator's confirmation writes the line. - **Branch-scoped.** The pointer region is tracked content, so divergent branches may bind different homes and a branch may legitimately re-ask. That is a property of tracked config, not a defect. Lanes resolve the pointer and read settings at the base SHA (fix 4). - **One home per git root.** A monorepo has one home per git root until a consumer asks for more; hooks and lanes anchor the pointer read at the git toplevel, not `CLAUDE_PROJECT_DIR` (fix 13). - **Unbound repositories.** A hook in a repository with no pointer region uses the bundled default and prints a one-line notice. It fails closed only for a policy floor with no safe default (fix 10). **Root-file shape is the downstream repository's call.** Recommended guidance, never forced: an AGENTS.md-canonical root with a pure `@AGENTS.md` CLAUDE.md shim (the shape `instruction-placement` already installs), but a repo that keeps `CLAUDE.md` canonical, or a symlink, is served identically once setup has discovered which file carries the region. **Dual-read deprecation window.** A migrated skill that finds the retired dedicated file present treats it as WARN **and** reads it as authority (at minimum as inference evidence) until the consumer cleans it through the retirement mechanism (`docs/migration-playbook.md` ยง Retired conventions). This covers a consumer who updated the plugin without re-running setup, and is the one sanctioned dual-read: declared per surface by its retirement record, WARN-visible on every run, never silent. The window closes for a consumer when that record's cleanup runs, and for the fleet when the record is demoted to report-only under the mechanism's demotion rule. The `.claude/` fallback of the location axis is not this window: it is a supported location with no retirement record. **Scope.** This doctrine governs repository-scope surfaces only. Machine-scope files under `~/.claude/` (context-usage, rate-limits, machine-health) are outside both the criterion and the retirement mechanism; ADR 0018 records that exclusion. ## Resolution algorithm A plugin implementing this contract: 1. **Anchors at the repo root** before any repo-relative read: the git toplevel (`git rev-parse --show-toplevel`), not `${CLAUDE_PROJECT_DIR}` (ADR 0075 fix 13). Never a CWD-relative path: invoked from a nested directory, a CWD-relative read finds a nonexistent `/...`, misses the real config, and silently degrades to a lower rung. Re-resolve the root in every self-contained shell call. A resolver takes `--ref` (a 40-hex SHA or `origin/`) and stdin, matching `parse-concern-value.sh`, and a lane reads the pointer and its settings at the base SHA (fix 4). 2. **Classifies that root before any team or personal read.** When the resolved root is `$HOME` or an ancestor of `$HOME`, or is not inside a git working tree, team and personal are **not applicable** (fix 5): report both with that reason and resolve the plugin default and `userConfig` only. Never read `$HOME//` as the team layer; writing a team file there would write the operator's personal config. Compare layer paths physically (slash-fold, case-fold, `pwd -P` when the directory exists) so a native Windows home spelling and its MSYS alias still collapse. A filesystem or drive root, the OS temp directory, and a cloud-synced folder are named follow-up roots for the shared resolver; this step does not skip them for that reason alone. 3. **Binds the convention home** from the pointer region (the three absences above), then **reads every layer that exists**, in order, and merges per the surface's declared semantics. Reading one layer and stopping is not resolution. Layers the previous step marked not applicable are absent, not empty. A policy-floor key merges in its `Floor direction`, passed by the caller. 4. **Reports which layer supplied each value** whenever it surfaces the effective config to a human. A reader who cannot see which layer won cannot tell why the plugin behaves as it does. A value from the bundled default is reported as layer `default`. 5. **Drops an invalid layer, never falls through to a lower one**: name the file, key and value and drop that layer, so a valid higher layer still wins, otherwise the default; a lower layer's value is never used. Unknown keys are inert. A consuming repo may validate its own files in a gate; plugins do not hard-fail on them. Surfaces that still read `~/.claude/` or a `.claude/` personal override, and surfaces whose rung 5 differs (see Declared), are deviations until each migrates in its own change. `fleet-state.sh` (harness-ops `plugins` skill) does not adopt the resolver. Its root answers a different question: which project-scope install records and `.claude/settings*.json` map belong to the session. It excludes `$HOME` only in the cwd fallback used when `CLAUDE_PROJECT_DIR` is unset and no git toplevel exists, spells both sides of that comparison alike, and never treats a team layer as user-global. `permission-state.sh` (harness-config `audit-permission-state`) does not adopt it either: at a home or non-repo root it falls back to the start directory and labels the basis (`start directory (repository root is the home directory)`) instead of reporting the layer as not applicable, because the local settings file it reports is read from the start directory in that case. ### Per-layer verification verdicts The same tracked/ignored question produces opposite correct answers per layer, so a single shared check is always wrong for two of the three: | Layer | Version control | On violation | |---|---|---| | `userConfig` | outside the worktree, so **no git command applies** | n/a | | team | must be tracked | hard STOP: teammates would never receive the shared convention | | personal override | must be gitignored, never staged | FAIL: a personal deviation can reach team history | The table has no `userConfig` row because `git check-ignore` and `git status` against a path outside the repository return a meaningless verdict, or a confidently wrong one when the operator's home directory is itself a git repository. The same holds for a surface that still reads a legacy `~/.claude/` file until its migration lands. ## Versioning `contract_version` (SemVer) versions this contract; the number lives in `CHANGELOG.md`. A change to the precedence order or to what a layer means is a major bump. Adding an optional layer, or relaxing a rule additively, is a minor bump. Per-concern key schemas version independently under their own owner docs and are deliberately decoupled from this number. Contract 2.0 is the major bump that replaced the user-global file layer and the fixed-root team path with the four layers above ([ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md)). ## Deviations Recorded here whether or not ratified. Listing a deviation records that it exists and diverges, and does not by itself ratify it. Ratifying one, as #649 did for the policy-floor precedence-inversion class above and [ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md) did for the layer locations below, moves it from observed to sanctioned. Ruling on each remaining deviation (correct the surface, or amend this contract) is a separate human-gated decision. **Ratified as a sanctioned exception class, one axis only:** - **`standards` precedence inversion**, the exemplar of the policy-floor precedence-inversion class above (ratified by #649). Personal layers may add or tighten only; the team-tracked layer wins a direct conflict, with provenance reported. Conformant to that class, not a tolerated deviation. **This ratification covers the precedence axis alone.** `standards` also diverges on layer *location* (see Declared, below), which #649 did not rule on and [ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md) ratifies separately. **Declared**, meaning the surface states its divergence and why: - **`standards` locates its layers outside `.claude/`.** Its team and personal override layers live at `/` (default `docs/standards/`), rooted by the `standards_dir` key of `.claude/standards.yaml`, with a setup-owned in-directory `.gitignore`, rather than the contract's `${CLAUDE_PROJECT_DIR}/.claude/` and `*.local.*` paths. Ratified in place as a declared exception ([ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md), #3577). The pointer file that roots it stays the sanctioned relocation mechanism for a surface that needs a configurable root; it is not a fleet rule. - **Claim:** `standards` keeps its team layer and personal override at `/`; the location is a declared exception, not drift. - **Basis:** [ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md) on the owner decision on #3577; the existing `.claude/standards.yaml` pointer already roots the directory, so no new mechanism is needed. - **Recheck:** a web-session measurement shows plugin-owned `.claude/` writes are fine everywhere and a consumer reports confusion, or Claude Code changes protected-path handling. - **`songwriting` reads template overrides from `songwriting/templates/`.** The consumer's prompt templates live at `${CLAUDE_PROJECT_DIR}/songwriting/templates/pat-pattison/.md`, outside `.claude/`. The craft skills check that path before the bundled `context/pat-pattison/templates/.md`, and `/songwriting:setup` scaffolds, inventories and removes them. The files are prose the consumer authors and reads, not settings, and they sit beside the consumer's other `songwriting/` artifacts. The surface has one consumer layer, the tracked team file, over the bundled default: no user-global layer and no personal override. [ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md) rules on the location only. - **Claim:** the override path stays under `songwriting/`; the location is a declared exception. - **Basis:** [ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md); `plugins/songwriting/skills/setup/SKILL.md` "The two surfaces"; the path the `rhyme`, `song-form`, `meter-prosody`, `co-write`, `metaphor`, `revise`, `object-writing`, `practice` and `workflow` skills check. - **Recheck:** a template override becomes a settings-shaped file (keyed values rather than prose), or the setup skill starts writing under `.claude/`. - **`work-items` reads its recurring schedule from `.github/recurring-schedule.json`.** The file is a tracked, team-shared JSON schedule outside `.claude/`, used by the `/work-items:track` actions, `/work-items:work` candidate discovery, and `/work-items:setup`, which writes an empty skeleton on `apply`; the Implementers row lists each reader and writer. `.github/` holds the workflow tooling that reconciles the schedule against the tracker items it files. The surface has one layer, the team's: no user-global layer and no personal override. It is separate from the tracker binding at the repo root (ADR 0015). [ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md) rules on the location only. - **Claim:** the schedule stays at `.github/recurring-schedule.json`; the location is a declared exception. - **Basis:** [ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md); `plugins/work-items/reference/tracker-seam.md` "Recurring schedule"; `plugins/work-items/skills/setup/SKILL.md`. - **Recheck:** the schedule gains a personal override or user-global layer, or the reconciling automation moves out of `.github/`. - **`autonomy` exempts its security axes.** Layers refine additively as the contract requires, except that no repo-local value may supply or override a security axis at all, a stricter rule than this contract, in the direction of safety. - **`disk-hygiene`'s `--policy` replaces every standing layer.** Its standing layers merge additively (personal overrides may disable or add hints and add protected globs, never weaken a hard guard); the wholesale replacement is confined to an explicit per-invocation flag, not a file layer. - **`disk-hygiene` stops on an unusable layer.** Rule 5 of the resolution algorithm resolves as if a malformed layer were absent. The clean engine instead stops the scan with an error naming the file when a standing layer (the `policy_file` file, the team or personal YAML, or an old `.claude/disk-hygiene.json` read in its place) cannot be read or parsed, or holds an invalid value. The layers decide what is protected and which candidates are preselected for removal, so a scan with a layer dropped would propose removals under weaker protection than the operator or team set. - **`docs-cache` is machine scope, with no repository layer.** Its one file layer is a user-global machine file at `${XDG_CONFIG_HOME:-$HOME/.config}/claude-docs-cache/config.json`, not `~/.claude/`: Claude Code owns `~/.claude/` and its layout, the reason [ADR 0057](../../adr/0057-share-a-user-scope-docs-cache-across-plugins.md) keeps the cache store out of it. No team or personal override layer exists, because the values tune one machine's shared cache and no repository decides them. The `DOCS_CACHE_*` environment variables and the per-invocation flags sit above the file, key by key; neither is a file layer. - **`ai-briefing` is team-only, with no personal override (#3580).** Tracked files live under `.claude/ai-briefing/` (default profile) or `.claude/ai-briefing//` (a named profile). Selecting a named profile is profile selection, not resolution of a `*.local.*` cascade layer. `sources.md`, optional `audience.md`, and optional `brand.json` are profile files in that team directory; no read path resolves a `.local.*` file, and setup does not recommend gitignoring one. Claude Code documents local behavior only for surfaces it actually resolves (`CLAUDE.local.md`, `settings.local.json`); a generic `*.local.*` filename has no platform-defined meaning. - **gitignore postures stay three-way (#3573).** Recommend is the default. Two consumer-root appends are declared exceptions, not undeclared drift: `source-control`'s recursive personal override line, appended at `layer=team` only ([ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#the-fifteen-conventions-vetting-fixes), fix 8) and `work-items`' personal override line ([ADR 0015](../../adr/0015-bind-the-tracker-at-repo-root-with-an-allowlisted-personal-overlay.md)). Own-ignore-file inside a plugin-owned directory is a different file, not a third exception. - **Claim:** the three gitignore postures stay; recommend is default; two consumer-root appends are declared exceptions; own-ignore-file is a different file. - **Basis:** the owner decision on #3573 (keep the three postures), ADR 0075 fix 8, and ADR 0015. - **Recheck:** a setup skill grows a third consumer-root append, or a maintainer converges the fleet onto one posture. - **`source-control` stops `branch_issue_pattern` resolution on an unusable layer (#4673).** Rule 5 of the resolution algorithm would resolve as if a malformed layer were absent. For this one key, `parse-branch-issue.sh` instead fails closed: a layer whose `## branch_issue_pattern` section exists but yields no usable pattern (a near-miss heading, no value, a heading or HTML comment as the first value line, an empty or unterminated fence, or a pattern that fails validation) prints a note naming the layer and the reason, emits no issue number, and exits 1. The consumer is a `Closes #N` line that closes an issue on merge, so a lower layer or the default supplying a different number is worse than no number; the no-number path already exists and `/source-control:pull-request create` relays the note. A higher layer that already supplied a valid pattern still wins, since the lower layer is never read, and a malformed deprecated `userConfig` value is still ignored with a note. Every other `source-control` key keeps the soft degrade. - **`testing` stops on an unusable layer.** Rule 5 of the resolution algorithm resolves as if a malformed layer were absent and treats unknown keys as inert. `plugins/testing/scripts/resolve-config.sh` instead exits 2, naming the file and line, on any layer it cannot read or parse, on an unknown key or an invalid value, and on a team or personal override layer that is a symlink. `/testing:audit` refuses to scan (`cant-fail-scan.sh` prints `refusing to scan`), and the `test-weaken` hook logs the scanner's failure and does not check the edit. A docs block is held to the same stop, so two config blocks in `docs/conventions/testing.md` stop the scan where the location axis says the layer degrades. The scanner is a gate whose `--check` exit treats an unread input as a failure: a scan with a layer dropped would apply different `paths.exclude` or `rules.*` values than the team set and report a result that looks clean. The stop covers every key and layer of the surface, not one key. - **A hook's `_enabled` key puts a set `userConfig` value above the team layer.** The user's own value, when set, wins for that user; the team value decides only for a user who set none, so a repository sets the default but cannot force a hook back on for someone who turned it off. A guard whose off state loosens a security control also ignores a team `false`, a floor the team layer cannot loosen; unlike the policy-floor class (its condition 2), a set `userConfig` `false` still turns the guard off for that user. Rules and scope: [hook-enablement](../hook-enablement/README.md#the-per-hook-setting). - **Claim:** the user-over-team order on per-hook on/off keys is a declared exception. - **Basis:** the owner decision of 2026-11-24, recorded in [ADR 0131](../../adr/0131-give-every-hook-its-own-on-off-setting-at-the-user-and-repository-layers.md). - **Recheck:** Claude Code ships its own per-hook off switch, or a repository needs to force a non-security hook on for every contributor. **Undeclared**, meaning divergence with no recorded rationale: - none currently. ## Semantics at a glance Who wins and which merge form each surface uses. The table is generated from the `Who wins` and `Merge form` columns of the Implementers rows, which own the values; edit those rows, then run `scripts/sync-config-cascade-semantics.py`. The engines stay separate (#3575): the table is an index, not a unification, and the Implementers row remains the contract for path, layers, and conformance. | Surface | Who wins | Merge form | |---|---|---| | `source-control` | later layer; team on the merge-rung; fail-closed on a bad `branch_issue_pattern` | per-key | | `source-control` (`pr_open_state`) | request, then team, then `userConfig`, then the `ready` default; an unknown value resolves to `draft` | per-key | | `toolchain` / `ecosystem-commands` | later layer | per-key | | `codebase-health` | later layer | concatenate | | `bugs` | later layer | lanes concatenate; `## Gotchas` concatenates; `filing_posture` nearest-wins | | `bugs` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `github` | team on write-posture keys; later layer otherwise | per-key (`routing.yaml`); concatenate (`conventions.md`) | | `autonomy` | later layer except security axes | declared | | `standards` (`planning`, `review`) | team on conflict (policy-floor) | add/tighten | | `disk-hygiene` | later layer; `--policy` replaces every standing layer | additive standing layers | | `ai-briefing` | team only | no personal override | | `code-tidying` | team only; residual wholesale if no `## Merge semantics` | per-section when declared | | `code-metrics` | later layer | per-key | | `repo-fleet-hygiene` | `--config` then team then user-global | whole-file, no per-key | | `work-items` | personal override on the allowlist | per-key personal override | | `work-items` (recurring schedule) | team only | single-layer | | `work-items` (settings keys) | team; `true` in any layer for the five `bug_path.fix_gate` floors (policy floor) | per-key | | `guardrails` | team | per-key | | `songwriting` | project override over the bundled default | whole-file per template, no per-key | | `songwriting` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `ai-slop` | later layer | per-key (lists replace) | | `ai-slop` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `attribution` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `code-tidying` (`upkeep_*`) | team, then the default | per-key | | `code-tidying` (`comment_lint*`) | team, then the default | per-key | | `code-tidying` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `docs-naming` | later layer; team on named policy-floor keys | per-key | | `rendered-views` | the publish trust walk, not plain precedence: the argument decides alone; a `terminal` or `file` value from any layer keeps the view local; a publishing value counts only from the untracked, gitignored personal override, then `userConfig`; a team file never publishes; with no layer deciding, the lane's own default | per-key | | `testing` (`run-e2e`) | later layer | per-key | | `testing` (`write`) | later layer | per-key | | `testing` (`audit`, `test-weaken`) | later layer; the first present of `testing.yaml`, the docs block and `.claude/testing.yaml` in the team layer | per-key (scalars override, lists concatenate) | | `testing` (`check-visual-parity`) | lowest value (policy floor) | per-key | | `testing` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `plugin-quality` | team via pointer line | convention doc | | `plugin-quality` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `plugin-quality` (`standards_repo`) | the team file in the working tree; unset resolves no standards repository | per-key | | `architecture` | team via pointer line | convention doc | | `harness-config` (`audit-pass`) | team on conflict (policy-floor) | per-key | | `architecture` (`adr`) | later layer | per-key | | `architecture` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `architecture` (`improve`) | later layer; the invocation prompt for one run | per-key (lists replace) | | `improvement` | later layer, then the invocation prompt for one run; lowest value for `find_open_item_cap` (policy floor) | per-key; `churn_exclude` unions; `evidence_sources` merges per name | | `authoring-formats` | team via pointer line | convention doc | | `instruction-placement` | team on conflict (policy-floor) | per-key | | `overengineering` | team on conflict for protected keys | per-key | | `multi-agent` | later layer | per-key | | `multi-agent` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `external-agents` | later layer | per-key | | `review-digest` | later layer; `--policy` over every layer | per-key (lists replace) | | `reviewer-media` | later layer; `--policy` over every layer | per-key (lists replace) | | `playbooks` | later layer | per-key | | `playbooks` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `implementation` | `true` in any layer (policy floor) | per-key | | `implementation` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `education` | later layer | per-key | | `education` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `session-flow` | later layer; the narrower layer for `transcript_scope` | per-key | | `session-flow` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `discovery` | later layer; a per-run `--output` argument over both | per-key | | `discovery` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `review` | later layer; `report` in any layer for `downstream_probe` (policy floor) | per-key | | `planning` | later layer; for `plan_reader`, the plan's recorded `Reader depth:` line and then a per-run `--reader` argument over both | per-key | | `planning` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `docs-hygiene` | later layer | per-key | | `docs-hygiene` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `discipline` | later layer | per-key | | `discipline` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `adhd` | later layer | per-key | | `visualization` (`hosted_canvas`) | `deny` in any layer (policy floor), else the `allow` default | per-key | | `visualization` (`diagram_target`) | later layer, else the `auto` default | per-key | | `harness-config` (`audit-automation-gaps`) | later layer | per-key | | `harness-config` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `verification` | stricter layer for `proof_level`; later layer for `live_workers` | per-key | | `verification` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `mutation-testing` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `debugging` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `explainer-video` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `knowledge` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `event-storming` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `event-storming` (`board_dir`) | the team value, else the `docs/event-storming` default | per-key | | `work-items` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `codebase-health` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `developer-experience` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `harness-ops` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `harness-ops` (`registry_dir`) | later layer | per-key | | `playwright` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `writing` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `wizard` (`verification`) | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | | `docs-cache` | flag, then `DOCS_CACHE_*`, then the machine file | per-key | | `user-interface` | later layer; `routing` team only | per-key (`*.disable` lists union); prose concatenates | | `domain-driven-design` | later layer | per-key | | `corrections` (`findings-buffer`) | the user-scope binding, when it applies, over the later layer | per-key | | `corrections` (`corrections`) | later layer | per-key | | `prototype` | later layer; for one run, a level the request names and then a `--level` argument over every layer | per-key | | `knowledge` | later layer; a per-run `--out` argument over the team file | per-key | - **Claim:** the glance table is generated from the Implementers rows; engines are not unified. - **Basis:** #3575 and `scripts/sync-config-cascade-semantics.py`. - **Recheck:** operators still miss the row, then add the per-setup check line. ## Implementers A surface is listed here whether or not it conforms, so the gap stays visible. Each row states the surface's conformance **as it exists on `main`**, never as a migration intends it to be; a row written ahead of the code would show a gap as closed while it is still open. Every row fills `Who wins` and `Merge form` with one short phrase each, never blank, and `Floor direction` with a value from the policy-floor section above, taken from the row's `Who wins` cell as it stands on `main` (`no-floor` when the surface has no policy-floor key). Every row below is currently expressed as a **dedicated file**; a surface that migrates to a convention doc under the expression doctrine above rewrites its row in the same PR (the path becomes the convention home, layers becomes `team, via pointer line`, who wins becomes `team via pointer line`, merge form becomes `convention doc`, and conformance becomes the retirement record id). A structured surface that adopts the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) keeps its layers and merge form, names both team-layer locations in the path column, and states the precedence in its conformance cell. | Surface | Floor direction | Consumer config path | Layers | Who wins | Merge form | Conformance | |---|---|---|---|---|---|---| | `source-control` | team-only | team: `docs/conventions/source-control.yaml` (schema `plugins/source-control/schemas/source-control.schema.json`); user-global `~/.claude/source-control.md`; personal override `.claude/source-control.local.md` | all three | later layer; team on the merge-rung; fail-closed on a bad `branch_issue_pattern` | per-key | conforms (per-key override, #660), except the declared fail-closed stop on an unusable `branch_issue_pattern` layer (#4673, see Declared) and the gitignore append of the recursive personal override line ([ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#the-fifteen-conventions-vetting-fixes), fix 8); `parse-branch-issue.sh` implements the home-root rule (#4672): team and personal override are not applicable when the resolved root is `$HOME` or an ancestor of it, or is not inside a git working tree, and a team/personal override path that physically equals the user-global file is skipped; setup `apply layer=team` / `layer=local` refuse in that state; the resolver is `plugins/source-control/lib/config-root.sh`, and other plugins carry it as in [Root rule by plugin](#root-rule-by-plugin). Enforcement reads team-tracked, then, for `subject_pattern` only where the team tracks none, a git-ignored personal `docs/conventions/source-control.local.yaml`, never merged, per [`commit-convention`](../commit-convention/README.md); loop-lane keys (`babysit_loop_*`, read by the source-control babysit lane; the work-items lanes tie in via the loop-lane convention only) ride the same files, with the merge-rung key in the policy-floor class: standing raises bind from the team-tracked layer only, and the one named single-invocation exception is an explicitly typed argument rather than a config value in any layer, per [`loop-lane`](../loop-lane/README.md). The retired team file `.claude/source-control.md` is not read; `/source-control:setup check` names it while it is tracked | | `source-control` (`pr_open_state`) | no-floor | team: `docs/conventions/source-control.yaml` (schema `plugins/source-control/schemas/source-control.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team, then the invocation | request, then team, then `userConfig`, then the `ready` default; an unknown value resolves to `draft` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `~/.claude` file and no personal override. A value other than `draft` or `ready` at either level is reported, naming the level, and resolves to `draft`, so an unknown value never opens a PR ready. The team file is read from the PR's base branch through the contents API, never the working tree or the head branch, and only when the root classifies as `repo`; an unattended run follows the resolved value like an attended one. The same file also carries `pre_ready` (team only, read at the base branch by `skills/pull-request/scripts/read-pre-ready.sh`); this row covers `pr_open_state`. Keys owned by [`plugins/source-control/reference/config-resolution.md`](../../../plugins/source-control/reference/config-resolution.md) "YAML keys". Read by `/source-control:pull-request create`; hand-edited, since `/source-control:setup apply` does not write this file yet | | `toolchain` / `ecosystem-commands` | no-floor | team `docs/conventions/ecosystems/.yaml`; personal override `docs/conventions/ecosystems/.local.yaml`; user-global `~/.claude/ecosystems/.yaml`; the legacy `.claude/ecosystems/` file of the same name while the new one is absent | all three | later layer | per-key | conforms to the location axis, except two deviations the [ecosystem-commands contract](../ecosystem-commands/README.md#location-recorded-deviations) declares: one file per ecosystem in a folder, and the user-global file layer. With both a new and a legacy file the new one wins and the reader names both; the legacy read ends in that contract's next major version | | `codebase-health` | no-floor | team `/codebase-health.md`; per user: the file the plugin's `dimensions_file` `userConfig` option names; personal override `/codebase-health.local.md` | all four | later layer | concatenate | conforms (concatenating, with a declared empty-list opt-out) on the four layers. Dual-read window: while `.claude/codebase-health.md` or `.claude/codebase-health.local.md` exists it still supplies its layer where the new location does not, declared by the `migrate` retirement records `codebase-health-r001` and `codebase-health-r002` ([retired-conventions](../retired-conventions/README.md)); the machine-scope `~/.claude/codebase-health.md` is read the same way while `dimensions_file` is unset, outside that mechanism. Each run prints one warning naming the old file, and `/codebase-health:setup apply` moves it and deletes it after a yes. The dimensions are a nested structure `userConfig` cannot hold, so the per-user layer is one `file` option. Layers and merge owned by the plugin's [`reference/config.md`](../../../plugins/codebase-health/reference/config.md); read by `/codebase-health:audit`, checked and written by `/codebase-health:setup` | | `bugs` | no-floor | team: `docs/conventions/bugs.yaml` (schema `plugins/bugs/schemas/bugs.schema.json`) for the keys and `docs/conventions/bugs.md` for `## Gotchas`; per user: the file the `gotchas_file` `userConfig` option names; personal override `docs/conventions/bugs.local.md` | all three | later layer | lanes concatenate; `## Gotchas` concatenates; `filing_posture` nearest-wins | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)). Declared deviation from [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md): the team and personal override files sit at `docs/conventions/` whatever home the repository binds. In a dual-read window, `~/.claude/bugs.md` and `.claude/bugs.local.md` are still read where the new file for their layer is absent, each run warns once per old file, and `/bugs:setup apply` moves and then deletes them. `lanes` concatenate and deduplicate by lane `name`, with a declared empty-list opt-out that also drops the bundled defaults, and `filing_posture` is a nearest-wins scalar, deprecated here: it moved to the `work-items` team file, and `/bugs:scan` reads the bugs layers for it for one release only when that file does not set it. A `## Gotchas` section concatenates across layers and is pre-computed by `/bugs:scan` and `/bugs:write`. Keys owned by the plugin's `reference/config.md`, which also partitions them from the plugin's `output_dir` `userConfig` option. That option is never a key in these files, and a layer declaring it is reported as an inert unknown key. Written by `/bugs:setup apply` (the team YAML, plus the gated old-path move; `.claude/bugs.local.md` is retirement record `bugs-r001`), read by `/bugs:scan` | | `bugs` (`verification`) | team-only | team: `docs/conventions/bugs.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/bugs/schemas/bugs.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/bugs:scan`, which passes `--file docs/conventions/bugs.yaml` so the reader skips the convention home. This row covers `verification` and `verification_skills` | | `github` | team-only | `.claude/github/` (`routing.yaml` per-key override, `conventions.md` concatenating) | all three | team on write-posture keys; later layer otherwise | per-key (`routing.yaml`); concatenate (`conventions.md`) | conforms; policy-floor inversion on write-posture routing keys, declared in the plugin's `change-routing.md` | | `autonomy` | no-floor | `.claude/autonomy/binding.json` | all three, plus an org rung | later layer except security axes | declared | declared deviation | | `standards` (`planning`, `review`) | team-only | `/`, rooted by `.claude/standards.yaml` | all three | team on conflict (policy-floor) | add/tighten | precedence inversion ratified via policy-floor class (#649); layer location outside `.claude/` ratified in place as a declared exception ([ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md)) | | `disk-hygiene` | no-floor | `/disk-hygiene.yaml` | all three (`userConfig` is the JSON file the `policy_file` option names) | later layer; `--policy` replaces every standing layer | additive standing layers | declared deviation: stops on an unusable layer (see Deviations); the old `~/.claude/disk-hygiene.json` and `.claude/disk-hygiene.json` are read in their layer's place, with a warning, until each is moved; `elevation: uac-prompt` only from the `policy_file` file or `--policy` | | `ai-briefing` | no-floor | `.claude/ai-briefing/` | team only | team only | no personal override | declared deviation; team-only, no personal override (#3580). Named profile selection (`--profile`, `active_profile`, or `.claude/ai-briefing//`) is profile selection, not a `*.local.*` cascade layer. `sources.md`, optional `audience.md`, and optional `brand.json` are tracked profile files in the selected directory, not personal overrides | | `code-tidying` | no-floor | `.claude/tidy-lanes/.md` | team only | team only; residual wholesale if no `## Merge semantics` | per-section when declared | declared deviation; no user-global or `*.local.*` personal override (#723). Team layer over a bundled default. A project lane declaring `## Merge semantics` merges per-section with its bundled lane (`Scope` per-section override, watch-for patterns additive, per `docs-prose` #701 and `shell-tooling` #724). Residual deviation: a project lane that declares nothing still resolves project-only wholesale, the first-match fallback retained in #701 so unmigrated consumer lanes keep working, undeclared at the layer that takes it. Personal variation is limited to lane names the team does not track, an uncommitted `.claude/tidy-lanes/.md` never added to the index; gitignoring a path the team already tracks does not make it personal | | `code-metrics` | no-floor | team `docs/conventions/code-metrics.yaml` (ADR 0064; schema `plugins/code-metrics/schemas/code-metrics.schema.json`); `userConfig`: the YAML file the `config_file` option (type `file`) names, passed to the scripts as `--user-file`; personal override `docs/conventions/code-metrics.local.yaml` | all three, plus the old files of the dual-read window | later layer | per-key | conforms to [the layers](#the-layers) (per-key override, declared because every value is a scalar or a closed list: `scope.exclude` and `lanes..collectors.` replace whole), except declared divergences from "Resolution algorithm": (1) the root is `git rev-parse --show-toplevel`, else the working directory, and `CLAUDE_PROJECT_DIR` is not read (`plugins/code-metrics/scripts/resolve-config.py:246-259`; step 1); (2) no home-root or same-file classification of the team and personal override paths (`resolve-config.py:291-385`; step 2). The team layer is the docs file alone: the retired `.claude` team file of earlier releases is never read (`resolve-config.py:353-385`), and `/code-metrics:setup check` reports it. A layer outside the YAML subset reads as absent, and a value of the wrong shape is dropped by file, key and value and resolves from a valid higher layer, else the bundled default, never a lower layer; neither stops the run (`resolve-config.py:153-191,406-429`; ADR 0064 Decision 7). Unknown keys inert. Keys owned by [`plugins/code-metrics/reference/config.md`](../../../plugins/code-metrics/reference/config.md). The team and personal override files sit at `docs/conventions/` whatever home the repository binds. The `config_file` value is unset when empty or unsubstituted, expands a leading `~/`, and is skipped with a warning when still not absolute. Dual-read window: the old `~/.claude/code-metrics.yaml` is still read as the `userConfig` layer, and the old `.claude/code-metrics.local.yaml` as the personal layer, each only while its layer's new file is absent or outside the YAML subset; each run names each old file and its new location in one warning, and removing those reads is a later change. Written by `/code-metrics:setup apply`: the team layer, carrying every declared key of a retired `.claude` team file, and, through `apply --copy-old` after a preview and a yes, the `config_file` option's file with the old user-global keys (none while the option is unset) and the personal override with the old personal keys, leaving the old files in place; read by every audit skill. The consumer's `docs/conventions/ecosystems/.yaml` files are a separate convention (ecosystem-commands); this surface does not absorb them. **Claim:** the plugin implements this row with the declared divergences above. **Basis:** `plugins/code-metrics/reference/config.md` "Layers and merge form" and the cited `resolve-config.py` lines. **As of:** 2026-11-21. **Recheck:** when that section adds a layer, changes merge form, or starts owning an ecosystem-commands key | | `repo-fleet-hygiene` | no-floor | `.claude/repo-fleet-hygiene.conf` | user-global + team | `--config` then team then user-global | whole-file, no per-key | declared deviation; whole-file precedence (explicit `--config` > team > user-global fallback), no per-key merge, no personal override layer (#1099) | | `work-items` | no-floor | the `tracker` mapping of `/work-items.yaml` | team + personal override | personal override on the allowlist | per-key personal override | declared deviation ([ADR 0015](../../adr/0015-bind-the-tracker-at-repo-root-with-an-allowlisted-personal-overlay.md), superseded by ADR 0075): layers live in the convention home, not under `.claude/`; personal override (`/work-items.local.yaml`) merges per-key over a deny-by-default allowlist (lease TTL, jira/linear/gitea auth identity, `docs`); deliberately no user-global layer, since a cross-repo personal rung would reopen the per-user provider trap the allowlist forecloses. Anchors at the repo root (`CLAUDE_PROJECT_DIR`, else git toplevel), no CWD climb. The personal override's gitignore line is outside the `.claude/**/*.local.*` one-liner, so `/work-items:setup apply` appends it, announced, a declared exception to the recommend default (ADR 0015) | | `work-items` (recurring schedule) | no-floor | `.github/recurring-schedule.json` | team only | team only | single-layer | declared deviation ([ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md)): the schedule lives under `.github/`, not `.claude/`, tracked and team-shared with no user-global layer and no personal override. Written by `track add` and `track recheck`; read by `track audit`, `done`, `due`, `search` and `stats`, by `work` candidate discovery, and by `setup`, which also writes it; anchors at `CLAUDE_PROJECT_DIR`, else git toplevel. Separate from the tracker binding row above | | `work-items` (settings keys) | any-layer-wins | team: `docs/conventions/work-items.yaml` (schema `plugins/work-items/schemas/work-items.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | team; `true` in any layer for the five `bug_path.fix_gate` floors (policy floor) | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)), with the layer order of its Decision 8: the manifest default, then `userConfig`, then the team file; no `~/.claude` file and no personal override. Keys are `triage_repro_count`, `triage_objection_window_hours` and `ai_disclaimer`; `triage_cluster` (signature-cluster defaults) has the team layer only. A value outside a key's range is named with its file, key and value, and that layer is dropped; the key then takes its manifest default, never a lower layer. This repository's file sets `ai_disclaimer: false`. The triage keys are read by `/work-items:triage` only, through `skills/triage/scripts/parse-concern-value.sh` from the repository root, or at a pinned ref under `--config-ref`; the `/work-items:work-loop` admission gate reads the window's end from the marker comment triage posts, not the file. `ai_disclaimer` is read through the same script by each lane that follows `plugins/work-items/reference/ai-disclaimer.md`. `bug_path.fix_gate` (team file only, no `userConfig` option) is read by `/work-items:work` through the same script with `--ref origin/`, so a branch cannot loosen it; its floor keys `confirmed_repro`, `evidence_reviewed`, `no_fix_artifact`, `no_human_claim` and `root_cause_evidenced` default `true`, and a `false` is named and ignored, while `before_after_runnable`, `budget_minutes` and `scope` are plain keys. Hand-edited, since `/work-items:setup apply` does not write this file yet | | `guardrails` | no-floor | team: `docs/conventions/guardrails.yaml` (schema `plugins/guardrails/schemas/guardrails.schema.json`) | team only, over the plugin default | team | per-key | declared deviation: one key, `fix_request_post` (`block` default, `allow`), read by `hooks/block-fix-request-post.sh` from the session's repository (the payload's cwd) at its local `origin/HEAD`, never the working tree or index, and applied whichever repository the post targets; no personal override and no `userConfig` value of the key (the guard's `block_fix_request_post_enabled` switch stays a separate per-user escape). A value other than `allow` or `block`, or a file that does not parse, is named and keeps `block` | | `songwriting` | no-floor | `songwriting/templates/pat-pattison/.md` | team only, over a bundled default | project override over the bundled default | whole-file per template, no per-key | declared deviation ([ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md)): the override path is under `songwriting/`, not `.claude/`. One tracked team file per template wins whole over `${CLAUDE_PLUGIN_ROOT}/context/pat-pattison/templates/.md`, the first match, and freezes that template against plugin updates; no user-global layer and no personal override. The ADR rules on location only. Written by `/songwriting:setup apply`, read by the craft skills | | `songwriting` (`verification`) | team-only | team: `/songwriting.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/songwriting/schemas/songwriting.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/songwriting:co-write` and `/songwriting:revise`. This row covers `verification` and `verification_skills` | | `ai-slop` | no-floor | team: `/ai-slop.yaml` (ADR 0075; schema `plugins/ai-slop/schemas/ai-slop.schema.json`); user-global `~/.claude/ai-slop.json`; personal override `/ai-slop.local.yaml` | all three | later layer | per-key (lists replace) | conforms; per-key override, resolved by `/ai-slop:audit` (user-global, team, personal override). The old JSON team and personal override files of the same names under `.claude/` are not read; `/ai-slop:setup apply` offers to carry the old team file's values into the YAML. Four list keys are additive-by-replacement rather than merged (`vocab_add` / `vocab_remove` tune the shipped word list, `phrase_add` / `phrase_remove` the shipped model-era phrase roster; the later layer's list wins per key). No policy-floor class: every key is a taste dial over prose style, and a personal override that silences a rule weakens nothing another plugin depends on. Keys owned by `/ai-slop:setup`; `_comment` is an allowed free-text annotation, not drift | | `ai-slop` (`verification`) | team-only | team: `/ai-slop.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/ai-slop/schemas/ai-slop.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/ai-slop:audit`. This row covers `verification` and `verification_skills` | | `attribution` (`verification`) | team-only | team: `/attribution.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/attribution/schemas/attribution.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/attribution:audit`. This row covers `verification` and `verification_skills` | | `code-tidying` (`upkeep_*`) | no-floor | team: `/code-tidying.yaml` (schema `plugins/code-tidying/schemas/code-tidying.schema.json`) | team only | team, then the default | per-key | declared deviation: no `userConfig` option and no personal override, since `upkeep_max_open` protects a shared review queue. A value outside the schema, or a file that does not parse, is named with its file and key and resolves to the default. Keys owned by [`plugins/code-tidying/reference/config.md`](../../../plugins/code-tidying/reference/config.md); read through `skills/tidy/scripts/upkeep-setting.sh` by `open-pr-count.sh` and the upkeep gate. `upkeep_spec_issue` has no default: the upkeep gate fails without it | | `code-tidying` (`comment_lint*`) | team-only | team: `/code-tidying.yaml` (schema `plugins/code-tidying/schemas/code-tidying.schema.json`) | team only | team, then the default | per-key | declared deviation: no `userConfig` option and no personal override, since the lint is a shared gate on what a change may add. `comment_lint` defaults to `off`, and `comment_lint_allow` and `comment_lint_exclude` to an empty list; a level outside the schema is named with its file and resolves to `off`. The commit-time hook reads the working tree's file; a CI gate reads the merge base's, so a branch cannot lower its own level. Read through `scripts/comment-settings.sh` by the `comment-lint` git-hook entry. This row covers `comment_lint`, `comment_lint_allow` and `comment_lint_exclude` | | `code-tidying` (`verification`) | team-only | team: `/code-tidying.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/code-tidying/schemas/code-tidying.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/code-tidying:batch-simplify`. This row covers `verification` and `verification_skills` | | `docs-naming` | team-only | team: `docs/conventions/docs-naming.yaml` (ADR 0064; schema `plugins/docs-naming/schemas/docs-naming.schema.json`); `userConfig` option `file_names` (one JSON object of `file_names` keys); personal override `docs/conventions/docs-naming.local.yaml` | all three | later layer; team on named policy-floor keys | per-key | conforms. The old team and personal override files, `.claude/docs-naming.json`, `.claude/docs-naming.local.json` and their retired `docs-hygiene` names, are not read; retirement records `docs-naming-r001` and `docs-naming-r002` are `report-only`, `/docs-naming:setup check` names each old file it finds, and while the YAML is absent the first `/docs-naming:setup apply` write copies the old team file's keys into it. In a dual-read window, while the option is unset or invalid, the old user file `~/.claude/docs-naming.json`, else `~/.claude/docs-hygiene.json`, is read in the option's place; every `resolve` run that finds either file WARNs naming it and the option, and `/docs-naming:setup apply` previews copying its keys into the option, leaving the file in place. Removing that read is a later change; per-key override on `file_names.*`, with a policy-floor class on `tiers`, `generated`, `sweep_exclude`, `sweep_exclude_sites`, and the three `exempt_*` keys: a personal layer may add entries and never remove them, and `generated` is team-layer only. Those keys decide what `/docs-naming:realign-file-names` does to a tree (which files are frozen, which reference forms are rewritten, and which shell command runs after a move), so narrowing one from a single machine would weaken a team decision, while adding a scope root or an exemption weakens nothing and stays open. `rule`, `regex`, and `redirect_map` are nearest-wins. Keys owned by [`plugins/docs-naming/reference/config.md`](../../../plugins/docs-naming/reference/config.md), which also documents the `file_names` option (a key inside it that is not a `file_names` key is inert). Written by `/docs-naming:setup apply`, resolved by `plugins/docs-naming/scripts/resolve-config.sh` | | `rendered-views` | no-floor | team `docs/conventions/rendered-views.yaml`, personal override `docs/conventions/rendered-views.local.yaml`, and each view-lane plugin's `medium` `userConfig` option; the retired `~/.claude/rendered-views.md` and `.claude/rendered-views*.md` give a notice, never a value | `userConfig`, team and personal override | the publish trust walk, not plain precedence: the argument decides alone; a `terminal` or `file` value from any layer keeps the view local; a publishing value counts only from the untracked, gitignored personal override, then `userConfig`; a team file never publishes; with no layer deciding, the lane's own default | per-key | declared deviation from later-layer-wins: `medium` decides whether a view leaves the machine, so a branch-writable layer can keep a view local but never publish it. An invalid value is reported and ignored without dropping another layer's value. Keys owned by [`rendered-views`](../rendered-views/README.md#the-rendered-views-settings). Resolved by `lib/view-settings.mjs`, which reads each layer with `readLayers` | | `testing` (`run-e2e`) | no-floor | `/testing/e2e.md` and `/testing/e2e.local.md` for `recording` / `browser_mode`, the old `.claude/testing/e2e.md`, `.claude/testing/e2e.local.md` and `~/.claude/testing/e2e.md` still read with a warning where no `` file supplies the layer; `/testing/worst-case.md` (old `.claude/testing/worst-case.md` the same way) for the worst-case catalog extension; `docs/conventions/testing.yaml`, `~/.claude/testing.yaml` and `.claude/testing.local.yaml` for `e2e_driver` / `reuse_running_instance` / `browser_driver` and the `map` scope's `map_unit` / `map_entry_points` / `map_report_order` / `file_findings` / `file_findings_floor`, over the plugin's `userConfig` | all three | later layer | per-key | conforms; per-key override, keys owned by `/testing:run-e2e`. The YAML keys are resolved by `resolve-config.sh e2e` and `resolve-config.sh map`, which report the supplying layer and resolve an unknown or refused value to the default without stopping | | `testing` (`write`) | no-floor | `docs/conventions/testing.yaml` and `.claude/testing.local.yaml` for `tdd_refactor_step` (`on` \| `off`, default `on`) and `first_test` (`user-flow` \| `unit`, default `user-flow`); no user-global file, no `userConfig` | team + personal override | later layer | per-key | declared deviation: repository settings, so the user-global layer is skipped with a warning. Keys owned by `/testing:write`; resolved by `resolve-config.sh write`, which reports the supplying layer and resolves an unknown value to the default without stopping | | `testing` (`audit`, `test-weaken`) | no-floor | team: `docs/conventions/testing.yaml` (schema `plugins/testing/schemas/testing.schema.json`), else the `yaml config` block in `docs/conventions/testing.md` (read for one more release), else `.claude/testing.yaml`; user-global `~/.claude/testing.yaml`; personal override `.claude/testing.local.yaml` | all three | later layer; the first present of `testing.yaml`, the docs block and `.claude/testing.yaml` in the team layer | per-key (scalars override, lists concatenate) | conforms to [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md), except the declared stop on an unusable layer, which replaces rule 5's soft degrade and its inert unknown keys (see Declared): one warning names each shadowed team file. Keys and layer merge owned by `plugins/testing/scripts/resolve-config.sh`; written by `/testing:setup apply`, read by `/testing:audit` and the `test-weaken` hook, which skip the `run-e2e` and `write` keys the same file carries | | `testing` (`check-visual-parity`) | lowest-value | team: `docs/conventions/testing.yaml` read from origin's default branch (the working tree only when the repository has no `origin`); user-global `~/.claude/testing.yaml`; personal override `.claude/testing.local.yaml`; per user: the plugin's `pixel_tolerance` `userConfig` option | all three, plus the user option | lowest value (policy floor) | per-key | declared deviation from [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) Decision 5's floor wording, as the `implementation` row: the `pixel_tolerance` map keeps a tighten-only `userConfig` option. The team value, else the default 0, is the ceiling; a personal layer or the option can only lower it, and a raise is reported as ignored. An invalid layer is named with its file or option, key and value and dropped (Decision 7). Resolved by `visual-compare.sh config` in `/testing:check-visual-parity`, which reports the supplying layer; the test scan skips the map and `/testing:setup apply` keeps it | | `testing` (`verification`) | team-only | team: `docs/conventions/testing.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/testing/schemas/testing.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/testing:cleanup`, which passes `--file docs/conventions/testing.yaml` so the reader skips the convention home. This row covers `verification` and `verification_skills` | | `plugin-quality` | no-floor | convention doc at the consumer's convention home, `/plugin-quality/README.md` (the pointer line binds ``) | team, via pointer line | team via pointer line | convention doc | migrated (expression-doctrine pilot, ADR 0018): conformance is retirement record `plugin-quality-r001` (dual-read window while the retired `.claude/plugin-quality.md` persists: WARN-visible, the file reads as authority until cleaned); personal override layer retired by `plugin-quality-r002`, user-global layer retired prose-only (machine scope, outside the manifest); keys owned by the plugin's `reference/config.md` | | `plugin-quality` (`verification`) | team-only | team: `/plugin-quality.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/plugin-quality/schemas/plugin-quality.schema.json`), beside the topic doc, which keeps the plugin's other keys | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/plugin-quality:audit`. This row covers `verification` and `verification_skills` | | `plugin-quality` (`standards_repo`) | team-only | team: `/plugin-quality.yaml`, beside `verification` (schema `plugins/plugin-quality/schemas/plugin-quality.schema.json`) | team only | the team file in the working tree; unset resolves no standards repository | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. Read by the plugin-quality auditor agent for its Standards alignment section | | `architecture` | no-floor | convention doc at the consumer's convention home, `/architecture/README.md` (the pointer line binds ``) | team, via pointer line | team via pointer line | convention doc | new surface under the expression doctrine, so there is no retirement record: nothing migrated into it, no dedicated-file layer was ever expressed, and no dual-read window exists. `architecture_dir` has no default (an undeclared, unconfirmed value stops every `/architecture:map-*` skill and routes to `/architecture:setup` rather than picking a directory); `landscape_dialect` defaults to `mermaid` and is read by `map-landscape` alone; the other map views take their dialect from `authoring-formats`. Optional `component_layers` is read by `map-components`. Keys owned by the plugin's [`reference/config.md`](../../../plugins/architecture/reference/config.md#map-family-dialect-decision), which maps that landscape key against `authoring-formats`'s `diagram_dialect.system` rather than restating mermaid fitness here; written by `/architecture:setup apply`, read by every `/architecture:map-*` skill for `architecture_dir` | | `harness-config` (`audit-pass`) | team-only | team: the `suppressions` mapping of `/harness-config.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/harness-config/schemas/harness-config.schema.json`); `userConfig`: the file the `audit_pass_suppressions_file` option names; personal override `/audit-pass.local.md`; the old `~/.claude/audit-pass.md` and `.claude/audit-pass.local.md` are still read, each with a warning, while no new file supplies its layer | all three | team on conflict (policy-floor) | per-key | conforms; per-key override (suppression entries merge per `finding_id`), plus policy-floor inversion: the team layer wins a direct conflict, since a personal override suppressing a finding the team never accepted is the weakening this class prevents. The team layer follows the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)), and a YAML that does not parse drops the team layer. Dual-read window: while `.claude/audit-pass.local.md` exists it still supplies the personal layer where `/audit-pass.local.md` does not, declared by the `migrate` retirement record `harness-config-r001` ([retired-conventions](../retired-conventions/README.md)); the machine-scope `~/.claude/audit-pass.md` is read the same way while `audit_pass_suppressions_file` is unset, outside that mechanism. `/harness-config:setup apply` moves each old file after a preview and a yes, checks the new file resolves the same entries, then deletes the old one, the repository file through that record's cleanup. Rule 4 holds: `plugins/harness-config/skills/audit/scripts/audit-engine.sh` lists each layer with the file read and its state, and names the layer and file of each applied entry. Keys owned by [`finding-suppression`](../finding-suppression/README.md) | | `architecture` (`adr`) | no-floor | team `/architecture.yaml`, personal override `/architecture.local.yaml` (schema `plugins/architecture/schemas/architecture.schema.json`); per user: the plugin's `adr_template` and `adr_retirement` `userConfig` options | `userConfig` + team + personal for `adr_template` and `adr_retirement`; team + personal for `adr_extra_triggers` | later layer | per-key | conforms to [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md); keys owned by the plugin's [`reference/config.md`](../../../plugins/architecture/reference/config.md#decision-record-keys) and read in skill text by `/architecture:adr`, with no reader script. A repository's own ADR convention wins over `adr_template`. No folder-level layer | | `architecture` (`verification`) | team-only | team: `/architecture.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/architecture/schemas/architecture.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file, and `architecture.local.yaml` does not set it. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/architecture:improve`. This row covers `verification` and `verification_skills` | | `architecture` (`improve`) | no-floor | team `/architecture.yaml`, personal override `/architecture.local.yaml` (schema `plugins/architecture/schemas/architecture.schema.json`) | team + personal, then the invocation | later layer; the invocation prompt for one run | per-key (lists replace) | conforms to [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md); no `userConfig` option and no `~/.claude` file. `skills/improve/scripts/improve-settings.mjs` resolves the `improve` object and reports an unknown key or rejected value with its file and key, and that value is dropped. Keys owned by the plugin's [`reference/config.md`](../../../plugins/architecture/reference/config.md#improve-keys); read by `/architecture:improve` | | `improvement` | lowest-value | team `/improvement.yaml` (schema `plugins/improvement/schemas/improvement.schema.json`); per user: the plugin's `userConfig` option of each key's name, `evidence_sources_file` for `evidence_sources`; personal override `/improvement.local.yaml` | all four, then the invocation | later layer, then the invocation prompt for one run; lowest value for `find_open_item_cap` (policy floor) | per-key; `churn_exclude` unions; `evidence_sources` merges per name | conforms on the four layers and the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename). Dual-read window: while `.claude/improvement.md` or `.claude/improvement.local.md` exists it still supplies its layer where the new location does not, declared by the `migrate` retirement records `improvement-r001` and `improvement-r002` ([retired-conventions](../retired-conventions/README.md)); the machine-scope `~/.claude/improvement.md` is read the same way for each unset `userConfig` option, outside that mechanism. Each run prints one warning naming the old file, and `/improvement:setup apply` moves it and deletes it after a yes. `find_open_item_cap` is the one policy-floor key: the team value, else the bundled default, sets it, the `userConfig` and personal override layers apply only when lower, the invocation prompt cannot raise it, and a higher personal value is ignored and reported. Keys owned by the plugin's [`reference/config.md`](../../../plugins/improvement/reference/config.md); read by `/improvement:find`, verified and written by `/improvement:setup` | | `authoring-formats` | no-floor | convention doc at the consumer's convention home, `/authoring-formats/README.md` (the pointer line binds ``) | team, via pointer line | team via pointer line | convention doc | declared under the expression doctrine as a new surface, not a migration: no retired dedicated file, no retirement record, no dual-read window. One layer, no personal override channel, unknown keys inert. Keys (`acceptance_criteria_format`, `diagram_dialect.data`, `diagram_dialect.system`) owned by [`authoring-formats`](../authoring-formats/README.md#c4-dialect-surfaces), which also states the ladder each consuming plugin restates in one bundled file and maps the system key against architecture's `landscape_dialect` rather than restating mermaid fitness here. `diagram_dialect.system` deliberately has no default, so an absent surface emits no C4 container view. No policy-floor class: both keys are team format choices, and the doctrine gives this class no personal layer to weaken them from. **Read on `main` by `/planning:interview` and `/planning:prd` (`acceptance_criteria_format`), by `/planning:design` (`diagram_dialect.data`, `diagram_dialect.system`), by `/architecture:map-data` (`diagram_dialect.data`), and by `/architecture:map-components`, `/architecture:map-context`, `/architecture:map-containers`, and `/architecture:map-deployment` (`diagram_dialect.system`)**, each resolving `` through its plugin's bundled `lib/resolve-convention-home.sh`. Any further consuming slice lands per skill and updates that doc's Consumers table in the same change | | `instruction-placement` | team-only | team: `/instruction-placement.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/instruction-placement/schemas/instruction-placement.schema.json`); personal override `/instruction-placement.local.yaml`; no `userConfig` option and no user-global file | team + personal override | team on conflict (policy-floor) | per-key | conforms to [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md). The old paths, `.claude/instruction-placement.md` for the team layer and `.claude/instruction-placement.local.md` and `~/.claude/instruction-placement.md` for the personal one, are still read while no new file supplies their layer, with a warning on every run that names `/instruction-placement:setup apply migrate-config`; that action moves each old file after a yes and deletes it. Per-key override (suppression entries merge per `finding_id`), plus policy-floor inversion: the team layer wins a direct conflict and a personal-only entry is reported `personal-only, not applied`, since a decline removes a placement proposal from every future report and a personal layer hiding one the team never accepted is the weakening this class prevents. `suppressions` is the file's only key today; the plugin's `userConfig` dials stay personal and are never keys here. Written (team layer only) by `/instruction-placement:realign` behind its per-item gate, read by `/instruction-placement:audit` and `/instruction-placement:delta`. Keys owned by the plugin's `reference/consumer-config.md`; suppression-entry keys by [`finding-suppression`](../finding-suppression/README.md) | | `overengineering` | team-only | team: `/overengineering.yaml` (schema `plugins/overengineering/schemas/overengineering.schema.json`); personal override `/overengineering.local.yaml`; in the dual-read window, `~/.claude/overengineering.md`, `.claude/overengineering.md` and `.claude/overengineering.local.md` | team + personal override, plus the old files in the dual-read window | team on conflict for protected keys | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename); no `userConfig` option and no user-global file, every key being per repository. The plugin retires the still-supported `.claude/overengineering.md` team location by its own choice, so the window covers it too. While an old file exists it is still read for its layer until the new file for that layer exists, and every run warns naming the old file and where to move it; removing those reads is a later change, made once no run reports an old file. Per-key override, plus policy-floor inversion on two key groups: the protected-categories set and the suppression entries (which merge per `finding_id`). On both, the team layer wins a direct conflict, personal layers may extend or tighten only, and a personal contribution is named in the report: a gitignored personal override emptying the protected set would defeat the plugin's FLAG-FOR-HUMAN cap on security-class artifacts, and a personal-only suppression is the same weakening `audit-pass` prevents above. Narrowing or emptying the protected set stays available on the tracked layer, spelled one category at a time so the diff names each protection dropped. The threshold and observation-window keys take ordinary refinement. Keys owned by the plugin's `reference/consumer-config.md`; suppression-entry keys by [`finding-suppression`](../finding-suppression/README.md) | | `multi-agent` | no-floor | team: `/multi-agent.yaml`, `` being the bound convention home, else `docs/conventions`; `userConfig`: the file the `role_map_file` option names; personal override `/multi-agent.local.yaml`. Until `/multi-agent:setup apply --migrate` moves them, the old `~/.claude/multi-agent.yaml` and `.claude/multi-agent.local.yaml` still supply their layer while its new file is absent, and each run names each old file in `notes` | all three | later layer | per-key | the team file is validated by `plugins/multi-agent/schemas/multi-agent.schema.json`. The old team locations, the config block in `docs/conventions/multi-agent.md` and `.claude/multi-agent.yaml`, are not read; `/multi-agent:setup check` names each one it finds, and while the YAML is absent the first `/multi-agent:setup apply --layer team` write copies one old file's keys into it, leaving that file in place. Rule 5 holds: a layer that does not parse or names another schema is skipped and named, and an unknown key or a value outside its allowed set is reported and inert. No policy-floor class: every key is a routing dial, and turning the fan-out guard off is a documented opt-in on whichever layer sets it. Keys owned by [`plugins/multi-agent/reference/config.md`](../../../plugins/multi-agent/reference/config.md); resolved by `plugins/multi-agent/scripts/resolve-roles.sh`, read by `/multi-agent:route`, `/multi-agent:audit-defaults` and `/multi-agent:setup check`; written by `/multi-agent:setup apply` (any of the three layers, after a preview and an explicit yes) | | `multi-agent` (`verification`) | team-only | team: `/multi-agent.yaml`, the role map's team file (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/multi-agent/schemas/multi-agent.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, and the user-global and personal files do not set it: `scripts/resolve-roles.sh` passes over the keys in every layer, and `/multi-agent:setup apply` writes them to the team layer only. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/multi-agent:audit-defaults`. This row covers `verification` and `verification_skills` | | `external-agents` | no-floor | team: `/external-agents.yaml` (schema `plugins/external-agents/schemas/external-agents.schema.json`), `` being the bound convention home, else `docs/conventions`; per user: the plugin's `userConfig` options `antigravity_uses_task_mode`, `antigravity_uses_investigate_mode`, `codex_uses_task_mode` and `codex_uses_investigate_mode`; personal override `/external-agents.local.yaml` | all four | later layer | per-key | conforms: read through `resolve` by `plugins/external-agents/scripts/lib/config.mjs` over the bundled `defaults.json`; the `userConfig` options reach the Bash-run CLI through channel F of [`hook-config-delivery`](../hook-config-delivery/README.md) (the shared `lib/plugin-options.mjs` reader), and a settings file that cannot be read is reported and sets no option; no `~/.claude` file and no `.claude/*.local` file. Declared exception: `.binary_path` is honored only from the personal override and only when absolute, since it picks the executable that runs; a team value is reported and ignored | | `review-digest` | no-floor | per user: the review plugin's `digest_*` options; team: `docs/conventions/review-digest.yaml`; personal override `docs/conventions/review-digest.local.yaml` | `userConfig` + team + personal override | later layer; `--policy` over every layer | per-key (lists replace) | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename): the team layer is the YAML file alone, the [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file. Dual-read window: the old `~/.claude/review-digest.json` and `.claude/review-digest.local.json` are still read just below the layer that replaces each, with one warning per file per run naming `/review:setup apply`, which moves them. Rule 5 holds: a layer that does not parse is named and skipped, an invalid value is reported and ignored, and an unknown key is inert. Declared deviation from the per-layer verdicts: an untracked team layer is reported and resolved as absent rather than stopping, and a personal override that is not gitignored is reported and still applied, since every key only decides when a reader is offered a view. No policy-floor class. Keys owned by [`review-digest`](../../conventions/review-digest.md); resolved by `plugins/review/lib/review-digest.mjs` for `/review:explain-change` (whose `digest-policy.mjs` also reads the `rendered-views` `medium` key) and `/review:reviewer-media` | | `reviewer-media` | team-only for `voice_command` and `allow_unattended_paid_voice`, no-floor otherwise | team: `docs/conventions/reviewer-media.yaml` read at the pull request's `baseRefOid`; personal override `docs/conventions/reviewer-media.local.yaml`, applied only when untracked | team and personal override; no user-global file | later layer; `--policy` over every layer | per-key (lists replace) | conforms: read through `readLayers` with the base-commit team text; an invalid team value falls to the default, an invalid personal value leaves the team value, and a team-only key in the personal override is refused. Keys owned by [`reviewer-media`](../../conventions/reviewer-media.md); resolved by `plugins/review/skills/reviewer-media/scripts/decide.mjs` | | `playbooks` | no-floor | team: `docs/conventions/playbooks.yaml` (schema `plugins/playbooks/schemas/playbooks.schema.json`); per user: the plugin's `userConfig` | `userConfig` + team | later layer | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset, and a value outside a key's list is named and resolves the default. Keys owned by the plugin's `reference/config.md`; read in the skill text of `/playbooks:fable-5` (`described_problem`), which reports the supplying layer | | `playbooks` (`verification`) | team-only | team: `docs/conventions/playbooks.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/playbooks/schemas/playbooks.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/playbooks:fable-5`, which passes `--file docs/conventions/playbooks.yaml` so the reader skips the convention home. This row covers `verification` and `verification_skills` | | `implementation` | any-layer-wins | team: `docs/conventions/implementation.yaml` (schema `plugins/implementation/schemas/implementation.schema.json`); user: the plugin's `userConfig` option of the same name | user option + team | `true` in any layer (policy floor) | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `~/.claude` file and no personal override. `verify_mechanical_phases` is in the policy-floor class: `true` from either layer wins, so the user option can only tighten the team value and the team file can only tighten the user value, and the team file is also read from the default branch's committed copy so a branch cannot lower it. Declared deviation from ADR 0064 Decision 5's floor wording: the key keeps a `userConfig` option, which can only raise the value. A value outside `true` or `false` is named with its file, key and value and that layer resolves as absent (rule 5), so the key falls back to `false` unless the other layer says `true`. Keys owned by [`plugins/implementation/reference/config.md`](../../../plugins/implementation/reference/config.md); read by `/implementation:implement-dispatch` and `/implementation:implement`, and `integration_posture` (team file only) also by `/planning:plan` Step 2 | | `implementation` (`verification`) | team-only | team: `docs/conventions/implementation.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/implementation/schemas/implementation.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/implementation:implement-dispatch` and `/implementation:implement`; `verify_mechanical_phases` `true` keeps the phase verifier under `light` and `off`. This row covers `verification` and `verification_skills` | | `education` | no-floor | team: `docs/conventions/education.yaml` (schema `plugins/education/schemas/education.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | later layer | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. The team file is skipped outside a git working tree or when its root is `$HOME` or an ancestor of it. An unexpanded `${user_config.}` reads as unset; a value outside a key's list is named with its file, key and value and that layer is dropped, so a valid higher layer wins and otherwise the default applies. Keys owned by [`plugins/education/reference/config.md`](../../../plugins/education/reference/config.md); read in the skill text of `/education:explain` (`explain_starting_rung`) through its bundled `parse-concern-value.sh`, which reports the supplying layer | | `education` (`verification`) | team-only | team: `docs/conventions/education.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/education/schemas/education.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/education:quiz-me`. This row covers `verification` and `verification_skills` | | `session-flow` | no-floor | team: `docs/conventions/session-flow.yaml` (schema `plugins/session-flow/schemas/session-flow.schema.json`); user: the plugin's `userConfig` option of the same name | user option + team | later layer; the narrower layer for `transcript_scope` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `~/.claude` file and no personal override. An unexpanded `${user_config.}` reads as unset. A value outside a key's values is named with its file, key and value and that layer is dropped (rule 5), so a valid higher layer still wins and otherwise the key resolves its default. No policy-floor class. Declared deviation for `transcript_scope`: the narrower of the two layers wins (`worktree` < `repo` < `all`) and an unset user option counts as `worktree`, so the team file can narrow a user's transcript scan but never widen it; an invalid team value resolves the default `worktree`. Keys owned by [`plugins/session-flow/reference/config.md`](../../../plugins/session-flow/reference/config.md); read in the priming addendum of `/session-flow:orchestrate` (`worker_continuation`), in `/session-flow:workflow` default mode (`implementation_route`), in `/session-flow:handoff` (`wip_commit`, a boolean), in `/session-flow:retro` session mode (`retro_lenses`), in `/session-flow:find-handoff` and `/session-flow:recall` (`transcript_scope`) and in `/session-flow:recall` (`recall_report_kinds`, `recall_doc_paths`), all but the first two after `setup-apply.mjs --check` tells an empty or invalid value from an absent key, through the plugin's copy of `parse-concern-value.sh`, which reports the supplying layer; `/session-flow:setup apply` writes the team file after schema validation, showing the diff before it changes an existing one | | `session-flow` (`verification`) | team-only | team: `docs/conventions/session-flow.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/session-flow/schemas/session-flow.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/session-flow:orchestrate`, `/session-flow:workflow` and `/session-flow:retro`. This row covers `verification` and `verification_skills` | | `discovery` | no-floor | team: `docs/conventions/discovery.yaml` (schema `plugins/discovery/schemas/discovery.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | later layer; a per-run `--output` argument over both | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset; a value outside a key's list is named with its file, key and value and that layer is dropped, so a valid higher layer still wins and otherwise the key resolves its default. Keys owned by [`plugins/discovery/reference/config.md`](../../../plugins/discovery/reference/config.md); read by `/discovery:explore` (`explore_output`) and `/discovery:research` (`research_corroborators`, `research_recency_active_days`, `research_recency_standard_days`, `research_recency_guide_days`); `/discovery:setup apply` writes the team file after schema validation, showing the diff before it changes an existing one | | `discovery` (`verification`) | team-only | team: `docs/conventions/discovery.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/discovery/schemas/discovery.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/discovery:research`, `/discovery:explore` and `/discovery:trace-intent`. This row covers `verification` and `verification_skills` | | `review` | any-layer-wins | team: `docs/conventions/review.yaml` (schema `plugins/review/schemas/review.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | later layer; `report` in any layer for `downstream_probe` (policy floor) | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset; a value outside a key's values, or a team file that does not parse, is named with its file, key and value and that layer is dropped, so a valid higher layer still wins and otherwise the key resolves its default. `downstream_probe` is in the [policy-floor class](#sanctioned-exception-class-policy-floor-precedence-inversion): `report` from either layer wins, so each layer can only tighten the other, and the team file is read from the default branch's committed copy (`setup-apply.mjs --check --ref origin/` after a fetch, the commit read reported) so a branch cannot loosen it; an invalid layer resolves as absent and the key falls back to `run` unless the other layer says `report`. Declared deviation from ADR 0064 Decision 5's floor wording: the key keeps a `userConfig` option, which can only tighten the value. Keys owned by [`plugins/review/reference/config.md`](../../../plugins/review/reference/config.md); read by `/review:quality-gate` downstream mode (`downstream_probe`) and `/review:fanout` (`fanout_diversity` in run-everything, `fanout_act_on_cap` in both review modes, an integer of at least 1; each key's team layer skipped when the reviewed change set edits the team file) and `/review:council` (the `council_*` keys, read from the base branch's committed copy when the reviewed change set edits the team file; `council_lanes` has no `userConfig` option, and `council_members`, `council_panel` and `council_rules` take JSON text in theirs, checked against the same schema; [ADR 0097](../../adr/0097-configure-the-review-council-as-a-member-catalog-and-ordered-rules.md)) and the `code-reviewer` agent (`smell_baseline`: `default`, `off`, or a repository-relative `.md` path, where a missing file, or one the reviewed change set edits, falls back to the shipped baseline; the team layer skipped when the reviewed change set edits the team file) through `/review:setup`'s `setup-apply.mjs --check`, which validates the file and reads values with the plugin's copy of `lib/parse-concern-value.sh`; `/review:setup apply` writes the team file after schema validation, showing the diff before it changes an existing one | | `planning` | no-floor | team: `docs/conventions/planning.yaml` (schema `plugins/planning/schemas/planning.schema.json`); per user: the plugin's `userConfig` option of the same name; for the `interview_page` keys, team `/planning.yaml` and personal `/planning.local.yaml` | `userConfig` + team; team + personal for `interview_page` | later layer; for `plan_reader`, the plan's recorded `Reader depth:` line and then a per-run `--reader` argument over both | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset; a value outside a key's list is named with its file, key and value and that layer is dropped, so a valid higher layer still wins and otherwise the key resolves its default. Keys owned by [`plugins/planning/reference/config.md`](../../../plugins/planning/reference/config.md); read in the skill text of `/planning:plan` (`plan_store`, `plan_reader`, `phase_order`, `scaffold_stubs`) and `/planning:design` (`scaffold_stubs`), each reporting the supplying layer; `scaffold_stubs` is a boolean, and a quoted `"true"` is invalid; `/planning:setup apply` writes the team file after schema validation, showing the diff before it changes an existing one. The `interview_page` keys have no `userConfig` option and are read by the interview page server, `surface/interview_server.py`, from both files under the home `lib/resolve-convention-home.sh` binds, each reporting `team` or `personal`, beneath the page's own `--user-settings` file and the data dir's `settings.json`; `displayName` is read from the personal file only. The retired `.claude/interview-surface.json` gives a one-time notice naming each key's new place; it never supplies or prints a value. The `standards` row above is a separate planning surface | | `planning` (`verification`) | team-only | team: `docs/conventions/planning.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/planning/schemas/planning.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/planning:plan`. This row covers `verification` and `verification_skills` | | `docs-hygiene` | no-floor | team: `docs/conventions/docs-hygiene.yaml` (schema `plugins/docs-hygiene/schemas/docs-hygiene.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | later layer | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset; a key present without a valid value (outside its list, empty, null, a map or list, set twice, or in a file that does not parse) is named with its file, key and value and that layer is dropped, so a valid higher layer still wins and otherwise the key resolves its default. Keys owned by [`plugins/docs-hygiene/reference/config.md`](../../../plugins/docs-hygiene/reference/config.md); read by `/docs-hygiene:compress` (`compress_articles` through `skills/compress/scripts/articles-setting.sh`, which uses the plugin's copy of `lib/parse-concern-value.sh`; `compress_revert_below_pct` through that reader directly), and the skill reports the supplying layer; `/docs-hygiene:setup apply` writes the team file after schema validation, showing the diff before it changes an existing one | | `docs-hygiene` (`verification`) | team-only | team: `docs/conventions/docs-hygiene.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/docs-hygiene/schemas/docs-hygiene.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/docs-hygiene:compress`, `/docs-hygiene:audit-derivability` and `/docs-hygiene:audit-noise`. This row covers `verification` and `verification_skills` | | `discipline` | no-floor | team: `docs/conventions/discipline.yaml` (schema `plugins/discipline/schemas/discipline.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | later layer | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset; a value outside a key's list is named with its file, key and value and that layer is dropped, so a valid higher layer still wins and otherwise the key resolves its default. Only `lever_scope` has the team layer; the `sweep-all` batch options and `research_deep_verification` are `userConfig` only. Keys owned by [`plugins/discipline/reference/config.md`](../../../plugins/discipline/reference/config.md); read in the skill text of `/discipline:script-the-deterministic-work lever-check` (`lever_scope`), which reports the supplying layer and which `/implementation:implement` and `/implementation:implement-dispatch` call when it is among the available skills; `/discipline:setup apply` writes the team file after schema validation, showing the diff before it changes an existing one | | `discipline` (`verification`) | team-only | team: `docs/conventions/discipline.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/discipline/schemas/discipline.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/discipline:do-your-research`, `/discipline:recheck-against-upstream` and `/discipline:sweep-all`. This row covers `verification` and `verification_skills` | | `adhd` | no-floor | team: `docs/conventions/adhd.yaml` (schema `plugins/adhd/schemas/adhd.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | later layer | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset; a value outside `true` or `false` is named with its file, key and value and that layer is dropped, so a valid higher layer still wins and otherwise the key resolves its default. One key, `time_units`, owned and read by `/adhd:shape` rule 6 in its skill text; no setup skill writes the team file | | `visualization` (`hosted_canvas`) | any-layer-wins | team: `docs/conventions/visualization.yaml` (schema `plugins/visualization/schemas/visualization.schema.json`); personal override `docs/conventions/visualization.local.yaml`; per user: the plugin's `userConfig` option of the same name | `userConfig`, team and personal override | `deny` in any layer (policy floor), else the `allow` default | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `~/.claude` file. `deny` keeps diagram content off canvas servers reached over the network, so every layer can only tighten: the team file is read from the working tree and from the default branch's committed copy, `deny` in either counts, and a branch cannot drop the team's `deny`; the default branch is named by `git ls-remote --symref origin HEAD` and fetched before the read, and a read that cannot run counts the team layer as `deny`. Declared deviation from ADR 0064 Decision 5's floor wording, as the `implementation` row: the key keeps a `userConfig` option, which can only tighten. A value outside `allow` or `deny` is named with its option or file, key and value and that layer is dropped. Read by `/visualization:visualize` Step 3 in its skill text, only when a canvas would otherwise be used; no setup skill writes the team file | | `visualization` (`diagram_target`) | no-floor | team: `docs/conventions/visualization.yaml` (schema `plugins/visualization/schemas/visualization.schema.json`); personal override `docs/conventions/visualization.local.yaml`; per user: the plugin's `userConfig` option of the same name | `userConfig`, team and personal override | later layer, else the `auto` default | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `~/.claude` file. A preference with no floor, so the team file is read from the working tree only, unlike `hosted_canvas` in the same files. A value outside `auto`, `terminal`, `local-page`, `excalidraw` or `tldraw` is named with its option or file, key and value and that layer is dropped. A target that is unavailable, or that `hosted_canvas` forbids, falls back to `auto` with a one-line notice. Read by `/visualization:visualize` Step 3 in its skill text, only when the form is a diagram; no setup skill writes the team file | | `harness-config` (`audit-automation-gaps`) | no-floor | team: `/harness-config.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/harness-config/schemas/harness-config.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | later layer | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset; a value outside `true` or `false` is named with its file, key and value and that layer is dropped, so a valid higher layer still wins and otherwise the key resolves its default. One key, `time_units`, owned and read by `/harness-config:audit-automation-gaps` in its skill text, which reports the supplying layer; the `audit-pass` row's policy-floor class covers `suppressions` only | | `harness-config` (`verification`) | team-only | team: `/harness-config.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/harness-config/schemas/harness-config.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/harness-config:audit-automation-gaps`, `/harness-config:audit-instructions`, `/harness-config:audit-pass` and `/harness-config:audit-prompting-postures`. This row covers `verification` and `verification_skills` | | `verification` | stricter-value | team: `docs/conventions/verification.yaml` (schema `plugins/verification/schemas/verification.schema.json`); per user: the plugin's `userConfig` option of the same name | `userConfig` + team | stricter layer for `proof_level`; later layer for `live_workers` | per-key | declared deviation: a [ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md) team file with no `~/.claude/` file and no personal override. An unexpanded `${user_config.}` reads as unset. `live_workers` (a whole number of at least 1, default 1) is set at both levels, per user through `userConfig.live_workers` and per repository in the team file, and takes the later-layer rule: the team value wins over the user's, which wins over the default; it is read from the default branch by the same `--check --ref` call as `proof_level`, and a value that is not a whole number of at least 1 is named with its file or option, key and value, and that layer is dropped, so a valid higher layer still wins and otherwise the key resolves 1. Declared deviation for `proof_level`: the stricter of the two layers wins (`path` < `live` < `strict`), so either layer can raise the level and neither can lower the other, and the team file is read from the default branch's committed copy (`setup-apply.mjs --check --ref origin/` after a fetch, the commit read reported) so a branch cannot lower its own level. A value outside the key's values, or a team file that does not parse, is named with its file, key and value and that layer is dropped as absent, as for review's `downstream_probe`: the stricter remaining valid layer still applies, so an invalid team value never lowers a valid user value, and with neither valid the key resolves `path`; the run never stops or prompts. Keys owned by [`plugins/verification/reference/config.md`](../../../plugins/verification/reference/config.md); read by `/verification:confirm` through `/verification:setup`'s `setup-apply.mjs --check`, which validates the file and reads values with the plugin's copy of `lib/parse-concern-value.sh`, and the run reports the supplying layer; `/verification:setup apply` writes the team file after schema validation, showing the diff before it changes an existing one | | `verification` (`verification`) | team-only | team: `docs/conventions/verification.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/verification/schemas/verification.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/verification:confirm`; `/verification:setup check` validates both keys. This row covers `verification` and `verification_skills` | | `mutation-testing` (`verification`) | team-only | team: `docs/conventions/mutation-testing.yaml`, whatever the convention home, beside the plugin's other keys (schema `plugins/mutation-testing/schemas/mutation-testing.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/mutation-testing:audit`, which passes `--file docs/conventions/mutation-testing.yaml` so the reader skips the convention home. This row covers `verification` and `verification_skills` | | `debugging` (`verification`) | team-only | team: `/debugging.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/debugging/schemas/debugging.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/debugging:debug`. This row covers `verification` and `verification_skills` | | `explainer-video` (`verification`) | team-only | team: `/explainer-video.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/explainer-video/schemas/explainer-video.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/explainer-video:produce`. This row covers `verification` and `verification_skills` | | `knowledge` (`verification`) | team-only | team: `/knowledge.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/knowledge/schemas/knowledge.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/knowledge:video-digest`. This row covers `verification` and `verification_skills` | | `event-storming` (`verification`) | team-only | team: `/event-storming.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/event-storming/schemas/event-storming.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/event-storming:simulation`. This row covers `verification` and `verification_skills` | | `event-storming` (`board_dir`) | no-floor | team: `/event-storming.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/event-storming/schemas/event-storming.schema.json`) | team only, over a bundled default | the team value, else the `docs/event-storming` default | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override, since where shared boards live is a team decision. Read from the working tree. An absolute value, a leading `~` or a `..` segment is invalid and the default applies. The plugin's `board_backend` option is `userConfig` only, with no team layer, since the Miro backend needs a personal token; a `--backend` argument and the board a run is given win over it | | `work-items` (`verification`) | team-only | team: `docs/conventions/work-items.yaml`, whatever the convention home, beside the plugin's other settings keys (schema `plugins/work-items/schemas/work-items.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/work-items:work`'s bug path (the step 2 capture check), which passes `--file docs/conventions/work-items.yaml` so the reader skips the convention home. This row covers `verification` and `verification_skills` | | `codebase-health` (`verification`) | team-only | team: `/codebase-health.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/codebase-health/schemas/codebase-health.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/codebase-health:audit`. This row covers `verification` and `verification_skills` | | `developer-experience` (`verification`) | team-only | team: `/developer-experience.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/developer-experience/schemas/developer-experience.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/developer-experience:build-cli`. This row covers `verification` and `verification_skills` | | `harness-ops` (`verification`) | team-only | team: `/harness-ops.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/harness-ops/schemas/harness-ops.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/harness-ops:audit-install-state` and `/harness-ops:changelog`. This row covers `verification` and `verification_skills` | | `harness-ops` (`registry_dir`) | no-floor | team: `/harness-ops.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/harness-ops/schemas/harness-ops.schema.json`); personal override `/harness-ops.local.yaml`; per user: the plugin's `registry_dir` `userConfig` option | all four | later layer | per-key | conforms to the four layers of [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#layers-and-precedence): the plugin default (the plugin data directory), `userConfig`, team, personal override, read from the working tree (the key has no floor). Rule 4 holds: `scripts/registry-dir.mjs` prints the layer that supplied the value, the bundled one as `default`, and `/harness-ops:setup` reports it. Rule 5 holds: a value of the wrong type, one holding a character outside letters, digits, `.`, `_`, `-`, `/` and `\` (the value reaches a shell command), or one that fails the plugin's containment rule (`hooks/harness-ops-paths.sh`: no rooted, drive or UNC path, no `..` segment, no symlink leading outside its base), is named with its layer, file, key and value and dropped; an invalid team or `userConfig` value resolves to the default, never a lower layer, and an invalid personal override value leaves the layer below it standing. Read by `/harness-ops:known-issues` and `/harness-ops:setup` through `lib/config-cascade.mjs` | | `playwright` (`verification`) | team-only | team: `/playwright.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/playwright/schemas/playwright.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/playwright:demo-video`. This row covers `verification` and `verification_skills` | | `writing` (`verification`) | team-only | team: `/writing.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/writing/schemas/writing.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/writing:be-concise`. This row covers `verification` and `verification_skills` | | `wizard` (`verification`) | team-only | team: `/wizard.yaml` (`` from the convention-home pointer line at the default branch, default `docs/conventions`; schema `plugins/wizard/schemas/wizard.schema.json`) | team only | the team file at the default branch; a skill entry over the plugin value; an invalid value resolves `standard`, no value `light` | per-key | conforms to the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) ([ADR 0064](../../adr/0064-home-plugin-customization-in-docs-conventions-yaml.md)); no `userConfig` option, no `~/.claude` file and no personal override. `verification_skills.` beats `verification`. `lib/read-verification.sh` (the plugin's copy) reads the file at `origin/` after a fetch, never the working tree, so a branch cannot lower its own level, and names a working-tree copy that gives another level. An invalid value or a file that does not parse is named and resolves `standard`; no value resolves `light`. Levels owned by [`docs/contracts/verification-level/README.md`](../verification-level/README.md); read by `/wizard:generate`. This row covers `verification` and `verification_skills` | | `docs-cache` | no-floor | user-global `${XDG_CONFIG_HOME:-$HOME/.config}/claude-docs-cache/config.json`; no repository path | user-global only, over a bundled default, under `DOCS_CACHE_*` and flags | flag, then `DOCS_CACHE_*`, then the machine file | per-key | declared deviation (see Declared): machine scope, no team or personal override layer, and the user-global file sits outside `~/.claude/` ([ADR 0057](../../adr/0057-share-a-user-scope-docs-cache-across-plugins.md)). Per-key override, declared because every value is a scalar: a key a higher layer omits keeps the lower layer's value, else the bundled default. Rule 4 holds: `docs-cache.sh config` prints each effective value with the layer that supplied it. Rule 5 holds: a malformed file is named and resolved as absent, and an unknown key is inert. Step 2 does not arise: the surface reads no repository-relative path. Keys and resolution owned by `lib/docs-cache.sh`, carried as generated copies by `harness-config`, `harness-ops` and `discovery` ([ADR 0019](../../adr/0019-share-code-across-plugins-by-vendoring-with-a-sync-gate.md)) | | `user-interface` | no-floor | team `/user-interface.{yaml,md}` (`` from the convention-home pointer line, default `docs/conventions`); personal override `/user-interface.local.{yaml,md}` | both, over bundled defaults and a `css_*` userConfig scalar mirror | later layer; `routing` team only | per-key (`*.disable` lists union); prose concatenates | conforms to the four layers of [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#layers-and-precedence): bundled defaults (`plugins/user-interface/reference/defaults.yaml`), userConfig (`css_browser_target`, `css_important`, `css_layer`, `css_token_fallback`; scalars only, lists live in files), team, personal override; no user-global file is read. `/user-interface:setup apply --local` adds `/*.local.*` to `.gitignore`. Deviates from [ADR 0044](../../adr/0044-default-structured-team-config-to-a-docs-convention-file-with-a-claude-fallback.md): the team layer is a standalone YAML file, with no fenced block and no `.claude/` fallback. Rule 4 holds: every value carries the layer that supplied it. Rule 5 holds: an invalid team or userConfig value falls to the default, never a lower layer; an invalid personal override value leaves the team value standing; `routing` outside the team layer is rejected. A broken pointer line leaves the team and personal override layers unread, with `home_error` naming why; a declined or not-applicable home leaves them unread too, with `home_skipped`. Keys owned by `plugins/user-interface/reference/team.schema.json`; resolved by `lib/config-cascade.mjs`, carried as a generated copy ([ADR 0019](../../adr/0019-share-code-across-plugins-by-vendoring-with-a-sync-gate.md)) and called by `plugins/user-interface/scripts/detect.mjs --config`; read and written by `/user-interface:setup` | | `domain-driven-design` | no-floor | team `/domain-driven-design.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/domain-driven-design/schemas/domain-driven-design.schema.json`); personal override `/domain-driven-design.local.yaml`; per user: the plugin's `userConfig` options of the same names | all four | later layer | per-key | conforms to the four layers of [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#layers-and-precedence): the plugin default (the `userConfig` defaults in `plugin.json`), `userConfig`, team, personal override; no user-global file is read. Keys are `glossary_file` (default `GLOSSARY.md`) and `glossary_map_file` (default `GLOSSARY-MAP.md`), each a file name, never a path. Rule 4 holds: every value carries the layer that supplied it, the bundled one reported as `default`. Rule 5 holds: a value of the wrong type, or a path where a file name belongs, is named with its layer, file, key and value and dropped; an invalid team or `userConfig` value falls to the default, never a lower layer, and an invalid personal override value leaves the team value standing. A declined, not-applicable or broken pointer line leaves the team and personal override layers unread, with `home_skipped` or `home_error` naming why. Resolved by `lib/config-cascade.mjs`, carried as a generated copy ([ADR 0019](../../adr/0019-share-code-across-plugins-by-vendoring-with-a-sync-gate.md)) and called by `plugins/domain-driven-design/scripts/glossary-settings.mjs`; read by `/domain-driven-design:ubiquitous-language curate` when it proposes a glossary or context-map file; hand-edited, since the plugin has no setup skill | | `corrections` (`findings-buffer`) | no-floor | team `/findings-buffer.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/corrections/schemas/findings-buffer.schema.json`); personal override `/findings-buffer.local.yaml`; per user: the `findings_buffer_adapter_repository` and `findings_buffer_adapter_path` `userConfig` options | team + personal override, over the bundled default; `userConfig` for the user-scope adapter binding | the user-scope binding, when it applies, over the later layer | per-key | conforms to [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#layers-and-precedence): the bundled default (`adapter: local-file`), team, personal override; no user-global file is read. One file key, `adapter`: `local-file`, or the bare name of an adapter the plugin ships under `plugins/corrections/tools/findings-buffer/adapters/`, which must resolve inside that directory and hold executable `append.sh` and `read.sh` and a `capabilities.json` of `schema_version` 1.x. The files are repository-writable, so they never name a repository path. Declared deviation: a repository's own adapter is bound only by the two `userConfig` options, outside the file schema, read through the `userConfig` layer from user and managed settings only (channel F of [hook-config-delivery](../hook-config-delivery/README.md), `lib/plugin-options.mjs`); the binding applies only in the repository whose git common directory it names, wins over the files there, and its adapter must resolve inside the checkout, outside any nested repository, and pass the same checks. Rule 5 holds: an invalid team value falls to the default and an invalid personal override value leaves the team value standing; an adapter that fails those checks is refused and `local-file` is used, said on stderr. A declined, not-applicable or broken pointer line leaves the team and personal override layers unread and `local-file` is used. Resolved by `lib/config-cascade.mjs`, carried as a generated copy ([ADR 0019](../../adr/0019-share-code-across-plugins-by-vendoring-with-a-sync-gate.md)) and called by `plugins/corrections/scripts/findings-buffer.mjs` for `plugins/corrections/tools/findings-buffer/buffer.sh`; hand-edited, since the plugin has no setup skill | | `corrections` (`corrections`) | no-floor | team `/corrections.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/corrections/schemas/corrections.schema.json`); per user: the plugin's `userConfig` option of the same name, for `ratchet_offer` and `review_mining_prs`; personal override `/corrections.local.yaml` | user option + team + personal override, over the bundled default | later layer | per-key | conforms to [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#layers-and-precedence): the bundled default (the schema default), the user option, team, personal override; no user-global file is read. Three keys: `recurrence.min_occurrences`, an integer of at least 1, the occurrence count at which `/corrections:codify` proposes a check, with no `userConfig` option; `ratchet_offer`, a boolean; and `review_mining_prs`, an integer from 2 to 200. A user option passed at its default reads as unset. Rule 5 holds: an invalid team value falls to the default and an invalid personal override value leaves the team value standing, said on stderr. A declined, not-applicable or broken pointer line leaves the team and personal override layers unread and the default is used. Resolved by `lib/config-cascade.mjs`, carried as a generated copy ([ADR 0019](../../adr/0019-share-code-across-plugins-by-vendoring-with-a-sync-gate.md)) and called by `plugins/corrections/scripts/codify-settings.mjs`, which prints each value and the layer that set it for `/corrections:codify`; hand-edited, since the plugin has no setup skill | | `prototype` | no-floor | team `/prototype.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/prototype/schemas/prototype.schema.json`); per user: the plugin's `level` `userConfig` option; personal override `/prototype.local.yaml` | user option + team + personal override, over the bundled default | later layer; for one run, a level the request names and then a `--level` argument over every layer | per-key | conforms to [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#layers-and-precedence): the bundled default (`plugins/prototype/reference/levels.default.yaml` and the schema's `level` default), the user option, team, personal override; no user-global file is read. Two keys, owned by [`plugins/prototype/reference/config.md`](../../../plugins/prototype/reference/config.md): `level`, checked against the names of the resolved `levels` map rather than a fixed list, and `levels`, merged per dimension so a file refines a shipped level or adds one. Rule 5 holds: an invalid team value falls to the default and an invalid personal override value leaves the team value standing, each named in a notice. A declined, not-applicable or broken pointer line leaves the team and personal override layers unread. Resolved by `lib/config-cascade.mjs`, carried as a generated copy ([ADR 0019](../../adr/0019-share-code-across-plugins-by-vendoring-with-a-sync-gate.md)) and called twice by `plugins/prototype/lib/prototype-settings.mjs`, the second time with the `level` enum set to the resolved level names, which prints the level and the layer that set it for `/prototype:explore-directions`; hand-edited, since the plugin has no setup skill | | `knowledge` | no-floor | team `/knowledge.yaml` (`` from the convention-home pointer line, default `docs/conventions`; schema `plugins/knowledge/schemas/knowledge.schema.json`) | team, over the bundled default, under a per-run argument | later layer; a per-run `--out` argument over the team file | per-key | declared deviation: an [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#layers-and-precedence) surface with no `userConfig` layer, no user-global file and no personal override, since its one key places tracked files. One key, `upstream_records_dir` (default `docs/upstream`): a repository-relative directory, never absolute, `~`-led or holding a `..` segment. A value outside that is named with its layer, key and value and that layer is dropped, so a valid higher layer still wins and otherwise the default applies. Keys owned by [`plugins/knowledge/reference/config.md`](../../../plugins/knowledge/reference/config.md); read in the skill text of `/knowledge:absorb-upstream`, which reports the supplying layer; reported by `/knowledge:setup check`; hand-edited, since `/knowledge:setup apply` does not write this file | ### Root rule by plugin Each row states whether the surface implements Resolution algorithm step 2 on `main`: classifies the root through `plugins/source-control/lib/config-root.sh` (or an inline copy of the same rule) and skips team and personal override at a `home` or `non-repo` root. A plugin whose reader script adopts the resolver carries a generated `lib/config-root.sh`, produced from the canonical `lib/config-root.sh` by `scripts/sync-shared-copies.sh`. "Not yet" names the reader and its anchor. "Prose only" means a model-run skill with no reader script, so the rule lives in the skill text. | Surface | Step 2 | Reader and anchor | |---|---|---| | `source-control` | implements | `parse-branch-issue.sh` sources the resolver; the `commit` and `pull-request` skills classify before their layer probes; setup `apply layer=team` / `layer=local` refuse at a `home` or `non-repo` root | | `toolchain` / `ecosystem-commands` | prose only | `/toolchain:check`, `/toolchain:lint`, `/toolchain:setup`; no reader script | | `rendered-views` | implements | `lib/view-settings.mjs` (`findRoot`: `CLAUDE_PROJECT_DIR`, else the nearest directory holding `.git`); the team and personal override layers apply only inside a working tree that is not the user home or above it | | `codebase-health`, `github`, `standards`, `testing` (`run-e2e`), `instruction-placement`, `overengineering` | prose only | model-run skills; no layer-reader script | | `harness-config` (`audit-pass`) | not yet | `skills/audit/scripts/audit-engine.sh`: the cwd's git toplevel, else `CLAUDE_PROJECT_DIR`, else the cwd (`lib/resolve-scopes.sh`); the convention home comes from `lib/resolve-convention-home.sh`, and the engine reads `docs/conventions` whenever it prints none (at a `home` or `non-repo` root too, rather than skipping the team and personal override layers; a broken pointer is listed in `suppressions.layers`) | | `bugs` | implements | `scripts/concat-gotchas.sh` classifies its root inline (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`) with the same rule and skips a team or personal override path that is the file it read for the `userConfig` layer; it does not source the resolver. `/bugs:scan` reads `docs/conventions/bugs.yaml` in its skill text, with no reader script; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `docs-naming` | implements | `scripts/resolve-config.sh` sources its `lib/config-root.sh` copy and classifies `--root` (else the git toplevel of the current directory) against `--home`; `paths` reports team and personal override as not-applicable at a `home` or `non-repo` root | | `ai-slop` | implements | `skills/audit/scripts/detect.sh` sources its `lib/config-root.sh` copy and classifies its root (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`, else `pwd`) before the team and personal override reads; a team or personal override file that is the user-global file is read once; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `multi-agent` | implements | `scripts/resolve-roles.sh` sources its `lib/config-root.sh` copy and classifies `--root` (else `CLAUDE_PROJECT_DIR`, else the git toplevel) against `--home`; team and personal override are reported not-applicable at a `home` or `non-repo` root, and a team or personal override path that is the user layer's file is read once; `/multi-agent:setup apply --layer team` and `--layer local` refuse at a `home` or `non-repo` root; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `review-digest` | implements | `lib/review-digest.mjs` classifies its root inline (`CLAUDE_PROJECT_DIR`, else the nearest directory holding `.git`) and skips team and personal override when the root is the home directory, above it, or not a working tree, and an old personal override path that is the old user-global file; it does not source the resolver | | `reviewer-media` | implements | `skills/reviewer-media/scripts/decide.mjs` classifies its root with `lib/review-digest.mjs` `projectRootOf` (`CLAUDE_PROJECT_DIR`, else the nearest directory holding `.git`) and skips team and personal override when the root is the home directory, above it, or not a working tree | | `attribution` | implements | `skills/audit/scripts/lib.sh` sources its `lib/config-root.sh` copy; `cfg_layers_init` skips team and personal override unless `config_root_classify` returns `repo`, and skips a layer that `config_root_paths_same` matches to the user-global file; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `code-metrics` | not yet | `scripts/resolve-config.py`: `git rev-parse --show-toplevel`, else the current directory; `CLAUDE_PROJECT_DIR` is not consulted | | `disk-hygiene` | not yet | the clean engine reads the team and personal files under the convention home of `--project-dir`; no root classification | | `repo-fleet-hygiene` | not yet | `audit-fleet.sh`: `--project-dir`, else `CLAUDE_PROJECT_DIR`; `setup-config.sh`: `CLAUDE_PROJECT_DIR`, else `$PWD` | | `work-items` | not yet | `tools/work-item-tracker/lib/binding.sh` (`wit_project_root`): `CLAUDE_PROJECT_DIR`, else git toplevel; no user-global layer, so the home-root collision does not arise for the binding file. The recurring schedule is read inline as `/.github/recurring-schedule.json` by every consumer the Implementers row lists, `` being the literal path `plugins/work-items/reference/tracker-seam.md` "Project root" resolves in its own Bash calls (`CLAUDE_PROJECT_DIR`, else git toplevel), with no user-global layer either | | `songwriting` | prose only | model-run skills read `${CLAUDE_PROJECT_DIR}/songwriting/templates/pat-pattison/`; no reader script and no user-global layer; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `autonomy` | not yet | hooks anchor at `CLAUDE_PROJECT_DIR` (`hooks/hook-utils.sh`); `binding.json` has no shared reader script | | `architecture` (`adr`) | prose only | `/architecture:adr` resolves `` with the plugin's `lib/resolve-convention-home.sh` and skips both file layers when it exits 5 (the root is `$HOME`, an ancestor of it, or not a git work tree); no reader script; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `architecture` (`improve`) | prose only | `/architecture:improve` resolves `` in its skill text and passes `improve-settings.mjs` `--no-config` when no home resolves, so both file layers are skipped; the script does not classify the root itself | | `improvement` | prose only | `/improvement:find` and `/improvement:setup` read the layers in skill text, anchored at `git rev-parse --show-toplevel`, and skip the team and personal override layers when that root is `$HOME`, an ancestor of it, or not a git working tree; no reader script | | `plugin-quality`, `architecture`, `authoring-formats` | not yet | each plugin's `lib/resolve-convention-home.sh`: `--root`, else `CLAUDE_PROJECT_DIR`, else git toplevel, else the current directory; team-only via pointer line, no user-global layer to collide with; plugin-quality's `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `ai-briefing`, `code-tidying` | prose only | team-only surfaces read by model-run skills | | `code-tidying` (`comment_lint*`) | implements (inline) | `scripts/comment-settings.sh`: the git toplevel of the directory it is given, else of the current directory; `lib/resolve-convention-home.sh` classifies the root, and the team layer is skipped when it is `$HOME`, an ancestor of it, or not a git working tree | | `code-tidying` (`upkeep_*`) | implements (inline) | `skills/tidy/scripts/upkeep-setting.sh`: the git toplevel of `CLAUDE_PROJECT_DIR`, else of the current directory; `lib/resolve-convention-home.sh` classifies the root, and the team layer is skipped when it is `$HOME`, an ancestor of it, or not a git working tree; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `playbooks` | prose only | `/playbooks:fable-5` reads `docs/conventions/playbooks.yaml` in its skill text only when the working directory's git root is neither `$HOME` nor an ancestor of it, and otherwise skips the team layer and says so; no reader script; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `implementation` | prose only | `/implementation:implement-dispatch` and `/implementation:implement` read `docs/conventions/implementation.yaml` only when the root (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`) is inside a git working tree and is neither `$HOME` nor an ancestor of it, and otherwise reports the team layer skipped; `/planning:plan` reads that file's `integration_posture` key under planning's own root rule (git root neither `$HOME` nor an ancestor of it); no reader script for those keys; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `education` | prose only | `/education:explain` reads `docs/conventions/education.yaml` (from `git rev-parse --show-toplevel`) through its bundled `parse-concern-value.sh` only when the root is inside a git working tree and is neither `$HOME` nor an ancestor of it; the root classification lives in the skill text, not the reader; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `session-flow` | prose only | `/session-flow:orchestrate`, `/session-flow:workflow` (`implementation_route`), `/session-flow:handoff`, `/session-flow:retro` (`retro_lenses`), `/session-flow:find-handoff` and `/session-flow:recall` read `docs/conventions/session-flow.yaml` in their skill text only when the working directory's git root is neither `$HOME` nor an ancestor of it, and otherwise skips the team layer and says so; the plugin's `parse-concern-value.sh` copy reads the key and does not classify the root; `skills/setup/scripts/setup-apply.mjs` anchors at `--root`, else `git rev-parse --show-toplevel`, with no `$HOME` check; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `discovery` | not yet | `/discovery:explore` reads `docs/conventions/discovery.yaml` at the project root in its skill text and skips the team layer only when the root is unknown, with no `$HOME` check; `skills/setup/scripts/setup-apply.mjs` anchors at `--root`, else `git rev-parse --show-toplevel`; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `review` | prose only | `/review:quality-gate` downstream mode and `/review:fanout` run-everything read `docs/conventions/review.yaml` (quality-gate downstream mode at `origin/`) only when the root (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`) is inside a git working tree and is neither `$HOME` nor an ancestor of it, and otherwise reports the team layer skipped; `skills/setup/scripts/setup-apply.mjs` anchors at `--root`, else `git rev-parse --show-toplevel`, and refuses a root that is `$HOME` or an ancestor of it | | `planning` | prose only, except the interview page | `/planning:plan` and `/planning:design` read `docs/conventions/planning.yaml` in their skill text only when the working directory's git root is neither `$HOME` nor an ancestor of it, and otherwise skips the team layer and says so; no reader script. `surface/interview_server.py` anchors at the git toplevel of `CLAUDE_PROJECT_DIR`, else of the data dir's nearest ancestor holding `.git`, and skips both file layers when `lib/resolve-convention-home.sh` exits 5 (the root is `$HOME`, an ancestor of it, or not a git work tree). `skills/setup/scripts/setup-apply.mjs` anchors at `--root`, else `git rev-parse --show-toplevel`, and refuses to write at a root that is `$HOME` or an ancestor of it; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `docs-hygiene` | implements (inline) | `skills/compress/scripts/articles-setting.sh` anchors at `git rev-parse --show-toplevel` of the working directory, not `CLAUDE_PROJECT_DIR`, and skips the team layer outside a git working tree or when the root is `$HOME` or an ancestor of it (compared after `pwd -P`, without the resolver's case folding); `skills/setup/scripts/setup-apply.mjs` anchors at `--root`, else `git rev-parse --show-toplevel`, and refuses a root that is `$HOME` or an ancestor of it; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `discipline` | prose only | `/discipline:script-the-deterministic-work lever-check` reads `docs/conventions/discipline.yaml` in its skill text only when the root (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`) is inside a git working tree and is neither `$HOME` nor an ancestor of it, and otherwise reports the team layer skipped; no reader script. `skills/setup/scripts/setup-apply.mjs` anchors at `--root`, else `git rev-parse --show-toplevel`, and refuses to write at a root that is `$HOME` or an ancestor of it; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `adhd` | prose only | `/adhd:shape` reads `docs/conventions/adhd.yaml` in its skill text only when the root (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`) is inside a git working tree and is neither `$HOME` nor an ancestor of it; no reader script | | `visualization` (`hosted_canvas`, `diagram_target`) | prose only | `/visualization:visualize` reads `docs/conventions/visualization.yaml` and `visualization.local.yaml` in its skill text only when the root (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`) is inside a git working tree and is neither `$HOME` nor an ancestor of it; no reader script. The `medium` key is the `rendered-views` row's | | `harness-config` (`audit-automation-gaps`) | prose only | `/harness-config:audit-automation-gaps` runs `lib/resolve-convention-home.sh` in its skill text and skips the team layer on its exit 5 (the root is `$HOME`, an ancestor of it, or not a git working tree); no reader script; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `verification` | prose only | `/verification:confirm` reads `docs/conventions/verification.yaml` at `origin/` only when the root (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`) is inside a git working tree and is neither `$HOME` nor an ancestor of it, and otherwise reports the team layer skipped; `skills/setup/scripts/setup-apply.mjs` anchors at `--root`, else `git rev-parse --show-toplevel`, and refuses a root that is `$HOME` or an ancestor of it; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `knowledge` | prose only | `/knowledge:absorb-upstream` and `/knowledge:setup check` read `/knowledge.yaml` in their skill text only when the root (`CLAUDE_PROJECT_DIR`, else `git rev-parse --show-toplevel`) is inside a git working tree and is neither `$HOME` nor an ancestor of it, and otherwise report the team layer skipped; no reader script; the `verification` key is read by `lib/read-verification.sh`, which sources the plugin's `lib/config-root.sh` | | `harness-ops` (`registry_dir`) | implements | `scripts/registry-dir.mjs` anchors the team and personal override files and their values at the git toplevel of `--project` (else of the current directory), while the `userConfig` value joins `--project` itself, where it resolved before the team layer existed; it runs the plugin's `lib/resolve-convention-home.sh`, which classifies the root; on its exit 4 or 5 (a declined home, or a root that is `$HOME`, an ancestor of it, or not a git work tree) the team and personal override files are not read and `home_skipped` says why | | `event-storming` (`board_dir`) | prose only | `/event-storming:simulation` runs `lib/resolve-convention-home.sh` in its skill text, asks for a board directory and writes nothing on its exit 5 (the root is `$HOME`, an ancestor of it, or not a git working tree), and reads the key with the plugin's `lib/parse-concern-value.sh` copy; no reader script | | `testing` (`cleanup`), `mutation-testing`, `debugging`, `event-storming`, `explainer-video`, `codebase-health`, `developer-experience`, `harness-ops`, `playwright`, `writing`, `wizard`, `work-items` (`verification` only) | implements | `lib/read-verification.sh` sources the plugin's `lib/config-root.sh` copy and skips the team layer at a `home` or `non-repo` root | Migrating a single-layer surface is one change against that surface's own plugin, not a fleet-wide sweep, and each migration updates its own row in the same change. ### Personal override spelling drift Every setup surface that owns a `*.local.*` personal override recommends (or, for `source-control`, appends per [ADR 0075](../../adr/0075-resolve-plugin-settings-through-one-four-layer-cascade-and-a-bound-convention-home.md#the-fifteen-conventions-vetting-fixes) fix 8) one recursive line. A surface on the convention home uses the `/**/*.local.*` line above; a surface whose personal override still sits under `.claude/` uses the recursive `.claude/**/*.local.*` line ([ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md)), never a narrow spelling such as `.claude/*.local.*`, `.claude/ecosystems/*.local.*` or `.claude/autonomy/**/*.local.*`, which asks a consumer for one line per plugin, and whose non-recursive forms miss a nested personal override once their surface grows a folder. Each surface adopts its line when its setup is next touched, with no separate migration. Five deliberate exceptions remain: the bare `*.local.md` inside the setup-owned `/.gitignore` (a dedicated ignore file scoped to the standards root, not the consumer's `.gitignore`); `work-items`' `/work-items.local.yaml` line (ADR 0015; outside `.claude/` entirely); `ai-briefing`, which is team-only and recommends no personal override line at all (#3580); `songwriting`; and the `work-items` recurring schedule, both team-only too and recommending no personal override line. This contract does not retroactively rewrite narrow lines already written into consumer repositories. The recursive line supersedes them where both exist. ## Surfaces listed for later adoption Every other plugin's consumer config file under `.claude/`, listed so each can adopt the [location axis](#location-of-the-team-layer-a-docs-convention-file-or-claudename) in its own change. None is migrated by the decision that created the axis. The list comes from `git grep -ohE '\.claude/[A-Za-z0-9._/-]+' -- plugins | sort -u`, keeping consumer config and dropping user-global and plugin-owned state, machine-scope surfaces, Claude Code's own files and directories (`settings*.json`, `rules/`, `skills/`, `agents/`, `commands/`, `hooks/`, `plugins/`), test fixtures, credentials, and the retired `.claude/provenance.json`. Re-derive it against the live tree before acting on it. A surface applies the expression criterion above in its own change. A policy-floor surface, a per-operator-keyed surface, and mutable state stay dedicated files, and a prose surface takes the convention-doc form of ADR 0018 rather than a config block. The Note column marks the surfaces the tables above already declare policy-floor. | Plugin | Team-layer path | Format | Note | |---|---|---|---| | `ai-briefing` | `.claude/ai-briefing/` (`sources.md`, `audience.md`, `brand.json`, per-profile subfolders) | Markdown, JSON | team only | | `autonomy` | `.claude/autonomy/binding.json` | JSON | security axes never repo-local | | `code-tidying` | `.claude/tidy-lanes/.md`, `.claude/code-tidying/exclusion-overrides.md` | Markdown | team only | | `github` | `.claude/github/routing.yaml`, `.claude/github/conventions.md` | YAML, Markdown | policy-floor keys in `routing.yaml` | | `mutation-testing` | `.claude/mutation-testing-arid.md` | Markdown | a finding-suppression record; the settings are on the location axis at `docs/conventions/mutation-testing.yaml` | | `repo-fleet-hygiene` | `.claude/repo-fleet-hygiene.conf` | key-value conf | user-global and team only | | `review`, `planning` | `.claude/standards.yaml` | YAML | roots `/`; policy-floor | Already convention docs under ADR 0018, so outside this list: `plugin-quality`, `architecture` and `authoring-formats`. Already on the location axis, so outside it too: `bugs`, `codebase-health`, `improvement`, `instruction-placement`, the `mutation-testing` settings, `overengineering`, `planning`'s interview page settings, `source-control` and `toolchain`'s ecosystem records. Declared location exceptions ([ADR 0042](../../adr/0042-ratify-consumer-config-location-outliers-in-place.md)), also outside it: `standards`' `/`, `songwriting`'s templates, and the `work-items` tracker binding and recurring schedule.