From bac12a1bb7ee4408324da0a0cee1d03a9c33a306 Mon Sep 17 00:00:00 2001 From: Julian Noble Date: Wed, 15 Jul 2026 14:47:05 +1000 Subject: [PATCH] fossil settings: crlf-glob extended to src/vendorlib/* and src/vfs/* Vendored library payloads and vfs kit payloads legitimately carry CRLF endings (upstream files are kept as-is; the LF preference governs authored text). Without the globs, large vendor/vfs checkins block on fossil''s interactive CRLF prompt - the tablelist 7.11 catch-up (fossil 3316d3c7) had to use --no-warnings. Policy documented in .fossil-settings/AGENTS.md alongside the binary-glob rationale. crlf-glob is fossil-only (no .gitignore-style counterpart), so no dual-VCS derivation applies. Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.com --- .fossil-settings/AGENTS.md | 1 + .fossil-settings/crlf-glob | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.fossil-settings/AGENTS.md b/.fossil-settings/AGENTS.md index 37cc7b22..fe74c315 100644 --- a/.fossil-settings/AGENTS.md +++ b/.fossil-settings/AGENTS.md @@ -14,6 +14,7 @@ Versioned fossil settings (one setting value or glob list per file) for this dua ### Commit warning suppression - `binary-glob` is `*`: binary checkins are allowed by default with no fossil warnings/prompts (applies to punkshell and is the pattern for sub-projects like tomlish). The aim of an eventually binary-free tree (goals G-004/G-005/G-006) is agent/workflow policy (see root `AGENTS.md` User Preferences) and is deliberately NOT enforced at the local VCS layer. +- `crlf-glob` covers `src/embedded/*`, `src/vendorlib/*` and `src/vfs/*`: generated docs, vendored library payloads and vfs kit payloads legitimately carry CRLF endings (vendor files keep upstream endings; the root `AGENTS.md` LF preference governs authored text files). Without this, large vendor/vfs checkins block on fossil's interactive CRLF prompt (observed 2026-07-15 with the tablelist 7.11 payload - that checkin needed `--no-warnings`). If a new payload tree outside these globs trips the prompt, extend the glob rather than reaching for `--no-warnings`. ### Files each system must not track diff --git a/.fossil-settings/crlf-glob b/.fossil-settings/crlf-glob index eaa1c665..f9472947 100644 --- a/.fossil-settings/crlf-glob +++ b/.fossil-settings/crlf-glob @@ -1 +1,7 @@ +#Suppress fossil CRLF commit warnings/prompts for trees whose content legitimately +#carries CRLF endings: embedded generated docs, vendored library payloads and vfs +#kit payloads (vendor/payload files keep their upstream endings; the LF preference +#in root AGENTS.md governs authored text files, not these trees). src/embedded/* +src/vendorlib/* +src/vfs/*