You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
core: graph-ir.ts contains three literal NUL bytes, so ripgrep silently skips the file #2280
packages/core/src/graph-ir.ts contains three \x00 bytes, around offset 32631, inside buildLiveGraphIr's edge key template. file reports the path as data rather than as text, and ripgrep classifies it as binary, so a plain rg over packages/core/src silently returns nothing from it and prints binary file matches at best.
The file compiles and its tests pass, so nothing is broken at runtime. What is broken is discoverability: the module that builds the graph IR is invisible to the repo's primary search tool. That has already cost real time in this repo, both to a person searching for a symbol and to agents whose entire method is grep-then-read.
The three NUL bytes are gone and the template produces the same key, asserted by an existing or new test.
file packages/core/src/graph-ir.ts reports text, and rg buildLiveGraphIr packages/core/src finds it.
A guard so it cannot come back: a test or a lint step that fails when any tracked source file under packages/ or lexicons/ contains a NUL byte. Cheap to write and it catches a whole class of paste accidents.
Activity
fix(core): write the NUL key separator as an escape, not a raw byte (#…
test(fold): close the corpus, so an entry in neither list fails (#2225)…