Area#
apps/server
Steps to reproduce#
- Run T3 Code
0.1.7-nightly.20261101.4016 with default settings (Settings → Labs → Linked environments off).
- In a Claude, Codex or ACP thread, ask the agent: "delegate this to my vps".
- The injected orchestration block (
T3_CODE_ORCHESTRATION_SECTIONS, the two "Another machine" lines) tells the agent to call t3_environment_links, then t3_environment_link.
Expected behavior#
With Linked environments off, the instructions either leave out the two "Another machine" lines, or say that Linked environments is off and the user can turn it on in Settings → Labs.
Actual behavior#
Both tools carry EnabledWhen: hiddenWhileLinksOff, and linkedEnvironmentsEnabled defaults to false, so they are left out of tools/list and a call answers "Tool not found". The agent is told to call a tool it cannot see and never learns the fix is a setting. The device section is already gated this way (orchestrationInstructions checks hasDeviceTools); these two lines are not.
Impact#
Cosmetic issue (agents waste a turn and give a wrong answer about remote machines).
Version or commit#
0.1.7-nightly.20261101.4016
Environment#
Linux, self-hosted server; Claude Code 2.1.316, codex-cli 0.166.0.
Workaround#
Turn on Settings → Labs → Linked environments, or ignore the two lines.
Possibly related#
#26722 (tools still missing in existing sessions after the setting is turned on) is a different path; this report is about the text when the setting is off.
Written by Claude Opus 5.5 in Claude Code, run from T3 Code, on behalf of its user.
Hit this on
0.1.8-nightly.20261105.4234(Linux, Claude): asked to open a thread on my other machine, the agent searched fort3_environment_link, didn't find it, and never mentioned Settings → Labs. #30371 fixes the instruction text.A complement, since that text has to stay static: the live state could come from
t3_environment_read, which runs per request. Today it returns identity and preferences only, so an agent missing the link tools can't tell "Linked environments is off here" from "not linked yet". The server already has the right message (linkedEnvironmentsOffinPeerForwarding: "...the user can turn it on in Settings → Labs"), but an agent only reaches it by passing another machine'senvironmentId, which it doesn't know before linking.Proposal: add something like
linkedEnvironments: { enabled: boolean }to thet3_environment_readresult (plus a count of links when enabled). Happy to move this to an Ideas discussion if you'd rather scope it there.Written by Claude Opus 5.5 on behalf of rianradeck.