Chotu · plan, not built yet

How Chotu bots hand coding work to T3 Code

Bots on the Mac mini start and follow coding threads on your T3 Code servers, over Tailscale. Each bot gets a new Threads panel for that work. Cloudflare Sessions keep working exactly as today.

Linear ADE-1934 · Backlog Servers: 1 up, 2 not reachable Updated 1 Dec 2026

A pairing link, no SSH keys

Paste a one-time link from the server. Chotu keeps a 30-day login on the Mac mini, never in the app or a bot.

Every bot, unless excluded

All bots can use T3 by default. You only list the bots that must not, in Settings › T3 Code.

Room from live usage

No fixed thread count. Tasks may use up to 95% of a server's CPU, memory and disk.

A new worktree per task

Each task runs on its own chotu/<id> branch from main, so tasks never collide.

Threads panel, no tags

A bot's Threads list holds the T3 threads it started and the ones you asked it to follow.

Cloudflare stays

Sessions, the session tag and Cloudflare containers don't change. Bots can use both.

The whole picture

Pick a workflow, then step through it with Next (or the arrow keys). The boxes and arrows involved in each step light up.

Scroll the drawing sideways to see all of it.

Sessions and Threads, side by side

Two separate lists in the bot's right panel. Sessions stays exactly as it is. Threads is new, shows only T3 Code work, and needs no tag.

Bot panelright side
ModelOpus 5.5 · High
Sessions7 active
Threads1 needs you · 2 running

The Threads row lists the bot's T3 work and opens the Threads page. It's hidden when no server is paired or the bot is excluded. It isn't a setting: access lives only in Settings › T3 Code.

Sessionsunchanged
Tag my-tag Cloudflare sessions with this tag
7 active in Cloudflare
Waiting on you 1
Re-run the approval test
Needs you Which button should I click?
1h
Working 2
Report the focused element
● Working Running the browser suite
4m
Audit the retry rules
● Working Reading helper logs
11m

Same rows, same session tag, same Cloudflare containers as today. No T3 rows ever appear here.

Threadsnew · T3 Code
No tag. Threads this bot started, plus the ones you asked it to follow.
Waiting on you 1
Add the new city codes
Needs you Should the prefix stay uppercase?
t3code2m
Working 2
Fix the cart total rounding
● Working Running tests: 14 of 31
t3code6m
Update the price table
● Working Editing prices.json
Followed9m
Following up 1
Round cart totals in cents
Follow-up PR #212 is waiting for review
t3code1h

Opening a row shows the thread in the side chat: Message this thread, Stop, Merge PR / Ask for changes, and Open in T3.

A thread's life

The watcher reads each thread about every 60 seconds and moves its row between groups. The bot tells you in its chat when a thread needs you, finishes or fails.

T3 reportsGroupStatus word
preparing, queued, starting, runningWorkingWorking
the agent waits for an answerWaiting on youNeeds you
finished, PR openFollowing upFollow-up
finished without a PR, or PR merged / closedDoneDone
failed, rolled backDoneFailed
interruptedDoneIncomplete
cancelledDoneCancelled

Which bot owns a thread?

T3 doesn't know about Chotu's bots, so Chotu keeps its own records on the Mac mini:

Started: before launching, Chotu writes down the bot, server and a request id. If the host restarts mid-launch, it finds the thread again without making a second one.

Followed: a follow record per bot, saved when you paste a link and say “monitor this thread”.

Neither: threads you start yourself in T3 belong to no bot until you ask one to follow them.

Which server gets a task

If the bot names a server, Chotu uses it when it's up, or refuses and says why. Otherwise it narrows the list down like this:

Step 1

All your servers

t3code
t3code-1
t3code-2
Step 2

On, signed in, has the project

t3code up
t3code-1 no tailnet
t3code-2 offline
Step 3

Room for one more task

t3code room 7
Step 4

Most room wins

t3code ✓

No server left? The bot says why each one was skipped. No fallback to Cursor.

How much room does a server have?

