Problem: So the problem was, every time we reopen the Antigravity, the past history is gone. Even the new chats are gone. No history saving at all, as it looks like.
Solution: Itâs related to the workspace configuration file/path, so the solution is simple. Follow these steps,
1. Open the Google Antigravity editor (Login if you arenât already).
2. Click on the âOpen Agent Managerâ. Then you will see â+ Open Workspaceâ button below workspace.json under Workspaces on the left panel.
3. Click â+ Open Workspaceâ and click âOpen New Workspaceâ row on the appeared menu.
4. You will be asked to select the project folder, so go ahead.
5. Then on the left panel named Workspaces, you will see the whole Past History in a few seconds loading 1 by 1 (Make sure internet is fine).
6. Now you must click the Close button of the main editor (Not Agent Manager). Then you will be asked to save the configuration to a location on your device, so do it (I saved mine to Documents). Make sure the Agent Manager windows is still open.
7. Now there are 3 dots at the end of the project name under the Workspaces side panel. Click 3 dots and click Focus Editor. Boom you will see the Past History.
8. Congratulations⌠Now you can see the Past History loaded on the editor.
The idea of the problem I realized.
The problem might be that the editor canât get the configuration file location or the file is somehow missing, renamed, or the editor is expecting something else, etc,. So creating a new workspace configuration and saving it to a location made it work. But this is temporary.
Since I exposed a solution, people who are smarter will be able to find a permonant solution by somehow,
Saving the workspace file to the exact location editor expects it to be with the correct name.
My past conversations are back. Thx a lot ! I would have thought that saving a conversation history would be a fairly simple feature to implement. The fact that it apparently isnât leaves me a bit puzzled. It doesnât really reassure me about the future.
Since Google hasnât addressed this yet, Iâve created a simple fix and a GitHub page for it. To use it, just close Antigravity, run the file, and restart. It will restore your conversation history safely. The project is safe and open-source, so you can see exactly how it works under the hood. If it helps you out, please leave a star! Cheers
Thanks! Iâm on WSL2, although it does not correctly link new conversations to the history (if I create a new one, I have to rerun the scripts for the app to pick em up), but once they are picked up I can go back to them whenever I want, itâs a life saver! The only solution that actually works
IT PISSES ME OFF THAT THE SOLUTION DOES NOT WORK FOR ME, I LEFT ANTIGRAVITY WORKING WHILE WORKED ON SOMETHING ELSE THEN BOOM A BLACK OUT, IT TOOK 2 MINUTES THEEN CAME BACK, ONCE I OPENED ANTIGRAVITY I FREAKING LOST EVERYTHING I DID THE LAST 2 DAYS, WHAT I ESPECIALLY HATE IS THE FACT THAT I DONâT KNOW WHO TO BLAME, GOOGLE FOR THEIR PRODUCT OR THE ELECTRIC COMPANY FOR THAT BRIEF BLACK OUT, I COULDVE SLEPT IT OUT IF IT DIDNâT COMEBACK IMMEDIATELY, ITâS LIKE THEY SWITCHED IT OFF TO MESS WITH ME.
NOW MY WORK IS LITERALLY BROKEN BECAUSE i CANâT UNDO NOR CONTINUE THE CONVERSATION BECAUSE ITâS GONE, I HAVE TO MANUALLY CHANGE EVERYTHING AND EVEN MAKE UP ANOTHER PROMPT JUST TO REPLICATE IT.
I just found a workaround. This is Prompt based
# Antigravity History Recovery: Prompt-Based Troubleshooting Guide
This guide is designed for Antigravity users on `google.dev` who can see their conversation files (`.pb` files) on disk but find their sidebar history empty or missing. This usually happens when the **Workspace ID** changes (due to drive letter casing, path aliases, or opening subfolders).
Follow these **four prompts** in order to have Antigravity automatically diagnose and restore your missing history.
---
### **Prompt 1: The Discovery Phase**
_Copy and paste this as your first message to Antigravity:_
"I am missing some of my old conversation history in the sidebar, but I believe the files are still on my disk. Please identify my `conversations/` folder, count all `.pb` files, and list the IDs of the 5 most recently modified ones so I can verify they are still there."
---
### **Prompt 2: Workspace Mapping Diagnosis**
_Once the files are confirmed, use this prompt to find why they are 'missing':_
"Antigravity indexes history based on Workspace Path Hashes. Please scan my `AppData\Roaming\Antigravity\User\workspaceStorage` folder and list all unique folder paths found in `workspace.json` files. Identify if my current project is mapped to multiple Workspace IDs (e.g., due to 'C:/' vs 'c:/' drive letter casing)."
---
### **Prompt 3: The 'Hijack' Injection**
_To begin the restoration, manual action is required first. Create several "New Chat" slots in your sidebar, then use this prompt:_
"I have just created [X] new, empty chat slots in my sidebar to serve as restoration targets. Please identify these new slots (created in the last few minutes) and copy the content of my most recent 'missing' history files into them (from newest to oldest). Be sure to also migrate the corresponding data in the `brain/` folder for each ID."
---
### **Prompt 4: Final UI Refresh**
_After the injection, if titles are still showing as 'New Chat', use this final prompt:_
"The history files have been injected into my new slots, but some sidebar titles haven't updated yet. Provide the exact command to 'Reload Window' and confirm if any additional steps are needed to force the editor to re-read the titles from the `.pb` files."
---
### **Why this works**
1. **Antigravity Context**: The AI agent has full access to your local filesystem and can "see" the raw history files that the UI is ignoring.
2. **Bypassing Database Locks**: By injecting data into **active** slots instead of trying to edit the locked SQLite database (`state.vscdb`), we avoid permission errors and safely "re-parent" your old work to the current workspace.
3. **Metadata Integrity**: By copying both the `.pb` (messages) and the `brain/` folder (AI context/KIs), your past work remains fully searchable and "aware" of the previous conversation's state.
---
[!TIP]
Always ensure you open the **Root Folder** of your project (not a subfolder) to maintain consistent Workspace IDs in the future.
What I DID was, I made an extension to automatically back up the conversation. I used antigravity to make it, took me a few minutes, and now I work worry free. It notifies me when a conversation disappears and yes it does disappear often, the ID changes way too much, thatâs why the extension was quite helpful because it saves everything, because if it changes I still have a copy of the unchanged one, I can just reupload it to the file directory. I could have made it smarter by adding more features to maybe find what changed and merged them or replace the backup but im too lazy to do so.
as you can observe below, LIVE storage means what agy uses while backup is backup, somehow LIVE keeps losing data but the back up is present, its either older conversations are being auto deleted or as youâve said, the id changes. itâs strange
This is clearly NOT A BUG. Google trains their AIs with us and then vanishes the information on our end because, as everyone knows, data is never CLEARED; it is well saved on Googleâs servers. Very SMART GOOGLE, VERY SMART. And if anyone here thinks itâs a bug, this âbugâ is very smart because it selects very well what to âclearâ.
Iâm still dealing with the same ridiculous problem. Itâs appalling that Google hasnât lifted a finger to fix this! Theyâre perfectly capable of happily taking money from our credit cards, yet theyâre doing absolutely nothing to fix this ridiculous glitch they created.