Commit Graph
2330 Commits
Author SHA1 Message Date
Julius Marmingeandcodex beab58b45b Expose V2 thread workflows on mobile
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:06 -04:00
Julius Marmingeandcodex 2fde64e80f Enrich mobile V2 execution items
Share V2 item-to-entity linkage across clients and give mobile targeted execution, provider, request, checkpoint, search, subagent, and handoff inspection without reconstructing the timeline.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:06 -04:00
Julius Marmingeandcodex 391c46f9d9 Render mobile timelines from V2 turn items
Use the authoritative visibleTurnItems projection directly so mobile preserves server ordering, inherited items, and synthetic items without rebuilding a parallel feed.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:06 -04:00
Julius Marminge 0ee3425c03 Hide subagent threads and simplify thread controls
- Remove subagent prefixes from titles and timeline labels
- Hide subagent threads in the sidebar and add parent-thread navigation
- Align thread details, picker, and git/script controls with panel styling
2026-08-03 11:45:05 -04:00
Julius Marminge e0f509e5c0 Split open-in editor controls into panel and toolbar variants
- Move Open in editor shortcut handling into a shared hook
- Show Open in picker inside the thread details panel and restyle PR actions
- Tighten popover positioning for the panel layout
2026-08-03 11:45:05 -04:00
Julius Marminge 64c3fccf36 Reserve space for inline thread details panel
- Move the inline thread panel to an absolute overlay
- Add shared inset styling so the timeline and composer avoid overlap
- Rename composer glass styling to the shared floating surface class
2026-08-03 11:45:05 -04:00
Julius Marmingeandcodex 00b7fd1245 Map thread panel into title bar and sidebar
- Add thread-panel presentation logic for inline vs popover layouts
- Move thread details controls into the chat header/sidebar flow
- Add shared wait-for-atom helper and workspace display name parsing

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:05 -04:00
Julius Marminge efdf72ec8c Record created threads and subagent progress
- Add parent-thread records for spawned child threads
- Persist Claude subagent progress as reasoning items
- Tighten projection verification around readable thread projections
2026-08-03 11:45:05 -04:00
Julius Marminge 82ffe9862c Handle preparing turns across provider orchestration
- Treat preparing as an active turn state in mobile and server flows
- Tighten ACP model option validation and selection reconfiguration
- Add coverage for turn mapping, raw protocol logging, and recovery paths
2026-08-03 11:45:05 -04:00
Julius Marminge cb6012aeb8 Integrate orchestration V2 controls and process recovery
- Add V2 item inspection, thread relationships, queued-run controls, and composer dispatch policies
- Reconcile interrupted provider state safely across shutdown and startup
- Preserve checkpoint baselines and shared provider-session projections
2026-08-03 11:45:05 -04:00
Julius Marminge 3991a00629 Complete orchestration V2 frontend cutover
- Migrate web and mobile state, commands, and persistence to V2 projections
- Render conversations from authoritative visible turn items
- Harden runtime policy, launch handling, attachments, and cache invalidation
2026-08-03 11:45:05 -04:00
Julius Marminge 75e126993b Split the V2 frontend plan into parity and enrichment phases
- Define Shape 4.0 for the client cutover and product parity
- Define Shape 4.5 for V2-native UI capabilities
- Defer existing V1 state migration to an out-of-scope Stage 5
2026-08-03 11:45:04 -04:00
Julius Marminge b77ac60a0e Integrate orchestration v2 with the application runtime
Retain the existing event-sourced application data plane for projects and shell state while making orchestration v2 the sole agent runtime. Adapt v2 events and receipts to the shared infrastructure and remove the v1 provider reactors.
2026-08-03 11:45:04 -04:00
Julius Marminge 4009dfbc1b Guarantee MCP revocation during session release 2026-08-03 11:45:02 -04:00
Julius Marminge 27a003d555 Remove MCP credential expiration 2026-08-03 11:45:02 -04:00
Julius Marminge edf5d6f2db Require MCP registry for V2 provider sessions 2026-08-03 11:45:02 -04:00
Julius Marminge 2fd952bd3d Complete orchestration V2 application services 2026-08-03 11:45:02 -04:00
Julius Marminge 28ea5e1104 Start orchestration V2 application services 2026-08-03 11:45:02 -04:00
Julius Marminge f2481dfbfd Align orchestration V2 with Effect service conventions 2026-08-03 11:45:02 -04:00
Julius Marminge 6b64376033 Share Codex sessions across orchestration threads
- Track explicit thread-to-session bindings and detach without stopping siblings
- Apply runtime settings per Codex thread and filter multiplexed events by turn
- Add migration, projection, lifecycle, and concurrency coverage
2026-08-03 11:45:02 -04:00
Julius Marminge 27897acd26 Map orchestration turns to provider instances
- Separate provider driver identity from configured provider instances
- Add durable event, effect, checkpoint, and turn-position persistence
- Route turn lifecycle and recovery through shared orchestration services
2026-08-03 11:45:02 -04:00
Julius Marminge ddb255a7db Add Orchestration V2 application integration plan
- Define four implementation shapes for the V2-only migration
- Add the plan to the plans index
2026-08-03 11:45:02 -04:00
Julius Marminge 96b3a4e578 Add MCP thread management and Codex turn mapping
- Add scoped thread list, read, send, wait, and interrupt tools
- Track creation provenance and map provider turns across adapters
- Centralize thread lifecycle operations in a management service
2026-08-03 11:45:02 -04:00
Julius Marminge bd23813e34 Add ACP replay harness and session lifecycle support
- Add replay agent and fixture-driven ACP transcript testing
- Support session lifecycle, auth methods, and session resume/fork flows
- Expand orchestration V2 adapter coverage and debug tooling
2026-08-03 11:45:02 -04:00
Julius Marminge d699990254 Handle segmented Cursor turns and stable visible timelines
- split streaming assistant and reasoning output into separate segments
- filter hidden interruption artifacts from projections and replay fixtures
- keep visible timeline positions stable when upserting streamed items
2026-08-03 11:45:01 -04:00
Julius Marminge 5705dde188 Add Cursor SDK orchestration replay support
- Wire Cursor adapter and provider session handling into orchestration v2
- Add replay fixtures, recording script, and coverage for Cursor turn flows
- Update docs and debug timeline mapping for Cursor events
2026-08-03 11:45:01 -04:00
Julius Marminge da9a6788ee Add orchestration MCP toolkit
- Register orchestration tools on the MCP HTTP server
- Grant orchestration capability to MCP sessions
- Add service and integration coverage for delegated tasks and thread creation
2026-08-03 11:45:00 -04:00
Julius Marmingeandcodex 020d32190d refactor(orchestration-v2): adopt host process spawn policy
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:00 -04:00
Julius Marminge 14539c234a wip 2026-08-03 11:45:00 -04:00
Julius Marmingeandcodex 471005ff2f feat(orchestration-v2): model native subagents
Co-authored-by: codex <[email protected]>
2026-08-03 11:44:59 -04:00
Julius Marminge 556b9464f8 Map orchestration v2 WS methods to auth scopes
- Require operate scope for v2 command dispatch
- Allow read scope for v2 thread and shell subscriptions
2026-08-03 11:44:59 -04:00
Julius Marmingeandcodex 2e1166b21f fix(orchestration-v2): preserve source history on merged switch
Send full canonical target-thread context when a provider switch consumes a merge-back, and cover returning to an existing provider thread after a cross-provider fork.

