Open History to see the last commit
1# Working with threads
2
3Use a new thread for a separate task. Choose **New worktree** when its code changes
4need a separate branch and working directory.
5
6## Start a thread
7
8On web and desktop, a new thread keeps the current project and carries your model
9and mode selections, unless the destination project has its own model default.
10Its branch and workspace mode come from your configured defaults. To continue in
11an existing worktree, use **New thread in this worktree** from the branch toolbar.
12
13When you change a new thread's project, T3 Code stays in the current environment
14if that project exists there. Otherwise it selects an environment that has it.
15
16### Start in the background
17
18In a desktop browser or the desktop app, press `Cmd+Enter` on macOS or `Ctrl+Enter`
19on Windows and Linux to start a new thread and immediately open another draft. The
20next draft keeps the workspace mode and base branch you selected. With **New
21worktree**, each background submission creates its own worktree.
22
23To send the same prompt to several models on web or desktop, **Shift-click** models
24in a new thread's model picker to add or remove them. A regular click returns to a
25single model. Choose a base branch and send. Each selection starts a separate thread
26and worktree while you stay in the new thread composer. This requires a Git project.
27
28## Pin and reorder threads
29
30Pin a thread from its menu to keep it above your active work.
31
32On web and desktop, you can also drag files from your computer onto any thread row:
33the thread opens and the files are attached in its composer, ready for
34your next message. The same per-message file limits apply as when attaching
35files directly; see [Attach files](./composer.md#attach-files).
36
37On web and desktop, pinning or unpinning a thread keeps the sidebar at your current
38scroll position instead of following the thread to its new place in the list.
39
40Pinning does not prevent automatic settlement. Settling a thread removes its pin.
41
42On web and desktop, drag a thread between sections to change its state. Drag a thread up into
43the pinned section to pin it at the spot you drop it; drag a pinned thread down into the active
44list to unpin it. Dragging a thread onto the **Settled** header settles it, and dragging a settled
45thread into the active list un-settles it. A snoozed thread can be dragged out of the snoozed
46shelf, which wakes it, but threads cannot be dragged into the shelf because snoozing needs a wake
47time. Dragging a pinned thread out of the pinned section does not ask for unpin confirmation.
48Pinned and active boundary labels appear only while dragging, without moving the rows. The
49other rows slide aside to show where the thread will land. When you cross into another section,
50the dragged thread shows the action the drop performs, with its icon: **Pin**, **Unpin**,
51**Settle**, **Un-settle**, or **Wake**. Its status and hover actions hide during the drag. A pinned
52thread keeps its pin only while it stays in the pinned section; once it leaves, the badge takes
53over. Reordering within the same section shows no badge. When there are no pins, drag to the top
54edge to pin a thread. Section labels stay readable for the whole drag, and the section the
55thread is over takes the accent color. Section labels also
56identify empty sections and a collapsed settled shelf.
57
58Drag within the pinned or active section to change its order. Other rows slide aside to show the
59spot where the thread will land. Drops into either section keep the position you choose. On
60mobile, open a thread's menu and choose **Arrange threads**. Drag a handle within or between
61**Pinned** and **Active** to reorder, pin, or unpin. Drop onto the **Settled** divider to
62settle a thread. The dragged card shows the action before you release it. Expand **Snoozed**
63or **Settled** to drag a parked thread back into either live section. Each drop saves; **Done** returns to the thread list.
64**Move up** and **Move down** are also available in the thread menu. The server
65saves the order, so it survives a refresh and appears on your other connected devices.
66
67On web and desktop, the list also animates section changes made with thread actions such as
68**Pin**, **Settle**, and **Snooze**. These transitions respect your system's reduced-motion
69preference. While dragging, rows follow the insertion gap without replaying a second transition
70after the drop.
71
72New threads appear above the active threads you have arranged. Settling clears a thread's active
73position, so using **Un-settle** returns it to the top. Pinning and snoozing preserve its active
74position until you move it again. Thread activity does not change the order. The settled shelf
75continues to use settlement time.
76
77If dragging is unavailable for one environment, update the T3 Code server running in that
78environment. Pinned and active reordering require server support. Threads from older servers keep
79their default order until the server is updated.
80
81To generate a fresh title from the conversation, open a thread's menu and choose
82**Regenerate title**. The action is unavailable while title generation is in progress
83or when the connected environment needs a server update.
84
85Agents connected through T3 Code can use the same server-owned metadata workflow to
86rename a thread, regenerate its title, or link and unlink a pull request. These changes
87appear on web, desktop, and mobile without requiring the originating browser to remain
88open.
89
90## Settle finished work
91
92Choose **Settle thread** from its menu to move finished work out of the active list
93without deleting the conversation. **Un-settle thread** restores it to active work
94and prevents automatic settlement until new activity resumes the usual rules.
95Manually settling an idle thread dismisses unanswered async questions without
96sending an answer or restarting the agent.
97
98By default, environments settle inactive threads after three days and settle
99threads whose pull request merged. A closed pull request can also settle an idle
100thread. Work in progress, pending questions or approvals, and live background work
101prevent automatic settlement. An open pull request does not prevent inactivity
102settlement, but an old closed or merged pull request does not settle work you
103resumed after it closed.
104
105Change these rules in **Settings → General** on web and desktop, or **Settings → Thread behavior** on mobile.
106They continue to run when your apps are closed. On web and desktop, choose an environment at the
107top to change only its rules, or **All environments** to update connected environments together.
108Mixed values show where the selected environments disagree. Mobile applies these
109rules to connected environments that support shared settings. Offline environments
110and older servers keep their previous values. Changing a rule does not reopen
111already settled threads.
112
113## Link a pull request
114
115The server finds the PR for each unsettled thread's saved branch, even when your
116apps are closed. Settled threads keep their saved links. Update the server if
117automatic branch links do not appear.
118
119On web and desktop, right-click a pull request link in a thread and choose
120**Link to thread** to select a different PR. Use **Unlink from thread** on the
121same link to return to the branch PR, if one exists.
122The linked pull request participates in automatic settlement.
123
124## Find and reference work
125
126On web and desktop, open the command palette with `Cmd/Ctrl+K` to search threads
127across connected environments. Message search starts after two characters and
128includes your messages and final agent responses.
129
130Use **Settings → Keybindings** to find or customize shortcuts for searching files
131and copying a thread reference. A copied reference uses the thread's pull request
132link when available, otherwise its thread ID. See [keybindings](./keybindings.md)
133for custom configuration.
134
135## Inspect agent work
136
137**Limited** means the provider stopped on a usage or rate limit. The conversation
138keeps the provider's explanation. Retry after the limit resets, or switch to
139another provider instance.
140
141When the provider reports a reset time, choose **Resume at reset** to schedule a
142continuation. You can cancel it from the thread. Enable **Auto-resume limited
143threads** in **Settings → General** on web and desktop, or **Settings → Thread
144behavior** on mobile, to schedule limit stops by default.
145The environment must be running when the reset arrives; it resumes overdue
146continuations after a restart. Sending a new message, archiving, or settling the
147thread prevents a pending continuation from starting.
148
149Choose **Snooze until reset** to hide the thread until its allowance returns.
150Snooze and auto-resume are independent: snooze alone wakes the thread without
151sending a message; enabling both wakes and continues it. **Wake now** cancels
152the snooze. Enable **Snooze limited threads** in thread behavior settings to
153snooze limit stops by default. Providers without a reset time offer manual
154retry and the normal snooze choices.
155
156On web and desktop, use **Agents** to follow work delegated to subagents.
157
158Expand a tool call in the conversation to see its full command and output.
159Summaries shorten shell wrappers and can still describe the latest call after it
160finishes; the call's own result shows its status.
161
162## Snooze until later
163
164Choose **Snooze → Custom…** from a thread's menu to pick a date and time in your
165local time zone, or a duration in minutes, hours, or days. Durations start when
166you confirm; one day means 24 hours. On web and desktop, you can also snooze
167several selected threads together. Choose **Wake thread** to bring a thread back early.