Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: MCP-created thread IDs exceed the HTTP snapshot route limit #8860

ClosedDecayo(GitHub profile, opens in a new tab) opened this issue 0 comments

Before submitting

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

Area

apps/server

Steps to reproduce

  1. Run the official orchestration implementation from PR #2829 at commit 2d623ac6b41ad1ed25c0473474699866083e0b65.

  2. Create a receiver with t3_thread_start through the MCP adapter.

  3. Use the returned receiver ID to request either the bounded or full HTTP thread snapshot.

  4. One observed receiver ID was:

    thread:mcp:abfba0d2-b591-4b7e-aad1-e943d89811fa:handoff%3A0ae5edf4-2ea3-4ee3-ba7c-48de3ac92896%3A2026-08-24T17%3A08%3A52.138Z:0

The ID is longer than the HTTP router's 100-character single-parameter limit.

Expected behavior

The HTTP snapshot routes accept IDs returned by the official MCP creation path. Bounded and full snapshots return the same receiver that the socket path can load.

Actual behavior

Both HTTP snapshot routes return a generic 404 before the thread lookup runs. The official client then loads the same receiver through its socket snapshot fallback.

Impact

Minor bug or occasional failure

The socket fallback keeps attachment working, but cold attachment emits avoidable HTTP errors and skips the normal bounded-history path.

Version or commit

PR #2829 at 2d623ac6b41ad1ed25c0473474699866083e0b65

Environment

Arch Linux, Node 24.13.1, isolated T3 and Codex homes, Codex MCP provider adapter

Logs or stack traces

bounded HTTP snapshot: 404
full HTTP snapshot: 404
socket snapshot fallback: success for the same receiver ID

Workaround

Use the socket snapshot fallback. It loads the receiver but does not remove the failed HTTP requests.

  1. juliusmarminge closed this

Sign in to join this conversation.