Skip to main content

What is locked

With an MDM or the machine file, a setting is locked on that machine. Without one, Ori applies what the Managed Machines page saved at each launch, and the Machines list reports each Machine’s Status, which is not a lock. One exception: an explicit --auto-update flag overrides ORI_NO_UPDATE_CHECK, even when MDM or the machine file sets it. To keep the updater off, set ORI_DISABLE_AUTOUPDATER or ORI_DISABLE_UPDATES.

Where IT sets them

  • MDM (macOS managed preferences). A custom-settings payload for the preference domain com.openrouter.ori. Ori reads the device-wide profile at /Library/Managed Preferences/com.openrouter.ori.plist and the per-user profile at /Library/Managed Preferences/<username>/com.openrouter.ori.plist. For most settings, a per-user profile replaces the device-wide one as a whole, and Ori doesn’t merge the two: a device-wide setting stops applying to a person whose per-user profile leaves it out. The administrator-only settings (the required organization, workspace and region, and credential storage) are the exception: Ori reads them from both profiles and the machine file separately and combines them, so a device-wide restriction still applies.
  • The machine file. /etc/ori/config.json on macOS and Linux, and C:\ProgramData\ori\config.json on Windows, with the settings in its env object.
  • Managed Machines. The Managed Machines page of your OpenRouter workspace. Ori downloads what the page saved each time it launches, but a launch can still run under the copy it downloaded before, so a change can take one more launch to reach a machine.
Each source takes the key from the tables below as the setting name. Configuring managed machines shows the payload and file formats.

Which source wins

When two sources set the same key, Ori uses the first one in this list:
  1. MDM (macOS managed preferences)
  2. The machine file
  3. Managed Machines
  4. The person’s own setting: a command-line flag, then the environment, then .ori/config.json in the project, then ~/.ori/config.json
  5. Ori’s default
For a harness’s own settings, this order picks the value Ori passes to the harness. The harness’s own rules then decide whether a person can still change it. For example, Pi lets a project’s .pi/settings.json override pi.defaultThinkingLevel. Some harness settings reach the harness only as launch arguments: codex.sandbox_mode applies to ori codex, not to the Codex app or to plain codex after ori harness setup codex. The model lists, such as ORI_CODEX_MODELS, can only narrow what the OpenRouter key can already use. Ori skips a listed model the key can’t use, whichever source the list comes from. The sign-in restrictions are an exception: the required organization, workspace and region, and the key limit and its reset. When MDM and the machine file set different values for one of them, Ori doesn’t pick one. It treats the difference as a policy conflict and refuses the commands that need an OpenRouter key until the two agree. If you set the key limit reset on the machine, set the key limit there too: a reset with no limit makes the policy unusable, and every sign-in under it is refused. Credential storage is another exception. When MDM and the machine file set different values, Ori treats the setting as invalid instead of picking one. Saved logins, OIDC sessions and MCP credentials stop working until the two agree, while OPENROUTER_API_KEY keeps working. A few settings skip some of these sources. Which source wins lists them.

Every setting

These 327 settings come from the settings catalog of ori 0.17.4, the same list the Managed Machines page saves. The Read by column names the Apps that read each key:
  • ori: the ori CLI and every App it starts.
  • ori-desktop: Ori Desktop.
  • Any other name: the App ori starts under that name, named in the section heading.
The catalog this page was built from (ori 0.17.4) doesn’t list Apps yet. Ori stables after 0.17.5 list them, and the column fills in once this page is built from one.

Harnesses

Sign-in and keys

Ori downloads the settings saved here with a key from this workspace, and a later download with another workspace’s key can replace or clear them. So on a machine with no downloaded settings, none of them restricts the first sign-in, and the desktop app checks a sign-in only against the machine’s own settings today. To apply one from the first sign-in, put the same key with its value, as a JSON string such as “25”, in the env block of the machine config file (/etc/ori/config.json, or C:\ProgramData\ori\config.json on Windows) or, on macOS, in managed preferences for com.openrouter.ori.

Models and runs

Updates

Telemetry

Claude

Anthropic models are guaranteed: ori verifies them on every Claude Code release it supports. Models from other families run best effort.

Codex

OpenAI models are guaranteed: ori verifies them on every Codex release it supports. Models from other families run best effort.

Oh My Pi

Kilo Code

Cline

Pi

Muse Code

Crush

Factory Droid

Claude Code: Agents, sessions, and worktrees

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Enterprise and managed settings

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Git and attribution

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Hooks and automation

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Interface and terminal

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: MCP

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Memory and context

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Model and responses

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Not in the settings reference

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Permission settings

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Plugins and skills

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Privacy and telemetry

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Remote, desktop, and notifications

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Sandbox settings

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Claude Code: Updates and versioning

Ori passes these settings to Claude Code as they are. They are the administrator’s responsibility: Ori does not check what they do.

Codex: config.toml

Ori passes these settings to Codex as they are. They are the administrator’s responsibility: Ori does not check what they do.

Antigravity CLI: settings.json

Ori passes these settings to Antigravity CLI as they are. They are the administrator’s responsibility: Ori does not check what they do.

Pi: settings.json

Ori passes these settings to Pi as they are. They are the administrator’s responsibility: Ori does not check what they do.