LatchLoop makes it easy to experiment with code changes, review AI-generated suggestions, and iterate on your software projects. Sometimes, you may want to undo a set of changes or start over from a previous point. The Revert Task feature is designed to help you do just that, safely and efficiently.
This article explains how the revert feature works, when to use it, and what to expect when you revert a task.
The Revert Task feature lets you undo changes that were made during a specific coding session or set of commits in your LatchLoop task. This is especially useful if:
Reverting is safe: your previous work is not deleted, but is hidden from the main view so you can focus on your current direction.
You can revert a task from the Activity (AI Messages) sidebar for any task. Here’s how:
Tip: You can only revert to earlier points in the task’s history. The revert button is available next to each user request or run, so you can easily undo one or more rounds of changes.
When you revert a task, LatchLoop will:
When you revert, LatchLoop marks the affected AI messages and code changes as reverted. These are hidden from the sidebar and are not included in future AI context, but are still stored for your records.
Reverts are designed to be a safe way to clean up your task history, but they cannot be undone. If you revert by mistake, you can always resubmit your previous request (which is restored for you in the feedback box) or reapply changes as needed.
Use revert when you want to:
The revert feature is a powerful way to keep your project history clean and focused on your goals.
Q: Will reverting delete my previous work?
A: No. Reverted changes are hidden from the main view but are still stored for your records.
Q: Can I revert multiple times?
A: Yes! You can revert as many times as you need, to any earlier point in your task’s history.
Q: What happens to my feedback or instructions after a revert?
A: Your previous feedback or instructions are restored in the feedback box, so you can easily edit and resubmit them.
Q: Can I revert a task after it has been merged?
A: You can revert any task as long as it is still open in LatchLoop. If the task has been merged, you may need to create a new task for further changes.
If you have more questions about reverting tasks or need help, please contact our support team!