fix(watchdog): don't treat idle footer's '· N shells' as active (default active_re)
The default active_re matched a bare middle-dot+number, which also matches the TUI idle footer's '· 3 shells' / '· 1 shell still running'. Any background shell then read as ACTIVE, masking a genuine idle from the stall detector — the agent hung at an empty/stranded prompt and never rebooted. Drop the timer token; genuine activity is 'esc to interrupt'/'Running tool' plus the log-recently-touched grace. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UWTdUq2bsic7JZGqJp3nD6
This commit is contained in:
@ -1262,7 +1262,7 @@ prompt_delivery = "arg"
|
||||
process_name = "claude"
|
||||
submit_key = "Enter"
|
||||
stall_idle = 300
|
||||
active_re = "esc to interrupt|Running tool|\\\\u00b7 \\\\d+"
|
||||
active_re = "esc to interrupt|Running tool"
|
||||
limit_re = "usage limit|limit reached|reached your .*limit"
|
||||
|
||||
[[agent]]
|
||||
|
||||
Reference in New Issue
Block a user