Commit Graph
559 Commits
Author SHA1 Message Date
Julius Marmingeandcodex 2486ebcf95 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-07 13:26:25 +02:00
Julius Marmingeandcodex 6753f42b8c 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-07 13:26:25 +02:00
Julius Marmingeandcodex ea8e5a8ace 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-07 13:26:25 +02:00
Julius Marmingeandcodex 62c3748001 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-07 13:25:33 +02:00
Julius Marmingeandcodex 5e2414fc29 feat: migrate v1 state into orchestrator v2 (#4400)
Co-authored-by: codex <[email protected]>
2026-08-07 13:25:32 +02:00
Mike Olsonandcodex 2ee57e416d 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-07 13:25:16 +02:00
David Whatleyandcodex 83c2c5de03 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-07 13:25:10 +02:00
Mike Olson ed3a278ae1 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-07 13:25:10 +02:00
Julius Marmingeandcodex e50b801e85 fix(orchestration): clarify agent delegation and scheduling
Co-authored-by: codex <[email protected]>
2026-08-07 13:24:47 +02:00
Julius Marminge 7a212f4266 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-07 13:24:47 +02:00
Julius Marmingeandcodex d822a1d4d3 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-07 13:24:47 +02:00
Mike Olsonandcodex f0ac9e5fea 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-07 13:24:47 +02:00
Alex e282b480e0 feat(orchestrator): pass model options through MCP thread targets (#3872) 2026-08-07 13:24:46 +02:00
Julius MarmingeandClaude Fable 5 1be13970ca feat: scheduled tasks (automations) (#3638)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-07 13:24:46 +02:00
Julius Marminge 20a114898d 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-07 13:24:29 +02:00
Julius Marminge 428abea589 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-07 13:24:29 +02:00
Julius Marminge 10f9ad75cb 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-07 13:24:14 +02:00
Julius Marmingeandcodex d849d1caf9 Retire V1 client orchestration parity
Co-authored-by: codex <[email protected]>
2026-08-07 13:24:13 +02:00
Julius Marmingeandcodex 5bb00ebbe7 Expose V2 thread workflows on mobile
Co-authored-by: codex <[email protected]>
2026-08-07 13:23:38 +02:00
Julius Marmingeandcodex 5f4c3efce3 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-07 13:23:22 +02:00
Julius Marmingeandcodex abd5cc5ff8 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-07 13:22:22 +02:00
Julius Marminge 420ecb8f92 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-07 13:21:41 +02:00
Julius Marminge 39142c4d16 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-07 13:21:22 +02:00
Julius Marminge 799e032fe9 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-07 13:21:01 +02:00
Julius Marminge 8f521e516e 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-07 13:20:20 +02:00
Julius Marminge f38dbfd84c 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-07 13:20:00 +02:00
Julius Marminge ffd02c6239 Start orchestration V2 application services 2026-08-07 13:18:02 +02:00
Julius Marminge d7d3fec8e6 Align orchestration V2 with Effect service conventions 2026-08-07 13:18:02 +02:00
Julius Marminge 5f4c29df2b 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-07 13:18:02 +02:00
Julius Marminge c4eea8d512 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-07 13:18:02 +02:00
Julius Marminge c3f140c2b8 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-07 13:17:53 +02:00
Julius Marminge 5254973761 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-07 13:17:53 +02:00
Julius Marminge e30da49e1d 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-07 13:17:36 +02:00
Julius Marminge 66c36aa086 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-07 13:17:35 +02:00
Julius Marminge de198dd1f8 wip 2026-08-07 13:17:35 +02:00
Julius Marmingeandcodex 3273fa742b feat(orchestration-v2): model native subagents
Co-authored-by: codex <[email protected]>
2026-08-07 13:17:35 +02:00
Julius Marmingeandcodex d5f86541d3 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-07 13:17:28 +02:00
Julius Marmingeandcodex 5c5bc8c3c1 feat(orchestration-v2): wire claude adapter primitives
Co-authored-by: codex <[email protected]>
2026-08-07 13:17:27 +02:00
Julius Marminge 4ceca32fac 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-07 13:17:27 +02:00
Julius Marminge 4d279ac42f 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-07 13:17:27 +02:00
Julius Marminge a0d2282a47 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-07 13:17:27 +02:00
Julius Marminge 2e848f9b17 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-07 13:17:27 +02:00
Julius Marmingeandcodex d788fb20eb Implement orchestration v2 runtime
Co-authored-by: codex <[email protected]>
2026-08-07 13:17:26 +02:00
Julius Marminge c76057c319 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-07 13:17:01 +02:00
Julius Marmingeandcodex 21875f2bc5 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-07 13:17:01 +02:00
Julius Marminge 2f2e9e77a0 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-07 13:17:01 +02:00
Julius Marmingeandcodex 625f049017 Address Codex review feedback
Co-authored-by: codex <[email protected]>
2026-08-07 13:17:01 +02:00
Julius Marminge 1da53f7577 decoders 2026-08-07 13:17:01 +02:00
Julius Marminge 0b6e778a54 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-07 13:17:01 +02:00
Julius Marminge 996506d3fa revert more 2026-08-07 13:17:00 +02:00