Desktop app hides older turns although rollout JSONL retains message history
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
Problem
An existing desktop task displays only new exchanges. Closing and reopening the app does not restore earlier messages.
Read-only diagnostic evidence
- The task still exists in the sidebar.
- The task-history reader returns only today's turns and reports hasMore=false.
- The corresponding local rollout JSONL still contains older user and assistant messages, plus 17 older task_started events.
- The thread_history_1.sqlite thread_turns table contains only the 3 current turns for that task.
- The rollout contains a compacted record with replacement_history. Older entries share an initial timestamp. Whether this is causal is unconfirmed.
Expected
Previously visible conversation history should remain accessible, or a supported history rebuild/recovery should be available.
Environment
macOS desktop app, observed 2026-09-09. Exact app version not yet verified.
No database or rollout modifications attempted. Private transcript, task identifiers, business details and screenshots intentionally omitted. Please advise a supported way to rebuild the affected task's history projection without altering its conversation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the task-history reader and its projection into thread_history_1.sqlite, especially the thread_turns table, then compare that behavior with the corresponding rollout JSONL and its replacement_history record. Done means older conversation turns remain accessible after reopening, or a supported history rebuild or recovery path is available without modifying the conversation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust, sqlite
- Domain
- databases, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100