Repository navigation
Description
Problem
listStoredConversations (ui-packages/web/src/data/conversation-store.ts:20) pages the by-last-active index 30 at a time, and that cursor is the only retrieval the store offers — no query by title exists anywhere. The History panel's whole reach is scroll plus "Show 30 more" (ui-packages/web/src/features/conversation/conversation-history.tsx:233–241). A reader who discussed a document two weeks ago can only page back through every conversation since.
The file side of the same product already solved this list-finding problem: the library, recent and starred lists each carry a "Filter files" searchbox (see ui-packages/web/src/shell/file-navigation.integration.test.tsx:112–127). History is the one growing list without one — even though #46 made titles worth reading and renaming, and creation/activity times (commit 69d165d) gave each row orientation. The agent's memory notes do not close this gap: they are curated notes, not the reader's way back to a conversation.
Proposal
- Add a title filter field to the History header, mirroring the library's "Filter files" searchbox: case-insensitive substring match on the title (the auto-title or the reader's rename).
- Implement it as a store-level query, not a filter over the loaded page, so it reaches conversations beyond the visible 30.
- Keep recency order among matches; an empty query keeps today's paged behavior unchanged.
Goal
After this, a reader who remembers any word of a conversation's title types it into History and lands on that conversation, with every stored conversation reachable — no paging through "Show 30 more" to get there.
Verification
grep -rqiE 'filter|search' ui-packages/web/src/features/conversation/conversation-history.tsx ui-packages/web/src/data/conversation-store.ts
# store test: a title query returns matches beyond the first loaded page;
# history test: typing into the filter field leaves only matching rows
cd ui-packages/web && pnpm vitest run --project unit src/data/conversation-store.test.ts src/features/conversation/conversation-history.test.tsxRefs
ui-packages/web/src/data/conversation-store.ts:20— by-last-active cursor paging onlyui-packages/web/src/features/conversation/conversation-history.tsx:233— "Show 30 more" is the only retrievalui-packages/web/src/shell/file-navigation.integration.test.tsx:112— the "Filter files" pattern this mirrorsui-packages/web/PRODUCT.md— "Prefer familiar controls": this reuses the app's own filter-field pattern, not a new one- Extends Let readers rename a conversation — the auto-title is a permanent first utterance #46 (rename made titles meaningful) and complements Give conversations an export path — weeks of questions and answers live and die with the browser profile #50 (export is the way out; this is the way back)
Activity
bencode commentedon Oct 21, 2026
Independent review — posted by the scheduled issue-reviewer loop (a session separate from the one that files these issues), under the maintainer's standing instruction to evaluate, sharpen, or retire
source:scheduledproposals. Audited againstmain@ebb0ee0.Evidence audit: all citations confirmed to the line.
data/conversation-store.ts—defaultPageSize = 30;listStoredConversations(:20area) is aby-last-activecursor walk and the only retrieval the store offers; "title" appears only in the rename/update path (:110-117), no query exists.conversation-history.tsx:233-241— "Show 30 more" is the sole reach beyond the first page; no filter/searchbox anywhere in the panel.shell/file-navigation.integration.test.tsx:112-127— the "Filter files"/"Filter recent files"/"Filter starred files" searchbox pattern is real and is exactly the control this mirrors.PRODUCT.md:39— "Prefer familiar controls" verified; this reuses the app's own pattern rather than inventing one.Verification block repaired (logged here per policy): the original block only ran the two existing test files, which pass on unmodified main — the verify gate reported "implemented" with nothing implemented (inverse of the #41/#55 anchor refusals). Prepended a discriminating grep over the two deliverable files:
grep -rqiE 'filter|search' ui-packages/web/src/features/conversation/conversation-history.tsx ui-packages/web/src/data/conversation-store.tsIt fails today ✓ (neither file contains either word); re-linted ✓; verify now fails today ✓ (was falsely passing).
Verdict: valid, keep open. Sensor: lint ✓, verify ✗. One sharpening suggestion: the store-level query (not filtering the loaded page) is the load-bearing half of the proposal — a UI-only filter over 30 loaded rows would satisfy the grep but not the Goal, so the store test ("returns matches beyond the first loaded page") should be written first and kept as the regression anchor.
bencode commentedon Oct 24, 2026
Re-audit — posted by the scheduled issue-reviewer loop, independent of the authoring session. Against
main@90b046f(20 commits since the last review atebb0ee0; two of them land in this issue's own files).Evidence audit: premises hold; one line drift.
conversation-store.ts:11,20—defaultPageSize = 30;listStoredConversationsis still the by-last-active cursor walk; title appears only in the rename path (:122-129).conversation-history.tsx:243-247— "Show 30 more" (cited:233-241, drifted ~+6); still the only reach beyond the first page, still no filter field.filter|searchhas zero matches in both cited files at HEAD.New since the review (
6d92ea4,e3e4447): the composer gained a find-by-title path —rankConversations(conversation-mentions.ts:17-30) case-insensitively title-substring-matches overlistAllStoredConversations(conversation-store.ts:50, full store, no paging), surfaced by typing#. Adjacent, not a substitute: that inserts a reference into the draft; this issue's act is opening the conversation from History. Not implemented, and no open or closed issue covers it → not a duplicate.Sharpening: the first review made the store-level query the load-bearing half. The codebase has since set its own precedent — the
#path ships full-load + in-memory rank, recency-first. Mirroring that in History is now the familiar-controls route, and the two should share one matching helper. The regression anchor to keep is the history-level test (typing leaves only matching rows, including rows beyond the first 30), not the store-query form.Sensor: lint ✓; verify ✗ → not implemented on main.
Verdict: valid, keep open.
bencode commentedon Oct 27, 2026
Re-audit — posted by the scheduled issue-reviewer loop, independent of the authoring session. Against
main@dbf9cb6d(≈40 commits since the last review at90b046f; 8 touch this issue's files, none add a History filter).Evidence audit: premises hold; one line drift.
conversation-store.ts:11,20—defaultPageSize = 30,listStoredConversationsunchanged; title still appears only in the rename path.conversation-history.tsx:251— "Show 30 more" (body cites:233-241; drifted ~+18 through the composer/background-reply work); still the only reach beyond the first page, still no filter field.#find-by-title path moved:conversation-mentions.ts→composer/conversation-mentions.ts(rankConversationsstill:17); still adjacent, not a substitute.Verification block still discriminates:
filter|searchhas zero matches in both cited files at HEAD.Duplicate check: clean (open + closed).
Sensor: lint ✓; verify ✗ → not implemented on main.
Verdict: valid, keep open. The prior review's load-bearing note stands: mirror the
#path's full-load match in History (share one matching helper), and anchor on the history-level outcome — typing leaves only matching rows, including rows beyond the first 30.bencode commentedon Nov 2, 2026
Re-audit — posted by the scheduled issue-reviewer loop, independent of the authoring session. Against
main@d05b6b6(4 commits since the last review atdbf9cb6— the plugins featurede9243b/4baf829and the docs merge; none touch this issue's files).Evidence audit: zero drift since the last review.
conversation-store.ts:11,20—defaultPageSize = 30;listStoredConversationsstill the by-last-active cursor walk; title still appears only in the rename path (:122-129).conversation-history.tsx:251— "Show 30 more", still the only reach beyond the first page; no filter field.#find-by-title path is untouched (composer/conversation-mentions.ts:17rankConversations); still adjacent, not a substitute.Verification block still discriminates:
filter|searchhas zero matches in both cited files at HEAD.Duplicate check: clean (open + closed; #202/#171/#46/#50 all different acts).
Sensor: lint ✓; verify ✗ → not implemented on main.
Verdict: valid, keep open. Sharpening from the prior review stands: mirror the
#path's full-load match in History (share one matching helper), and anchor on the outcome — typing leaves only matching rows, including rows beyond the first 30.bencode commentedon Nov 13, 2026
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit at
d05b6b6— second-stalest review this beat (12 days). HEAD still unchanged since 2026-10-28; valid, stays open; no edits.defaultPageSize = 30atconversation-store.ts:11,listStoredConversationsby-last-active cursor at:20-21; "Show 30 more" still History's only reach atconversation-history.tsx:251; the#find-by-title path untouched atconversation-mentions.ts:17(rankConversations) — adjacent, not a substitute.filter|searchzero matches inconversation-history.tsx+conversation-store.tsat HEAD — discriminating). Gate healthy, one command per line.Verdict unchanged: valid, keep open. Prior sharpening stands: mirror the
#path's full-load matching (share one helper), and anchor the test on the outcome — typing leaves only matching rows, including rows beyond the first 30.