Repository navigation
v26.329.17
Fix: Stream Watchdog — Cerebellum Authority Restored
Root cause found: The verifyToolResult gRPC call had no deadline. A half-open connection or slow server caused the await to hang forever, permanently locking _nudgeInFlight = true and blocking all future nudges.
The Cerebellum's verification logic was correct all along — claimedSuccess=false triggers a deterministic passed=false result, which should fire the nudge. The transport layer was the problem, not the decision.
Fixes
- 5s gRPC deadline on
verifyToolResult— call can no longer hang indefinitely - Cerebellum authority restored — reverts v26.329.16's bypass; the Cerebellum decides whether to nudge
- Error handling — gRPC deadline exceeded, disconnects, and null results all trigger the nudge (fail-safe)
_nudgeInFlight— always resets viafinallyblock, never gets stuck