mirror of https://github.com/garrytan/gstack.git
The crash-loop guard (3 respawns inside RESPAWN_GUARD_WINDOW_MS -> stop and require manual restart) could never trip: respawn attempts land at most once per watchdog tick, and the window (60s) equaled the tick interval (60s), so the rolling history never held more than one entry. A crash-looping agent respawned once a minute for the daemon lifetime (#2151). Size the window as max(60s, tick * guard-max) so three consecutive failed ticks trip the guard at any tick setting. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bin | ||
| scripts | ||
| src | ||
| test | ||
| PLAN-snapshot-dropdown-interactive.md | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||