feat(settings): edit any scopable setting as a project override (#10639)
This commit is contained in:
1 parent
8b2c0465de
commit
e22040dfc1
69 files changed
+5160
-2535
No files matched your search
@@ -41,6 +41,15 @@ Provider-specific behavior belongs behind an adapter. Orchestration works with n
|
||||
and events, so adding a provider should not require branches throughout the domain or clients.
|
||||
See [provider constraints](./providers.md).
|
||||
|
||||
## Settings ownership
|
||||
|
||||
Client preferences stay in the current client; environment defaults and project overrides stay
|
||||
on their owning server. The web and desktop settings target is URL state, resolved against current
|
||||
connections and project membership. An unavailable target must not fall back to another environment.
|
||||
**All environments** is an explicit bulk edit of connected, loaded servers, not a durable global
|
||||
default or a promise to synchronize offline or future environments. Project-group targets similarly
|
||||
select known environment-local checkouts; the group itself does not store inherited defaults.
|
||||
|
||||
## Durable intent and side effects
|
||||
|
||||
The event log is the source of truth for orchestration state. The
|
||||
|
||||
@@ -1,34 +1,56 @@
|
||||
# Project settings
|
||||
# Settings and project overrides
|
||||
|
||||
Open **Settings → Projects**. The project and machine pickers start at **All projects** and
|
||||
**All machines**.
|
||||
The Settings breadcrumb ends with the environment and project a change applies to. They start
|
||||
at **All environments** and **All projects** and stay selected as you move between categories or
|
||||
search for a setting.
|
||||
|
||||
Change the default model, workspace, automatic pull, agent browser access, or actions for projects that inherit those values.
|
||||
Select an individual project to override a default. Reset its row to inherit again. Changing a
|
||||
default preserves explicit project overrides. Workspace preferences in `t3.json` take precedence
|
||||
over machine defaults when the project has no explicit workspace override.
|
||||
Preferences saved on this device, such as appearance, confirmations and browser profiles, always
|
||||
show and ignore the selection. Everything else is stored on a server. Choose one environment to
|
||||
edit its settings, or leave **All environments** to edit every connected environment at once.
|
||||
Offline environments keep their current values; this is a bulk edit, not a synced global default.
|
||||
|
||||
Select a machine to limit edits to it. **All machines** writes defaults to connected machines;
|
||||
offline machines keep their previous values. Mixed values are indicated when selected machines
|
||||
or checkouts disagree. Browser access changes apply when an agent session next starts.
|
||||
Choose a project to override settings for it on the selected environments. A layers icon beside
|
||||
each server row's title shows where the value comes from: the built-in default, the environment,
|
||||
or a project override. Click it to see that chain on every selected environment. An override can
|
||||
be reset to inherit again. Settings that cannot be overridden by a project are shown read-only
|
||||
while a project is selected.
|
||||
|
||||
Project grouping has a client-wide default across machines, with individual checkout overrides.
|
||||
Shared actions apply to inheriting projects; editing a project's actions creates an independent list.
|
||||
Reset that list to use shared actions again. Existing project actions are preserved.
|
||||
When the selected environments disagree, the control shows **Mixed** in place of a value and the
|
||||
layers icon turns amber. Picking a value applies it to every selected environment.
|
||||
|
||||
Project names, icons, removal, and importing actions from a checkout remain project-specific.
|
||||
When there are several checkouts, the checkout picker selects which actions and grouping to edit.
|
||||
Changing an environment value never touches a project's own override. When projects override the
|
||||
setting you are editing, the layers icon counts them and the chain lists each one with its value:
|
||||
click a project to jump to it, or **Reset all** to make those projects follow the environment
|
||||
again.
|
||||
|
||||
Providers and diagnostics are per machine: they show one environment at a time, the primary
|
||||
one until you pick another. Every other setting fans out to the selection.
|
||||
|
||||
## Defaults and inheritance
|
||||
|
||||
General contains the model and workspace for new threads. Integrations controls agent browser
|
||||
access. Source Control contains automatic pull, the default pull request merge method and text
|
||||
generation. The same rows edit environment defaults or project overrides depending on the
|
||||
project crumb.
|
||||
|
||||
The Project category, shown while a project is selected, holds the project's name, icon, actions,
|
||||
checkouts and removal. Actions belong to a project: editing them creates the project's own list
|
||||
on each selected environment, and reset returns to the environment's shared list. A project's
|
||||
`t3.json` actions can be imported there.
|
||||
|
||||
For workspace mode, a project's `t3.json` preference applies when the project has no override.
|
||||
Browser access changes apply when an agent session next starts.
|
||||
|
||||
## Project icons
|
||||
|
||||
Choose an icon, emoji, or image from the project to make it easier to recognize. The choice applies
|
||||
to selected checkouts in the project group and appears on connected clients. Choose **Automatic** to
|
||||
let T3 Code detect an icon again.
|
||||
Select the project and open Project to choose an icon, emoji, or image. The choice applies to
|
||||
every checkout in the project group and appears on connected clients. Choose **Automatic** to let
|
||||
T3 Code detect an icon again.
|
||||
|
||||
## Keep the default branch current
|
||||
|
||||
Enable **Automatically pull** to keep the default-branch checkout up to date with its configured
|
||||
upstream.
|
||||
In Source Control, enable **Automatically pull** to keep the default-branch checkout up to date
|
||||
with its configured upstream. Choose an environment to set the default or a project to override it.
|
||||
|
||||
T3 Code only pulls when it can fast-forward and the checkout has no changed files, untracked files,
|
||||
or local commits. It skips checkouts on another branch or without an upstream. If a checkout has
|
||||
|
||||
@@ -86,10 +86,12 @@ settlement, but an old closed or merged pull request does not settle work you
|
||||
resumed after it closed.
|
||||
|
||||
Change these rules in **Settings → General**. They continue to run when your apps
|
||||
are closed. Changes apply to connected environments that support shared settings;
|
||||
offline environments and older servers keep their previous values. If connected
|
||||
environments disagree, **Apply to all** copies your current settings to those named
|
||||
in the warning. Changing a rule does not reopen already settled threads.
|
||||
are closed. On web and desktop, choose an environment at the top to change only
|
||||
its rules, or **All environments** to update connected environments together.
|
||||
Mixed values show where the selected environments disagree. Mobile applies these
|
||||
rules to connected environments that support shared settings. Offline environments
|
||||
and older servers keep their previous values. Changing a rule does not reopen
|
||||
already settled threads.
|
||||
|
||||
## Link a pull request
|
||||
|
||||
|
||||
Reference in new issue
Block a user