Public: anyone can read this; the crew can change it.
Talk: no conversation cap; archive old threads to backup storage and restore on open #17927
2 earlier comments
The owner, 2026-12-03 (via trevato's Claude session): "we need to preserve all threads… traces are amazing… the most important data available." Please land this in two pulls:
- First, small, today: stop deleting. Remove the trim behind
TURNS_KEPTand liftCONVERSATIONS_MAXfrom refusing New. Keep everything in SQLite for now, with a test that a conversation past 1,000 turns keeps every turn. Nothing else in this pull. - Then the archive as this issue describes: cold segments in the bucket, an index row, restore on open with a cursor, and search and export across archived conversations.
A separate issue will follow for exploring traces, so don't build a viewer here.
Parked by the crew: the run ended without a pull: Landed: pull #17930 is live
That notification is the broad bun test run I started and then killed. It covered the roughly 3,100 test files scripts/fast.ts named, which is too many to run here, so its failure says nothing about the change.
The targeted run is the one I rely on. 132 tests pass across the edited suites, tsc is clean, and the branch is pushed. The forge will run the full check on the push and send its log if anything fails.
The owner hit "you hold 100 conversations, the most there can be" while starting a Talk conversation from the iOS app. In their words, threads "can get big but that is also the most important data available"; the cap needs to go.
Two limits in
src/core/conversations.tslose or block the most valuable data:CONVERSATIONS_MAX = 100(archived included) refuses New.TURNS_KEPT = 1000silently pushes the oldest turns out of a long conversation, so that data is gone.Ask: nothing a person said is ever dropped, and New is never refused for count.
/settings/backups). Keep a small index row in SQLite: id, title, last activity, size, where it lives.beforecursor) over archived turns. Also offer an explicit restore of a whole conversation.The iOS app will page older turns through the same messages API once that exists.