Run coding work as a file-backed checklist

Use an agent to plan, execute, and audit coding tasks from files so progress survives crashes and agent handoffs.

Done with CodexClaude CodeCursor· Intermediate· Dec 2026

What they did
A developer set up a three-step workflow inside a .nightshift/ folder. First, the agent stayed read-only while reviewing code, tests, and git history, then helped create a punch list with a clear finish line. Next, it carried out the work item by item, saving unresolved choices instead of stalling and recording why it picked a default.
How it went
Each completed item ended with a receipt on disk that listed the change, dead ends, parked decisions, checks run, and token and time usage. The design was built so work could keep going after a crash or context reset, and so state could travel with the repo when switching between Codex, Claude Code, and Cursor. No outcome numbers were reported.
Tips
Keep the state files under version control so a new agent can pick up without a verbal handoff. Make the agent pause before any irreversible step, and require it to write out both decisions and verification for each item.

Try it yourself with Codex

In [repo path], help me manage coding work as files. First, inspect the code, tests, and recent history in read-only mode and help me draft a punch list for [goal], saved to [file name]. Then work through the items one by one. If you reach a choice you can’t make safely, write it to [decisions file] with the options and your preferred fallback, then pause for my approval before continuing. For each finished item, save a receipt in [receipts folder] that records the change made, any alternatives you rejected, any parked decisions, the checks you ran, and roughly how much time and tokens you used. Stop when every item is either done or explicitly parked, and do not commit, push, delete, or merge anything until I approve it.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.