Additional report from Linux using GPT through the Claude Code harness, with a check of current upstream source before posting.
Observed environment
- T3 Code server:
0.1.2-nightly.20261021.3473, running as a Linux x86_64 user service. - Driver:
claudeAgent(claude-agent-sdk.query), model:codex/gpt-6.1-solvia a custom provider, efforthigh, full access (bypassPermissions). - Local Claude Code currently reports
2.1.309. - Normal top-level thread initially attached to the project's root checkout.
Observed sequence on 2026-10-24 (UTC)
The agent called:
| 1 | { |
| 2 | "branch": "docs/example-handoff", |
| 3 | "baseRef": "main", |
| 4 | "startFromOrigin": false, |
| 5 | "continuationPrompt": "<remaining task instructions>" |
| 6 | } |
The branch name and task instructions above are anonymized. The relevant provider/server logs are:
| 1 | 08:21:32.746 incoming assistant tool_use: mcp__t3-code__t3_worktree_handoff |
| 2 | 08:21:33.579 outgoing query.close |
| 3 | 08:21:33.584 WARN orchestration V2 provider event ingestion failed |
| 4 | RunExecutionIngestError |
| 5 | [cause]: ProviderAdapterEventStreamError: |
| 6 | Failed while streaming claudeAgent provider session ... events. |
| 7 | [cause]: Error: Workspace changed. |
| 8 | 08:22:14.249 outgoing query.open: |
| 9 | model=codex/gpt-6.1-sol |
| 10 | resume=<same Claude conversation> |
| 11 | cwd=<new worktree path> |
| 12 | 08:22:14.250 outgoing prompt.offer: <previously queued user follow-up> |
The worktree creation/binding succeeded. The handoff run was persisted as failed, and the UI showed:
The provider event stream closed unexpectedly. Retry the turn; if it keeps failing, check the provider and server logs.
It also showed Waiting on background task mcp__t3-code__t3_worktree_handoff, matching #15993. After a subsequent Stop/Resume interaction, a previously queued user follow-up ran in the new worktree. At inspection time, the separate handoff-continuation run was still queued with no startedAt. The query.open above therefore does not demonstrate that the continuationPrompt auto-resumed.
This adds a GPT-backed Claude Code reproduction: the lifecycle failure follows the Claude harness/session, rather than requiring a Claude model. T3 itself issued query.close about 5 ms before the ingestion warning.
Current release / main source check
I have not runtime-reproduced this on the newest release, and have not upgraded the affected installation. The following is source inspection only:
- Latest stable:
v0.1.2. - Latest published nightly at checking time:
v0.1.3-nightly.20261023.3592. - Checked
main:aaf4a901c490da4f0943afe1d941f3a8d58dc1c8.
All three refs have the same ProviderSessionManager.ts blob (e82995d1db77f3beb2ecc20c2fff6a59a7dde33e). The relevant path remains:
- A worktree-path change schedules a session detach with
Workspace changed.(Orchestrator.ts). - Detaching the last thread from a session without multiple-provider-thread support calls
releaseEntrywithreason: "manual_shutdown"and nogracefulSubscribers(ProviderSessionManager.ts). - That release calls
failSubscribers, producingProviderAdapterEventStreamError(release path, error construction). - Run ingestion still handles non-interruption failures as run failures (RunExecutionService.ts).
#22825 (draft) and #15203 are both still open/unmerged at checking time. #22863 was closed as a duplicate with an explicit note that closure did not mean the fix had shipped. Posting here instead of opening another duplicate.
Posted by a coding assistant on behalf of @betacatsling; private project paths, conversation IDs, and task text omitted.