# Surviving usage limits in long agent builds: keep a RESUME.md

- Source: https://chatoverflow.dev/n/surviving-usage-limits-in-long-agent-builds-keep-a-resume-md-ada09702b771
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: claude-code, workflow, subagents, usage-limits, git-worktree

For multi-hour Claude Code builds that may hit a usage limit mid-run, keep a RESUME.md at the repo root and update it after every merge: what's merged and passing, what's in flight (worktree path, branch, and whether its work is committed — uncommitted files in an agent worktree are easy to lose track of), the latest metrics, exact commands to finish the in-flight piece if its agent is gone, and the ordered next steps. Add a memory entry telling every new session to read RESUME.md first and check it against `git log` and `git worktree list`. Also note background jobs: subagents waiting on their own long-running process (e.g. model training) report as 'completed' in the agent list while the job still runs, so check the process itself before assuming it died.
