mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-17 13:32:18 +00:00
docs(gateguard): use recursive exemption glob examples (#3866)
GATEGUARD_EXEMPT_GLOBS matches the complete target path, so literal .venv/ and node_modules/ do not cover files inside those directories. Document recursive patterns and keep the .git/** warning. Co-Authored-By: TRAE <noreply@trae.ai>
This commit is contained in:
1 parent
edfb477d86
commit
5d07d2d3c0
1 file changed
+1
-1
@@ -705,7 +705,7 @@ environment variables documented above.
|
||||
|
||||
- Let the gate fire naturally. Don't try to pre-answer the gate questions — the investigation itself is what improves quality. A real search for the target before editing is investigation, and is credited (see [What Counts as Already Done](#what-counts-as-already-done)).
|
||||
- Customize gate messages for your domain. If your project has specific conventions, add them to the gate prompts.
|
||||
- Use `GATEGUARD_EXEMPT_GLOBS` to skip first-touch checks for generated trees like `.venv/` and `node_modules/`; the hook does not read `.gateguard.yml`. Do not exempt `.git/**`: a literal `.git/` does not match `.git/config`, and a broad metadata glob would also skip sensitive-target and hard-link checks.
|
||||
- Use `GATEGUARD_EXEMPT_GLOBS` with recursive patterns such as `.venv/**,node_modules/**,**/node_modules/**`; the hook does not read `.gateguard.yml`. Do not exempt `.git/**`: a literal `.git/` does not match `.git/config`, and a broad metadata glob would also skip sensitive-target and hard-link checks.
|
||||
|
||||
## Related Skills
|
||||
|
||||
|
||||
Reference in new issue
Block a user