Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

project-settings.md

89 lines5.1 KB

1# Settings and project overrides
2​
3The Settings breadcrumb ends with the environment and project a change applies to. They start
4at **All environments** and **All projects** and stay selected as you move between categories or
5search for a setting.
6​
7Preferences saved on this device, such as appearance, confirmations and browser profiles, always
8show and ignore the selection. Everything else is stored on a server. Choose one environment to
9edit its settings, or leave **All environments** to edit every connected environment at once.
10Offline environments keep their current values; this is a bulk edit, not a synced global default.
11​
12Choose a project to override settings for it on the selected environments. A layers icon beside
13each server row's title shows where the value comes from: the built-in default, the environment,
14or a project override. Click it to see that chain on every selected environment. An override can
15be reset to inherit again. Settings that cannot be overridden by a project are shown read-only
16while a project is selected.
17​
18When the selected environments disagree, the control shows **Mixed** in place of a value and the
19layers icon turns amber. Picking a value applies it to every selected environment.
20​
21Changing an environment value never touches a project's own override. When projects override the
22setting you are editing, the layers icon counts them and the chain lists each one with its value:
23click a project to jump to it, or **Reset all** to make those projects follow the environment
24again.
25​
26Providers and diagnostics are per machine: they show one environment at a time, the primary
27one until you pick another. Every other setting fans out to the selection.
28​
29## Defaults and inheritance
30​
31General contains the model and workspace for new threads. Integrations controls agent browser
32access. Source Control contains automatic pull, the default pull request merge method and text
33generation. The same rows edit environment defaults or project overrides depending on the
34project crumb.
35​
36The Project category, shown while a project is selected, holds the project's name, icon, actions,
37checkouts and removal. Actions belong to a project: editing them creates the project's own list
38on each selected environment, and reset returns to the environment's shared list. A project's
39`t3.json` actions can be imported there.
40​
41For workspace mode, a project's `t3.json` preference applies when the project has no override.
42Browser access changes apply when an agent session next starts.
43​
44## Storage cleanup
45​
46Open **Settings → Storage** to enable automatic cleanup on one machine or all connected
47environments. Policies are off by default and run on the server at startup, when changed, and
48hourly. Offline machines keep their existing policies.
49​
50Select a project to set **Automatic worktree cleanup** to **Inherit**, **Off**, or **Custom**.
51Inherit follows each machine's rules; Off keeps that project's worktrees until you remove them
52manually. Custom applies separate worktree rules to the selected project or checkout. Browser
53captures and log retention remain machine-wide.
54​
55Worktrees can be removed after a chosen number of inactive days, after merging, or when they
56have no commits beyond the default branch. Only T3-managed worktrees are eligible. Active
57sessions, shared worktrees, uncommitted changes, and ignored files other than `node_modules`
58prevent removal. Branches and thread history stay; starting another turn recreates the checkout.
59Merge cleanup requires the commits to be included in the remote default branch, so squash merges
60may need the inactivity rule instead.
61​
62Enable **Delete worktrees with deleted threads** to remove safe worktrees after their last
63thread is deleted, including archived threads and worktrees left by earlier deletions. The
64server waits for sessions and terminals to stop and retries skipped worktrees after restart.
65Existing prompts for deleting a worktree manually remain available when this policy is off.
66​
67Browser captures and rotated logs have separate retention periods. Expired capture links stop
68working. Current logs, message attachments, and browser profiles are kept.
69​
70## Project icons
71​
72Select the project and open Project to choose an icon, emoji, monogram, or image. The choice applies to
73every checkout in the project group and appears on connected clients. Choose **Automatic** to let
74T3 Code detect an icon again.
75​
76Choose **Monogram** in the icon picker to set one or two letters or numbers and a color.
77​
78When no image is found, web and desktop show a two-character monogram with a color
79from the icon palette, derived from the saved project name. For example, `Nebula` becomes `NA`,
80`Silver Orchard` becomes `SO`, and `M7 Forge` becomes `M7`.
81​
82## Keep the default branch current
83​
84In Source Control, enable **Automatically pull** to keep the default-branch checkout up to date
85with its configured upstream. Choose an environment to set the default or a project to override it.
86​
87T3 Code only pulls when it can fast-forward and the checkout has no changed files, untracked files,
88or local commits. It skips checkouts on another branch or without an upstream. If a checkout has
89local work, resolve it yourself before automatic pulls can resume.