Repository navigation
feat(threads): keep a thread's title by turning auto-rename off for it - #106
Merged
Merged
Conversation
The thread menu gets an "Auto-rename behavior" submenu (Follow settings / Never), next to Regenerate title. Never stores autoRenameDisabledAt on the thread through a new thread.auto-rename.set command, mirroring the per-thread auto-settle switch. The 30-minute title refresh skips those threads and re-checks right before each rename, since a pass can run minutes after its snapshot. The first-message title is skipped too. Regenerate title still works on demand, and forks start with auto-rename on.
thread.metadata.update takes an optional autoRename flag that sets the thread's switch in the same commit. Renames typed in the web sidebar, the chat header and the mobile thread list send autoRename: false, so the 30-minute refresh keeps them. Agent and server renames send no flag and are still refreshed. Older servers drop the unknown field and rename as before.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenarios4 of 64 scenario measurements changed or failed.
All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
The row menu gets the same Auto-rename behavior submenu as desktop, after Regenerate title, on servers that report threadAutoRenameOptOut. The row sends thread.auto-rename.set itself, like Mark unread, so no new handler threads through the home screen.
maschwenk
marked this pull request as ready for review
November 23, 2026 15:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
auto-rename keeps renaming threads i've titled on purpose, and the only off switch is global. now each thread's menu has Auto-rename behavior → Follow settings / Never, right under Regenerate title, and typing a new title flips that thread to never on its own
never works like the per-thread auto-settle switch: it's stored on the thread (
autoRenameDisabledAt, newthread.auto-rename.setcommand), the 30-minute refresh skips it, and the first-message title skips it too. regenerate title still works on demand, and forks start with auto-rename on so they don't keep "X fork" forevera typed rename (web sidebar, chat header, mobile thread list) sends
autoRename: falseon the samethread.metadata.update, so the title and the switch land in one commit. agent and server renames send no flag and still get refreshed. older servers drop the unknown field and just renamethe refresh pass renames from a snapshot it read up to a few minutes earlier, so it re-reads the thread right before each rename. that way flipping it to never mid-pass still sticks. tests cover the toggle round trip, the mid-pass opt-out and typed vs agent renames. the first two fail without the worker change
the phone gets the same submenu in the thread row menu, after regenerate title