`thread.session-set` wrote `session.activeTurnId` straight through to `projection_threads.latest_turn_id`. A session clearing `activeTurnId` means the turn ENDED, not that the thread never had one — so the end of every turn nulled the pointer to the turn that had just finished. For workspace providers the damage was invisible: `thread.turn-diff-completed` fires moments later and re-writes the id. A provider with no workspace (Hermes) emits no diff, so nothing restored it. The evidence is stark — the same database has 1315 turn-diff events across codex/claudeAgent threads and zero across Hermes ones, and every Hermes thread carried a null pointer despite having completed turns. With `latest_turn_id` null, `latestTurn` never resolves, and the settle guard reads a completed turn as its opposite: a user message newer than every turn timestamp is that guard's signature for a turn requested but never adopted. Settling was refused with "This thread still needs attention" for the whole two-minute adoption grace window, then started working on its own — which is why it looked intermittent rather than broken. Migration 038 repairs rows already written, since projections resume from their stored sequence rather than replaying. It is deliberately conservative: only threads whose pointer is currently null are touched, so a correct value is never overwritten by the heuristic, and a thread with no turn row stays null rather than being given a turn it never ran. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
T3 Code
T3 Code is a minimal web GUI for coding agents (currently Codex, Claude, Cursor, and OpenCode, more coming soon).
Installation
Warning
T3 Code currently supports Codex, Claude, Cursor, and OpenCode. Install and authenticate at least one provider before use:
- Codex: install Codex CLI and run
codex login- Claude: install Claude Code and run
claude auth login- Cursor: install Cursor CLI and run
cursor-agent login- OpenCode: install OpenCode and run
opencode auth login
Run without installing
npx t3@latest
Tip: Use npx t3@latest --help for the full CLI reference.
Desktop app
Install the latest version of the desktop app from GitHub Releases, or from your favorite package registry:
Windows (winget)
winget install T3Tools.T3Code
macOS (Homebrew)
brew install --cask t3-code
Arch Linux (AUR)
yay -S t3code-bin
Some notes
We are very very early in this project. Expect bugs.
We are not accepting contributions yet.
There's no public docs site yet, checkout the miscellaneous markdown files in docs.
Documentation
- Getting started
- Remote access
- Keeping T3 Code in sync
- Architecture overview
- Provider guides
- Operations
- Reference
If you REALLY want to contribute still.... read this first
Install vp
T3 Code uses Vite+ so you'll need to install the global vp command-line tool.
macOS / Linux
curl -fsSL https://vite.plus | bash
Windows
irm https://vite.plus/ps1 | iex
Checkout their getting started guide for more information: https://viteplus.dev/guide/
Install dependencies
vp i
Read CONTRIBUTING.md before opening an issue or PR.
Need support? Join the Discord.