This is the most severe bug in Kiro's history, absolutely the worst since this version update, unprecedented.
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
windows 10
Kiro Version
0.8.206
Bug Description
I was working on refactoring the project this time, and the changes were quite extensive. After completing the refactoring work, I intended to submit it and have the Kiro agent review the code. However, the session space ran out and triggered compression. After automatically switching to a new session, the output resumed from the unfinished task, but I realized it wasn't picking up from the previous work. Instead, it resumed from a much earlier session task, and the conversation was completely garbled. I checked the modifications it made and found that it hadn’t actually changed much. When I ran the program, I discovered that the functionalities were still from before the refactoring. Upon reviewing the code, I found that all the code had inexplicably reverted to the old version. There were no Git commits during the refactoring, and Kiro showed no modification records. The code was mysteriously restored, and the agent had no memory of it whatsoever. It was a complete memory wipe, and I could only curse my luck. There was no chance for recovery. All I could do was scream "fuck you" ten thousand times at Kiro!!!
Steps to Reproduce
I was working on refactoring the project this time, and the changes were quite extensive. After completing the refactoring work, I intended to submit it and have the Kiro agent review the code. However, the session space ran out and triggered compression. After automatically switching to a new session, the output resumed from the unfinished task, but I realized it wasn't picking up from the previous work. Instead, it resumed from a much earlier session task, and the conversation was completely garbled. I checked the modifications it made and found that it hadn’t actually changed much. When I ran the program, I discovered that the functionalities were still from before the refactoring. Upon reviewing the code, I found that all the code had inexplicably reverted to the old version. There were no Git commits during the refactoring, and Kiro showed no modification records. The code was mysteriously restored, and the agent had no memory of it whatsoever. It was a complete memory wipe, and I could only curse my luck. There was no chance for recovery. All I could do was scream "fuck you" ten thousand times at Kiro!!!
Expected Behavior
I was working on refactoring the project this time, and the changes were quite extensive. After completing the refactoring work, I intended to submit it and have the Kiro agent review the code. However, the session space ran out and triggered compression. After automatically switching to a new session, the output resumed from the unfinished task, but I realized it wasn't picking up from the previous work. Instead, it resumed from a much earlier session task, and the conversation was completely garbled. I checked the modifications it made and found that it hadn’t actually changed much. When I ran the program, I discovered that the functionalities were still from before the refactoring. Upon reviewing the code, I found that all the code had inexplicably reverted to the old version. There were no Git commits during the refactoring, and Kiro showed no modification records. The code was mysteriously restored, and the agent had no memory of it whatsoever. It was a complete memory wipe, and I could only curse my luck. There was no chance for recovery. All I could do was scream "fuck you" ten thousand times at Kiro!!!
Conversation ID
No response
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #5165: after conversation compating, Kiro undoes the previous changes (95% similar)
- #4800: 跨设备 AI 上下文同步 - 解决 AI 记忆丢失问题 (85% similar)
- #4638: 切換SESSION (85% similar)
- #4293: Context Length Issue Causing Task Interruptions and Data Loss (85% similar)
- #4181: Context limit exceeded unexpectedly. Please start a new session to continue. (85% similar)
- #4160: deleted my data for hackathon and didn't commit to git (85% similar)
- #4070: AI Conversation History Synchronization Issues (85% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ Remove the
duplicatelabel if this is NOT a duplicate - 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both report the same core issue where conversation compression/compacting causes Kiro to undo previous changes and lose work, with code reverting to earlier versions
This issue has been automatically closed as it appears to be a duplicate of an existing issue.
If you believe this is incorrect, please comment on this issue and a maintainer will review it.
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.