Repository navigation
Description
Things the advance to upstream's stable v0.1.7 has to handle. Add to this as items come up.
Linked environments merged upstream
Upstream merged nine layers of Julius Marminge's linked-environment stack into main on 2026-10-27: pingdotgg#16653 through pingdotgg#17130. They landed as nine squash commits, 1b1ad0466d to 5e9d56416f. The first nightly that contains them is v0.1.4-nightly.20261027.3796. The v0.1.3 stable release does not. All nine are in v0.1.7. The handoff layers (pingdotgg#16731 → pingdotgg#16734 → pingdotgg#16751 → pingdotgg#16758) are still open upstream, idle since 2026-10-27.
It overlaps J5's own peering (docs/j5/product/cross-device.md), so the advance needs a deliberate merge, not just conflict resolution.
What it brings
- Off by default. Linked environments is a Labs beta: the server setting
linkedEnvironmentsEnabledin Settings → Labs, turned on separately on each machine. While it is off, new links, forwarded calls and remotedelegate_taskare refused, and the link tools are hidden. - Settings → Connections → Linked environments on web and mobile. It sits beside J5's peering in Connections. Decide how the two coexist there.
- Forwarding in
McpToolAccess. A tool that declares it can reach a linked environment forwards a call that names another machine'senvironmentId. Upstream's thread, project and queue tools now accept one. J5 hidest3_thread_send,t3_thread_wait,t3_thread_interruptandt3_thread_launch; D2 admitted the queue mutators on 2026-10-24. Check they stay hidden, and that J5's own tools, which go throughMcpToolAccess, don't pick up forwarding by accident. - The link fence. At every access level below full access, work a link starts may change only that link's own work. A full-access link is not fenced.
delegate_taskto a linked environment, with remote tasks followed from the parent's machine.- Agent-initiated links. Link cards and the
t3_environment_links,t3_environment_linkandt3_environment_unlinktools. ThreadLaunchServicegainslinkOriginanddelegatedFrom, and agent launches now dispatch under the caller's mode ceiling (DispatchModeLimit).reuseExistingThreadis unchanged, but re-testj5_spawn_agentand Crew launches on it./mcpnarrows a client's modes from theT3-Mode-Limitheader, andt3_thread_launchtakes aclientRequestId.- Migrations 070–072:
PeerLinks,PeerLinkFenceandWaitingLinkRequestIndex. Upstream's list now reaches 079, appended with no renumbering. The checker blocks on the edit to 069, so this advance needs a reviewed manifest and a rehearsal. - Follow-ups already on upstream's
main: feat(web,mobile): the @ picker lists threads on linked machines pingdotgg/t3code#26201 (the@picker lists threads on linked machines), feat(web,mobile): Copy thread copies a chip that works on linked machines pingdotgg/t3code#26202 (Copy thread works across machines), feat(server,web,mobile): thread links name their environment and never a title pingdotgg/t3code#26239 (thread links name their environment) and fix(web): remote delegates show their harness icon, a parent row, and new links in settings pingdotgg/t3code#26434 (remote delegates show their harness icon and parent row).
Likely breakage to check during the merge
- The link fence may refuse J5's
writestools for work a lower-access link started. Full-access links are exempt. - Remote delegation calls the launch, wait and interrupt tools on the other machine, and J5 hides them.
- Children created with
delegatedFrommay register as J5 participants.
Decisions this unparks
- Bring back the j5 thread CLI on the settled tool boundary #695: the "upstream owns spawning and control, J5 owns agent-to-agent messaging" tool boundary, including bringing back
j5 thread. - Show J5 command relationships in upstream's Lineage panel #283: how Peer Agents and Crew seats show in Lineage.
What upstream said about J5's points. Julius replied to Jackson's comment on pingdotgg#16655 (comment). Links work over any route that reaches the machine, such as Tailscale, a tunnel or https. A call to a sleeping machine fails retryably, and clientRequestId makes the retry safe. A poll mode isn't planned for this first version. That bears on #399.
Reconnect banner: nothing to do
The earlier text here is out of date. D37 was retired on 2026-10-24, so J5 has no hunk to re-place. pingdotgg#24691 is in v0.1.7 and is expected to merge clean. pingdotgg#23194 is still open and no longer bears on J5.
Native resume fallback: D6
pingdotgg#28195 (a visible "Context handoff" divider, for our issue pingdotgg#28178) is still open and not in v0.1.7, so that question carries to the next advance. Two changes that are in v0.1.7 land in the same code: pingdotgg#21045 (a Codex thread another client holds now fails visibly) and pingdotgg#25610 (a new fresh start when a resumed handoff doesn't fit). D6 needs re-placing around both.
Found in the 0.1.7 review
Full analysis: artifact upstream-merge-2026-11-04/analysis.md. Items below come from reading the code and a scratch merge; none has been run. Decisions are being taken with Jackson.
- Event-log pruning (perf(server): prune events the projections already cover pingdotgg/t3code#29806). Events are deleted once projections cover them, after a day. J5 reads the settling event to decide who answered a prompt on a shared conversation (
SharedConversation.ts), so that attribution would disappear with no error. ThreadLifecycleServiceis deleted upstream (chore: delete 18k lines of code that nothing reaches pingdotgg/t3code#26238). J5's Crew archive calls it (ArchiveAgentService.ts).- Side chats (feat: side chats beside the main thread pingdotgg/t3code#26901) would register as ledger participants, because J5's filter excludes only subagents.
- New upstream code that points at T3's infrastructure or paths: Copy thread links to
app.t3.codes, managed-policy paths and names,t3code://pair, the fleet Stable/Nightly switch reading npm, the star prompt, palette triage,90-t3code-protect.conf. AccessGate: 18 new RPCs need a level, and nine listed names no longer exist.orchestration.forceStopThreadandreview.getBranchCommitsare the ones Collaborators will notice.- Web Labs gate. J5's
GUEST_LINKS_OFFEREDwraps the whole Beta section, which now also holds the Linked environments toggle. Move it to the guest row. McpHttpServer.tsconflict. KeeplayerJ5Toolkitsover upstream's newlayerTools, which would expose every hidden tool. Add a test thatPeerForwardingreaches J5's registrations.- Effect 4.1.
effect/Cryptois gone (14 J5 files), and case 89'scryptooption merges clean and breaks. - Unguarded new workflows:
agent-context-budget,mobile-eas-preview-fork,mobile-fingerprint-label.AgentContextBudget.test.tsneeds J5's numbers. t3_thread_organize: portTool.Strict(fix(server): t3_thread_organize rejects unknown arguments instead of archiving the caller pingdotgg/t3code#26718) to J5's re-declaration.- Copied databases: add
peer_environment_linksto J5's neutraliser. - Mobile: a new native build is required.
Activity
[-]Upstream advance to 0.1.4: what to handle[/-][+]Upstream advance to 0.1.6: what to handle[/+]Jacksondr5 commentedon Oct 31, 2026
Retargeted from 0.1.4 to 0.1.6 (Jackson, 2026-10-31): upstream released stable v0.1.6 today, so the next advance goes there. Tracked in the new milestone "Upstream advance: T3 Code v0.1.6", together with #695 and #283, which this advance unparks.
Claude Opus 5.5
[-]Upstream advance to 0.1.6: what to handle[/-][+]Upstream advance to 0.1.7: what to handle[/+]Jacksondr5 commentedon Nov 5, 2026
Retargeted from 0.1.6 to 0.1.7 (Jackson, 2026-11-04): upstream released stable v0.1.7 today, and this advance goes there. Frozen for the review: fork head
2487e4240f, previous pind2c440312e(v0.1.3), target322f6544df(v0.1.7).Claude Opus 5.5
Jacksondr5 commentedon Nov 7, 2026
Re-frozen for the build (2026-11-07): fork head
9725edfe1a(j5/main, including #947 for #494 and #954, the agent-tool docs), previous pind2c440312e(v0.1.3), target322f6544df(v0.1.7). Trial merge: 169 conflicted files, none indocs/user/. The decisions are in artifactupstream-merge-2026-11-04/decisions.md.Claude Opus 5.5
Jacksondr5 commentedon Nov 8, 2026
Re-frozen for the build (2026-11-08), after the persona stack (#931–#938) merged: fork head
49bd690ffe(j5/main), previous pind2c440312e(v0.1.3), target322f6544df(v0.1.7). Trial merge: 169 conflicted files, the same set as at9725edfe1a. J5's a2a migration lane now ends at 055 and upstream's lane at 069 on the fork; they are separate lanes, so upstream's 070–079 and J5's new 056 don't collide. Build starting; plan in artifactupstream-merge-2026-11-04/build-plan.md.Claude Opus 5.5
Jacksondr5 commentedon Nov 9, 2026
Done in #971, merged as 067d732: J5 is on upstream T3 Code v0.1.7. Follow-ups are in the "Upstream advance: T3 Code v0.1.7" milestone.
Claude Opus 5.5