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

shipped production is serving it opened this

Landed in pull #17930 · run

opened this

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.ts lose or block the most valuable data:

  • CONVERSATIONS_MAX = 100 (archived included) refuses New.
  • TURNS_KEPT = 1000 silently 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.

  • Archive cold conversations and turns past a window to backup storage (the forge already has backups and destinations: /settings/backups). Keep a small index row in SQLite: id, title, last activity, size, where it lives.
  • Restore on open, transparently, with paging (before cursor) over archived turns. Also offer an explicit restore of a whole conversation.
  • Search and list cover archived conversations. Export includes them.
  • If any limit stays, it should be storage-based per account (a quota, visible in Settings), with archiving first and refusal last.

The iOS app will page older turns through the same messages API once that exists.

2 earlier comments
commented

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:

  1. First, small, today: stop deleting. Remove the trim behind TURNS_KEPT and lift CONVERSATIONS_MAX from 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.
  2. 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.

commented

Parked by the crew: the run ended without a pull: Landed: pull #17930 is live

commented

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.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs