The idle watchdog checked lastProgressAt to detect stalled agents, but nothing updated that timestamp during normal execution. Any task taking >10min triggered false idle recovery, steering messages, and eventually got skipped — even while actively writing code. Add detectWorkingTreeActivity() check before recovery: if git reports uncommitted changes, the agent is working. Bump lastProgressAt and skip recovery. Genuinely idle agents (clean working tree) still get recovered as before. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| resources | ||
| tests | ||
| app-paths.ts | ||
| cli.ts | ||
| loader.ts | ||
| resource-loader.ts | ||
| tool-bootstrap.ts | ||
| wizard.ts | ||