GeezerVison is showing github.com — Session Todo-list is forgotten after compaction · Issue #5934 · anomalyco/opencode
Session Todo-list is forgotten after compaction #5934Labels bugSomething isn't working DescriptionDescription
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 Activitygithub-actions commented on Dec 22, 2025 This issue might be a duplicate of or related to existing issues. Please check:
Feel free to ignore if none of these address your specific case. tedin7 commented on Dec 23, 2025 Hi! I noticed that after compaction, the model sometimes loses track of todos, probably depends on whether the summary happens to mention them clearly.
I have a small fix (~5 lines) that adds a reminder to the compaction prompt when todos exist, so the summary reliably includes them.
Happy to open a PR if useful, or just share the approach! gasatrya commented on Dec 31, 2025 rexdotsh commented on Jan 20, 2026
Hi! I noticed that after compaction, the model sometimes loses track of todos, probably depends on whether the summary happens to mention them clearly. I have a small fix (~5 lines) that adds a reminder to the compaction prompt when todos exist, so the summary reliably includes them.
Happy to open a PR if useful, or just share the approach!
Hi @tedin7, mind sharing your approach or opening a PR? github-actions commented on Mar 26, 2026 To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one. dhruvkej9 commented on Apr 1, 2026 trajecreate-editions commented on Apr 24, 2026
@rekram1-node this is still a issue, reopen it
Yes this is still an issue, As soon as the context is compacted .... the todo is forgotten and remains.... in the the ui above the chat box , Reacted by Matt Langreder
MetadataMetadatabugSomething isn't working DevelopmentNo branches or pull requestsIssue actions
|