Skip to content

fix(mcp): guide cross-project work to a local thread - #783

Merged
lastobelus merged 4 commits into
lastcode/mainfrom
lastcode/delegate-other-project-route
Nov 20, 2026
Merged

lastobelus merged 4 commits into
lastcode/mainfrom
lastcode/delegate-other-project-route

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Part of #751

When delegate_task refuses a different local project, point authorized work to t3_thread_launch in that project. For an isolated request, let T3 create the worktree. Include a callback when the caller will use the result.

GPT-6.1 Sol at medium effort, with #768 on both sides

  • Recovery passed 0/3 on main and 3/3 completed samples with the new wording. A replacement passed after one provider stream ended early.
  • Same-project delegation passed 3/3 on both.
  • Quick CI, 634 focused tests, eval typecheck, and lint passed. The tool-list and injected-text budgets changed by 0 bytes.

Local review: 4 rounds with GPT-6.1 Terra (xhigh), approved.

@lastobelus
lastobelus force-pushed the lastcode/delegate-other-project-route branch 2 times, most recently from d632953 to b1f70be Compare November 20, 2026 08:15
A refusal from delegate_task sent agents looking for another machine. Point authorized work at a thread in the target local project, with a managed worktree and a callback when the caller needs its result. Replay the real refusal and guard ordinary local delegation in the model eval.

GPT-6.2 Sol in T3 Code via Codex.

Carry-Group: incubator
Carry-Fix: #751
Reserve worktrees for requests that ask for isolation. Grade the launch base and queued callback fields, and catch checkout commands passed as argument arrays.

GPT-6.2 Sol in T3 Code via Codex.

Carry-Group: incubator
Carry-Fix: #751
Grade the callback destination in the send instruction. Reject shell checkout instructions passed to the child, and cover both mistakes with synthetic replies.

GPT-6.2 Sol in T3 Code via Codex.

Carry-Group: incubator
Carry-Fix: #751
Keep the exact local worktree launch checks and match callback terms with the existing grader. Drop the custom prose parser and its tests.

GPT-6.2 Sol in T3 Code via Codex.

Carry-Group: incubator
Carry-Fix: #751
@lastobelus
lastobelus force-pushed the lastcode/delegate-other-project-route branch from b1f70be to 6fc2fc5 Compare November 20, 2026 08:27
@lastobelus
lastobelus marked this pull request as ready for review November 20, 2026 08:29
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T08:31:35.456468Z 6fc2fc5 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lastobelus
lastobelus merged commit c304863 into lastcode/main Nov 20, 2026
37 of 50 checks passed
@lastobelus
lastobelus deleted the lastcode/delegate-other-project-route branch November 20, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant