Cobb's seed-cleanup job hit OSError [Errno 7] Argument list too long with a 577KB prompt. Linux ARG_MAX is typically 128KB-2MB depending on kernel + env; passing the full prompt as 'claude -p <PROMPT>' fails for big jobs. Fix: detect prompt size > 64KB threshold, omit the positional prompt argument from the CLI invocation and pipe via subprocess.run(input=...) instead. claude -p reads the prompt from stdin when no positional given. System prompt + flags still pass as CLI args (those stay small). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auth.py | ||
| config.py | ||
| runner.py | ||
| server.py | ||
| store.py | ||