Add ACTION_MAX_LIFETIME env var (default 8h) that caps total session wall-clock time independently of ACTION_IDLE_TIMEOUT. A background watchdog sleeps for the remaining lifetime and, when triggered, kills the tmux session, posts a summary comment on the issue, writes PHASE:failed with a max_lifetime reason, and escalates to the supervisor. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| action-agent.sh | ||
| action-poll.sh | ||