← Back to PRs

#6563: CRASH FIX in CLI runner: route null‑byte prompts via stdin to prevent argv crash

by pkrmf open 2026-02-01 20:08 View on GitHub →
agents size: XS
- What: Detect \u0000 in CLI prompts and send those prompts via stdin instead of argv. - Why: Slack voice messages can include null bytes; Node rejects argv strings with \0, which crashes the cli‑runner. - How: Add a null‑byte guard in resolvePromptInput and a regression test in claude-cli-runner.test.ts. Testing - new unit test added: claude-cli-runner.test.ts AI‑assisted - Yes (Codex). I reviewed and understand the change.

Most Similar PRs