GeezerVison is showing github.com — feat(orchestrator): introduce new orchestrator by juliusmarminge · Pull Request #2829 · pingdotgg/t3code
Conversation
Important
Revert before merging into main
V2-only stopgaps that must be undone or moved when this lands. Add to this list whenever a preview-only change goes in.
- OpenCode 2 compatibility policy on preview builds. Preview builds keep their bundled OpenCode policy (OpenCode 2 supported, 1.x "limited support") instead of
main's fetched manifest, which still marks OpenCode 2 broken (#14198). Before merging: remove the preview-only override in ModelManifest, and put the V2 OpenCode policy into main's apps/server/src/provider/model-manifest.json.
Summary
- wire orchestration V2 provider adapter registry/factory flow for Codex and Claude provider instances
- add Claude replay/query primitives, native fork/rollback fixtures, subagent fixture coverage, and provider replay harness updates
- update debugger model/provider picker and improve user-facing orchestration errors
Validation
- bun fmt
- bun lint
- bun typecheck
- bun run test -- src/orchestration-v2/testkit/OrchestratorReplayFixtures.integration.test.ts -t claudeAgent
- bun run test -- src/orchestration-v2/testkit/ClaudeReplayFixtures.integration.test.ts
- bun run test -- src/orchestration-v2/testkit/ThreadFork.integration.test.ts -t Claude
Notes
- Draft PR for review of current branch state. Codex all-provider replay still needs schema alignment with latest app-server behavior before it can be treated as a full-suite signal.
Closes
Verified against the branch with code/commit evidence. Issues listed under High confidence have a concrete V2 mechanism (named in the note). Medium confidence items belong to a V1 race or lifecycle class that V2 structurally removes; prune any you want to re-verify after merge.
High confidence
Closes #871 — V2 mints message identity itself in orchestration-v2/IdAllocator.ts (random id scoped by thread + ordinal) instead of keying projections on provider-supplied message…
Closes #4673 — V2 owns queue state in the orchestrator with explicit queue controls and pending-question commands (fix(queue): preserve and hold queued messages after restart, fea… Closes #2778 — V2 tracks delegated children in projections and wakes the parent when they finish (fix(orchestrator): Stop treating a wait timeout as a dead child (#7427), fix(orch…
Closes #4952
Closes #4873
Closes #4775
Closes #4795
Closes #4710
Closes #4668
Closes #4619
Closes #4584
Closes #4561
Closes #4713
Closes #4198
Closes #4452
Closes #3797
Closes #4232
Closes #3666
Closes #3580
Closes #2785
Closes #2789
Closes #3138
Closes #1404
Closes #231
Closes #216
Closes #12940 — CursorAdapterV2 passes enableAgentRetries: true to the Cursor SDK session (apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.ts:331)
Closes #12928 — AcpAdapterV2 maps ACP tool kind search to file_search and only fetch to web_search, replacing main's canonicalItemTypeFromAcpToolKind which lumps search and…
Closes #12915 — The buggy schedulePromptAdmissionRecovery path lives only in V1's OpenCodeAdapter.ts, which V2 removes in favour of OpenCodeAdapterV2 plus commits 'correlate OpenCode…
Closes #12904 — V2 deletes the V1 provider adapter layer that raised ProviderAdapterSessionClosedError and replaces it with ProviderSessionManager plus ProviderRuntimeRecoveryService,…
Closes #12679 — The branch carries 'fix(server): preserve provider history across repeated rollbacks (#12676)' and 'fix(pi): use native forks and preserve rollback session identity',…
Closes #12285 — The settledDeliveryCount cohort cap no longer exists on the branch.
Closes #12100 — V2 makes queuing server-owned with a queued_turn intent released as a separate turn after the active turn (fix(web): retain server-side queuing on v2, fix(orchestratio…
Closes #11968 — V2's orchestrator MCP toolkit ships t3_thread_update with action='rename' that defaults to the calling thread (apps/server/src/mcp/ThreadMetadataMcpService.ts, toolkit…
Closes #11889 — V2 deletes the reactor-based path (orchestration-v2/ThreadDeletion.ts runs through the serialized orchestrator and effect worker) and lands 'fix(server): cancel pendin…
Closes #11799 — V2's ProviderSessionManager release path writes runtime-request.updated with a not_resumable capability for every pending approval_request and user_input_request bound…
Closes #11730 — V2's server-owned settlement rejects threads with pendingBackgroundTasks/live activity (ThreadSettlementService.isAutoSettlementCandidate) and adds 'feat(orchestrator)…
Closes #11711 — V2's isAutoSettlementCandidate in orchestration-v2/ThreadSettlementService.ts returns false when pinnedAt is set (covered by ThreadSettlementService.test.ts 'excludes…
Closes #11428 — V2 commit "fix: stop retained background work after a turn settles" makes ProviderTurnControlService.interrupt accept a non-running run that still has pending backgrou…
Closes #10928 — orchestration-v2/RestartContinuation.ts dispatches the automatic continuation with the source run's modelSelection, whose options carry reasoningEffort, so the restart…
Closes #10786 — V2 records the reply on the user_input_request turn item itself as questionAnswer (answers plus questionTextById) in Orchestrator.ts rather than synthesizing a u…
Closes #10545 — V2 adds a distinct Limited stop state with resume/snooze-at-reset ("feat(v2): show provider limit stops as Limited (#12677)", "#12686", "#12687"), documented in the V2…
Closes #10480 — V2 runs Cursor through the official @cursor/sdk and explicitly does not use Cursor's ACP transport for V2 execution (user-cursor.md.
Closes #10099 — V2 makes settlement server-owned in ThreadSettlementService.
Closes #9107 — V2 models provider-owned background work as first-class turn items (background_task/background_command/monitor in orchestrationV2.ts) with normalized post-settlement W…
Closes #9047 — apps/server/src/provider/Layers/CursorAdapter.ts does not exist on V2.
Closes #9029 — ClaudeAdapterV2 projects TodoWrite todos into todo_list plan items rather than depending on Task tools, surfaced by "fix(web): surface v2 todo-list plans as task progr…
Closes #8946 — V2's deriveTurnFolds pulls subagent items and background work entries into the run fold and drops main's agent-spawn never-fold exclusion.
Closes #8594 — The V1 ClaudeAdapter is deleted on V2.
Closes #8499 — V2 models native subagents and maps nested Codex subagent threads into thread lineage, rendered by "feat(web): show subagent models and running count in Lineage" after…
Closes #8091 — Task steps are projected from the persisted event log, and "fix(orchestrator): preserve task-step elapsed time across restart (#10051)" restores the list after relaunch.
Closes #7328 — V2 ports title regeneration to the orchestrator with tracked contract state: 'feat(contracts): track thread title regeneration', 'feat(orchestration): port thread titl…
Closes #7281 — V2 carries per-subagent model through projections: 'fix(claude): retain requested subagent models', 'fix(server): preserve Claude subagent models', 'feat(web): show su…
Closes #7244 — V2 runs Cursor on the official @cursor/sdk and treats CURSOR_API_KEY as the auth method (docs/user/cursor.md prerequisites.
Closes #7155 — V2's provider session recovery plus '[orchestrator-v2] fix(orchestrator): Restore Claude session continuity for resume, wake, and idle release (#3860)' rebuilds the re…
Closes #7075 — V2's CodexSessionRuntime sends thread/resume with excludeTurns: true on the main resume path (apps/server/src/provider/Layers/CodexSessionRuntime.ts:751 on the branch,…
Closes #5953 — V2 models native Codex subagents as separate projected child threads (feat(orchestration-v2): model native subagents.
Closes #5750 — ProviderRuntimeRecoveryService reconciles non-terminal runs against actual provider inventory at startup/shutdown and retires the outbox effects tied to the lost proce…
Closes #5518 — V2 tracks delegated children in projections and settlement (fix(notifications): silence subagent threads.
Closes #5476 — Server-owned ThreadSettlementService returns no settlement whenever any linked pull request snapshot is missing or still open, and the guarded thread.auto-settle comma…
Closes #5454 — ProviderRuntimeRecoveryService reconciles on startup/shutdown and cancels every pending runtimeRequest with a user-facing 'server restarted before the provider work co…
Closes #5436 — V2 makes the follow-up queue server-owned and durable (queued messages keep order and are held across a server restart.
Closes #5110 — V2 adds ProviderTextDeltaCoalescer and ThreadLiveEventCoalescer, which buffer and flush provider text deltas before persistence/publication instead of writing one dura…
Closes #4650 — ClaudeAdapterV2 handles the SDK compact_boundary message and publishes usedTokens: afterTokenCount from compact_metadata.post_tokens, replacing V1's monotonic…
Closes #4495 — The failing call site (context.query.setPermissionMode wrapped as turn/setPermissionMode in apps/server/src/provider/Layers/ClaudeAdapter.ts) does not exist in V2.
Closes #2477 — V2 models native subagents as distinct lineage nodes with their own projection rows rather than splicing their text into the parent stream — `feat(orchestration-v2): m…
Medium confidence (under review)
Closes #4568
Closes #4766
Closes #4456
Closes #4399
Closes #3744
Closes #2921
Closes #3624
Closes #3149
Closes #2336
Closes #538
Closes #2173
Closes #2065
Closes #12926 — The 'Provider session did not survive a server restart' path exists only on main (serverRuntimeStartup.ts:346)
Closes #12885 — Cross-thread session eviction is a V1 session-lifecycle race.
Closes #12762 — V2 never replays the V1 event log: LegacyV1ThreadImporter reads projection_thread_messages from a statev2.sqlite snapshot, so a legacy thread.message-sent row missing…
Closes #12694 — V2 replaces ensureSessionForThread's restart branch with ProviderSessionTransitionPolicy plus recovery that checks providerThreadHasPendingBackgroundTasks before retir…
Closes #12502 — Stuck-Working class that V2 addresses via run finalization separate from provider turn completion plus 'fix(grok): Prevent spurious wake run after in-turn monitors' an…
Closes #12467 — The branch adds 'fix(server): recover Pi resumes without reusing native history (#12933)' and 'fix(pi): use native forks and preserve rollback session identity', which…
Closes #12456 — The recovery path it skips (schedulePromptAdmissionRecovery in V1's OpenCodeAdapter) is deleted in V2, whose OpenCode admission and stream-EOF handling is rebuilt in O…
Closes #12374 — Same Cursor ACP transport-drop class as #12940, which V2 addresses by enabling enableAgentRetries in CursorAdapterV2.
Closes #12325 — Same never-terminating tool-row class.
Closes #12206 — ProviderAdapterSessionClosedError is the ACP session-lifecycle class V2 rewrites ('feat(providers): standardize ACP providers', 'fix(antigravity): accept supported leg…
Closes #12187 — V2's run interrupt explicitly handles runs in preparing/starting with no provider turn, emitting an interrupt result and marking attempt/node/run interrupted ('Handle…
Closes #12155 — V2 carries reasoning as typed turn items across clients ('fix(providers): enable Codex and Claude reasoning summaries in V2', 'fix(timeline): align V2 reasoning disclo…
Closes #12136 — Same OpenCode prompt-admission rework as #11889 ('guard OpenCode prompt admission races', 'abort external OpenCode sessions on release') plus V2's interrupt path that…
Closes #12131 — V2 tracks subagents in server projections and replaces the ad-hoc agents panel with projection-backed lineage/workspace-card surfaces ('refactor(web): remove the agent…
Closes #12094 — The V2 timeline rewrite re-lays out these exact rows ('fix(web): anchor turn duration below the initiating prompt', 'fix: keep working timers anchored to the active ru…
Closes #12072 — V2's mobile timeline is rebuilt on paged V2 turn items with LegendList owning end-follow and anchoring ('fix(mobile): keep scroll bounds current after animations', 'pe…
Closes #12037 — V2 keeps a failed turn as a settled transcript item instead of wedging the thread ('fix(v2): keep failed turns visible in the transcript', 'fix(server): preserve gener…
Closes #11992 — V2 reworks the mobile running-turn UI so the pill is part of the composer hub and scroll bounds track animations ('feat(mobile): make the composer pill the hub for the…
Closes #11907 — V2 commits intent, projection and command receipt in one transaction with idempotent receipts, and holds sends as server-side queued turns, removing the V1 admission r…
Closes #11903 — Mobile timelines are rebuilt from V2 typed turn items ('Render mobile timelines from V2 turn items', 'Enrich mobile V2 execution items', 'fix(chat): present and summar…
Closes #11796 — The V1 processTurnInterruptRequested path is gone.
Closes #11777 — V2 projects native Codex subagents as durable child nodes with results ('Map nested Codex subagent threads correctly', 'feat(subagents): disclose projected results con…
Closes #11670 — V2 standardizes ACP providers behind one adapter with session recovery and surfaces typed failures ('feat(providers): standardize ACP providers', 'fix(server): surface…
Closes #11432 — V2 maps Codex background command completions to typed turn items (codexBackgroundCommandDetail, source kind background_command) and renders background completions as t…
Closes #11353 — V2 persists each assistant text block as its own ordered assistant_message turn item with its own messageId, so a later item in the same turn cannot overwrite an earli…
Closes #11182 — Branch-only "perf(server): stop decoding unrelated events during startup" (#12846) rewrites ProjectionPipeline bootstrap to read cursor metadata instead of full event…
Closes #10973 — V2 commit "fix(server): recover OpenCode status reconciliation" ignores stale timers and duplicate evidence so an older prompt's idle event cannot finish newer steerin…
Closes #10934 — The "Provider session did not survive a server restart" path exists only on main.
Closes #10798 — V2 replaces the Codex adapter with scoped session runtimes plus a provider session recovery service, and run state is orchestrator-owned rather than derived from the a…
Closes #10684 — Same mechanism as #10202: V2's durable thread.model-selection.set command and thread.model-selection-updated projection replace per-client sticky model state.
Closes #10375 — ClaudeAdapterV2 classifies local_bash task types explicitly and never fabricates a subagent for them, and V2 rebuilt the worklog rows ("fix(timeline): unify worklog…
Closes #10202 — V2 makes thread model selection durable server state via the thread.model-selection.set command and thread.model-selection-updated event, which every subscribed cl…
Closes #10192 — V2 projects questions as turn items rendered identically across clients and makes settlement server-owned ("fix: align V2 question and checkpoint timelines across clie…
Closes #10185 — V2 models native subagents in projections and surfaces their models in Lineage, replacing the Agents right panel ("feat(web): show subagent models and running count in…
Closes #9892 — V2 tracks subagents in projections and maps Grok task envelopes to subagent lineage ("Map Grok task envelopes to subagent lineage", "feat(orchestration-v2): model nati…
Closes #9772 — V2 orders the transcript from the append-only event log and pages history by keyset rather than by wall-clock timestamps ("perf(orchestration): bound history reads in…
Closes #9698 — V2 separates run finalization from provider turn completion and retires background work after a turn settles ("fix: stop retained background work after a turn settles"…
Closes #9672 — V2 models queued messages as first-class durable queued_turn intents promoted by the serialized orchestrator ("fix(queue): preserve and hold queued messages after re…
Closes #9607 — V2's provider session recovery restarts live sessions after dead/stale records and reopens Claude queries on credential rotation ("fix(server): restart the live sessio…
Closes #9586 — V2 makes liveness an orchestrator projection and the settlement service detaches idle provider sessions ("fix(orchestrator): Restore Claude session continuity for resu…
Closes #9414 — V2 adds bounded per-thread history loading with true-end paging and bounded snapshots ("perf(orchestration): bound complete thread snapshots", "fix(orchestration): pag…
Closes #9352 — V2 shows live context usage in the composer meter as a first-class V2 surface ("feat(orchestration-v2): show live context usage in the meter (#8144)", "fix(server): ke…
Closes #9214 — Fold derivation now keys on server-owned runIds instead of provider turn ids, and "fix(server): recover OpenCode status reconciliation" makes OpenCode run state author…
Closes #8945 — V2 folds group by server-owned runId and deliberately keep every provider turn since the initiating prompt in one visual response, so a mid-turn pause no longer starts…
Closes #8896 — V2 isolates its migrations from the V1 database and flags divergent migration ids ("test(server): prove v1 to v2 cutover on a copied database and flag divergent migrat…
Closes #8873 — V2 replaces the checkpoint reactor with effect-worker checkpointing that starts the provider turn when baseline capture fails (#12153) and finalizes runs when checkpoi…
Closes #8648 — V2 bounds history reads in SQL, bounds complete thread snapshots and resume payloads, releases thread history after turn startup, and keeps tool payloads out of comple…
Closes #8618 — Stop is a serialized V2 command whose intent commits with a durable receipt, and "fix(orchestrator): report terminal runs after wait timeout" ends the stuck Thinking s…
Closes #8382 — V2 adds AcpRuntimeModel parsing of ACP usage_update/state_update usage into a per-session contextUsage snapshot that feeds "feat(orchestration-v2): show live context u…
Closes #8320 — V2 records provider session lifecycle as persisted typed events with a session recovery service, plus "fix(server): surface actionable provider failure messages (#1256…
Closes #8263 — ProviderTurnStartService prunes and recreates a missing worktree at the thread's branch before starting the provider turn ("fix(orchestration): recreate missing worktr…
Closes #8259 — V2 shares Codex sessions across orchestration threads and maps turns to provider instances.
Closes #8146 — V2 replaces the hand-written Codex wire with the generated effect-codex-app-server schemas and app-server integration, so initialize payload decoding is regenerated fr…
Closes #8105 — V2 projects file-change and diff items per run and thread and narrows subscriptions to the viewed thread, so opening a second thread cannot capture another thread's li…
Closes #8022 — V2 Cursor execution and provider checks no longer use the ACP transport or cursor/list_available_models — it goes through the official SDK ('Switch Cursor provider to…
Closes #7781 — V2 replaces the inferred turn→checkpoint range with durable run identity and checkpoint coordination ('fix(orchestration): stabilize Codex turn mapping and settlement'…
Closes #7722 — V2 models native Codex subagents as first-class threads with orchestrator-owned stop ('Map nested Codex subagent threads correctly', 'fix(server): wait for native Code…
Closes #7589 — V2 records provider turn state independently from run finalization and settles threads server-side, and 'fix(server): restore Claude resume compaction' covers the comp…
Closes #7314 — V2 models subagents in projections and re-derives status from events ('feat(orchestration-v2): model native subagents', 'refactor(mobile): share subagent status indica…
Closes #6517 — V1's ProviderCommandReactor semaphore is replaced by the serialized orchestrator plus effect worker.
Closes #6389 — The V2 Claude adapter emits into the orchestrator where events and projections commit in one transaction, removing the in-flight-tool map race at finalize.
Closes #6368 — Thread settlement and snooze become server-owned in ThreadSettlementService ('fix(server): keep old failures from waking snoozed V2 threads (#9903)', 'fix: reconcile m…
Closes #6358 — V2's server-owned settlement evaluates without a connected client and 'fix(orchestration): reanchor unsettled threads' removes the stuck-unsettled state that pins the…
Closes #6128 — The V1 thread read model that caused the archived_at asymmetry is replaced by V2's projection store and ThreadLifecycleService, with archive handled as a domain comman…
Closes #5958 — The reported 'Orchestration command invariant failed' comes from the V1 OrchestrationEngine command path, which V2 replaces with the serialized Orchestrator and EventS…
Closes #5952 — V2 SubagentProjection plus OpenCodeAdapterV2 child-session mapping (fix(opencode): route child-session approvals through the v2 adapter) projects native child sessions…
Closes #5754 — CodexAdapterV2 maps collab wait/spawn items and empty receiver sets explicitly (replay fixture subagent_v2 covers a wait with empty receiverThreadIds), and RunFinaliza…
Closes #5685 — V2 CheckpointRollbackService coordinates workspace rollback with the provider conversation and the timeline (fix: align V2 question and checkpoint timelines across cli…
Closes #5514 — V2 ThreadPullRequestService skips settled threads in ordinary discovery and only stamps a link.
Closes #5447 — Commands are serialized through one orchestrator with idempotent receipts and sessions are owned by ProviderSessionManager, removing the duplicate-dispatch race that p…
Closes #5395 — ClaudeAdapterV2 maps sidechain items onto V2's native subagent model (feat(orchestration-v2): model native subagents.
Closes #5323 — Shutdown/startup runtime reconciliation records an explicit cancellation for work interrupted by the quit, replacing the stale 'stream failed' state a killed provider…
Closes #5035 — V2 drops the V1 per-event runProjectorForEvent nesting: EventSink commits events, projections, receipt and outbox in a single sql.withTransaction, removing the nested-…
Closes #4962 — V2 projects delegated-child progress server-side and shares it with mobile (refactor(mobile): share subagent status indicators.
Closes #4944 — V2 owns provider switching through ProviderSwitchService/ProviderSessionTransitionPolicy/ProviderSessionManager (Allow provider switching via handoff in chat threads.
Closes #4818 — V2 threads no longer write through the V1 receipt repository.
Closes #4728 — V2 reprojects Claude assistant text blocks and buffers streaming output per block (fix(timeline): preview live reasoning and buffer complete paragraphs), so text emi…
Closes #4723 — fix(orchestration): recreate missing worktrees before turns prunes stale registrations and recreates the saved branch/path in ProviderTurnStartService, and Provid… Closes #4560 — V2 binds each thread to its own provider session record (orchestration_v2_projection_provider_sessions, keyed by provider instance + thread) and serializes commands… Closes #4225 — V2 commits the user-message event before any provider work runs in the effect worker, so a provider auth failure leaves the prompt persisted and rendered instead of sw… Closes #4178 — V2 bounds the read model and subscription payloads: perf(orchestration): bound complete thread snapshots, feat(orchestration): bound thread history and resume paylo…
Closes #2644 — V2 separates provider turn completion from run finalization and rewrites the OpenCode adapter's turn mapping, so a finished provider turn settles the thread rather tha…
Closes #2519 — V2 projects proposed plans as first-class rows (fix(server): project Claude plans and todos, fix(server): preserve Claude planning lifecycle, inline-plans rework),…
Closes #2343 — V2 provider session recovery plus budgeted context handoff rebuild a resumed thread's context from the persisted transcript when the native provider session is gone, r…
Closes #881 — Run and turn state are derived from the committed event log and recovered at startup by the V2 recovery services, so a resumed thread shows real provider activity inst…
Supersedes
These pull requests target the V1 orchestration/provider layers this PR replaces, and V2 already delivers the same fix or feature by another route. They are linked here (not auto-closed) so their authors can find the replacement; most were closed pending V2, the rest stay open for maintainer review.
High confidence
- Supersedes fix(server): stop a hung provider interrupt from blocking every other command #12478 — V2 decides commands without provider I/O and runs effects in the leased EffectWorker, serializing only per-identity via KeyedSerialExecutor rather than a process-wide…
- Supersedes feat: continue a stopped thread when its usage limit resets #12458 — V2 ships UsageLimitRecoveryWorker and the 'Resume at reset' / 'Auto-resume limited threads' feature (commits 'resume limited threads when usage resets (feat(v2): resume limited threads when usage resets #12686)', 'snoo…
- Supersedes feat(server): agent-callable rename of the current thread #12114 — V2's thread metadata MCP tool supports action='rename' and 'regenerate_title' through the server-owned metadata workflow.
- Supersedes feat(server): port agent thread metadata tools to main #12018 — V2 has ThreadMetadataMcpService and the t3_thread_metadata update tool (commit 'feat(mcp): update thread metadata (feat(mcp): update thread metadata #8690)').
- Supersedes feat(server): agents list and create threads via the t3-code MCP toolkit #11864 — V2's orchestrator MCP toolkit already exposes create_threads and t3_thread_list scoped to the calling project.
- Supersedes feat(server): add V2 create_threads to the T3 MCP #11795 — V2 ships OrchestratorMcpService with create_threads and t3_thread_launch (commits 'Add orchestration MCP toolkit', 'feat(mcp): expose project thread launch service').
- Supersedes feat(antigravity): queue follow-up turns sequentially instead of cancelling active prompt #11628 — V2 owns queueing in orchestration — follow-up messages become queued runs delivered in order (QueuedRunOrder/queued-run edit, reorder, promote-to-steer) instead of an…
- Supersedes fix(server): reconcile delayed OpenCode prompt admission #11613 — OpenCodeAdapterV2 has a dedicated admission reconciliation generation and
reconcile-idle action for delayed prompt admission (commits `correlate OpenCode prompt admi…
- Supersedes feat(mcp): let agents hand a thread off to a worktree they created #11560 — V2 ships
t3_worktree_handoff, t3_worktree_status, and t3_worktree_list in the MCP worktree toolkit, including the queued continuation prompt.
- Supersedes fix(opencode): show child sessions in agents panel #11452 — OpenCodeAdapterV2 maps child sessions to subagent contexts and projects them as child threads via SubagentProjection.
- Supersedes feat(mcp): add t3_thread_start for handing work to a new thread #11360 — V2's MCP toolkit provides
t3_thread_launch (plus create_threads) for handing work to a new workspace-aware thread.
- Supersedes feat(server): add first-class Devin provider over ACP #11356 — V2 ships Devin ACP support in the generic registry adapter (Adapters/DevinAcp.ts plus
fix(acp): support Devin terminals, questions, and native subagents).
- Supersedes feat(server): let agents coordinate persistent peer threads #11303 — V2's MCP orchestrator toolkit already exposes persistent peer-thread coordination (
t3_thread_launch, t3_thread_send, t3_thread_wait, t3_thread_read) with durab…
- Supersedes feat(server): show OpenCode subagents in the Agents panel and work log #11262 — OpenCodeAdapterV2 models native subagents with lifecycle events and child-session mapping into projected subagent threads.
- Supersedes fix(cursor): retry prompts that only returned a transport failure #11225 — Cursor V2 no longer uses the ACP transport at all — execution goes through @cursor/sdk, and V2 additionally rejects partial output from failed Cursor runs.
- Supersedes feat(usage-limit): recover gracefully when a subscription runs out #11215 — V2 adds Limited run state plus snooze-until-reset and auto-resume-at-reset scheduling (commits feat(v2): show provider limit stops as Limited #12677/feat(v2): resume limited threads when usage resets #12686/feat(v2): snooze limited threads until usage resets #12687 and the Limited section of the user docs).
- Supersedes fix(cursor): show native Task children in the Agents panel #11214 — CursorAdapterV2 projects Cursor
task subagents as read-only child app threads with their tool activity and final result (docs/user/cursor.md, SubagentProjection).
- Supersedes feat(server): add guarded idle session stops #11202 — V2 thread settlement is server-owned: the guarded
thread.auto-settle command rejects newer activity and live/blocked work and detaches idle provider sessions (`provi…
- Supersedes fix(cursor): map ACP updateTodos tool calls onto the Tasks panel #11170 — Cursor V2 runs on the official @cursor/sdk (CursorAcpExtension deleted) and CursorAdapterV2 maps
updateTodos tool calls into task steps with emitsTodoList: true.
- Supersedes feat(threads): add cross-provider conversation forks #11096 — V2 delivers cross-provider forks and handoffs natively (
t3_thread_fork, ContextHandoffServiceV2, commits fix(orchestration-v2): resolve cross-provider forks and `f…
- Supersedes fix(server): show OpenCode subagents in the Agents panel #10858 — OpenCodeAdapterV2 declares
supportsSubagents/exposesSubagentThreadIds and maps child sessions through SubagentProjection into real child threads.
- Supersedes fix(server): attribute async question replies #10793 — V2 persists Codex async questions as
user_input_request items and runtime-request.respond commits the resolution plus the user message in one transaction against t…
- Supersedes feat(opencode): show actual model per turn #10726 — OpenCodeAdapterV2 derives the real
providerID/modelID from the native payload per assistant message and records it on the V2 turn (model field on the turn projecti…
- Supersedes fix(server): restore queued turn identity after restart #10611 — V2 persists queued messages in the event log and restart recovery holds them with identity intact (
queueHeld in orchestrationV2 contracts.
- Supersedes fix(server): serialize checkpoint restores with pending turns #10608 — V2 serializes all commands for a thread through
ThreadCommandExecutor and re-validates restore in CheckpointRestoreSafety "at command admission and again before pr…
- Supersedes fix(server): dismiss orphaned provider questions #10586 — V2 adds a first-class
thread.user-input.dismiss command and ProviderEventIngestor.dismissNativeUserInputs, which clears native user inputs when the turn ends or th…
- Supersedes feat(threads): show a usage-limit stop as Limited instead of Failed #10550 — V2 commit "feat(v2): show provider limit stops as Limited (feat(v2): show provider limit stops as Limited #12677)" plus
usageLimitResetAt in orchestrationV2.ts.
- Supersedes fix(cursor): enable sandbox in auto mode #10510 — V2 deletes
CursorAcpSupport.ts and maps runtime modes onto the Cursor SDK directly: "full access disables its sandbox, while restricted modes and explicit non-full-a…
- Supersedes fix: recover threads after worktree deletion #9852 — V2's
ProviderTurnStartService recreates a missing worktree before starting a provider turn ("provider turn start recreating missing worktree"), matching commit "fix(…
- Supersedes fix(server): isolate provider command lanes by thread #9823 — V2's
ThreadCommandExecutor is a KeyedSerialExecutor<ThreadId>, serializing per-thread work "without coupling unrelated identities to a process-wide mutex".
- Supersedes feat: side chat and fork surfaces for web and mobile #9437 — Same V2 fork model (
ThreadForkService, thread.fork command, mobile fork/merge-back surfaces in commits "fix(mobile): wait for fork shell before navigation" and "pr…
- Supersedes feat(server): fork threads and side chats #9436 — V2 ships
ThreadForkService with fork lineage, lazy context transfer and merge-back handoffs (commits "Add thread fork lineage and lazy context transfer", "feat(mcp):…
- Supersedes fix(server): treat symlinked worktree paths as the same directory #9247 — V2's
CheckpointRestoreSafety resolves fileSystem.realPath on both the checkpoint scope cwd and the thread worktree before comparing, so symlinked paths compare equal.
- Supersedes fix(grok): show context-window usage in the composer #9206 — V2 delivers this generically via commit "feat(orchestration-v2): show live context usage in the meter (feat(claude): compact old threads before they burn through usage #8144)" with usage normalized in
GrokAdapterV2.
- Supersedes feat: sync thread read state across clients #9124 — V2 persists read state server-side as
thread.visit/thread.visited events with lastVisitedAt on the thread projection plus a thread.mark-unread command, so ever…
- Supersedes fix(server): harden Cursor adapter turn lifecycle #9051 — V2 deletes
CursorAdapter.ts and runs Cursor through CursorAdapterV2/CursorAgentSdk on the official @cursor/sdk (docs/user/cursor.md: "does not use Cursor's ACP…
- Supersedes fix(server): scope the Claude context meter to the parent session #8453 — V2's normalizeClaudeTurnTokenUsage returns usageScope main_agent on every path, so subagent tokens cannot reach the parent context meter.
- Supersedes feat(grok): show Grok subagents in the Agents panel #8412 — GrokAdapterV2 wires extractXAiAcpSubagentUpdate/extractXAiAcpSubagentEndNotice into V2 subagent lineage (Map Grok task envelopes to subagent lineage).
- Supersedes feat(opencode): show native Task subagents in the Agents panel #7393 — OpenCodeAdapterV2 declares supportsSubagents/exposesSubagentThreadIds/emitsSubagentLifecycle and maps child sessions through SubagentProjection into V2 lineage.
- Supersedes fix(codex): recover turns after usage limits #7308 — V2 delivers server-owned limit handling: show provider limit stops as Limited (feat(v2): show provider limit stops as Limited #12677), resume limited threads when usage resets (feat(v2): resume limited threads when usage resets #12686), snooze limited threads (Support remote branch listing and tracked checkout from branch picker #126…
- Supersedes fix(claude): report subagent model and effort #7287 — V2 projects subagent identity through SubagentProjection and carries the requested model (fix(claude): retain requested subagent models.
- Supersedes feat(orchestration): persist run-next messages server-side across providers #7240 — V2 persists queued runs in the event log with queued-run.reorder/cancel/edit and queued-message.promote-to-steer commands (fix(queue): preserve and hold queued message…
- Supersedes fix(threads): keep snoozed threads hidden when work finishes #7179 — Settlement and snooze are server-owned in V2 (ThreadSettlementService, thread.snoozed/unsnoozed projections) and the branch already carries fix(server): keep old failu…
- Supersedes fix(server): key assistant text blocks by message id instead of stream position #7143 — ClaudeAdapterV2 derives every message and turn-item id from the native provider item id via IdAllocator.derive.messageFromProviderItem, so stream position is never the…
- Supersedes fix(server): prevent silent session forks when switching provider accounts #6148 — V2 routes every provider session by providerInstanceId and the orchestrator emits provider-session.detached plus a provider-session.detach effect for providerSwitchPla…
Partially / likely superseded
- Supersedes fix(server): mark superseded running turns interrupted #12221 — V2 queues additional runs instead of superseding a live one, and ProviderRuntimeRecoveryService/RunFinalizationService terminalize any nonterminal run whose provider w…
- Supersedes fix: make bulk thread deletion reliable #12189 — planThreadDeletion emits deletion events and cleanup effects in one EventSink transaction, with the effect worker performing the durable cleanup afterwards.
- Supersedes fix(server): preserve agent roster across chat pagination #12135 — V2 keeps subagents in the thread projection (SubagentProjection) independent of the bounded message history window ('feat(orchestration): bound thread history and resu…
- Supersedes feat(provider): add DeepSeek Harness over ACP #12073 — V2's generic ACP provider registry (AcpRegistryAdapterV2, 'feat(providers): standardize ACP providers') lets a DeepSeek ACP agent be registered without a bespoke drive…
- Supersedes fix(server): OpenCode stop no longer hangs when a turn is interrupted before submission #12003 — OpenCodeAdapterV2's prompt-admission state machine plus 'cancel pending OpenCode prompts safely' cover the interrupt-before-submission window.
- Supersedes fix(server): keep conversation when a stopped thread switches provider instance #11908 — The transcript is the server-owned v2 event log, and ProviderSwitchServiceV2 plus ContextHandoffServiceV2 plan an instance change without the provider session owning t…
- Supersedes fix(server): dismiss orphaned approvals #11839 — ProviderRuntimeRecoveryService cancels nonterminal runtime requests and background turn items whose provider process is gone before admitting new work.
- Supersedes fix(server): preserve provider sessions after host sleep #11838 — V2 deletes ProviderSessionReaper entirely.
- Supersedes fix(server): recover OpenCode turns from live busy status #11640 — OpenCodeAdapterV2 reconciles prompt admission against the live session status (reconcileOpenCodePromptAdmissionStatus, commit 'recover OpenCode status reconciliation').
- Supersedes fix(server): bound Codex session startup to release stalled commands #11471 — V1 CodexAdapter is deleted.
- Supersedes T3code/copilot cli subscription #11423 — V2's ACP Registry lets any registry agent be added without a bespoke Copilot driver, so only the Copilot-specific quota/driver bits would remain.
- Supersedes fix(server): report Grok context window usage #11284 — GrokAdapterV2 is built on makeAcpAdapterV2, whose shared
contextUsage tracking drives the V2 live context meter (commit `feat(orchestration-v2): show live context us…
- Supersedes feat(devin): integrate Devin CLI across T3 Code #11139 — V2 supports Devin through its ACP Registry path (Adapters/DevinAcp.ts, commit
fix(acp): support Devin terminals, questions, and native subagents) rather than a bespo…
- Supersedes fix(server): open a new OpenCode turn after the provider goes idle #11090 — OpenCodeAdapterV2's admission state machine tracks
idleDuringAdmission and emits reconcile-idle, replacing the V1 idle/turn-boundary handling.
- Supersedes fix(server): preserve reasoning effort after restart #10939 — V1 ProviderService is deleted.
- Supersedes feat(server): add Oh My Pi (omp) as an ACP provider #10893 — V2 ships a generic ACP Registry adapter (AcpRegistryAdapterV2) that can register any registry agent, so a bespoke omp driver is at most partially needed.
- Supersedes fix(server): prevent premature OpenCode turn completion #10805 — OpenCodeAdapterV2 has an explicit prompt-admission state machine (
admissionPending/idleDuringAdmission/reconcile-idle) so an idle signal during admission no long…
- Supersedes fix(server): drop Codex sessions whose runtime exited #10799 — V1 CodexAdapter is deleted.
- Supersedes fix(grok): recover from crashed provider sessions #10607 — V2's
ProviderRuntimeRecoveryService plus "harden Grok v2 runtime lifecycle" and "dedupe Grok continuation dispatch" handle crashed sessions centrally.
- Supersedes fix(claude): isolate subagent tool streams #10575 — V2 projects native subagents as separate read-only child threads with their own tool activity (
SubagentProjection), so per-subagent stream isolation is structural.
- Supersedes fix(web): keep background shells visible until they exit #10295 — V2 replaces
ActivityPayloadProjection.ts with ShellStream and the v2 activity log ("fold completed trailing background activity", "keep shell snapshots bounded and…
- Supersedes feat: start queued prompts when provider capacity returns #10132 — V2 ships
UsageLimitRecoveryWorker with usageLimitContinuationOfRunId ("feat(v2): resume limited threads when usage resets (feat(v2): resume limited threads when usage resets #12686)", "share scheduling for tasks an…
- Supersedes fix(server): retain bounded runtime diagnostic details #10087 — V2's diagnostics budget already keeps bounded detail: 64 KiB encoded payload budget with structural summaries that "retain routing identifiers, methods, status, and er…
- Supersedes fix(cursor): fall back to session models on older cli versions #9922 — Cursor V2 gets its model list from
CursorSdkCatalog via @cursor/sdk instead of the CLI (CursorProvider.ts loses ~1060 lines of CLI probing), so CLI-version model f…
- Supersedes fix(server): keep Claude messaging sessions alive #9612 — V2 deletes
ProviderSessionReaper.ts.
- Supersedes fix(claude): resumed subagents no longer read as stopped #9408 — V2's
SubagentProjection plus "Codex background command completion and subagent resume" track subagent lifecycle in projections rather than in the deleted `ClaudeAdap…
- Supersedes fix(server): settle background agents the provider stopped reporting #9391 — V2 separates
RunFinalizationService from provider turn completion and makes settlement server-owned in ThreadSettlementService ("stop retained background work afte…
- Supersedes fix(claude): recover missing sessions before first prompt admission #9344 — V2 owns session lifecycle in
ProviderSessionManager + ProviderRuntimeRecoveryService, which retires effects tied to lost provider processes before admitting new wo…
- Supersedes fix(web): pending user-input Submit bypasses normal-send guards #9319 — V2's
RuntimeRequestService/runtime-request.respond reads the persisted request, validates required answers, and commits the resolution and user message in one tran…
- Supersedes fix(server): render async Codex messages #9227 —
CodexAdapterV2 persists Codex async notifications as user_input_request turn items and runtime requests that survive turn end, provider exit, and restart.
- Supersedes feat(server): add Hermes Agent ACP provider #9158 — V2's generic ACP Registry (
AcpRegistryAdapterV2, "feat(providers): standardize ACP providers") lets registry agents be added without a first-party driver, so the bes…
- Supersedes fix(claude): guard completed agent resumes #9130 — V2 replaces
ProviderSessionDirectory/ProviderService with ProviderSessionManager and ProviderSessionTransitionPolicy, which decide resume versus fresh session from persisted session state.
- Supersedes fix(server): workflow phases no longer vanish from the Agents panel #8952 — V2 models native subagents in
SubagentProjection ("feat(orchestration-v2): model native subagents", "show subagent details and history in workspace card")
- Supersedes fix(orchestration): persist OpenCode abort state #8939 — V2 records run/turn state as committed events and handles OpenCode cancellation in
OpenCodeAdapterV2 ("cancel pending OpenCode prompts safely", "abort external OpenC…
- Supersedes feat(web): generate and preserve thread handover drafts #8857 — V2 replaces the usage-limit handover draft with ContextHandoffServiceV2 portable handoffs plus Limited status and resume-at-reset (feat(server): preserve budgeted hist…
- Supersedes fix(server): ignore replayed Claude resume snapshots #8842 — ClaudeAdapterV2 derives deterministic ids from native item ids and V2 restores resume continuity explicitly (fix(server): restore Claude resume compaction.
- Supersedes fix(server): forget a deleted thread's provider binding #8796 — ThreadDeletionReactor and ProviderSessionDirectory are deleted on V2.
- Supersedes fix(providers): reconnect MCP servers on demand #8737 — V2 requires the MCP registry for provider sessions and rebuilds credentials per session (fix(claude): reopen queries after MCP credential rotation.
- Supersedes feat(opencode): surface context-window usage and session cost on the meter #8659 — V2's live context meter (feat(claude): compact old threads before they burn through usage #8144) plus OpenCodeAdapterV2's own turn token accumulator already deliver OpenCode context and cost on the meter.
- Supersedes fix(remote): stop button gives immediate feedback and prevents stuck thinking on remote server #8619 — V2 commits stop intent plus its receipt in one transaction and acknowledges before provider work settles (fix(server): wait for native Codex start before Stop fix(server): wait for native Codex start before Stop #10024.
- Supersedes fix(server): preserve Claude context over cumulative result usage #8617 — V2 separates the thread-level contextUsage snapshot from per-turn TurnTokenUsage with explicit partial/complete status (fix(server): keep current provider context usage).
- Supersedes fix(server): drop pending approvals when a thread reverts #8425 — V2 rollback goes through CheckpointRollbackService with provider coordination and the orchestrator resolves runtime requests transactionally (fix(orchestration): exclu…
- Supersedes fix(web): restore composer tasks after relaunch #8097 — V2 persists queued/task state in the event log and restores it across restart (fix(queue): preserve and hold queued messages after restart.
- Supersedes feat(droid): add Factory Droid as a provider #7993 — Same ACP Registry path covers running Droid as a registry agent.
- Supersedes feat: add fx provider #7865 — V2's generic ACP Registry (AcpRegistryAdapterV2 plus feat(providers): standardize ACP providers feat(providers): standardize ACP providers #6461) lets an ACP agent be registered without a bespoke first-party pr…
- Supersedes fix(server): settle error session exits #7854 — ProviderRuntimeIngestion.ts is deleted on V2.
- Supersedes fix(claude): report busy heartbeats only while a turn owns them #7591 — V2 run state is server-owned and background work is modeled explicitly (fix: stop retained background work after a turn settles.
- Supersedes fix(server): bound Claude subagent usage #7520 — V2's normalizeClaudeTurnTokenUsage stamps usageScope main_agent with an explicit hasSubagents flag instead of folding subagent tokens into the parent turn.
- Supersedes fix(server): start Claude full access without forbidden permission modes (#4927) #7246 — ClaudeAdapterV2 derives the SDK permission mode from the runtime policy in permissionModeForClaudeRuntimePolicy (fix(claude): preserve approvals with full-access sandbox.
- Supersedes fix(server): exclude inherited Codex child usage #7238 — V2 adds a from-scratch CodexTurnTokenUsage.ts normalizer and maps nested Codex subagent threads to their own nodes, so parent turns no longer inherit child totals.
- Supersedes fix(server): persist late Claude tool results after turn finalize #7192 — V2 separates provider turn end from run finalization (RunFinalizationService) and ClaudeAdapterV2 buffers late/idle notifications behind replay tombstones so post-fina…
- Supersedes fix(web): render persisted bash tool output in expanded turns #7184 — ActivityPayloadProjection.ts is deleted on V2.
- Supersedes feat(server): show OpenCode session context window usage #7072 — V2 ships a live context meter (feat(orchestration-v2): show live context usage in the meter feat(claude): compact old threads before they burn through usage #8144) fed by OpenCodeAdapterV2's own token accumulator (fix(server): retai…
- Supersedes fix(server): subagent runs no longer delay replies #6584 — V2 models native subagents as separate execution nodes whose completion does not block the root run (feat(orchestration-v2): model native subagents.
- Supersedes feat(clients): reload provider sessions per thread without restarting T3 Code #6162 — V2 adds a first-class provider-session.detach command with attached/updated/detached projections, so a thread's session can be released and rebuilt on the next turn wi…
- Supersedes fix(server): coalesce Codex child progress before ingestion #6004 — CodexProgressCoalescer.ts is deleted on V2 and replaced by Adapters/ProviderTextDeltaCoalescer.ts feeding ProviderEventIngestor, with transport payloads bounded (perf(…
- Supersedes fix(server): cap background-work deferral and report session-teardown losses #5711 — ProviderSessionReaper is deleted on V2.
- Supersedes fix(server): refresh provider session lastSeenAt on turn and task activity #5524 — V2 deletes ProviderSessionDirectory/ProviderService entirely and tracks session liveness as persisted provider-session.attached/updated/detached events plus ProviderRu…
- Supersedes fix(server): treat signal-killed Claude subprocess as interrupted #5142 — ClaudeAdapter.ts is deleted on V2.
Closes discussions
Discussions cannot be auto-closed; these are linked so they can be resolved by hand after merge.
- [Feature]: Let the agent update its thread title once the work is actually decided #7333
- Add a 'Continue' button for threads that have hanged in some way #12260 — V2 adds a durable Limited stop state with auto-resume and manual retry when the provider allowance returns ("feat(v2): show provider limit stops as Limited", "feat(v2): resume limited threads when usage resets"), plus event-sourced run recovery after a restart.
- Show complete details for native Codex agents #11778 — V2 remaps nested Codex subagent threads and adds task names, models, running counts, and consistently published final results to the lineage view (fix(web): show subagent models and running count in Lineage #12491, "Map nested Codex subagent threads correctly", "fix: format subagent task names across clients").
- Provider: Cline (ships native ACP, fits the existing adapter stack) #11394 — V2's ACP Registry provider type lets any registry agent be added from Settings > Providers > Add provider instance > ACP Registry, so a native-ACP agent like Cline needs no bespoke driver.
- [Feature] Full activity for subagents #11000 — V2 models native subagents in projections with lineage and persists child history and final results ("feat(web): show subagent details and history in workspace card", "feat(subagents): disclose projected results consistently").
- Show provider retries and last parent output alongside Working #10941 — V2 tracks provider retries as first-class orchestration state and renders them in the work log ("feat(orchestration): track provider retries and thread visits", "fix(orchestration): show provider retries in the work log").
- Idea: Multi agent communication/coordination #10392 — The V2 orchestration MCP toolkit (thread launch, send, wait, read, delegate_task with a durable completion mailbox) turns T3 into the multi-agent coordination harness described, though it does not arbitrate who owns which issue.
- [Feature]: Cross-provider delegated agents #10242 — V2 ships t3_code__delegate_task, explicitly documented as the path for cross-provider child agents, plus task_status/t3_thread_send/t3_thread_wait/t3_thread_interrupt for the spawn/send/wait/stop surface the request asks for.
- [Feature]: Opt-in setting so agents can settle their own thread #9942 — V2's thread MCP toolkit adds t3_thread_organize with a settle action that defaults to the calling thread (apps/server/src/mcp/toolkits/thread/tools.ts), so an agent can settle its own thread.
- Am I supposed to see subagent progress in the sidebar or somewhere in the chat? #9611 — V2 projects native OpenCode task subagents as child threads via SubagentProjection/makeSubagentChildThread and surfaces them in the Agents/Lineage view, so subagent work is visible.
- Ability to Seamlessly Move Threads From One Account to Another with Same/Different AI Provider #9446 — V2 ships provider continuation/handoff in an existing thread —
Allow provider switching via handoff in chat threads plus feat(server): preserve budgeted history across provider handoffs — and the sidebar doc tells limited threads to switch to another provider instance.
- Snooze a thread until provider limits reset #8920 — V2's server-owned settlement adds
Snooze until reset / Resume at reset prefilled from the provider's reported reset time, with Snooze limited threads and Auto-resume limited threads defaults (feat(v2): resume limited threads when usage resets).
- Add preview_close so agents can release collaborative browser tabs #8887 — V2 adds the
t3_preview_close and t3_preview_list MCP tools (feat(mcp): expose preview list and close); main has neither.
- Agent-controlled T3 threads: a multi-provider proof of concept #8433 — V2 exposes
create_threads, t3_thread_launch, t3_thread_configure, t3_thread_wait and t3_thread_interrupt as MCP tools, so an agent can spawn and drive threads on other providers/models.
- Proposal: configurable generic stdio ACP provider driver #8333 — V2 ships a generic ACP Registry provider (
feat(providers): standardize ACP providers) with per-instance executable override, so a new ACP agent no longer needs a first-party driver and BUILT_IN_DRIVERS entry.
- Claude provider needs a Shadow config path, matching Codex, for multi-account thread continuation #7547 — V2 does not add a Claude Shadow config field, but portable provider handoff makes mid-thread switching to another account's provider instance work without compatible native resume state.
- Switching provider/model inside an existing thread, with conversation carry-over #7367 — The same provider-handoff mechanism replaces the
thread is bound to driver / resume state is incompatible hard binds, carrying a budgeted portable context selection into the new provider (docs/user/portable-handoffs.md).
- [Feature] Add built-in session inspection to the T3 CLI and agent toolset #7332 — V2's MCP toolkits ship read-only session inspection —
t3_thread_list, t3_thread_read, t3_thread_search — though the standalone CLI surface is not part of it.
- [Feature]: Add a Codex-style /side command #7311 — V2 ships thread forks with merge-back (
t3_thread_fork, t3_thread_merge_back, ThreadRelationshipsControl), delivering the side-exploration-without-derailing goal though not an ephemeral side-panel thread.
- Native Gajae Code (gjc) provider — or a generic ACP driver? #7290 — The discussion's fallback ask is answered: V2's ACP Registry runs arbitrary registry ACP agents (v2 preview with v1 negotiation) without a gjc-specific provider.
- Allow configuring the default runtime mode #7028 — V2 adds a scoped
defaultRuntimeMode server setting surfaced in Settings → Project defaults (new on the branch; absent from main).
- Support Kimi Code CLI as a built-in provider #7024 — V2's ACP Registry provider path (AcpRegistryDriver/AcpRegistryAdapterV2, Settings → Providers → ACP Registry, with executable override) runs generic ACP agents such as
kimi acp without a bespoke provider.
- Grok/ACP: sessionUpdate parity for live Grok agent stdio #7022 — AcpAdapterV2 handles
agent_thought_chunk, usage_update, available_commands_update and config_option_update, and fix(grok): align ACP extensions with open source runtime covers the xAI extension hooks.
- Grok provider: native ACP parity (catalog, effort, usage) #7021 —
feat(providers): standardize ACP providers (#6461) gives every ACP provider the command catalog, config options/reasoning effort and usage-driven context meter via AcpAdapterV2.
- Grok provider: plan mode via /plan text mapping #7020 — AcpAdapterV2 applies T3's Plan toggle to ACP agents by selecting a native
plan/architect mode and plan-category config options, restoring build configuration afterwards — mode mapping rather than /plan text.
- Grok provider: multi-agent visibility via task.* events #7019 — V2 models native subagents and maps Grok task envelopes to subagent lineage (
Map Grok task envelopes to subagent lineage, feat(orchestration-v2): model native subagents).
- Let agents message existing sibling threads #7001 — The V2 orchestrator MCP toolkit adds
t3_thread_list and t3_thread_send (new on the branch; absent on main), and the activity log summarizes Sent 5 messages to 2 threads.
- [Feature]: Cursor provider subagent support in the Agents panel (and parent wake on completion) #6998 — V2's Cursor SDK adapter projects Cursor
task subagents as read-only child app threads with their tool activity (docs/user/cursor.md), and subagent lineage is tracked in V2 projections.
- [Feature]: Mobile: sub-agent visibility parity — spawn indicator, Agents surface, and background liveness #6971 — V2 adds mobile
ThreadAgentsSheet and SubagentStatusDot (neither exists on main) plus refactor(mobile): share subagent status indicators.
- [Feature]: Create top-level threads in another project (orchestrator thread tools are hard-scoped to the calling thread's project) #6945 — V2's
t3_thread_launch MCP tool takes an explicit optional projectId (with t3_project_list/t3_project_read to find it), so an agent can start a top-level thread in another project.
- [Feature]: Support running multiple agents (same or different providers) in parallel within the same thread #6911 — V2's
delegate_task runs T3-owned child agents asynchronously with per-task provider/model overrides, projected as subagent lineage inside the parent thread.
- [Feature]: Add an atomic guarded wake primitive for idle threads #6850 — V2 exposes
t3_thread_send with mode='auto' (starts an idle thread, steers or queues otherwise) plus clientRequestId idempotency backed by durable command receipts.
- [Feature]: Oh My Pi support #6814 — V2 ships the Pi coding agent as a provider (
feat(providers): add Pi coding agent (#7211), PiDriver/PiProvider, native Pi forks and resume recovery).
- [Feature]: Recognize USAGE LIMIT and auto-ping when it's back #6796 — V2 surfaces provider limit stops as "Limited" and adds auto-resume and snooze-until-reset ("feat(v2): show provider limit stops as Limited", "resume limited threads when usage resets", "snooze limited threads until usage resets"), documented in the thread sidebar guide.
- [Feature]: Allow model switching in ongoing desktop chat sessions #6795 — The same V2 provider/model handoff path lets a running thread change provider and model between turns while carrying budgeted conversation context instead of starting a new chat.
- [Feature]: Add thread management to CLI for external orchestration #6779 — V2 ships the orchestration MCP toolkit ("Add MCP thread management and Codex turn mapping", "feat(mcp): expose project thread launch service / thread search / thread organization commands") so external agents can manage T3 threads against the running server.
- [Feature]: Add Cursor SDK support to the Cursor provider #6776 — V2's Cursor adapter runs on the official @cursor/sdk local-agent runtime rather than ACP, per docs/user/cursor.md and "Add Cursor SDK orchestration replay support".
- [Feature]: Switch provider/model mid-conversation via transcript handoff #6757 — V2 ships cross-provider handoff ("feat(orchestration-v2): support cross-provider handoff", "Allow provider switching via handoff in chat threads") with ContextHandoffServiceV2 budgeted transcript transfer, exactly the transcript-handoff switch requested.
- [Feature]: Add Devin CLI support #6749 — V2's ACP work explicitly covers Devin ("fix(acp): support Devin terminals, questions, and native subagents") and the ACP Registry lets users add it as a registry agent.
- [Feature]: Scheduled Prompts #6748 — V2 ships scheduled tasks ("feat: scheduled tasks (automations) (feat: scheduled tasks (automations) #3638)") with durable deadlines that survive restart, so a prompt can be scheduled for a later date/time.
- [Feature]: Add Orchestration/Delegation #6741 — V2 delivers server-side agent delegation across providers: the orchestration MCP toolkit for dispatching and messaging threads plus cross-provider handoff ("fix(orchestration): clarify agent delegation and scheduling").
- [Feature]: conversation branching (fork thread from a message) #6707 — V2 adds thread forks with lineage and lazy context transfer ("Add thread fork lineage and lazy context transfer", "feat(mcp): expose fork and merge-back commands"), including cross-provider forks and merge-back handoffs.
- Proposal: recover stuck running turns when turn/completed is lost after long command execution #6698 — V2 records provider turn state in the event log and finalizes runs separately (RunFinalizationService), plus provider session recovery retiring effects of lost processes, removing the stuck-"Working" class this describes.
- Subagent support as nested threads #6689 — V2 models native subagents as child app threads with lineage projections and an Agents/Lineage view ("feat(orchestration-v2): model native subagents", "Map nested Codex subagent threads correctly").
- feat: add Pi provider integration via RPC #6685 — V2 adds Pi as a first-class provider ("feat(providers): add Pi coding agent (feat(providers): add Pi coding agent #7211)") running through the generic ACP v1 negotiation path.
Note
Introduce orchestration V2 runtime, services, provider adapters, and MCP toolkits
- Adds a complete orchestration V2 server runtime: projection store, event store, effect outbox, command receipts, checkpoint capture/rollback, thread management, run execution, provider session management, context handoff, runtime policy, and legacy V1 thread importer, composed through runtimeLayer.ts
- Adds V2 provider adapters for Codex, Claude, Cursor, Grok, OpenCode, and ACP Registry with a shared adapter contract, driver registry, and selection-transition policy
- Adds MCP toolkit services and HTTP registration for orchestrator delegation, thread operations, worktree handoff, project lifecycle, attachments, environment preferences, and preview controls
- Adds scheduled-task persistence, scheduling logic, server service, client runtime atoms, and a settings UI surface
- Migrates client-runtime and web/mobile UI from legacy session/turn fields to V2 projection-based runtime/run state, including thread details panel, queue controls, relationship graph, history loading, and item inspector
- Registers database migrations 050–061 for V2 foundation tables, subagents, provider-session bindings, launch workflows, application event sourcing, effect cancellation, scheduled tasks, legacy import state, and recovery/shell indexes
- Risk: replaces the legacy
EnvironmentApi orchestration interface with orchestrationV2; removes serverUpdateThreadContinuation capability; CursorSettings no longer exposes binaryPath or apiEndpoint; ProviderUsageLimitsIngestionLive no longer subscribes to runtime events; thread routing resolves existing non-deleted threads directly to ready instead of loading
Macroscope summarized 6102d00.
Note Medium Risk
Mobile thread persistence and list/archive/stop behavior change with V2 runtime semantics; removing the thread-transfer report workflow reduces PR visibility into transfer budget regressions.
Overview
This slice of the orchestration V2 rollout retires the thread-transfer PR comment pipeline (trusted publisher script, tests, and workflow_run workflow) while CI can still emit transfer artifacts; it also installs build-essential in CI so ACP process-tree fixtures compile instead of soft-skipping.
Mobile moves onto shared V2 client-runtime pieces: SQLite cache uses ORCHESTRATION_CACHE_SCHEMA_VERSION and stored V2 shell/thread snapshots, runtime wiring swaps in bounded thread snapshot loading and history control, and thread detail/review/archive flows read projections (runtime, RuntimeRequestId, checkpoint summaries from runId) instead of V1 session/turn shapes. UX additions include activity inspector, queue control, relationships banner, progressive history controls, server visit watermarking, stricter archive rules via threadCanArchive, and approval/user-input cards that honor live vs dead provider responseCapability.
Smaller touches: shared brand mark module, new uniwind adaptive color tokens, desktop env test for user-data dir names, README link to appearance docs, and marketing copy for Cursor harness.
Reviewed by Cursor Bugbot for commit 9eeed8c. Bugbot is set up for automated code reviews on this repo. Configure here.

Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Aaryan-Kapoor, flavour, Newarr, kbatalin, husseinraoouf, TheBit, zdaman101, toxuin, MedLeon, lastobelus, and 43 more reacted with thumbs up emoji
atimmer, PixPMusic, sguergachi, he3als, iamkaf, saphitv, neodon, michabbb, neckaros, ruijdacd, and 66 more reacted with heart emoji
huxcrux, AlexErrant, AmrEsyd, BenWortley, Newarr, jackboyla, kbatalin, husseinraoouf, TheBit, zdaman101, and 30 more reacted with rocket emoji
rickylabs, he3als, saphitv, michabbb, simon-easyprog, wrick17, AngeloTadeucci, Aaryan-Kapoor, icaroryan, Vrtak-CZ, and 40 more reacted with eyes emoji
All reactions
-
👍
53 reactions
-
❤️
76 reactions
-
🚀
40 reactions
-
👀
50 reactions
coderabbitai
Bot
commented
May 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
✨ Finishing Touches
📝 Generate docstrings
- Create stacked PR
- Commit on current branch
🧪 Generate unit tests (beta)
- Commit to this branch
- Create a new PR
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Autopilot is currently an internal CodeRabbit preview.
Comment @coderabbitai help to get the list of available commands.
|
L-Blondy reacted with heart emoji
lmdevv and IARI reacted with rocket emoji
All reactions
-
❤️
1 reaction
-
🚀
2 reactions
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+116
to
+120
|
|
return decodeTranscript({
|
|
|
...metadata,
|
|
|
entries,
|
|
|
});
|
|
|
});
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟢 Low testkit/ReplayTranscriptNdjson.ts:116
The call to decodeTranscript at line 116 invokes Schema.decodeUnknownSync, which throws on validation failure. Since this isn't wrapped in Effect.try, any validation error becomes an uncaught exception (defect) instead of a typed ProviderReplayNdjsonParseError. This breaks the function's declared error contract. Consider wrapping the call in Effect.try to catch the exception and convert it to the declared error type.
- return decodeTranscript({
- ...metadata,
- entries,
- });
+ return yield* Effect.try({
+ try: () =>
+ decodeTranscript({
+ ...metadata,
+ entries,
+ }),
+ catch: (cause) =>
+ new ProviderReplayNdjsonLineParseError({
+ lineNumber: lines.length,
+ line: "<transcript validation>",
+ cause,
+ }),
+ });
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file apps/server/src/orchestration-v2/testkit/ReplayTranscriptNdjson.ts around lines 116-120:
The call to `decodeTranscript` at line 116 invokes `Schema.decodeUnknownSync`, which throws on validation failure. Since this isn't wrapped in `Effect.try`, any validation error becomes an uncaught exception (defect) instead of a typed `ProviderReplayNdjsonParseError`. This breaks the function's declared error contract. Consider wrapping the call in `Effect.try` to catch the exception and convert it to the declared error type.
Evidence trail:
apps/server/src/orchestration-v2/testkit/ReplayTranscriptNdjson.ts lines 50-53: `decodeTranscript = Schema.decodeUnknownSync(ProviderReplayTranscript)` — throws on failure.
Line 116-118: `return decodeTranscript({...metadata, entries})` — called directly inside Effect.gen without Effect.try wrapper.
Lines 55-68 (`parseReplayRecord`): same pattern but correctly wrapped in `Effect.try`.
Line 80: function declares error type `ProviderReplayNdjsonParseError`.
packages/contracts/src/orchestrationV2.ts lines 1561-1568: `ProviderReplayTranscript` schema with `TrimmedNonEmptyString` fields that can fail validation.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
duncan4123
pushed a commit
to duncan4123/t3code
that referenced
this pull request
Jun 1, 2026
…der adapters (t3-29f.6)
Assessment of upstream PR pingdotgg#2829 (pingdotgg/t3code) from juliusmarminge:
WIP wire orchestration v2 provider adapters with Codex and Claude adapters,
event sourcing, provider session management, and replay testkit.
Relevance to target issues:
- pingdotgg#2838 (session resume): HIGH — ProviderSessionManager persists session
IDs and separates startSession/resumeSession operations
- pingdotgg#2778 (subagent hang): MEDIUM — ProviderEventIngestor provides
infrastructure to forward permission events, but UI plumbing not yet wired
- pingdotgg#2886 (thread stuck working): HIGH — event-sourced projections replace
mutable state flags, eliminating sticky "working" states
The PR is a draft (34 commits, not merged). No OpenCode ACP adapter
exists yet in v2 — OpenCode would need its own adapter wired into the
ProviderAdapterRegistry. Recommend watching for merge and adding an
OpenCode adapter post-merge.
duncan4123
pushed a commit
to duncan4123/t3code
that referenced
this pull request
Jun 2, 2026
The upstream PR pingdotgg#2829 added orchestrationV2 methods to the WsRpcClient
interface. The test mock in service.threadSubscriptions.test.ts was
missing the orchestrationV2 property, causing a typecheck failure:
'Property orchestrationV2 is missing in type...'
Added orchestrationV2 mock with dispatchCommand, getThreadProjection,
subscribeShell, and subscribeThread as vi.fn() stubs.
duncan4123
pushed a commit
to duncan4123/t3code
that referenced
this pull request
Jun 2, 2026
The upstream PR pingdotgg#2829 targets a newer Effect version than our fork's
pinned [email protected]. Fixes:
- Replace Random.nextUUIDv4 with Crypto.randomUUIDv4 (beta.73 API)
- Fix deterministic Service tag keys to match fork convention
(include file path segments; e.g. Adapters/ClaudeAdapterV2/...)
- Replace Schema.decodeSync with Schema.decodeUnknownEffect inside
Effect.gen generators (tsgo schemaSyncInEffect rule)
- Replace inline Schema.encodeUnknownSync with module-level wrappers
to avoid schemaSyncInEffect rule inside generators
|
🚀 Expo continuous deployment is ready!
- Project → t3-code
- Platforms → android, ios
- Scheme → t3code-preview
| |
🤖 Android |
🍎 iOS |
| Fingerprint |
fe5a51f2e189da69dfc4c2cd458e6cfb5fdff2ea |
ae3bd597809dfd7771d0898f735d172973d4c1c8 |
| Build Details |
Build Permalink
DetailsDistribution: INTERNAL Build profile: preview:dev Runtime version: fe5a51f2e189da69dfc4c2cd458e6cfb5fdff2ea App version: 0.1.0 Git commit: 1d5a64460414f9a2c6ff4a5e4f977932228b7f1b |
Build Permalink
DetailsDistribution: INTERNAL Build profile: preview:dev Runtime version: ae3bd597809dfd7771d0898f735d172973d4c1c8 App version: 0.1.0 Git commit: eea0dcae4150df8341606520c074dc651ae7c00a |
| Update Details |
Update Permalink
DetailsBranch: pr-2829 Runtime version: fe5a51f2e189da69dfc4c2cd458e6cfb5fdff2ea Git commit: 1d5a64460414f9a2c6ff4a5e4f977932228b7f1b |
Update Permalink
DetailsBranch: pr-2829 Runtime version: ae3bd597809dfd7771d0898f735d172973d4c1c8 Git commit: 1d5a64460414f9a2c6ff4a5e4f977932228b7f1b |
| Update QR |
 |
 |
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
juliusmarminge
changed the title
WIP: wire orchestration v2 provider adapters
feat(orchestrator): introduce new orchestrator
Jun 14, 2026
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+109
to
+128
|
|
Effect.gen(function* () {
|
|
|
const threadId = payloadInput.threadId ?? input.threadId;
|
|
|
const eventId = yield* idAllocator.allocate.event({
|
|
|
threadId,
|
|
|
providerSessionId: input.providerSessionId,
|
|
|
});
|
|
|
const occurredAt = yield* DateTime.now;
|
|
|
return yield* Schema.decodeUnknownEffect(OrchestrationV2DomainEvent)(
|
|
|
compactUndefined({
|
|
|
id: eventId,
|
|
|
type: payloadInput.type,
|
|
|
threadId,
|
|
|
runId: payloadInput.runId ?? input.runId,
|
|
|
nodeId: payloadInput.nodeId ?? input.nodeId,
|
|
|
provider: input.event.provider,
|
|
|
rawEventId: input.rawEventId,
|
|
|
occurredAt,
|
|
|
payload: payloadInput.payload,
|
|
|
}),
|
|
|
);
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium orchestration-v2/ProviderEventIngestor.ts:109
In makeDomainEvent, the ?? operator on lines 121 and 123 treats explicit null as equivalent to undefined, causing payloadInput.runId ?? input.runId to fall back to input.runId when payloadInput.runId is explicitly null. Since the type is readonly runId?: RunId | null, this means explicit null values from the caller (e.g., input.event.node.runId being null on line 172) are incorrectly overwritten instead of preserved. Consider using === undefined checks like lines 161-162 and 210-211, or use payloadInput.runId === undefined ? input.runId : payloadInput.runId.
const threadId = payloadInput.threadId ?? input.threadId;
- const runId = payloadInput.runId ?? input.runId;
- const nodeId = payloadInput.nodeId ?? input.nodeId;
+ const runId = payloadInput.runId === undefined ? input.runId : payloadInput.runId;
+ const nodeId = payloadInput.nodeId === undefined ? input.nodeId : payloadInput.nodeId;
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @apps/server/src/orchestration-v2/ProviderEventIngestor.ts around lines 109-128:
In `makeDomainEvent`, the `??` operator on lines 121 and 123 treats explicit `null` as equivalent to `undefined`, causing `payloadInput.runId ?? input.runId` to fall back to `input.runId` when `payloadInput.runId` is explicitly `null`. Since the type is `readonly runId?: RunId | null`, this means explicit `null` values from the caller (e.g., `input.event.node.runId` being `null` on line 172) are incorrectly overwritten instead of preserved. Consider using `=== undefined` checks like lines 161-162 and 210-211, or use `payloadInput.runId === undefined ? input.runId : payloadInput.runId`.
Evidence trail:
apps/server/src/orchestration-v2/ProviderEventIngestor.ts lines 105-106 (payloadInput type with `RunId | null`), line 121 (`runId: payloadInput.runId ?? input.runId`), line 122 (`nodeId: payloadInput.nodeId ?? input.nodeId`), lines 161-162 and 210-211 (codebase uses `=== undefined` pattern elsewhere). packages/contracts/src/orchestrationV2.ts line 358 (`runId: Schema.NullOr(RunId)` on ExecutionNode - confirms null is a valid value), line 857 (`runId: Schema.optional(RunId)` on EventBase - domain event uses optional/undefined, not null). apps/server/src/orchestration-v2/ProviderEventIngestor.ts lines 80-81 (compactUndefined only strips undefined, not null).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
|
function nativeThreadId(provider: ProviderKind, thread: OrchestrationV2ProviderThread): string {
|
|
|
const id = thread.nativeThreadRef?.nativeId;
|
|
|
if (id === null || id === undefined || id.trim().length === 0) {
|
|
|
throw new ProviderAdapterProtocolError({
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium Adapters/AcpAdapterV2.ts:271
When nativeThreadId is called inside Effect.gen generators (e.g., lines 899, 1813), the thrown ProviderAdapterProtocolError becomes an untyped defect instead of a typed failure. This bypasses Effect.mapError and other typed error handlers, causing the error to propagate as an unexpected defect. Consider converting nativeThreadId to return Effect<string, ProviderAdapterProtocolError> and yielding it at each call site, or inlining the validation with yield* new ProviderAdapterProtocolError(...) so the failure is properly typed.
Also found in 1 other location(s)
apps/server/src/orchestration-v2/ThreadManagementService.ts:278
The statement return yield* managementError(...) cannot work correctly because managementError() returns a ThreadManagementError instance, not an Effect. The yield* operator in Effect.gen expects an Effect value. This should be return yield* Effect.fail(managementError(...)). The correct pattern is demonstrated elsewhere in this file (lines 241-246) where Effect.fail(managementError(...)) is properly used. This same bug pattern repeats at lines 291, 333, 357, 374, 390, 406, and 427.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.ts around line 271:
When `nativeThreadId` is called inside `Effect.gen` generators (e.g., lines 899, 1813), the thrown `ProviderAdapterProtocolError` becomes an untyped defect instead of a typed failure. This bypasses `Effect.mapError` and other typed error handlers, causing the error to propagate as an unexpected defect. Consider converting `nativeThreadId` to return `Effect<string, ProviderAdapterProtocolError>` and yielding it at each call site, or inlining the validation with `yield* new ProviderAdapterProtocolError(...)` so the failure is properly typed.
Evidence trail:
1. nativeThreadId function with throw: apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.ts lines 268-277
2. Call site inside Effect.gen: apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.ts line 899
3. Call site inside Effect.gen: apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.ts line 1813
4. Correct yield* pattern for comparison: apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.ts line 1808
5. ProviderAdapterProtocolError class definition: apps/server/src/orchestration-v2/ProviderAdapter.ts lines 316-327
6. Effect.gen implementation delegating to fromIteratorUnsafe: https://github.com/Effect-TS/effect-smol packages/effect/src/internal/effect.ts lines 1104-1125
7. fromIteratorUnsafe calling iter.next() without try/catch: https://github.com/Effect-TS/effect-smol packages/effect/src/internal/effect.ts lines 1285-1307
8. FiberImpl.runLoop catch block converting thrown errors to exitDie: https://github.com/Effect-TS/effect-smol packages/effect/src/internal/effect.ts lines 646-650
9. die = exitDie producing Effect<never> (untyped): https://github.com/Effect-TS/effect-smol packages/effect/src/internal/effect.ts line 947
Also found in 1 other location(s):
- apps/server/src/orchestration-v2/ThreadManagementService.ts:278 -- The statement `return yield* managementError(...)` cannot work correctly because `managementError()` returns a `ThreadManagementError` instance, not an `Effect`. The `yield*` operator in `Effect.gen` expects an Effect value. This should be `return yield* Effect.fail(managementError(...))`. The correct pattern is demonstrated elsewhere in this file (lines 241-246) where `Effect.fail(managementError(...))` is properly used. This same bug pattern repeats at lines 291, 333, 357, 374, 390, 406, and 427.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 20, 2026
This was referenced Nov 2, 2026
This was referenced Nov 10, 2026
This was referenced Nov 12, 2026
This was referenced Nov 12, 2026
This branch was previously deployed
1 inactive
deployment
Reviewers
+1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
macroscope-review
Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews
📱 Native Change
Changes the native fingerprint; merging blocks production OTAs until a new store build ships.
size:XXL
1,000+ changed lines (additions + deletions).
vouch:trusted
Author is trusted by repo permissions or the VOUCHED list.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|