Topic 3 of 5 · 4 min read
To-do lists that track agent progress
Goal: Review an agent's to-do list against its run log and find items marked done without evidence.
A to-do list is a record of claims, and a claim is only worth something when the run log backs it. Agents tick items off because they believe the work is done, not because they proved it.
Check yourself · 1 of 3
An agent marks "Run the full test suite" as done. What should you look for in the log?
Why it matters
Long tasks outlive the context window. Once earlier turns are trimmed or summarised, the list is what tells the agent, and you, what remains. Claude Code keeps a todo list during a session. Other setups use a Markdown checklist in the repo, a progress.txt file or a JSON feature list. Anthropic's long-running agent write-up uses a feature file with a pass/fail flag per item and git commits as checkpoints, so a fresh session can pick up where the last stopped.
How to keep a list honest
- One item, one outcome, one check. "Add the endpoint" is vague. "POST /invoices returns 201; test
invoices.createpasses" is not. - Only one item in progress. Several half-done items hide where the work is.
- Done means evidence. The log should show the command and its output near the tick. No test run, no tick.
- Keep the list in a file the agent can re-read after its context is trimmed, and commit it with the work.
- Make the list append-friendly. Let the agent add newly found work instead of silently doing it. Surprise work is where scope creep starts.
- Limit what the agent may edit. In a feature-list file, allow changing only the pass flag, not deleting or rewording items to make them easier.
Before and after
Before (list):
[x] Add retry logic
[x] Update tests
[x] Update docs
After (list and evidence):
[x] Add retry logic to fetchInvoice (3 tries, backoff) - src/api.ts diff
[x] Test: second call succeeds after one 503 - npm test api: 14 passed
[ ] Update docs/api.md - not started
Reading a list against the log
When you review, take each ticked item and find its proof. A ticked "tests pass" with no test command in the log is unproven. A ticked item whose test was edited in the same turn is suspect. Items quietly missing from the list are as important as items ticked early.
What goes wrong
- Optimistic ticking. The item is marked done before the check ran.
- Rewritten items. The agent shortens "all endpoints" to "main endpoints" so the list can finish.
- A list nobody re-reads. It drifts away from the real state.
- Too much detail. A hundred items cost more to maintain than to skip.
Examples
A tick without a run
The list says "[x] Fix flaky login test". The log shows the agent edited the test file and then stopped; no test command ran. The honest status is "changed, not verified". Ask the agent to run the test three times and paste the output before the tick stays.
The shrinking item
Turn 2 lists "Handle errors in all 6 API clients". Turn 9 shows "Handle errors in the main API client" ticked. The item was narrowed, not finished. A diff of the list file between turns shows this; re-reading only the latest version does not.
Key points
- A to-do list is only useful if each tick is backed by evidence in the run log.
- Write each item as one outcome with its check, and keep one item in progress at a time.
- Store the list in a file that survives context trimming, and commit it alongside the work.
- Let the agent add newly found work to the list instead of doing it silently.
- Watch for items that were reworded, shrunk or removed to make the list look finished.
Common mistakes
- Accepting a ticked item without finding the command output that proves it.
- Letting the agent reword or delete items, so a finished list does not mean a finished task.
- Keeping the list only in the chat, where it vanishes when the context is trimmed.
- Writing so many fine-grained items that updating the list becomes the main work.
Check yourself · 2 of 3
Why keep an agent's to-do list in a committed file rather than only in the chat?
Check yourself · 3 of 3
In turn 1 the list item was "Add input validation to all 5 forms". In turn 8 it reads "Add input validation to the signup form" and is ticked. What happened?
Practice items, not counted towards your mastery.
Start here
- Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning (opens in a new tab)PaperFree
Shows that asking a model to plan first and then carry out the plan reduces missing-step errors.
- Reflexion: Language Agents with Verbal Reinforcement Learning (opens in a new tab)PaperFree
The source for reflecting on a failed attempt in words and carrying the lesson into the next try.
- Plan-and-Execute Agents (LangChain blog) (opens in a new tab)ArticleFree
Compares plan-and-execute with a plain tool loop and explains the cost and speed trade-off.
More for this topic
- Effective harnesses for long-running agents (Anthropic) (opens in a new tab)ArticleFree
Feature lists, progress files and git checkpoints that keep long agent work honest and resumable.