Description
Session todo lists are lost after compaction. The todo lists should persist across compaction operations but are currently being cleared. (auto compaction only. I don't know if it can be reproduced with /compact command)
Expected behavior:
Todo lists persist across compaction
Actual behavior:
Todo lists are cleared after compaction
opencode version: 1.0.185
model this happened with: Claude Opus 4.5 127k context
Can provide logs if any, I still have the session this problem happened.
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
Session todo lists are lost after compaction. The todo lists should persist across compaction operations but are currently being cleared. (auto compaction only. I don't know if it can be reproduced with /compact command)
Expected behavior:
Todo lists persist across compaction
Actual behavior:
Todo lists are cleared after compaction
opencode version: 1.0.185
model this happened with: Claude Opus 4.5 127k context
Can provide logs if any, I still have the session this problem happened.
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response