feat(mcp): expose project thread launch service - #10565
Merged
juliusmarminge merged 3 commits intoSep 7, 2026
Merged
Conversation
This was referenced Sep 7, 2026
Contributor
Thread transfer impact
This comment will update automatically after the next completed run. |
Contributor
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR adds a new destructive, open-world MCP operation that can create project threads, launch model runs, provision worktrees, and execute setup scripts, including asynchronous preparation after acceptance. Its broad runtime side effects make it unsuitable for automatic approval. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
juliusmarminge
force-pushed
the
agents/mcp-thin/project-launches
branch
from
September 7, 2026 19:35
6e7c612 to
4ae96cb
Compare
juliusmarminge
force-pushed
the
agents/mcp-thin/project-launches
branch
from
September 7, 2026 19:44
4ae96cb to
6c9a47b
Compare
juliusmarminge
force-pushed
the
agents/mcp-thin/project-launches
branch
2 times, most recently
from
September 7, 2026 19:54
530b178 to
9f040c2
Compare
juliusmarminge
force-pushed
the
agents/mcp-thin/project-launches
branch
from
September 7, 2026 20:39
9f040c2 to
5c716f3
Compare
juliusmarminge
force-pushed
the
agents/mcp-thin/project-launches
branch
from
September 7, 2026 20:41
5c716f3 to
7fac50a
Compare
juliusmarminge
force-pushed
the
agents/mcp-thin/project-launches
branch
from
September 7, 2026 20:48
7fac50a to
6a89996
Compare
juliusmarminge
force-pushed
the
agents/mcp-thin/project-launches
branch
from
September 7, 2026 20:55
6a89996 to
3492b15
Compare
juliusmarminge
merged commit Sep 7, 2026
6ff34d4
into
t3code/codex-turn-mapping
38 of 45 checks passed
juliusmarminge
added a commit
that referenced
this pull request
Sep 8, 2026
juliusmarminge
added a commit
that referenced
this pull request
Sep 8, 2026
juliusmarminge
added a commit
that referenced
this pull request
Sep 8, 2026
juliusmarminge
added a commit
that referenced
this pull request
Sep 9, 2026
juliusmarminge
added a commit
that referenced
this pull request
Sep 10, 2026
juliusmarminge
added a commit
that referenced
this pull request
Sep 11, 2026
juliusmarminge
added a commit
that referenced
this pull request
Sep 11, 2026
juliusmarminge
added a commit
that referenced
this pull request
Sep 11, 2026
juliusmarminge
added a commit
that referenced
this pull request
Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Part 15/16 of the shared-core and MCP stack. Based on #10564. Next: #10566.
Expose ThreadLaunchService through t3_thread_launch, including a registered project selector, workspace strategy, optional message and pending attachments.
Existing create_threads/t3_thread_start are untouched. Requires a full-access/default caller. Each call is a new launch; failures can leave an accepted partial thread. Preparation and workspace behavior remain in ThreadLaunchService. No new parent-run admission or retry journal.
Attachment claiming and launch execution now go through ThreadMessageIntake, shared with RPC. MCP retains caller defaults, pending-upload policy, and response mapping.
MCP-only rebuild of #8678, preserving attribution to Julius Marminge's original work. Original branches remain available for separate service follow-ups.
Validation: The composed stack passes 94 tests across 12 focused files, including shared core MCP and real MCP/V2 integration, attachment intake, project RPC/service contracts, and client model command selection. Server/contracts/shared/client-runtime typechecks and targeted format/lint/diff checks pass. New behavior coverage lives with the shared operation; no per-tool mock suite was added. Current-head CI is shown below.
Layer size: 3 files, +102/-1. No domain-service production implementation or documentation files change in this MCP layer.
Prepared with Codex in the OpenAI agent runtime.
Note
Add
t3_thread_launchMCP tool and handler toProjectToolkitt3_thread_launchhandler inproject.ProjectHandlersLive, which validates a full-access caller, accepts pending-upload attachments, applies caller defaults for project/model/modes, and launches a thread throughThreadMessageIntake, returning thread ID and optional initial-run status.project.ThreadLaunchToolschema with bounded message, up to eight attachments, and structured success/failure output; registers it as the first tool inProjectToolkit.T3_MCP_TOOLS.Macroscope summarized 3492b15.