Skip to content

Fold second review round into the conversation-forking plan - #505

Merged
sysread merged 1 commit into
mainfrom
claude/conversation-forking-8ntvpq
Aug 19, 2026
Merged

Fold second review round into the conversation-forking plan#505
sysread merged 1 commit into
mainfrom
claude/conversation-forking-8ntvpq

Conversation

@sysread

@sysread sysread commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Doc-only amendment folding the second independent review round into the forking plan: M3 gains the hidden filter on the semantic chunk-search RPC (server-side surface both edge callers rely on) plus an M4 handoff note (once forks exist, hidden ancestors' chunks are live prefix content, so the blanket filter must yield to hidden-hit resolution or recall goes blind to shared prefixes); M1 gains position-index companions for the two created_at-serving indexes and an honest account of the position trigger's new thread-row lock (edge-side inserts never touched the thread row); the worker table admits the auto-title placeholder inheritance case and adds a followups row (user-scoped, cross-thread by design); M2 gains a uniform-thread_id audit over the resolved message list; the GC cron slot is pinned to :43 (:53, as originally suggested in review, is already taken in the hourly ladder).


Generated by Claude Code

The semantic chunk-search RPC joins threads filtering only by user,
and both of its edge-function callers exclude only the current
thread - so M3 gains the one-line hidden filter there, plus an
explicit M4 handoff note: once forks exist, hidden ancestors'
chunks are live prefix content, so the blanket filter must give
way to hidden-hit resolution or recall goes blind to every shared
prefix.

M1 corrections: the position trigger's thread-row lock is new
contention, not a ride on a lock writers already hold (edge-side
round persistence never touches the thread row; the browser
updates it in a separate call), and the two created_at-serving
indexes need position companions with the old ones dropped once
readers switch.

Smaller: the auto-title row now admits a fork of a
placeholder-titled parent inherits the placeholder (the poll
titles it independently - acceptable); followups get a worker-table
row (user-scoped, cross-thread by design); M2 gains an audit for
uniform-thread_id assumptions over the resolved message list; the
GC cron slot is pinned to :43, the gap in the hourly ladder.
@sysread
sysread merged commit 7151791 into main Aug 19, 2026
1 check passed
@sysread
sysread deleted the claude/conversation-forking-8ntvpq branch August 19, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants