Watching project skills, commands and agents folders can now be declined by a runtime check.
What's wrong with this entry?
Watching of project-scoped skills, commands and agents directories for changes can now be refused. When a new boolean check holds and a context argument is present, Claude Code runs an asynchronous check against that context and watches only if it passes; otherwise it falls back to the previous behaviour of watching any directory that exists.
- User-level directories are unchanged and always watched.
- What the new boolean check reads is not stated at the call site, so which projects get declined is decided elsewhere.
projectSettings
Strings lifted out of the shipped bundle, so the claim above can be checked against them.