Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web,mobile,server): mention the machine your thread runs on #31967

ClosedDominikScholz(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/31967/headopened View on GitHub

Problem

The @ menu never offered the machine the thread runs on, so typing its name found nothing, even though I sometimes still want to name it.

Change

It's now listed and labelled "This thread's machine", on web, desktop and mobile.

Naming your own machine would have sent the agent to t3_environment_link, showing a card asking to link the machine to itself. That tool now refuses the agent's own environment and tells it to work here, and the mention's guidance says to expect that.

BeforeAfter
beforeafter

Scope and approval

The menu left this machine out on purpose, so this is a behavior change. I made this PR because of this discussion on X, where ScriptedAlchemy replied to my list of these problems with "Send PRs, t3 is very good at working on t3". There is no Ideas discussion or maintainer sign-off beyond that, so please close it or redirect it if you'd rather handle it another way.

Related:

  • #30279 adds a & machine trigger and changes the same machine list helper. I found no other PR or issue about mentioning your own machine.
  • This is one of three independent PRs from the same report, and each can land alone, though #31966 and #31967 edit the same machine filter, so whichever lands second needs a small rebase: #31966 puts machines first in the @ menu, and #31968 completes machine and model names without @.

Verification

  • Failing tests first in composerThreadItems.test.ts and PeerLinkRequests.test.ts.
  • Before and after recorded in the running web app, captured at 1/3 speed and sped back up. The recordings predate a clean rebase, so I re-checked the current head in the app: @luc lists the machine as "This thread's machine".
  • vp run check:changed passes on this head.
  • Not checked: the mention's text is model-facing and the paid evals were not run, since no API keys were available. Mobile uses the same helper but was not run on a device.

Reviewed with sol-loop: 1 round with gpt-6.1-sol, before the rebase. Sol verdict: approved

Created with Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

    1. Pushed72b0371

    2. github-actions[bot](GitHub profile, opens in a new tab) removed labelsneeds-rebase

    3. Thanks for this. It is not something the project wants to take on: Main excludes the own machine on purpose.

      Closing this pull request.

    4. juliusmarminge closed this

Sign in to join this conversation.