You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/gateway-config.mdx
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,13 @@ Startup configuration is distinct from runtime settings such as `providers_v2_en
18
18
Gateway CLI flag > gateway OPENSHELL_* env var > TOML file > built-in default
19
19
```
20
20
21
+
This precedence applies only to startup configuration, including the
22
+
`runtime_config_path` that selects the second file. Runtime setting keys are not
23
+
exposed as gateway process flags or `OPENSHELL_*` environment variables. For a
24
+
key present in the runtime settings file, that file is authoritative and the
25
+
gateway rejects global API or CLI writes. A key omitted from the runtime file
26
+
uses its stored global value and remains mutable through `openshell settings`.
27
+
21
28
`database_url` is env-only. The loader rejects it when it appears in the file. When `OPENSHELL_DB_URL` is unset, the gateway stores its SQLite database under `$XDG_STATE_HOME/openshell/gateway/openshell.db`.
0 commit comments