mirror of
https://github.com/JuliusBrussee/caveman.git
synced 2026-08-11 13:21:09 +02:00
--force on an AGENTS.md containing the legacy un-fenced sentinel replaced the entire file with the fenced block — destroying all user-authored content around the legacy block. The installer's own hint told users with mixed files to run exactly that. Migrate instead: back up once to AGENTS.md.bak, remove the legacy block (exact match of the current rule body when possible, otherwise cut from the sentinel's paragraph start — the legacy path appended the block, so user content precedes it), and write the fenced block after the preserved user content. Fixes #594