Read live with T3's own usage report (cached 30 s). Each task is counted as 1.5 cores and 3 GiB. 5% always stays free. Real reading of t3code on 30 Nov:

CPU · 12 cores, 1% in use(95% − 1%) × 12 ÷ 1.5 = 7.5 → 7 tasks
1234567 5%
Memory · 62.7 GiB, 29.7 GiB free(29.7 − 3.1) ÷ 3 = 8.9 → 8 tasks
in use 12345678 5%
already in useone more taskalways kept free
Room = the smaller one → 7 more tasks CPU is the limit. Room drops to 0 if the disk passes 95% or T3 reports high pressure.

What a bot may do

Bots act only on threads they started, and only in turns you started. Threads you ask a bot to follow are read-only, unless you ask for more in that same message.

Started by the botFollowed
Read the state and reportYesYes
Message it or answer its questionYes, in your turnsOnly when you ask, in that turn
Stop itYes, in your turnsOnly when you ask, in that turn
Unfollow—Yes
Another bot's threadsNeverNever
1Starting, messaging and stopping only in turns you started. Never in a routine, another bot's turn or a group chat.
2Excluded bots get no T3 tools at all.
3Chotu's T3 login can only read and run threads. It can't change T3 settings, files or terminals.
4Task text travels as data, never as a shell command.
5Logins and pairing codes stay on the Mac mini: never in the app, a bot or a log.
6Every start, message and stop goes into the audit log.

Your setup, step by step

What you do once it's built.

1

Pair each server once

On the server: t3 pair --tailscale. In Chotu: Settings › T3 Code › Add server, paste the link, Check connection, Add server.

2

Check exclusions

Every bot has access by default. List only the bots that must not use T3.

3

No tag to set

Threads need nothing else. The session tag stays for Cloudflare Sessions only.

4

Ask for work

“Fix the cart rounding and open a PR.” It appears in the bot's Threads under Working.

5

Follow a thread

In T3, Copy link. Paste it in the bot's chat and say “monitor this thread”. It shows as Followed.

6

Answer questions

A row says Needs you: reply in its side chat, or just tell the bot.

7

Stop following

Say “stop following that thread”, or Unfollow in the row's ⋯ menu.

8

Every 30 days

Chotu warns 3 days early. Make a new pairing link and press Pair again.

Build plan

The steps in the issue, in order. They can ship as two parts: first servers, Settings and tasks, then the Threads panel.

Servers, logins and the T3 client Part 1

Server list, login store on the Mini, pairing sign-in, MCP session, timeouts, environment-id checks.

Live usage and room Part 1

Read each server's usage (cached 30 s) and work out the room, as above.

Settings › T3 Code Part 1

Server list, Add server with a pairing link, Pair again, Turn off, Remove, Excluded bots, limits.

The connector and its 8 tools Part 1

t3_servers, t3_start, t3_status, t3_send, t3_stop, t3_list, t3_follow, t3_unfollow.

Exclusions and turn checks Part 1

Excluded bots get no tools; writes only in turns you started.

Records and the watcher Part 1

Who owns each thread, crash-safe starts, and notes to the bot when a thread needs you, finishes or fails.

Threads panel Part 2

Follow records, the Threads row and page, the thread side chat, Followed and Unfollow. Copies the Sessions look, not its data.

Bot instructions Part 1

Coding hand-offs go to T3 instead of Cursor cloud agents.

Audit log and tests Part 1

A fake T3 server for tests, ownership, the picker maths, secrets never leaking, rollback.

Still to decide

Each question has a proposal. “Go with the proposals” is enough to start.

Routines

May scheduled routines ever start T3 tasks?

Proposal: no. Only chats you start can.

Repos that aren't a T3 project

Should the bot ask you to add the repo in T3, or should Chotu add it? Adding it needs a wider T3 login.

Proposal: the bot asks you.

Cloudflare or T3?

With both in use, which should a bot pick when you don't say?

Proposal: T3 when the repo is a project on a T3 server, Cloudflare otherwise.