Root Cause
When the worker is unreachable, hooks emit exit code 2 (Claude Code's blocking feedback contract). Claude Code treats this as a blocking error, generates a new model turn, which ends the session again, which fires the Stop hook again — still failing — creating a tight infinite retry loop. The consecutive-failure counter escalates without a circuit breaker, eventually blocking all prompt processing. Related: the hook emits no visible error to stderr while doing this, making the failure silent.
Tracked Items
Issues
PRs
Resolution
This is the canonical tracking issue for this root cause. Individual issues and PRs listed above will be closed in favor of this one.
Root Cause
When the worker is unreachable, hooks emit exit code 2 (Claude Code's blocking feedback contract). Claude Code treats this as a blocking error, generates a new model turn, which ends the session again, which fires the Stop hook again — still failing — creating a tight infinite retry loop. The consecutive-failure counter escalates without a circuit breaker, eventually blocking all prompt processing. Related: the hook emits no visible error to stderr while doing this, making the failure silent.
Tracked Items
Issues
PRs
Resolution
This is the canonical tracking issue for this root cause. Individual issues and PRs listed above will be closed in favor of this one.