Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(orchestrator): keep stop and steer responsive #3865

ClosedPixPMusic(GitHub profile, opens in a new tab)wants to merge 6 commits intot3code/codex-turn-mapping fromrefs/pull/3865/headopened View on GitHub

Showing 702 changed files with 246 additions and 0 deletions (loading 699).

x
0 of 702 viewed, 702 left
246 additions and 0 deletions.plans/19-thread-lineage-context-transfer.mdAdded
View file
@@ -0,0 +1,246 @@
+# Plan: Thread Lineage And Lazy Context Transfer
+​
+## Summary
+​
+Implement the shared backend foundation for forking, provider handoff, merge-back, and future subagents without forcing provider selection at fork time. The first slice should create cheap app-level fork lineage and defer expensive context materialization until a run starts and the target provider is known.
+​
+Architecture reference: `docs/orchestration-v2/thread-lineage-and-context-transfer.md`.
+​
+## Goals
+​
+- Support user-created fork threads for exploration.
+- Keep fork creation provider-neutral and cheap.
+- Reuse the same source-point/context-transfer model for provider switching, merge-back, and future subagents.
+- Prefer native same-provider fork at first dispatch when available.
+- Fall back to portable context only when native transfer is unavailable or target provider differs.
+- Keep all behavior replayable through V2 events/projections.
+​
+## Non-Goals For First Slice
+​
+- Full portable context generation quality.
+- Cross-provider adapter implementation beyond the data/runtime hook.
+- Merge-back UI.
+- Native or custom subagent orchestration.
+- Forking from actively streaming provider state.
+- Backward compatibility with old dev databases.
+​
+## Core Data Model
+​
+Add schema/contracts for:
+​