You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: History import creates threads from Claude Code’s synthetic authentication failures #39520
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
Server, agent session history import
Steps to reproduce
In an isolated Claude config directory, under projects/-/, put a recent Claude JSONL transcript with its working directory set to /. The two relevant records are shown below. Use a new session UUID, a current timestamp and a recent file modification time.
Point T3's Claude provider at that config directory.
Open the welcome wizard, select the / candidate in Projects and import its history. Expand Settled.
Sanitized example (replace both placeholders consistently):
{"type":"user","cwd":"/","sessionId":"<uuid>","timestamp":"<iso-timestamp>","isSidechain":false,"message":{"role":"user","content":"plugin"}}
{"type":"assistant","cwd":"/","sessionId":"<uuid>","timestamp":"<iso-timestamp>","isSidechain":false,"message":{"role":"assistant","model":"<synthetic>","content":[{"type":"text","text":"Invalid API key · Please run /login"}]}}
Expected behavior
A record containing only a local command and a synthetic authentication error should not become a T3 chat. A real conversation titled plugin, or a conversation with earlier real messages followed by an authentication error, should still be importable.
Actual behavior
On macOS with T3 Code Beta 0.1.10, the stock importer created 86 top-level Claude threads titled plugin under a project named /. I checked all 86 source transcripts. Each had the same single user message and the same synthetic assistant error, with no other user or assistant messages. I have not identified what invoked Claude to produce them.
Impact
The entries fill the Settled list and obscure real imported conversations.
Workaround and suggested fix
I archived the imported entries in T3 and left the original transcripts intact. A narrow scanner filter could ignore sessions consisting only of the two records above. In an isolated local test, a prototype skipped the error fixture and retained a same-title conversation with a real assistant response.
Activity