Repository navigation
feat(server): restore Connect MCP pairing scopes - #56
nullStack65 wants to merge 1 commit into
Conversation
The fork diverged from upstream on 2026-09-22, before T3 0.1.8 taught an environment to advertise MCP pairing scopes and exchange a pairing code. Another machine could not link and drive this one. This adds that discovery endpoint and code exchange on the fork's existing auth scopes, without merging the rest of upstream. Model: Grok 4.7 Task: feature Agent: cursor Co-authored-by: Kameron Smith <nullStack65@users.noreply.github.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Closing and reopening so CI runs under nullStack65 after Actions was re-enabled for this repo (only CI and Fork release). Head remains 30fd059. |
|
START: Build and install PR 56 locally on Jeff Air, exact head 30fd059. Run typecheck, tests, pairing smoke, arm64 DMG; fsync recovery record before app replacement. No push, merge, CI wait, or upstream release install. |
|
CHECKPOINT: HTTPS clone/fetch complete; detached HEAD verified exactly 30fd059. Dependency command: vp env exec --node 24.13.1 --package-manager pnpm@11.10.0 vp i (running). Existing app confirmed com.t3tools.t3code version 0.1.9-assemblyai.2; no app replacement yet. |
|
RESULT: BLOCKED on Jeff Air disk capacity at exact detached head 30fd059. Dependency command vp env exec --node 24.13.1 --package-manager pnpm@11.10.0 vp i stopped with exit 143 when free space fell below 500 MiB (716 resolved, 261 downloaded, 0 added). Typecheck, tests, JS build, pairing smoke and DMG packaging NOT RUN; no pass/fail counts or artifact hashes available. Original com.t3tools.t3code app version 0.1.9-assemblyai.2 untouched; no replacement or launch attempted. Required result and postinstall JSON records fsynced under /Users/kara3/closura-repos/. No writable secondary volume found. Unblock: free disk space on Air; recommend at least 10 GB available, then resume exact-source build. No push, merge or CI wait. secret_scan: not_performed. |
|
START cleanup/resume: User authorized only regenerable development caches to free about 15 GB on Jeff Air, stop if less than 10 GB can be freed. Preserve personal files/browser profiles. Resume source 30fd059, local checks and arm64 build, fsynced recovery then installation; no push/merge. |
|
Frozen 2026-11-22 CEO portfolio audit — cash-path priority; can reopen at the Dec 18 runway check. |
What Changed
An environment again advertises Connect MCP pairing and can exchange a pairing code for a session.
GET /.well-known/oauth-authorization-serverlists the pairing scopes (orchestration:read,orchestration:operate, and the rest of the standard client set for full access).POST /oauth/mcp/tokenexchanges a pairing code.access: "auto"grants read and operate, which is what another machine needs to drive this one.t3code-peer-linkis the software id a peer registers with.scripts/connect-pairing-smoke.tsagainst the built server bundle and fails if that discovery path is missing.Why
This fork diverged from upstream at
d7819c18(2026-09-22, desktop0.0.42). Upstream T3 0.1.8 (bf469bb) added MCP pairing scopes after that, in the OAuth discovery document and the pairing-code exchange. The fork already had Clerk and the relay, but not those scopes or/.well-known/oauth-authorization-serveron the environment, so another machine could not complete a Connect pairing and drive this one.Merging all of 0.1.8 would take the thousands of unrelated commits since the split and collide with the fork's own patches. This keeps those patches and restores only the pairing surface, mapped onto the scopes this fork already enforces. Upstream's
settings:writeandsource-control:writeare not scopes here; full access is the fork's standard client set.Installing the fixed build on the Air
The Air (account
kara3) is Apple Silicon. This fork does not follow upstream's update channel, and desktop in-app update is off (nolatest-mac.yml).main, run Fork release withinclude_macos_arm64set.T3-Code-<version>-arm64.dmgfrom thenullStack65/t3codeGitHub Release and checkSHA256SUMS.Details are in
docs/operations/fork-release.md.UI Changes
No UI change.
Checklist
Provenance
Model: Grok 4.7
Task: feature