Give a Long-Running AI Task a Progress Ledger It Can Resume

An AI task pauses halfway through preparing a project report. When it resumes, it repeats completed research, forgets which figures were checked and treats a planned update as if it already happened. A progress ledger gives the workflow an explicit record of state that can be checked before continuing.
The ledger is not simply a longer conversation summary. It distinguishes evidence of completion from intentions and records what still needs resolution. The design below is an illustrative pattern for project work, not a claim about an available FutureOS agent.
Keep task state outside the narrative
Anthropic's context-engineering guidance describes structured notes stored outside the immediate context window and retrieved later. It also discusses the risk of losing important details during compaction. These ideas motivate keeping durable task state that is concise and reviewable.
For a business workflow, the key design question is what a new operator needs to know to continue safely. A polished narrative can omit whether an action was actually executed. Prefer explicit state fields with links to supporting evidence.
The ledger's storage needs appropriate access and integrity controls. Persisting a note does not automatically make its contents correct or authorized.
Separate planned, attempted and confirmed work
Use distinct states. Planned means the step has not yet been performed. Attempted means an action was initiated. Confirmed means the expected outcome was observed through the appropriate source.
For an illustrative report task, “collect the current project list” might be planned. “Requested the export” is attempted. “Saved export E-17 containing the agreed reporting period” is confirmed only when the export result is available.
An uncertain outcome deserves its own state. If a write request loses its response, the next operator should reconcile the destination rather than assume either success or failure.
Design a compact ledger entry
A useful entry can contain:
Task identifier and the current objective.
Scope and permissions that still apply.
Step identifier, status and completion evidence.
Input source and revision or retrieval date.
Remaining uncertainty and its owner.
Next permitted action and its preconditions.
Last update time and updating actor or process.
Avoid duplicating entire documents into the ledger when protected references will suffice. Retain enough detail to recover the relevant evidence, subject to the data's access and retention rules.
If a source can change, record what version was used and what must be refreshed before continuing.
Make updates reflect reality
Write the ledger after receiving the operation result, and distinguish that result from the business outcome if additional verification is needed. “Request accepted” may not mean the downstream job finished.
The implementation should handle the gap between a successful action and a failed ledger update. Ask how the resumed workflow discovers already completed work in that case. A note alone cannot prevent duplicates if it is the only record and was never saved.
Where an action affects an external system, retain the destination identifier returned by that system. This gives recovery a concrete object to inspect.
Preserve corrections and constraints
Suppose the user changes the report period from the current month to the previous month. Record the new objective and identify which completed steps are now stale. Do not merely append the correction while leaving the old steps marked ready for use.
Keep restrictions visible at resumption: approved sources, permitted recipients and actions requiring review. A summary of progress should not be treated as new permission to expand the task.
If another person takes over, they should be able to tell which decisions were made and which were only suggestions.
Test interruption at different points
Use a controlled exercise that pauses before an action, after an action result and before the ledger records that result. These positions expose different recovery problems.
Ask the resumed workflow to explain its next step from the stored state and available evidence. Verify that it refreshes stale information, preserves completed work and escalates genuinely unknown outcomes.
Also test a changed source document and a revoked permission. Resumption should respect current access and the current task, not mechanically replay yesterday's plan.
Keep the ledger useful to people
A coordinator should be able to scan the ledger and identify what is finished, what is blocked and who owns the next decision. Avoid filling it with verbose model reasoning or unfiltered tool output.
A short state summary with reliable references is more useful than a confident story. Review the ledger as part of handoff and include its maintenance in the workflow's operating responsibilities.
Connect its permissions to human approval checkpoints. Consult the FutureOS introduction when describing a long-running project task.
Editorial note: Prepared with AI assistance. Linked sources checked on October 20, 2026. The ledger design and interruption tests are illustrative.



Comments