Skip to content

New desktop thread stays empty after a pre-create /bounded 404 (macOS, Claude Agent) #27641

Closed

Description

@shreyanshkotak

What happened

In the macOS desktop app, a new chat showed as running in the sidebar (generated title, Working state) while the chat pane stayed on "Send a message to start the conversation." Opening the thread again did not load history. The agent run was live on the server the whole time.

While desktop was empty, the same threads were already visible and complete on the Android app connected via T3 Connect. Fully quitting and restarting the macOS T3 Code app then showed those chats on desktop.

This matches #27623, which was reported on Linux. Same nightly, same client failure, different OS and provider.

Diagnosis

The composer allocates a thread id and the client loads /bounded before orchestration.launchThread. That GET 404s (thread_not_found). After the first message is sent, the server creates the thread and the provider runs, but the chat UI never recovers.

On this machine, for one new thread:

  • Draft GET /api/orchestration/threads/<id>/bounded returned 404 ProjectionStoreThreadNotFoundError / EnvironmentResourceNotFoundError: thread_not_found about 43s before create.
  • orchestration.launchThread then succeeded (thread.create, message.dispatch, prepared-run.release). The provider (claudeAgent / claude-opus-5-5) ran and EventSink.write kept committing turn items.
  • There was no later GET …/bounded for that thread.
  • ws.rpc.orchestration.subscribeThread was never opened for that thread. Live subscribe went to a different already-open thread instead, then was interrupted.
  • The user reopened the empty thread four times (thread.visit at create and three later times). Each visit only recorded visit + VCS subscribe. Still no snapshot refetch and no subscribe on the new id.

That matches the client park described in #27443 / #27615 / #27623: a pre-create 404 is treated as missing, EnvironmentThreadState.setDeleted parks the atom on Effect.never, and later visits reuse the deleted snapshot. This is not Linux-specific.

Android over T3 Connect showing the full transcript at the same time confirms the server projection was healthy. Only the desktop renderer was stuck on the poisoned deleted snapshot.

Same 404-before-create pattern also hit other composer-allocated ids in the same desktop session (ids that were never launched, plus a later new thread). Optimistic draft fetch is expected. The bug is that the 404 is sticky after launchThread.

No chat contents, project names, or home-directory paths are included.

Steps to reproduce

  1. On macOS desktop Nightly, open a project. Have another existing thread in the session.
  2. Start a new chat. Do not send yet. The composer already has a thread id.
  3. Confirm in server.trace.ndjson that the client GETs /api/orchestration/threads/{threadId}/bounded?deferWork=1&compactTurnItems=1&dedupeBodies=1&compactIds=1 and gets 404 thread_not_found.
  4. Wait (this case was ~43s of composing), then send the first message so a run starts.
  5. Thread list shows the thread as running with a generated title.
  6. Open that thread's chat. It stays on "Send a message to start the conversation."
  7. Click the thread again. Chat still empty. Traces show thread.visit only.

Version

0.1.6-nightly.20261030.3917 (desktop + local server, Electron 44.10.0 / Chromium 152)

Environment

macOS 27.2 (Darwin 27.2.0, arm64), Node v22.22.2, T3 Code desktop with embedded local server, provider claudeAgent (claude-opus-5-5), runtimeMode: full-access

Also observed: Android app via T3 Connect, same environment, could read the threads while desktop could not.

Evidence

# server.trace.ndjson (times UTC, 2026-10-30). Thread id truncated.

14:10:46.602  GET /api/orchestration/threads/7073b2bd-…/bounded?deferWork=1&compactTurnItems=1&dedupeBodies=1&compactIds=1
              -> 404
14:10:46.603  ProjectionStore.readCanonicalProjection  Failure: ProjectionStoreThreadNotFoundError
14:10:46.603  environment.orchestration.threadBoundedSnapshot
              Failure: EnvironmentResourceNotFoundError (thread_not_found)
14:10:46.621  client ThreadSnapshotLoader.load / fetchEnvironmentBoundedThreadSnapshot  (404)

14:11:29.751  orchestration.launchThread  Success
14:11:29.753  thread.create / message.dispatch / prepared-run.release  Success
              EventSink.write begins; provider session starts (claudeAgent)

# no further GET …/7073b2bd-…/bounded
# no ws.rpc.orchestration.subscribeThread for 7073b2bd-…

14:11:35      subscribeThread for a different existing thread id, then Interrupted
14:11:42      subscribeThread for that same other thread id, then Interrupted
14:11:29 / 14:11:35 / 14:12:12 / 14:13:09
              thread.visit on 7073b2bd-… (reopen). No snapshot load, no subscribe on this id.

