Repository navigation
fix(ai): progress-keyed stream watchdog (#385 — the night-eater) - #2217
Merged
Merged
Conversation
…the keepalive-masked wedge that held two runs 5+ hours (#385) The 'per-token' idle watchdog was actually per-CHUNK: any bytes on the SSE stream reset the 90s timer. A wedged slot (is_processing:true, n_decoded frozen at 1 for five hours, 2026-08-09) that keeps emitting keepalive / comment frames resets it forever — the comment said tokens, the code counted bytes, and every downstream deadline became a dead letter because the future never errored. Now `last_progress` advances ONLY when a parsed event yields a real delta (content / reasoning / tool-call / finish). Bytes without progress for the same 90s budget fail as loudly as transport silence, with the wedge named in the error and note_real_decode_failure stamped so lane self-heal sees it. Transport-silence timeout unchanged. Remaining #385 halves stay open: per-slot wedge detection in the daemon, and the unbounded semaphore/dispatch audit upstream. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Aug 9, 2026
…he harness must never launder its faults into her record (#384) (#2218) F1's signature: zero acts, no error, empty patch — a citizen whose mind was never delivered (serving transition, null-decision ticks, 60ms 'deliberations') graded SIX capability zeros. A zero is a harness claim. The attempt counter is now manual: an infra-void outcome retries the SAME attempt after a 90s settling pause (bounded at 2 retries), her chances unburned; exhausted retries end the run with a loud INFRA VOID marker on the poll surface and benchmark.attempt.infra_void on the wire — never a graded zero. Genuine outcomes advance the counter exactly as before. This closes the last known round-killer. With #2216 (in-loop verifier), #2217 (progress-keyed watchdog), the subprocess ceilings (#2214), and the settle-time resubmit re-drive (#2215), every failure mode that voided or poisoned a round this week now has a structural answer on the same binary. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Watchdog resets only on real deltas; keepalive bytes can no longer mask a frozen slot. cargo check green.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo