Skip to content

fix(read): spell the memo-key NUL delimiters as \x00 escapes - #381

Merged
mikegreiling merged 1 commit into
mainfrom
mg/fix-nul-bytes
Aug 3, 2026
Merged

fix(read): spell the memo-key NUL delimiters as \x00 escapes#381
mikegreiling merged 1 commit into
mainfrom
mg/fix-nul-bytes

Conversation

@mikegreiling

Copy link
Copy Markdown
Owner

The #362 ref-promoter memo key embedded two literal 0x00 bytes as composite-key delimiters. Behaviorally identical, but raw NULs make grep (and friends) classify src/read/queries.ts as binary. Spelled as \x00 escapes instead — same delimiter, clean text file. Found during the #368 rebase.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RYbJensXxHpJK1v1VDXYUD

…scapes

The ref-promoter memo key used raw 0x00 bytes as composite-key delimiters,
which is behaviorally fine but makes grep and other text tools treat
queries.ts as a binary file. Same delimiter, now spelled as an escape.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RYbJensXxHpJK1v1VDXYUD
@mikegreiling
mikegreiling merged commit 357f804 into main Aug 3, 2026
1 check passed
@mikegreiling
mikegreiling deleted the mg/fix-nul-bytes branch August 3, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant