Fix shell-opened titles and recover task-only conversations - #1667
Conversation
The live Home row and the tab still fold repeated spaces in a shell command; only saved rows keep them. And the namer uses the first ordinary message, not an exchange, because naming starts before the reply exists. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Taking over: I pushed two doc commits. There's also one decision for you before this closes #1663. I checked this by hand in the real binary on both roads, plain
Pushed:
Decision for you: #1663's acceptance says the name comes from "that message and its answer". But naming starts the moment the ordinary message is sent, so the namer only ever sees the question. After a shell opening, that question usually refers to the output, and the names came out vague or wrong:
You could make Smaller, optional:
CI was green on |
The live Home row and the tab still fold repeated spaces in a shell command; only saved rows keep them. And the namer uses the first ordinary message, not an exchange, because naming starts before the reply exists. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
dd20031 to
e5579fb
Compare
…page The /resume section still said every name is title-cased and cut to seven words, and the naming section still said naming starts with the first message. A `!` command is now shown exactly as typed and skipped by the namer, so both pages say so, and the shell section states that naming starts before any reply, so a follow-up such as "what did that print?" is named from its own words. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The live Home row and the tab still fold repeated spaces in a shell command; only saved rows keep them. And the namer uses the first ordinary message, not an exchange, because naming starts before the reply exists. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
e5579fb to
8d87494
Compare
Since naming after a `!` opening waits for an answered question, every later user-role message replaced the question. The memory, volatile and team notes land in that role between the person's question and the answer, and a wake's `while you worked:` delivery lands there on a shell-only conversation, so either one became what the conversation was named from. firstExchangeLocked now skips them with the predicate the compacted summary already used to find the person's own messages, shared as sessionNoteLocked. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…d preview A partly answered, interrupted question names the conversation from that exchange when the next message is sent; only a question with no answer at all is skipped for the next answered one. The /resume paragraph said a shell name is shown exactly as typed while it is clipped to fit, and two long lines are rewrapped. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Taking over (round 2): I checked the naming change ( Pushed:
For you:
|
The /resume page said the list never writes and never creates a file. Reading a task-only conversation's saved brief opens its plan store read-only, and on a store that was closed cleanly that leaves plandb.db-wal and plandb.db-shm beside it. The paragraph on task-only conversations also said a title replaces the brief as the preview, but the brief stays the row's description until the person sends a message. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Taking over (round 3): I checked Pushed:
Follow-ups for you, not blocking:
|
AbirAbbas
left a comment
There was a problem hiding this comment.
Reviewed and hand-verified over three rounds; see the comments above.
Changelog
/senior-devand/taskconversations in/resumeand Home after abrupt exits, using their saved task brief.Fixes #1663. Also addresses review item 5 on #1674.