Co-authored-by: codex <[email protected]>
2026-08-03 11:44:59 -04:00
Julius Marmingeandcodex 3c58565361 fix(orchestration-v2): compose provider switch merge context
Allow a pending merge-back to be consumed while changing providers and deliver both the provider-switch history and fork delta to the selected provider.

Co-authored-by: codex <[email protected]>
2026-08-03 11:44:59 -04:00
Julius Marmingeandcodex 09aadd6f34 feat(orchestration-v2): add merge-back replay coverage
Record provider fixtures for continued forks and sibling merge-backs, exercise context survival end to end, and stop completed run listeners from consuming later provider events.

Co-authored-by: codex <[email protected]>
2026-08-03 11:44:59 -04:00
Julius Marmingeandcodex 50b57e11a1 fix(orchestration-v2): resolve cross-provider forks
Co-authored-by: codex <[email protected]>
2026-08-03 11:44:59 -04:00
Julius Marmingeandcodex fd06b57382 feat(orchestration-v2): support cross-provider handoff
Co-authored-by: codex <[email protected]>
2026-08-03 11:44:59 -04:00
Julius Marmingeandcodex 40747fff7b feat(orchestration-v2): wire claude adapter primitives
Co-authored-by: codex <[email protected]>
2026-08-03 11:44:59 -04:00
Julius Marminge 13ed2dbdca Document Cursor SDK MCP projection for V2
- Map Cursor SDK agents and runs to V2 thread and turn lifecycles
- Update MCP capability, tool, and testing guidance for SDK-based injection
2026-08-03 11:44:58 -04:00
Julius Marminge adcc3165ec Add turn-interrupt replay coverage and protocol logging
- add interrupt and mid-tool replay fixtures for Claude and Codex
- log Claude Agent SDK protocol frames to native event traces
- project Codex commandExecution start events into orchestration updates
2026-08-03 11:44:58 -04:00
Julius Marminge 2ad2fd9c86 Support active Claude steering and turn replay mapping
- add active steering and interrupt-restart replay fixtures
- update Claude adapter/orchestrator turn handling for steering
- refresh replay and integration test coverage
2026-08-03 11:44:58 -04:00
Julius Marmingeandcodex 1e421221d4 Map Claude turns to runtime query policies
- Derive Claude SDK query options from runtime policy
- Add read-only replay fixture and policy mapping tests
- Reuse shared approval-policy fixtures across orchestrator tests

