You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chat: after Claude Code's /branch, the chat keeps reading the old transcript and shows no replies #2020
After running Claude Code's /branch in a pane, Chat mode stops showing the conversation. The /branch bubble shows "結果を確認できません" (the result can't be confirmed), and every message sent after it stays at "作業中…" with no reply. Terminal mode shows Claude Code answering normally, so the agent is working; only the chat view is stuck.
/branch did not fail. Its output in the new transcript is Branched conversation. You are now in the new branch (session 56b93911-…). Use /resume 0b1834e6-… to return …. Claude Code copies the conversation into a new transcript, 56b93911-….jsonl, whose records carry "forkedFrom": {"sessionId": "0b1834e6-…", "messageUuid": …}, and writes everything after the branch there. The old transcript, 0b1834e6-….jsonl, gets no more user or assistant records (only a cost-state line at the end).
Ovis keeps reading the old transcript. On main (cff839b), continuedInSession in server/claude-store.ts:521 follows a session switch only when the transcript ends in a continued-in record, which /resume writes. /branch writes no continued-in record to the old transcript, and nothing in server/ reads forkedFrom, so the pane never moves to the new transcript.
Expected: after /branch, Chat mode follows the new session, as it does after /resume. One way: when the pane's transcript stops growing, a newer transcript in the same project directory whose first records have forkedFrom.sessionId equal to the current session is the one to follow.
How often
Seen once; not retried yet. The cause above does not depend on timing, so I expect it every time.
Ovis version
0.4.17
How it runs
herdr plugin
Agent
Claude Code 2.1.302
Server PC
Arch Linux (kernel 7.2.9)
Device and browser
Windows, Brave
How the device reaches the server
tailscale serve
How it signs in
Not sure
Screenshots or logs
The transcript records quoted above are from ~/.claude/projects/<project>/. No screenshot attached.
Activity
fix(chat): follow a Claude Code /branch to the transcript it goes on …
fix(chat): read a Claude pane's own session when herdr's report names…