Repository navigation
fix(t3): speak orchestration protocol 2 and pair in one click - #54
Merged
Merged
Conversation
T3 Code moved to orchestration protocol 2. BorgDock still read the v1 projection tables in state.sqlite, which T3 stopped writing, and posted commands to an HTTP endpoint that no longer exists. The T3 strip on pull requests showed week-old threads and "Open a new thread in T3" failed. - Split t3.rs into a module: hosts, client, shell, desktop, commands. - Read the shell and thread detail over HTTP with the protocol header. - Send commands as Effect RPC over the WebSocket (launchThread, dispatchCommand, server.getConfig). - Create projects through /api/projects/mutate. - Find the installed build whatever its channel (Nightly, Alpha, stable) and open a thread through a t3code://threads link passed as argument. - t3_probe reads `authenticated` instead of the status code, so an expired token no longer shows as paired. - Pair with the local T3 in one click: T3's CLI issues a session scoped to orchestration:read and orchestration:operate. Checked read-only against T3 0.0.46-nightly with the ignored live test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 12, 2026
borght-dev
added this pull request to stack #62
October 12, 2026 15:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 1 of 8 of Dispatch in BorgDock. The stack, bottom up: #54 → #55 → #56 → #57 → #58 → #59 → #60 → #61.
T3 Code moved to orchestration protocol 2. BorgDock still read the v1 projection tables in
state.sqlite, which T3 stopped writing, and posted commands to an HTTP endpoint that no longer exists. The T3 strip on pull requests showed week-old threads and "Open a new thread in T3" failed.This one stands on its own as a bug fix. The rest of the stack builds on it.
What changed
t3.rsis now a module:hosts,client,shell,desktop,commands./api/orchestration/shell,/threads/:id/bounded).launchThread,dispatchCommand,server.getConfig)./api/projects/mutate.t3code://threads/...link as argument.t3_probereadsauthenticatedinstead of the status code, so an expired token no longer shows as paired.orchestration:readandorchestration:operate.How I checked it
cargo test --lib t3::commands::tests::live -- --ignored): shell, one thread detail, the first user message andserver.getConfig.🤖 Generated with Claude Code