Skip to main content

Chat integrations guide

Go back before the task went wrong

Return a task's files to an earlier message and continue from a corrected brief.

3 min readUpdated Start the guide

The agent misunderstood a requirement several messages ago and continued editing. Repeating the correct requirement will not automatically remove those changes. Use an available file checkpoint to return to a known point, then explain the corrected scope. Keep this distinct from rolling back a release already serving customers.

On this page

Requirements

Before you start

Make sure you have these in place before following the steps:

  • A task with recorded checkpoints and permission to change its files.
  • An identified message before the work diverged.
  • A stopped or idle turn before restoring or editing earlier work.
The file review interface with a sample validation change.
Review the changed file and its diff before submitting. Example code and task data. Open full-size screenshot
Step 1 of 6

Find the last correct request

Read the conversation and inspect the changed files to identify when the misunderstanding began. Choose a user message that has a checkpoint control. Note any useful work after that point so you can request it again deliberately rather than accidentally losing it.

Step 2 of 6

Wait for a safe task state

Stop an active turn or let it finish before restoring. Check for pending permission requests, questions and queued messages. Earlier-message editing is unavailable in several active states; clear or resolve the relevant queue rather than trying to rewind around an instruction that may still be delivered.

Step 3 of 6

Restore files before the selected message

Use Restore files to here on the chosen earlier user message. Review the available confirmation and the point being selected. This restores the task's files to before that message. It is a file operation in this task, not proof that a running app, database or external service has been restored.

Step 4 of 6

Check the restoration result

Read the result notice and inspect the task files or diff. The notice identifies the message and affected file count. If you selected the wrong point, use Undo restore while it is available, then review the files again. Do not pile more edits onto a state you have not checked.

Step 5 of 6

Continue with a corrected request

Send a new instruction explaining what was restored and what should happen now. Alternatively, use Edit on an eligible earlier message, revise it and send to continue from that point. Be explicit about useful work that should be recreated.

Example
The files are back before the layout request. Change only the public booking page. Keep the admin page unchanged. Recreate the date error message, then show the changed files and test both valid and missing dates.
Step 6 of 6

Review the new attempt as new work

Read the next plan and verify the narrowed scope before accepting its result. Inspect changes against the restored starting point. Review the earlier-attempt display if useful, but judge the current files and checks rather than assuming an improved brief guarantees a correct implementation.

Check the result

  • The restore notice names the intended checkpoint.
  • The task diff reflects the expected starting state.
  • A corrected instruction is visible and the new attempt is separately reviewed.

Troubleshooting

Restore or Edit is missing or disabled.

Check for a recorded checkpoint and an idle task. Active turns, permission states, questions or queued work can restrict the action. Older history may not expose a usable checkpoint.

The live app still shows the unwanted behavior.

Task restoration does not roll back a deployed release. Identify what actually shipped and use the separate release recovery workflow if needed.

Availability and limits

  • This restores task files, not database records or external side effects.
  • Checkpoint availability depends on task history and runtime support.

Related documentation

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.