From e72d660bb3502a826eb29d86e4238ce6c66f0486 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Sat, 4 Jul 2026 20:45:38 -0700 Subject: [PATCH] Assert the editorconfig global end_of_line default in recurring.eol The recurring.eol audit check now requires .editorconfig to carry a global [*] end_of_line = crlf default (plus the LF pins), flagging the older per-extension-only form as drift. Both audited repos (Utilities, PlexCleaner) show that drift; this makes it machine-checkable rather than a per-repo note (AUDIT.md s9). Co-Authored-By: Claude Opus 4.8 (1M context) Signed-off-by: Pieter Viljoen --- spec/project-types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/project-types.json b/spec/project-types.json index 6c3a5e47..d2d1a24f 100644 --- a/spec/project-types.json +++ b/spec/project-types.json @@ -123,7 +123,7 @@ { "id": "recurring.comments", "verdict": "letter", "assert": "Comments are concise, only the non-obvious, no prose narration, and do not grow on re-edit.", "intentRef": "AGENTS.md#comments" }, { "id": "recurring.charset", "verdict": "letter", "assert": "ASCII only in agent-authored text: no em-dash (use a spaced hyphen), no smart quotes, no stray non-ASCII.", "intentRef": "AGENTS.md#character-set" }, { "id": "recurring.spelling", "verdict": "letter", "assert": "US English spelling; the shared cspell.json sets language en-US (a bare en accepts British spellings too).", "intentRef": "CODESTYLE.md#markdown-and-spelling" }, - { "id": "recurring.eol", "verdict": "letter", "assert": "Line endings follow .editorconfig (Windows+Linux friendly: CRLF default, LF for execution-sensitive files); edits preserve the file's endings.", "intentRef": "AGENTS.md#line-endings" } + { "id": "recurring.eol", "verdict": "letter", "assert": "Line endings follow .editorconfig, which carries a global [*] end_of_line = crlf default plus LF pins for execution-sensitive files (shell, Dockerfiles, shebang-executable .py by path); a per-extension-only form lacking the global [*] default is a drift finding. Edits preserve the file's endings.", "intentRef": "AGENTS.md#line-endings" } ] }, "readme-structure": {