mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
The legacy-nest migration's copy_file_over_generated_default detects an untouched default AGENTS.md by byte-equality against the embedded AGENTS_MD template. That comparison only succeeds while ensure_nest_at writes the template verbatim on a fresh file; a future template or refresh change that breaks the identity would make the guard silently fail closed and re-strand the user's legacy AGENTS.md. This test pins the byte-equality invariant so such drift trips a loud failure instead of regressing the migration. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>