Skip to content

Session Todo-list is forgotten after compaction #5934

@hosseinalipour

Description

@hosseinalipour

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions