Commit Graph
601 Commits
Author SHA1 Message Date
Julius MarmingeandClaude Fable 5 bb23ddfa90 chore: resolve lint warnings across v2 code
Hoist inline Schema compiles to module scope, drop unused
imports/vars, stabilize react-markdown component identities via a
module-scope factory, remove useless spreads, and use data-derived
keys for release-note bullets. No behavior changes.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:32 +02:00
Julius MarmingeandClaude Fable 5 f4e9b3d5e4 fix: adopt effect beta.103 APIs in rebased v2 code
- Schema.UnknownFromJsonString -> Schema.fromJsonString(Schema.Unknown)
- SchemaIssue.InvalidValue single-argument form in checkpointDiff
- McpServerClient requires protocolVersion

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:32 +02:00
maria 4171e77b74 feat(chat): refine V2 conversation UI (#5307) 2026-08-14 11:23:32 +02:00
Mike Olson d8257507a8 fix(orchestrator): Order thread lineage by creation time (#5310) 2026-08-14 11:23:31 +02:00
Yusuf Rawat f682f0a6e6 fix(orchestration-v2): restore generated thread titles (#5176) 2026-08-14 11:23:31 +02:00
maria-rcks 1ad2d3b2a4 fix: reconcile rebase with latest main 2026-08-14 11:23:31 +02:00
Julius MarmingeandClaude Fable 5 096bbcfc22 feat(orchestration): port thread title regeneration to the v2 runtime
Follow-ups from the main merge:

- Migration numbering: main's 035_ProjectionThreadTitleRegeneration is
  released and keeps its id; this branch's unreleased v2 migrations shift
  to 036-044 instead (a released migration can never be renumbered).
- thread.metadata.update accepts regenerateTitle: true arms an in-flight
  titleRegeneration marker on the thread payload (requestId + startedAt),
  a landing title or explicit false clears it. The marker projects onto
  thread shells and through the client-runtime shell model, so the
  sidebar's Regenerating state works unchanged.
- New ThreadTitleRegenerationService worker reacts to armed markers on
  the live domain-event stream (so ws, MCP, and mobile dispatches all
  behave the same): builds a newest-first conversation digest from the
  v2 projection (8k-char budget, retained attachments — ported from the
  v1 reactor), generates via TextGeneration, and lands the title with a
  follow-up metadata update. Failures clear the marker and log.
- The server advertises threadTitleRegeneration again, and the client
  updateThreadMetadata dispatches regenerateTitle-only updates.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:31 +02:00
Julius Marmingeandcodex ec4c3f0171 [codex] feat(web): show git progress in the commit button (#4963)
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marminge 4124948442 feat(orchestration): track provider retries and thread visits
- Project retry progress and recovery for Codex and Claude turns
- Sync thread completion markers through server-side visit timestamps
2026-08-14 11:23:30 +02:00
Julius Marminge 918e4155dd feat(server): surface legacy thread migration progress
- Publish migration lifecycle events during startup
- Show a web toast while legacy threads are restored
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex 5e711d3b10 fix(worktrees): make handoff rollback atomic
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 2cd862d392 fix(orchestrator): handle fresh review edge cases
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex ba8b661995 fix(orchestrator): address late review findings
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 0027aa1081 fix(mobile): gate thread controls on live runs
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex c4f3a78407 fix(client): preserve live thread relationships
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 29075a81c0 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-14 11:23:28 +02:00
Julius Marmingeandcodex 7219dbfea7 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-14 11:23:28 +02:00
Julius Marmingeandcodex c30c681c1f 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-14 11:23:28 +02:00
Julius Marmingeandcodex ffe2daac90 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-14 11:23:28 +02:00
Julius Marmingeandcodex 4b5e817866 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-14 11:23:28 +02:00
Julius Marmingeandcodex 685fe6c6de feat: migrate v1 state into orchestrator v2 (#4400)
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:28 +02:00
Mike Olsonandcodex 686806f72a 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-14 11:23:27 +02:00
David Whatleyandcodex 4f26e751c7 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-14 11:23:27 +02:00
Mike Olson c567b83aa9 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-14 11:23:27 +02:00
Julius Marmingeandcodex daddf826fd fix(orchestration): clarify agent delegation and scheduling
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:26 +02:00
Julius Marminge c8a8c421b2 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-14 11:23:26 +02:00
Julius Marmingeandcodex 32b749d07e 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-14 11:23:26 +02:00
Mike Olsonandcodex 8ccb33f755 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-14 11:23:26 +02:00
Alex bc76ab4db3 feat(orchestrator): pass model options through MCP thread targets (#3872) 2026-08-14 11:23:25 +02:00
Julius MarmingeandClaude Fable 5 8d7bfec473 feat: scheduled tasks (automations) (#3638)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-14 11:23:25 +02:00
Julius Marminge 6f35159fbe 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-14 11:23:24 +02:00
Julius Marminge 29cd06590a 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-14 11:23:24 +02:00
Julius Marminge 3f50a50f8d 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-14 11:23:24 +02:00
Julius Marmingeandcodex 6b04c941d5 Retire V1 client orchestration parity
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:24 +02:00
Julius Marmingeandcodex 96ecd33a39 Expose V2 thread workflows on mobile
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:24 +02:00
Julius Marmingeandcodex 0e80e11955 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-14 11:23:23 +02:00
Julius Marmingeandcodex 4be1e0fe13 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-14 11:23:16 +02:00
Julius Marminge 6ff48331b7 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-14 11:23:08 +02:00
Julius Marminge 0d295cf098 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-14 11:23:08 +02:00
Julius Marminge 5e1536e260 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-14 11:23:08 +02:00
Julius Marminge b7f71acd29 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-14 11:23:08 +02:00
Julius Marminge 9bf8cea6af 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-14 11:22:52 +02:00
Julius Marminge d358d16a39 Start orchestration V2 application services 2026-08-14 11:22:52 +02:00
Julius Marminge 63f2e161e7 Align orchestration V2 with Effect service conventions 2026-08-14 11:22:52 +02:00
Julius Marminge 27da49519f 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-14 11:22:52 +02:00
Julius Marminge 12173fe8e9 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-14 11:22:52 +02:00
Julius Marminge c8b20831e2 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-14 11:22:52 +02:00
Julius Marminge 34c6d5ea18 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-14 11:22:52 +02:00
Julius Marminge 0e1cf4e0ed 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-14 11:22:52 +02:00
Julius Marminge b38863bbd2 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-14 11:22:51 +02:00