Skip to main content

Settings

Every horsey app reads the same settings, so one change reaches rt, board, deck, console and the rest. They are stored under ~/.mattstack.

Where a setting can live​

A setting can be set at four levels, called scopes:

ScopeWho it applies to
useryou, on every Mac
teamyour team's own settings
orgshared by every team in your org
machinethis Mac only

When the same setting is set in more than one place, the most specific one wins. From weakest to strongest the order is: the built-in default, org, team, user, org for one repo, team for one repo, user for one repo, machine, then machine for one repo. So a value set for one repo at the org, team or user level beats every plain org, team or user value, and a machine value beats all of those. A setting that only makes sense for one repo can be set only for that repo.

The org and team scopes are shared through your org's repo, so a change there reaches every member's Mac. Only an org owner or admin can write the org scope, and only that team's owner can write a team's scope. The one org setting a team owner changes is which of their own teams people are on. See Teams and invites for roles. Without a team, you have the user and machine scopes.

A few settings take a list, such as the Claude plugins to install. For those, the lists from every level are added together instead of one replacing another.

Where your own settings are kept​

Your user settings live in your home repo, ~/.mattstack/user. Setup's Your settings row picks where it lives:

  • Store in a GitHub repo: rt also pushes them to a private repo. On a new Mac, Move from another Mac restores them from that repo with your recovery key. A Mac with no GitHub token offers Sign in to GitHub, and rt then creates the repo for you.
  • Store on your Mac: the settings stay versioned on this Mac only, and aren't backed up.

Nothing is picked until you choose.

You can turn the remote copy on later:

bash
rt home remote set <url> # an existing empty private repo, on any forge
rt home remote set --create # or let rt create a private GitHub repo

In the menu bar app​

Settings… in the menu bar menu holds the app's own settings. A few setup leftovers live there instead of in the setup window, and none of them holds up setup:

  • Mission Control shortcut: Settings → General → Keyboard.
  • Skill overrides: Settings → General, only when a hand-edited skill overrides file still uses old key names.
  • Chrome sign-in: Settings → Fast Browser, only when a team pack needs Chrome signed in to a site.

Your writing style is in Settings → General too. A new Mac starts on sparse.

Read a setting​

bash
rt settings get <key> # the value, and where it came from
rt settings explain <key> # every level, weakest first
rt settings list # every setting and its value

rt settings explain is the first thing to run when a setting is not what you expect, because it shows which level set it. Add --json to any of these for machine-readable output, and --repo to read a repo's own values.

Change a setting​

In the console, open the settings page: it lists every setting with its current value and level. A single value saves as soon as you commit it: flip a toggle, pick an option, or press Enter or leave the field. A structured value opens as a draft, as a form or as JSON, and saves when you press Save. From a terminal:

bash
rt settings set rt.ui.background dark --scope user
rt settings unset rt.ui.background --scope user

--scope picks the store to write to: user, org, team or machine. The value is JSON. For a team write, --team names the team, and it defaults to your own. Each setting allows only some scopes, and a write to one it does not allow is refused.

Automatic updates​

mattstack.autoUpdate decides whether horsey installs new releases on every Mac in the org by itself. It is on by default, only an org owner can change it, and it lives only at org scope:

bash
rt settings set mattstack.autoUpdate false --scope org

With it off, each person installs updates themselves. On the version telemetry page, a Mac that falls behind shows as turned off by the org. See Updates for what each setting does.

Version reporting​

Settings, General, Privacy has a switch, "Share version info with the mattstack admin". It is on by default. Turn it off there, or from a terminal:

bash
rt settings set telemetry.enabled false --scope user

While it is on, the rt daemon sends one small report when it starts, about every 50 minutes, and when the app or rt version changes. It sends:

  • your username for each team, and a random install id
  • the app, rt and plugin versions, and the app flavor
  • your macOS version
  • which setup steps have run
  • the names of any leftover legacy folders
  • your org names and layouts, and your team packs and their versions
  • how each org copy is doing. It shows what its last pull did and when, and how many commits it is behind or ahead. It also shows how many files changed and since when. It says whether a rebase or a pull is stopped, whether it can publish, and whether it's on the org's data branch
  • how many of each pack's skills wait to be compiled
  • what the app's updater last did: when it checked, and any version it offered or held and why

It never sends the names of your repos, hosts, files, paths, branches or commands. Test runs, CI and virtual machines never send it. The report goes to the horsey switchboard relay, where only the horsey admin can read it. A failed report is silent and is retried on the next 5-minute check.

The admin reads it with rt telemetry open, which opens the page in your browser with the key from rt secrets set rt switchboardTelemetryToken.

To turn it back on, flip the switch, or run rt settings set telemetry.enabled true --scope user.

See the rt settings reference for every flag.