t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Claude Side Chat cannot find the parent session when Claude Code runs in Docker Sandbox

Open Aimarl0 opened this issue 2 weeks ago • 0 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

apps/server

Steps to reproduce

  1. Set the Claude provider's binaryPath to a wrapper that forwards its arguments and stdio to claude in a Docker Sandbox. Mount the project and keep the sandbox's ~/.claude private to the guest.
  2. Open the project in T3 Code and complete one turn with that Claude provider.
  3. Open a Side Chat from that thread, keep the same provider, and send a message.

Expected behavior

The Side Chat inherits the parent conversation and starts a turn using the sandboxed Claude provider.

Actual behavior

The first Side Chat turn fails before a model request. T3 Code attempts session.fork five times and shows Provider turn failed to start / Claude Agent SDK query failed. Regular turns in the parent still work.

The parent JSONL exists under the guest's ~/.claude/projects/ and is absent from the host's Claude store. Regular turns launch Claude through the configured wrapper. In 0.1.9, this forkSession call runs in the host T3 server process, where the guest session is invisible. Related: #18260 covered a custom Claude home on the host.

Impact

Major degradation or frequent failure

Version or commit

T3 Code Desktop (Beta) 0.1.9

Environment

macOS 26.7.1 (arm64), local T3 server, Docker Sandbox, Claude Code 2.1.325, Claude Opus 5.5

Logs or stack traces

ProviderAdapterForkThreadError: Failed to fork claudeAgent provider thread <redacted>.
  at ClaudeAdapterV2.forkThread
Caused by: ClaudeAgentSdkQueryRunnerError: Claude Agent SDK query failed.
  at ClaudeAgentSdkQueryRunner.forkSession
Caused by: Error: Session <redacted> not found

Screenshots, recordings, or supporting files

No response

Workaround

Use another provider for the Side Chat. Switching to Antigravity worked in this setup.

Aimarl0 avatar Nov 17 '26 03:11 Aimarl0