SIGN IN SIGN UP

Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1

0 0 109 Python

Fix unhandled OSError in subprocess and unsafe dict access in subagent (#159)

- agents/s01_agent_loop.py: Add FileNotFoundError/OSError handling in run_bash()
- agents/s04_subagent.py: Same fix + use .get() for block.input['prompt']
  (consistent with .get() already used for 'description' on line 157)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Z
Zhang committed
6511c9863149477616311266f6153644694b7274
Parent: 117e59c
Committed by GitHub <noreply@github.com> on 4/1/2026, 1:00:47 PM