[BUG] Claude incorrectly thought a complex command was `/dev/null`

Resolved 💬 5 comments Opened Aug 26, 2025 by mattgodbolt Closed Jan 4, 2026

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify --> Ubuntu?
  • Claude CLI version: <!-- output of claude --version -->
  • Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->
  • Terminal: <!-- e.g. iTerm2, Terminal App -->

Bug Description

<img width="1884" height="286" alt="Image" src="https://github.com/user-attachments/assets/5a514f0d-3679-47c1-863c-20d1d335a5f4" />

uv run python simple_6502_emulator.py --load assembler_source.bin@0000 --load assembler_source.punch@2000 --start 0200 --max-cycles 1737 --dump 0005:0009:tmp.bin 2>&1 >/dev/null && xxd -g 1 tmp.bin
Check the 4-byte opcode in zero page $05-08

Do you want to proceed?
> 1. Yes
  2. Yes, and don't ask again for /dev/null commands in /home/matthew/dev/simple-asm
  3. No, and tell Claude what to do differently (esc)

Note the "don't ask again for /dev/null commands

Expected Behavior

The command is uv

Actual Behavior

The command was interpreted as /dev/null

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