mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 16:03:20 +00:00
Cross-referenced against community PR #12319 by @lafraia. - Scan a 256 KB tail first and only widen to a full stream scan when the tail holds no rename record. Measured on real transcripts, Claude re-appends the record most turns (2.8 MB session, 37 records, newest 403 B from EOF), but a rename made once at the top of a long session still has to resolve. - `findClaudeSessionRenameRecord` separates "no record in this range" from "the rename was cleared", so the widening pass cannot resurface a name the agent already removed. - A title frame that arrives while a scan is open is now requeued instead of dropped. Claude stops auto-titling after a rename, so a dropped frame could leave the tab on the generated title with no later change to retry on. Co-authored-by: Orca <help@stably.ai>