From 3ca66d712429f27ffceef07b89175c53b48fe985 Mon Sep 17 00:00:00 2001 From: xiaomai Date: Sun, 3 May 2026 11:30:55 +0800 Subject: [PATCH] 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. --- AGENTS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 9322f34..539ed46 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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) User-facing UI must NEVER contain: