77f6203475
The headless bench stubbed _send_sbx_input to a no-op, so run_shell commands were staged to /tmp/.hh_*.cmd but the typed wrapper never ran — the rc/out poll timed out and any shell-dependent task FAILed (mkdir+list burned ~248s then failed). Make the stub run typed input in the bench process (CWD == workdir), faithfully standing in for the room PTY, so _run_shell_in_pty (staging/poll/cleanup) is exercised end-to-end. Result: 3/3 pass. Surfaced a separate model-side argument leak in script+run (tool JSON-schema dict passed as the command) — fixed next. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>