Skip to content

Commit 69ccad4

Browse files
MarcoDotIOclaude
andcommitted
fix(server): name desktop bootstrap input in the observability refusal
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 9bacc6c commit 69ccad4

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎apps/server/src/policy/managedSettings.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ const UNMANAGEABLE_KEYS: ReadonlySet<string> = new Set([
2929
]);
3030

3131
/**
32-
* Startup reads OTLP endpoints from the settings file before the policy loads, and the user's
33-
* OTLP environment variables outrank them, so a managed value would look enforced without being.
32+
* Startup resolves OTLP endpoints from the settings file and desktop bootstrap input before the policy
33+
* loads, and the user's OTLP environment variables outrank them, so a managed value would look
34+
* enforced without being.
3435
*/
3536
const ENVIRONMENT_OVERRIDDEN_KEYS: ReadonlySet<string> = new Set(["observability"]);
3637

@@ -262,7 +263,7 @@ export function makeManagedSettings(
262263
if (ENVIRONMENT_OVERRIDDEN_KEYS.has(head)) {
263264
return {
264265
_tag: "Invalid",
265-
reason: `"${path}" comes from each user's environment and settings file at startup, which a policy cannot override`,
266+
reason: `"${path}" is resolved at startup from each user's environment, settings file and desktop bootstrap input, which a policy cannot override`,
266267
};
267268
}
268269
const source = DERIVED_FROM.get(head);

‎docs/user/managed-policy.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ A few settings need care:
147147
`storageCleanup`. Lock it along with those rules; T3 Code refuses a policy that locks only the
148148
rules.
149149
- `observability` cannot be managed. Its OTLP endpoints come from each user's environment
150-
variables and settings file, which a policy cannot override.
150+
variables, settings file and desktop startup input, which a policy cannot override.
151151
- Manage `idleCompaction`, not the older `compactIdleThreads`. A Claude instance's own idle
152152
compaction choice still wins over `idleCompaction`.
153153
- A provider instance's fields override each other, so lock `providerInstances.<id>` as a whole,

0 commit comments

Comments
 (0)