GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge upstream/main 5e9d56416f into coder-only (sync stage 2 of 4: linked environments cut) by henrychu04 · Pull Request #263 · henrychu04/t3code-coder

Conversation

@henrychu04

@henrychu04 henrychu04 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Stage 2 of the e923627 → 67661cf upstream sync: upstream's linked-environments (peer) stack on its own: pingdotgg#16653, pingdotgg#16654, pingdotgg#16655, pingdotgg#16684, pingdotgg#16695, pingdotgg#16698, pingdotgg#16719, pingdotgg#17129, pingdotgg#17130.

Not carried (cut). Upstream links two servers with pairing and OAuth and forwards T3 tool calls over server-to-server HTTP /mcp, which breaks AGENTS.md boundaries 2, 3 and 6.

  • Server: apps/server/src/peer/** (PeerLinks, PeerMcpClient, PeerForwarding, PeerLinkRequests, RemoteDelegation) and its layers; the WsPeerLinks* handlers; mcp/linkOrigin.ts and its fence; T3-Mode-Limit narrowing; the t3_environment_links / t3_environment_link / t3_environment_unlink tools; the linked-machine lines of the orchestration instructions.
  • Clients: the linked-environments settings, the link-request card, @-machine chips, peer state, and the remote-task lineage display. The planned gateway-hub follow-up will restore the lineage display.
  • Refusals: a tool call or delegate_task naming another environment gets upstream's "This environment cannot reach linked environments." error.
  • Migrations: 070 and 071 keep their IDs and create nothing, like the auth migrations. 072 stays, because the projection's link-card reads name its index.
  • Capabilities: peerLinks, mcpModeLimitHeader and linkFence are omitted.

Kept because the contract unions need them:

  • The contracts, verbatim. The bridge therefore still advertises upstream's environmentId tool fields.
  • The decider cases for delegated_task.remote.* and link_request.record, and their projection decoding.
  • Registry entries for the environment chip kind: the client registries throw on load without them.

Carried: t3_thread_launch clientRequestId (pingdotgg#16654), untilDelegatedWorkSettled, thread interrupt stop, delegatedTaskModes.

The seams doc has a new "Linked environments" cut entry. knip.jsonc ignores the contracts export linkOriginIsFenced.

Verification:

  • Pass: every AGENTS.md typecheck, pnpm knip:check, the unused-locals check (empty), vp fmt --check, the section 6 marker and lost-line checks (only peer lines missing), pnpm test:knip and pnpm build.
  • pnpm test:coder (TMPDIR under /private/tmp) passes apart from AttachmentFilePreview.browser.test.tsx under load (Tests that flake under full-suite load #236). It passes alone.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
juliusmarminge and others added 10 commits October 27, 2026 14:04
@juliusmarminge @claude
feat(server): /mcp narrows a client's modes from T3-Mode-Limit (pingd…
1b1ad04
…otgg#16653)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@juliusmarminge @claude
feat(server): t3_thread_launch takes clientRequestId (pingdotgg#16654)
888e444
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@juliusmarminge @claude
feat(server): link to another environment (pingdotgg#16655)
4005759
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@juliusmarminge @claude
feat(server): agents use linked environments through any T3 tool (pin…
cb98850
…gdotgg#16684)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@juliusmarminge @claude
feat(server): work a linked environment starts stays within its link (p…
6918c35
…ingdotgg#16695)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@juliusmarminge @claude
feat(web,mobile): linked environments in Connections (pingdotgg#16698)
a6676f9
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@juliusmarminge @claude @Lenoridev
feat(server): delegate_task to a linked environment (pingdotgg#16719)
594f1ce
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Lenori <[email protected]>
@juliusmarminge @claude
feat(server,web,mobile): an agent sets up a link to another environme…
8b14660
…nt (pingdotgg#17129)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@juliusmarminge @claude
feat(server,web,mobile): @-mention a machine, and linked environments…
5e9d564
… become a Labs beta (pingdotgg#17130)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
@henrychu04 @claude
Merge upstream/main 5e9d564 into coder-only
4e3c76f
Stage 2 of the e923627 → 67661cf sync: upstream's linked-environments
(peer) stack alone, pingdotgg#16653, pingdotgg#16654, pingdotgg#16655, pingdotgg#16684, pingdotgg#16695, pingdotgg#16698, pingdotgg#16719,
pingdotgg#17129 and pingdotgg#17130.

Linked environments are not carried: upstream pairs two servers over OAuth
and forwards T3 tool calls over server-to-server HTTP /mcp, which breaks
AGENTS.md boundaries 2, 3 and 6. Cut: apps/server/src/peer/** (PeerLinks,
PeerMcpClient, PeerForwarding, PeerLinkRequests, RemoteDelegation),
mcp/linkOrigin.ts and its fence, T3-Mode-Limit narrowing, the
t3_environment_links/link/unlink tools, the WsPeerLinks* handlers, the
linked-machine orchestration instructions, and in the clients the linked
environments settings, link-request card, @-machine chips, peer state and
remote-task lineage UI (restored by the planned gateway-hub follow-up).
McpToolAccess and delegate_task refuse an environmentId naming another
environment with upstream's "cannot reach linked environments" error.
Migrations 070 and 071 keep their IDs and create nothing; 072 stays since
the projection's link-card reads name its index. peerLinks,
mcpModeLimitHeader and linkFence are omitted capabilities.

Kept because the contract unions need them: contracts verbatim, the
decider cases for delegated_task.remote.* and link_request.record, their
projection decoding, and registry entries for the environment chip kind.
Carried as upstream: t3_thread_launch clientRequestId (pingdotgg#16654),
untilDelegatedWorkSettled, thread interrupt stop, delegatedTaskModes.

Merge conflicts in server.ts, ws.ts, ws.test.ts keep the fork's deletions;
OrchestratorMcpService and pullRequests/tools take upstream's generic
changes with the fork's seams; the web conflicts were peer-only and keep
the stage-1 versions. knip ignores contracts' linkOriginIsFenced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@henrychu04
henrychu04 merged commit 630666f into coder-only Oct 28, 2026
This was referenced Oct 28, 2026
Let delegate_task name its own environment; record the 67661cfbb5 sync's lessons #267
Merged
Show tasks delegated between linked workspaces #269
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@henrychu04 @juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.