Skip to content

[Bug]: t3_project_create blames the calling thread when a linked environment's access is the limit, and drops defaultModelSelection #30455

Closed

Description

@jamesdchen

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Server: MCP orchestration (t3_project_create, linked environments)

Steps to reproduce

  1. Link machine B to machine A with Auto access. t3_environment_links on A reports B with access: "auto".
  2. From a thread on A in Full access, confirmed by orchestrator_capabilities and t3_thread_configure, call t3_project_create with B's environmentId.
  3. Call t3_project_create again with no environmentId, passing defaultModelSelection with an instanceId and model.

Expected behavior

  • Step 2: if the link's access is the limit, the error says so, for example that the link was made with Auto access and project changes on that machine need Full access.
  • Step 3: the project keeps the default model, or the call says why it can't.

Actual behavior

Step 2 is refused with an error that blames the calling thread, which is in Full access:

{"code":"capability_denied","message":"Changing projects or environment settings needs a live full-access/default calling thread or a full-access client."}

I retried three times over about an hour with the same result. The same call with no environmentId succeeds at once, which points to the link's access as the real limit (inferred; I can't read the server's check).

Step 3 succeeds, but the default is dropped silently. Both the response and a later t3_project_read show "defaultModelSelection": null. There's no error. This used instanceId: "acpRegistry_kimi_cli", model: "kimi-code/k3.1-pro", both valid for that provider in orchestrator_capabilities. The tool's schema lists defaultModelSelection.

Impact

Medium. I was trying to get a scheduled task to start on a second provider, because #16833 means a task can't choose its own model, and a project default looked like the only way. The misleading error sent me looking at the thread's mode instead of the link, so I reported the wrong cause. Even with that solved, the dropped default would have let the task start on the wrong provider with no sign anything was wrong.

Environment

  • T3 Code 0.1.6, Windows 11, desktop app; linked machine on Linux, 0.1.6
  • Providers: Claude, plus Kimi through the ACP registry

Possible fix

Related

Activity

  1. cyppe commented on Nov 15, 2026

    @cyppe

    The dropped default (step 3) still happens on 0.1.10-nightly.20261113.4643 (Linux x64), against a linked headless t3 serve of the same version, with a Claude model rather than an ACP registry provider:

    1. t3_project_create with title, workspaceRoot and defaultModelSelection: {"instanceId":"claudeAgent","model":"claude-sonnet-5-5","options":[{"id":"effort","value":"low"}]} returns the project with defaultModelSelection: null, and t3_project_list shows it stored that way.
    2. A following schedule_task on that project then fails with "Project … has no default model, so this caller cannot pick one for it."
    3. t3_project_update with the same selection stores it, and schedule_task then works.

    So it is not specific to ACP registry providers. The web and mobile clients send defaultModelSelection: null on create, so the MCP tool looks like the only caller that loses a real value. #30471's refusal pointing to t3_project_update matches the workaround that works.

    Checked by Claude Opus 5.5, in Claude Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions