What is Rollback?
Rollback lets you turn back time on your project. If something breaks or the agent goes in the wrong direction, you can go back to any earlier point in your conversation and start fresh from there. Think of it like:- A save point in a video game
- The undo button, but for your entire project
- A checkpoint you can return to
When Should You Use Rollback?
Perfect Situations for Rollback
Something Broke
The app was working, then the agent made changes and now it’s broken.Solution: Roll back to when it worked!
Wrong Direction
The agent misunderstood and built something different than what you wanted.Solution: Roll back and explain better!
Stuck in Loop
The agent keeps trying the same fixes that don’t work.Solution: Roll back to last stable point!
Want Different Approach
You realized there’s a better way to build this feature.Solution: Roll back and try new approach!
How to Use Rollback
Find the Rollback Button
Desktop: Look for the rollback button in the chat interfaceMobile: Tap the clock icon
Choose Your Checkpoint
Scroll through your conversation historyClick on the message where everything was still workingTip: Look for messages like:
- “Everything works!”
- “Feature complete”
- Before problems started
Pick Rollback Type
You’ll see two options:Option 1: “Erase all messages and generated code”
- Goes back completely
- Code returns to that point
- Conversation resets
- Choose this if: Code is broken
- Keeps the current code
- Only removes conversation history
- Choose this if: Just want to restart chat
Example: When to Roll Back
Scenario: Broken Payment Feature
- Click rollback button
- Go back to: “Add a discount code field” (when it worked)
- Choose “Erase all messages and generated code”
- Now try again with better instructions:
Two Types of Rollback
Complete Rollback (Recommended)
“Erase all messages and generated code”What happens:
- Code goes back to that point
- Conversation resets to that point
- Everything returns to that state
Message-Only Rollback
“Erase messages only”What happens:
- Conversation history is cleared
- Code stays as-is (current version)
Important Things to Know
You Cannot Undo Rollback
Send a Better Prompt After Rollback
After rolling back, don’t just repeat the same request! Give the agent more context: Don’t do this:Does Rollback Cost Credits?
Good news: Rollback itself is free. However:- You’ll need to spend credits again to rebuild features you lost
- If you rolled back 30 minutes of work, you’ll need credits to redo it
Rollback vs Forking
Rollback
When to use:
- Something broke recently
- Want to undo last few changes
- Quick fix needed
- Same project, earlier state
- Same conversation history up to that point
Forking
When to use:
- Project became too complex
- Running out of context
- Want to try different direction
- New project with fresh start
- Keeps all current code
- New conversation
Real Examples
Example 1: Broken After Styling Changes
Example 2: Agent Misunderstood
Example 3: Repeated Failed Fixes
Tips for Using Rollback Effectively
Good Practices
- Roll back early - If you see problems, don’t wait
- Choose the right checkpoint - Go back to last stable state
- Improve your prompt - Add more detail when you restart
- Test after changes - Ask agent to test before moving on
Avoid These Mistakes
- Rolling back too far - Don’t go back further than needed
- Repeating same prompt - If it failed once, explain better
- Not confirming it worked - Test the feature before continuing
- Forgetting to save info - Copy any important notes before rolling back
Quick Decision Guide
Should I roll back?How to Access Rollback
On Desktop
- Look at the chat interface
- Find the rollback button (usually top or side)
- Click it
- Select checkpoint
- Confirm
On Mobile
- Look for the clock icon
- Tap it
- Browse conversation history
- Select where to roll back to
- Confirm
Remember
Rollback is FREE - No extra credits charged Cannot be undone - Choose carefully! Lose work after that point - Make sure that’s okay Give better prompts after - More detail helps Use early if stuck - Don’t wait too long Test after rolling back - Make sure it’s actually workingCommon Questions
Will I lose all my work?
Will I lose all my work?
You’ll lose work done after the point you roll back to.Everything before that point is kept!Example:
- Messages 1-20: ✅ Kept
- Messages 21-30: ❌ Lost (if you roll back to 20)
Can I roll back after deploying?
Can I roll back after deploying?
Rollback affects your Preview/development version.Your deployed app stays as-is until you deploy again.Safe to experiment in Preview!
How far back can I roll back?
How far back can I roll back?
You can roll back to any point in your conversation history!Even back to the very beginning if needed.
What if I roll back by mistake?
What if I roll back by mistake?
Unfortunately, you cannot undo a rollback.The work is gone - you’ll need to rebuild it.Tip: Always double-check before confirming!
Rollback vs starting over?
Rollback vs starting over?
Rollback: Keep some work, lose recent changesStarting over: Lose everything, completely fresh startRollback is better - You keep the good work!
Still Stuck?
If rolling back didn’t help:- Try the troubleshoot agent - It can find deeper issues
- Fork the project - Start fresh with current code
- Ask for help - Describe the problem clearly