Skip to content

fix(remote): show /btw conversations from Desktop and CLI peers - #4004

Merged
bobleer merged 2 commits into
openBitFun:mainfrom
bobleer:bob/peer-btw-history
Nov 19, 2026
Merged

bobleer merged 2 commits into
openBitFun:mainfrom
bobleer:bob/peer-btw-history

Conversation

@bobleer

@bobleer bobleer commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

A controller could open a peer's /btw panel and receive the submission acknowledgement while the transcript stayed empty. The executing host completed the turn, but its remote history reader looked on disk for a child that keeps its turns in memory.

The shared Desktop and CLI host reader now selects the requested live turn, exclusive history page, or full replay from the temporary session. It applies the same active model-round projection as a persisted session and checks the owning workspace before returning the records.

The regression exercises two questions on a temporary child, reading a live reply while the writer holds the mutation lock, replaying completed turns, and querying missing turns and the wrong workspace. It also checks that the child transcript stays in memory.

Verification

  • Ran the new regression against the original host code at 34e196f. The live read timed out under the writer lease. Allowing the existing 1.5-second lease fallback produced the same Session turn unavailable error as the reported incident. All five focused Rust relay-history tests passed on the fix. All 33 side-question frontend tests passed.
  • Ran the native desktop process and the CLI daemon separately as controlled peers. An independent controller connected through a loopback Relay with a deterministic model response. For each host it read the question, received the reply incrementally, then reopened the subscription and read both messages.

@bobleer
bobleer merged commit 34bb9e9 into openBitFun:main Nov 19, 2026
12 checks passed
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.

1 participant