fix(claude-p): effort-scaled watchdog, stderr liveness, sonnet 64k output cap, retry-cause telemetry

↗ view on GitHub · Eli Ziff · 2026-08-06 · d3b1076c

Both HSR DNFs (2026-08-06) were transport defects: a parse failure discarded
a completed 16-min generation, and the effort-blind 240s inactivity limit
killed healthy effort-max generations at thinking-flush seams. Inactivity
now scales to the 900s grace at effort max; stderr resets liveness on both
paths; sonnet lanes raise the CLI's 32k per-message output cap to 64k
(truncate-rewrite cycles discarded 83%/72% of employment/insurance drafting
output); the terminal retry error carries per-attempt failure kinds; and
unparseable-but-completed replies are preserved to tmpdir for post-mortem.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011pfUVhNFTRvhYGXBwoKNj6
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 810a7767
Stats 1 file changed , +79 , -12
Part of claude-p transport: alternative LLM backend via the Claude CLI

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-d3b1076c.md from inside the repo you want the change in.

⬇ Download capture-commit-d3b1076c.md