# t3_thread_read against the local environment while the chat was empty:
# status=running, itemCount >= 20, assistant messages present on the server.

Related issues

Same client defect, not Linux-only:

Filing separately because #27623's environment section is Linux, and this incident adds: (1) macOS confirmation, (2) Claude Agent, (3) subscribeThread attaching to the wrong already-open thread, (4) repeated thread.visit with no snapshot refetch, (5) Android/T3 Connect had the transcript while desktop did not, (6) full desktop app restart recovered the empty chats.

Not a duplicate of #14046 (IndexedDB) or #16443 (archived threads).

Fix applied or workaround

Fully quit and relaunch the macOS T3 Code app. Previously empty threads then showed their history. Confirmed.

Clicking the thread again does not recover. Reloading a single window was not tested.

While desktop was empty, the same threads were already readable on the Android app over T3 Connect. That matches a desktop-only poisoned client snapshot, not missing server data.

Filed by

Cursor Grok 4.6 via T3 Code triage

Activity

  1. shreyanshkotak commented on Oct 30, 2026

    @shreyanshkotak
    Author

    Follow-up from the reporter:

    • Fully quitting and restarting the macOS T3 Code app restored the previously empty chats.
    • While desktop was stuck on the empty composer, those same threads were already visible and complete on the Android app over T3 Connect.

    That matches a desktop-only poisoned client snapshot. Server data was fine.

  2. justsrc commented on Oct 30, 2026

    @justsrc
    Contributor

    On antigravity as well. MacOS 27.2. T3Code (Nightly) Version 0.1.6-nightly.20261030.3917 (97e35bc).

    Image
  3. justsrc commented on Oct 30, 2026

    @justsrc
    Contributor

    Workaround: Press Cmd + R to restore the view.

  4. Daimonke commented on Oct 30, 2026

    @Daimonke

    same issue on mac version 0.1.6-nightly.20261030.3917

  5. sadbytes commented on Oct 30, 2026

    @sadbytes

    facing similar issue after updating to 0.1.6-nightly.20261030.3917 in linux

  6. felipe1almeida commented on Oct 30, 2026

    @felipe1almeida

    Same issue on Windows 11 0.1.6-nightly.20261030.3917

  7. rubenandre commented on Oct 30, 2026

    @rubenandre

    same issue on mac 0.1.6-nightly.20261030.3917

  8. nicolasfishman commented on Oct 30, 2026

    @nicolasfishman

    Same issue on macOS 27.0 (arm64), desktop app 0.1.6-nightly.20261030.3917, Claude provider (Opus 5.5). A new chat shows "Working" in the sidebar while the pane stays on "Send a message to start the conversation." Switching threads doesn't recover it. Cmd+R on the stuck thread does restore the messages, as does fully restarting the app. The local server trace has repeated GET /api/orchestration/threads/<id>/bounded 404 (thread_not_found) responses, which matches the pre-create 404 diagnosis.

    Triaged with Claude Code (Opus 5.5) via t3 triage.

  9. klungg commented on Oct 30, 2026

    @klungg

    Same bug, macOS 27.0 arm64, desktop app 0.1.6-nightly.20261030.3917 (97e35bc) on its local server, Claude Agent (claude-opus-5-5). All 4 user-created threads in this session hit it.

    Two details that may help:

    1. A restart only fixes threads that already exist. One draft id got the pre-create /bounded 404 at 18:24:18, before the restart. After the restart, the same draft id got the 404 again at 18:39:29. The thread was then created at 18:39:30.296 and stayed empty. So the bug comes back for every new thread after each restart.
    2. The client span chain for that 404, all in one trace: EnvironmentThreadState.make → makeSubscribeInput → ThreadSnapshotLoader.load → GET …/bounded 404 → EnvironmentThreadState.setDeleted → Persistence.EnvironmentCacheStore.removeThread. The orchestration.subscribeThread span is interrupted. The root span has no parent, so the trace does not show which component mounted the state atom. I cannot tell if fix(web): a new thread's first reply shows without reloading #27522 covers this path.

    The server projection is healthy. All user and assistant messages are in orchestration_v2_projection_messages.

    Produced by Claude Opus 5.5 (Claude Code) via T3 Code triage.

  10. t3dotgg commented on Oct 31, 2026

    @t3dotgg
    Member

    Note

    🤖 Claude Opus 5.5 responding on behalf of Theo

    Closing: this is covered by #27522, which landed. Reopen if an important part is still missing.

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