t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Orchestrator lacks option to spawn fast-mode subagents in Claude Code

Open dkritarth opened this issue 1 month ago • 1 comments

Before submitting

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

Area

packages/contracts or packages/shared

Steps to reproduce

  1. Start a session in T3 Code using Claude Code with Claude Opus 5.5, with Fast Mode enabled on the parent thread.
  2. Ask the assistant to spawn subagents or delegate child tasks in fast mode (for instance, to execute high-throughput parallel subtasks quickly or utilize fast mode quota before a reset).
  3. Observe the assistant's available tool schema and options when spawning subagents.
  4. Inspect the spawned subagent processes in the process table.

Expected behavior

The T3 Code orchestrator / subagent tool interface should provide an option or parameter to spawn subagents in fast mode (or allow subagents to inherit the parent's fastMode: true setting), so delegated Claude Code subagents can run with fast mode enabled.

Actual behavior

There is no option in the T3 Code orchestrator or the agent delegation interface to spawn fast-mode subagents in Claude Code. The subagent/Agent tool only exposes a model enum (e.g. sonnet, opus) without a fast-mode parameter or toggle. The model cannot control fast mode per-subagent, and child subagents do not inherit the parent thread's fast mode.

From the assistant's thinking trace:

"The Agent tool only exposes a model enum, not a fast-mode toggle, so I can't control that per-subagent — I should just tell the user there's no direct fast-mode switch there and that it's unclear whether subagents inherit the /fast session setting."

Inspecting the process table confirms that while the parent Claude process has fastMode enabled: claude ... --model claude-opus-5-5[1m] ... --settings {"fastMode":true,"showThinkingSummaries":true}

The spawned subagent processes are explicitly started with fastMode disabled: claude ... --model claude-opus-5-5 ... --settings {"fastMode":false,"showThinkingSummaries":true}

Impact

Major degradation or frequent failure

Version or commit

  • T3 Code Runtime Version: 0.0.46-nightly.20261005.2689 (t3 v0.0.46-nightly.20261004.2648)
  • Claude Code Version: 2.1.289
  • Node.js: v24.19.0

Environment

  • OS: Ubuntu 24.04.4 LTS (Noble Numbat)
  • Kernel: Linux 6.8.0-139-generic x86_64
  • Host: Linux dminer-dl-2
  • Provider / Model: Claude Code provider (Claude Opus 5.5)

Logs or stack traces

# Parent thread process:
claude --output-format stream-json --verbose --input-format stream-json --thinking adaptive \
  --thinking-display summarized --effort high --model claude-opus-5-5[1m] \
  --settings {"fastMode":true,"showThinkingSummaries":true}

# Spawned subagent processes:
claude --output-format stream-json --verbose --input-format stream-json --thinking adaptive \
  --thinking-display summarized --effort high --model claude-opus-5-5 \
  --settings {"fastMode":false,"showThinkingSummaries":true}

claude --output-format stream-json --verbose --input-format stream-json --thinking adaptive \
  --thinking-display summarized --effort medium --model claude-opus-5-5 \
  --settings {"fastMode":false,"showThinkingSummaries":true}

Screenshots, recordings, or supporting files

Screenshot

Reference gist: https://gist.github.com/dkritarth/d04e0128b7f9a7af52027e744db5e289

Workaround

No response

dkritarth avatar Oct 05 '26 22:10 dkritarth

Already fixed on main by 9a05676cfa.

Verified on Linux with Claude Code 2.1.303 / Claude Opus 5.5 in the real web dev app at a12d6ed942, using an isolated copy of stopped thread data. Selected Claude Opus 5.5, enabled Fast Mode in the composer, and asked it to delegate a same-provider/model child without target.options.

Runtime result:

parent inheritedOptions: [{id: effort, value: medium}, {id: fastMode, value: true}]
child providerInstanceId: claudeAgent
child model: claude-opus-5-5
child options: [{id: effort, value: medium}, {id: fastMode, value: true}]
child status: completed
child reply: INHERITED_FAST_OK
child Claude process --settings: fastMode=true

The Off baseline also inherited fastMode: false. The existing focused regression test, inherits delegated options, merges overrides, and resets on explicit clearing or a new target, passed on that main commit (1 passed, 32 skipped).

Use T3's delegate_task for this: same-provider/model children inherit the parent's options; an explicit target.options: {fastMode: true} is also supported. Claude's native Agent tool has a different schema. Desktop and mobile were not tested.

juliusmarminge avatar Oct 22 '26 01:10 juliusmarminge