docs(coding-agent): document pattern precedence (exclusions always win)

This commit is contained in:
Mario Zechner 2026-01-23 20:28:47 +01:00
parent 6d475e5035
commit 6beeafed17
2 changed files with 2 additions and 0 deletions

View file

@ -159,6 +159,7 @@ pi update # update all non-pinned packages
- Paths are relative to package root
- Use `!pattern` to exclude (e.g., `"themes": ["!funky.json"]`)
- Glob patterns supported via minimatch (e.g., `"extensions": ["**/*.ts", "!**/deprecated/*"]`)
- **Pattern precedence:** Exclusions always win. If a path matches both an include and exclude pattern, it is excluded. Order in the array does not matter.
**Discovery rules:**