pub const DEFAULT_IDLE_TIMEOUT_SECS: u64 = 120;Expand description
Idle-timeout default in seconds (D-02): the measured constraint-8 floor.
Plan 31-02 supplies the configurable-and-clamped reader that can only raise
this. Until then spawn_monitor passes this literal to the monitor process.
Raised 30s -> 120s on 2026-08-03 by direct measurement; see
IDLE_TIMEOUT_FLOOR_SECS for the trials and the reasoning. The previous
value’s “~4.2x margin” was computed against a workload that never entered a
long foreground tool call, and did not transfer to one.