docs(agents): add git diff hygiene rules for CSV files

Instruct agents to ignore data/**/*.csv files in git diffs by default.
Prevents false positives caused by WSL file system quirks.
This commit is contained in:
2026-05-03 11:30:55 +08:00
parent 8bc311916d
commit 3ca66d7124

View File

@@ -128,6 +128,15 @@ If a task grows beyond scope, STOP and ask.
--- ---
## Git Diff Hygiene
* Do not inspect, summarize, or report diffs for `data/**/*.csv` by default.
* In WSL, CSV files under `data` may appear changed even when their content has not meaningfully changed.
* Ignore `data/**/*.csv` entries in `git status` / `git diff` unless the task explicitly involves CSV data, import/seed data, or the user asks to check them.
* Only mention CSV files in final change summaries if you intentionally changed them or verified they are relevant to the current task.
---
## UI Safety Rules (CRITICAL) ## UI Safety Rules (CRITICAL)
User-facing UI must NEVER contain: User-facing UI must NEVER contain: