Files
ECC/scripts
NeoandClaude Opus 5.5 0bc6d1d052 fix(eval-harness): make variant directory digests unique and locale-independent
digestDir hashed each file as `path \0 bytes \0` with no length, so file
contents holding NUL could absorb the following files: a one-file tree and
a two-file tree produced the same digest. Frame each file as
`path \0 byteLength \0 bytes`.

Entries were also sorted with localeCompare, which follows the host locale
(sv_SE sorts `ä` after `z`), so the same tree got different digests on
different machines. Sort by code point.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:27:38 -05:00
..
2026-09-12 22:13:59 +08:00