The read cap now has a companion stat budget so a pathological Claude home
can't trigger unbounded sequential stats. Claude project directories group
transcripts by recorded cwd like the Codex scan — the slug is lossy, so one
directory can hold sessions from several distinct paths. Contract error
cause becomes required since every construction wraps a real failure.
Co-Authored-By: Claude Fable 5 <[email protected]>
A silently failed write left a blank prompt under copy telling the user to
press Enter; the header now falls back to showing the command to run.
Co-Authored-By: Claude Fable 5 <[email protected]>
Continue/Skip, switching agent cards, and session exit all unmount the
drawer without hitting Done, which left uniquely-id'd PTYs running behind
the wizard. Cleanup now lives in the unmount effect so every exit path
kills the session.
Co-Authored-By: Claude Fable 5 <[email protected]>
The server-local error was a field-for-field clone of the contract
AgentSessionScanError, so the ws.ts mapping was an identity re-tag; the
service now fails with the contract error directly. CLAUDE_CONFIG_DIR reads
through the injectable HostProcessEnvironment reference.
Co-Authored-By: Claude Fable 5 <[email protected]>
Sharing one terminal id between install and sign-in meant reattach either
skipped the login pre-type (history guard) or duplicated the command
(without it). Each drawer mount now opens a uniquely-id'd session that Done
closes, so pre-typing is always into a brand-new PTY.
Co-Authored-By: Claude Fable 5 <[email protected]>
A symlink whose spelling looks harmless can resolve into the worktrees
directory, so the filter now also runs against the realpath. Windows
comparisons case fold, using the injectable HostProcessPlatform reference.
Co-Authored-By: Claude Fable 5 <[email protected]>
Windows resolves paths with backslashes, so the configured-worktreesDir
prefix match failed there; both sides now normalize to forward slashes.
Reopening the onboarding install terminal reattaches to the still-live PTY,
so the pre-typed command is only written into a session with empty history.
Co-Authored-By: Claude Fable 5 <[email protected]>
- Scanner: expand ~ in CLAUDE_CONFIG_DIR; sort transcripts by mtime before
applying the per-source cap; check alreadyImported against both recorded
and realpath spellings; derive the worktree-sandbox filter from the
configured worktreesDir instead of hard-coding .t3
- Contracts: AgentSessionScanError carries the structural operation
discriminator and derives its message (drops redundant failure literal)
- FirstRunGate: require server config before judging workspace freshness
(fixes both the offline-install-sees-wizard and config-race cases); only
gate authenticated sessions
- Wizard: T3 Connect "connected" view requires a live connection; the
no-machine wait gets a Skip; partial import failures keep the step open
and report the count; disabled providers show "Enable in Settings" instead
of Ready/Install; failed terminal opens retry
- Docs: match actual first-run and terminal sign-in behavior
Co-Authored-By: Claude Fable 5 <[email protected]>
New onboarding flow for fresh installs: choose how to connect (Local Only /
T3 Connect / Direct), verify Claude Code and Codex with live probe status and
an inline install terminal, then import existing projects discovered from
Claude/Codex home directories.
- FirstRunGate at the root holds back the entire authenticated tree until the
first-run decision is known, so fresh installs see nothing before /welcome
(no shell flash, no EventRouter thread navigation)
- New read-only agentSessions.scan RPC discovers project candidates from
~/.claude/projects and Codex session rollouts (cwd from transcript first
lines, never the lossy dir slug; T3-managed worktrees excluded)
- Import creates projects via existing project.create dispatch; default
window is last 30 days, full checklist behind Choose
- onboardingCompletedAt client setting gates the wizard; installs that
predate the field only qualify when the workspace is fresh
Co-Authored-By: Claude Fable 5 <[email protected]>