Commit Graph
539 Commits
Author SHA1 Message Date
Julius Marmingeandcodex 6ab4ce9fe3 fix(orchestration): handle checkpoint-wait runs
Allow merge-back from provider-finished runs awaiting checkpoint capture while keeping waiting runs visible but non-interruptible in mobile.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Julius Marmingeandcodex d93083fe50 fix(contracts): reject invalid legacy intervals
Keep positive sub-minute schedules readable without accepting corrupt zero or negative persisted intervals.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Julius Marmingeandcodex 3d1db82e1c fix(orchestration): preserve legacy schedule compatibility
Enforce the one-minute floor only on writes, clamp legacy execution intervals, and keep queued work protected from archive while reusing shared active-run derivation.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Julius Marmingeandcodex a70b7acd83 fix(mobile): preserve active thread state
Keep executing runs visible when newer work is queued, expose provider errors in compact shells, and preserve mobile creation metadata for fork and merge operations.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Julius Marmingeandcodex 74f8c7ceed fix(orchestration): harden scheduled task startup
Reject scheduled task intervals below one minute and tear down the effect worker when awareness relay startup fails.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Julius Marmingeandcodex fe5df2b650 feat: migrate v1 state into orchestrator v2 (#4400)
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
Mike Olsonandcodex 5ee040a06e fix(orchestrator): Wake settled parents when delegated children finish
An app-owned delegated child wrote its result into the parent projection but
never started a parent run, so an async delegation's result sat unread until the
user's next message. Offer a provider continuation request when a delegated
child terminalizes, with a per-task completionWake policy separating async
delegations from blocking waits.

The wake must also reach the model. ProviderContinuationRequests is a
provider-native mechanism whose dispatch only triggers ingestion of output the
adapter already buffered, and both ClaudeAdapterV2 and AcpAdapterV2 discard the
message text when it is marked creationSource provider. An app-owned child
buffers nothing, so a wake marked that way settled instantly having prompted
nothing. App-owned wakes now dispatch as message_text via a shared
delegatedTaskWakeRequest helper used by both producers.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:11 -04:00
David Whatleyandcodex 1aad8b5450 Add worktree handoff and status tools to the t3-code MCP server (#3754)
Expose MCP tools for worktree handoff and status inspection, with focused server and contract coverage.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:10 -04:00
Mike Olson 660f947a19 fix(orchestrator): hydrate shell cache and group multi-environment projects (#3640)
Restore versioned shell-cache hydration, reconcile repository enrichment across multiple environments, and decode non-null settled shell timestamps correctly.
2026-08-03 11:45:10 -04:00
Julius Marmingeandcodex d956fccbac fix(orchestration): clarify agent delegation and scheduling
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:09 -04:00
Julius Marminge dac4ad26b0 Unify T3 MCP tool presentation across clients
- Extract shared T3 MCP tool label resolution
- Show T3 Code branding for matched tool activity rows
- Add tests for shared resolution and mobile feed output
2026-08-03 11:45:09 -04:00
Julius Marmingeandcodex 664d82753f fix(mobile): support Hermes collection sorting
Reuses the focused compatibility approach from closed PR #3923 and covers the remaining hardware-keyboard reverse iteration.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:09 -04:00
Mike Olsonandcodex 9b91d3b8ca fix(orchestrator): harden Grok v2 lifecycle (#3578)
Integrate the current Grok settlement, monitor/subagent lifecycle, interrupt containment, steer visibility, and image support stack into the orchestration-v2 branch.

Co-authored-by: codex <[email protected]>
2026-08-03 11:45:08 -04:00
Alex 9923f6a2ef feat(orchestrator): pass model options through MCP thread targets (#3872) 2026-08-03 11:45:08 -04:00
Julius MarmingeandClaude Fable 5 335708df8b feat: scheduled tasks (automations) (#3638)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-03 11:45:07 -04:00
Julius Marminge bc40ae8d28 Switch Cursor provider to the official SDK
- remove ACP model discovery and mismatch probe code
- update provider, orchestration, and tests for SDK-based flows
- refresh marketing copy to match the SDK runtime
2026-08-03 11:45:07 -04:00
Julius Marminge 60dc48a413 Require Cursor API key for provider checks
- Switch Cursor provider status and model discovery to the SDK catalog
- Improve chat content lane alignment and provider secret handling
2026-08-03 11:45:07 -04:00
Julius Marminge 9479d6f7cc Adopt userdata-v2 and subagent activity mapping
- Move desktop and server state paths to `userdata-v2`
- Handle Codex subagent activity events in orchestration v2
- Update related path and lifecycle tests
2026-08-03 11:45:06 -04:00
Julius Marmingeandcodex 3c680b50c8 Retire V1 client orchestration parity
Co-authored-by: codex <[email protected]>
2026-08-03 11:45:06 -04:00
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 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 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 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 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 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 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 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 40747fff7b feat(orchestration-v2): wire claude adapter primitives
Co-authored-by: codex <[email protected]>
2026-08-03 11:44:59 -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 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 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 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
Julius Marminge 8a6d895830 Map Codex turns into orchestration v2
- Add Codex adapter and replay harness wiring
- Introduce in-memory orchestration projections and provider registry
- Expand orchestration contracts for turn and runtime events
2026-08-03 11:44:56 -04:00
Julius Marmingeandcodex e124f3b462 Add orchestration v2 replay and service contracts
- Introduce orchestration v2 service interfaces and error types
- Add replay runtime, fixtures, and integration coverage
- Update shared contracts and probe transcripts

Co-authored-by: codex <[email protected]>
2026-08-03 11:44:56 -04:00
Julius Marminge 9602252189 Add orchestration v2 docs and probe fixtures
- Document the target orchestration graph, IDs, lifecycles, and capability model
- Add Codex app-server probe fixtures and update the probe test harness
2026-08-03 11:44:56 -04:00
Julius Marmingeandcodex aaae99ec50 Address Codex review feedback
Co-authored-by: codex <[email protected]>
2026-08-03 11:44:56 -04:00
Julius Marminge 7949333a18 decoders 2026-08-03 11:44:56 -04:00
Julius Marminge 7813c01e9e Normalize Codex IDs and preserve streamed stdout decoding
- Use strict TurnId and ProviderItemId parsing in Codex session routing
- Decode in-memory stdio chunks in streaming mode to avoid split UTF-8 corruption
2026-08-03 11:44:55 -04:00