Files
orca/src/main/foreign-sqlite-readers
Brennan Benson 7a8c16caa5 Preserve the chat's history when forking (#39168)
* Preserve the chat's history when forking

* Preserve fork receipts and finished conversation history

Save native-copy receipts on the real create path, retain standalone Codex copies and Claude compaction bridges, and omit unfinished helper output. Restore rewind read-error refusals and update the affected provider fixtures.

* Keep fork coverage tied to OpenCode's copied messages

* Preserve the actionable refusal when chat creation stops

* Keep completed helper answers when copying chat history

Follow spawning tools and active helpers to their descendants without making an omitted goal row invalidate a settled helper's independent output. Reuse the public copy-error distinction so private transcript exceptions stay behind the generic create refusal while authored fork errors remain actionable.

* Keep fork history stable with OpenCode 1.x

* Exclude later continuation notices from fork snapshots

* Keep fork continuation notices tied to retained work

* Keep fork catch-up recoverable and preserve copy cancellation

* Keep OpenCode coverage timeouts on the read refusal path
2026-11-08 01:48:11 -08:00
..