Co-authored-by: codex <[email protected]>
2026-08-03 11:44:58 -04:00
Julius Marminge 1f5579b072 Map Claude replay fixtures to multi-turn turns
- Record Claude SDK transcripts across multiple prompts and restart/query modes
- Add approval and tool-call replay coverage for new orchestration fixtures
- Update Claude adapter testkit to model open/prompt/permission frames
2026-08-03 11:44:58 -04:00
Julius Marminge bf5ebea4c8 Add model selection to orchestration runs
- persist the selected model on run records
- surface run model selection in the debug UI
- update replay fixtures and contracts for the new field
2026-08-03 11:44:58 -04:00
Julius Marminge a88130487b Extract Claude SDK query runner from provider adapter
- Move Claude provider runtime logic into its own module
- Share the SDK query runner between live and replay paths
- Add replay driver error wrapping for unexpected failures
2026-08-03 11:44:58 -04:00
Julius Marminge 232e12c720 Add Claude replay fixture recorder
- Move Codex replay recording into `apps/server`
- Add Claude Agent SDK replay fixtures and test harness
- Update orchestration-v2 fixture scenarios and docs
2026-08-03 11:44:58 -04:00
Julius Marmingeandcodex ab534f465d Add V2 command capability policy
Co-authored-by: codex <[email protected]>
2026-08-03 11:44:58 -04:00
Julius Marminge 7cfdb4e79e Add merge-back context handoff support
- Map fork and merge-back turns into stored handoffs and transfer resolutions
- Add shell snapshot projection support plus coverage tests
- Update replay fixtures and web contracts for the new turn flow
2026-08-03 11:44:57 -04:00
Julius Marminge 74f73e39ea Add orchestration V2 backend checklist
- Track remaining projection, context transfer, rollback, capability, and subagent work
- Clarify current V2 baseline and debugger-only follow-ups
2026-08-03 11:44:57 -04:00
Julius Marminge 510e49e2cc Add thread fork lineage and lazy context transfer
- Add context transfer IDs, schemas, and projections
- Support cheap fork creation and Codex native fork rollback
- Cover fork idempotency and replay behavior in tests
2026-08-03 11:44:57 -04:00
Julius Marmingeandcodex 1671e1f046 Implement orchestration v2 runtime
Co-authored-by: codex <[email protected]>
2026-08-03 11:44:57 -04:00