Repository navigation
AgentChef 1.7.7 - resume --wait and memory guard
1.7.7 - 2026-10-14
team-run resume --waitsleeps until the usage limit resets, then resumes. The reset time is read from the paused workers' limit messages (clock times, relative hours/minutes, ISO timestamps; the latest wins, plus a 2-minute margin), falling back to 30 minutes and capped at 12 hours.statusshows it asresumeAtfor paused runs. New pure modulescripts/lib/usage-limit-reset.mjs.- Memory guard: the supervisor holds queued workers while free RAM is short (about 1.5 GB per worker plus a 2 GB reserve). One worker always starts when none is running, so a low-memory machine slows the run instead of deadlocking it. The run history records
memory_holdonce per hold.AGENTCHEF_TEAM_MIN_FREE_MBoverrides the reserve andAGENTCHEF_TEAM_MEMORY_GUARD=offdisables the guard. New pure modulescripts/lib/memory-guard.mjs. - Fix (from 1.7.6): resuming a paused run could fail with "The run changed while resuming" when its exiting supervisor wrote a last heartbeat; the heartbeat comparison now applies only to crash recovery.
Full history: CHANGELOG.md. Update: npm run chef -- --update --apply.