From be247cd48c41fcc6d231fe72662e0af03211d6fb Mon Sep 17 00:00:00 2001 From: hypercross Date: Sun, 13 Sep 2026 13:43:54 +0800 Subject: [PATCH] chore: pin generated reference docs to LF The generator emits LF, but with core.autocrlf=true git checked the files out as CRLF, causing the drift guard in known.test.ts to fail on Windows. --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1afeab7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Generated reference docs are emitted with LF by scripts/generate-reference.ts. +# Pin them to LF so the drift guard in src/cli/validate/known.test.ts compares +# like-for-like on Windows, where core.autocrlf would otherwise check them out +# as CRLF. +docs/reference.md text eol=lf +.agents/skills/tttk-authoring/reference.md text eol=lf