- The agent marks requests with X-Triple-C-Background: 1 (and the
attach/tunnel sessions they open) as not activity (R11).
- triple-c-idle-watch no longer requires zero open execs/tunnels: idle is
last_activity older than N minutes, no claude, no scheduler job, no
running clone, and no unsaved git work. With the WIP push on, it pushes
as claude before signalling and stays up (backing off) when the push
fails; with it off, dirty repos keep the workspace up.
- An idle stop exits 75 so ECS reports it distinctly from a crash; the
TERM trap no longer pushes again after the watcher's push.
- start_clone_repos writes done from an EXIT trap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>