Skip to content

Commit 910a65a

Browse files
samuellawerentzphernandez
authored andcommitted
docs(plugins): clarify hooks resolve nearest ancestor with a .claude settings file
Signed-off-by: Samuel Lawrentz <samuel.lawerence@plivo.com>
1 parent 10de0c4 commit 910a65a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

plugins/claude-code/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ highest: user-level `settings.json` → project `settings.json` → project
8787
`primaryProject` wins over the user-level default. (This mirrors Claude Code's
8888
own sources: `settings.local.json` is project-scoped only, so there is no
8989
user-level `settings.local.json`.) The hooks resolve the project settings from
90-
the nearest `.claude` directory at or above the working directory, so a mapping
91-
in the repo root still applies when Claude starts in a subdirectory.
90+
the nearest ancestor directory (including the working directory) whose `.claude`
91+
folder contains a `settings.json` or `settings.local.json`, so a mapping in the
92+
repo root still applies when Claude starts in a subdirectory.
9293

9394
To enable the capture reflexes, also set `"outputStyle": "basic-memory"` in your
9495
settings (or select it via `/config`).

0 commit comments

Comments
 (0)