Repository navigation
Description
Summary
I observed different effective permissions for cloud-delegated and manually initiated turns in the same native local Codex thread on Windows.
Environment
- Windows, MSIX desktop installation; exact Windows build not recorded.
- Desktop package:
26.1021.3705.0 - Bundled runtime:
codex-cli 0.164.0-alpha.11.1
These versions were identified in historical diagnostic output. A separate PATH CLI was 0.153.4; it was not the identified desktop runtime.
Observed workflow
- With Full Access selected for the local workflow, use Dot and a cloud parent to create and message a native local Codex child.
- Send further delegated messages without directly messaging that child.
- Send one message directly in the child through the desktop UI.
- Send another delegated message from the cloud parent.
Recorded evidence
A read-only review of an existing troubleshooting conversation and its historical command output from October 27, 2026 showed this sequence for the same child:
| Turn | Message origin | Approval policy | Sandbox |
|---|---|---|---|
| 1–3 | Cloud delegation | on-request |
workspace-write |
| 4 | Direct desktop message | never |
danger-full-access |
| 5 | Cloud delegation | never |
danger-full-access |
The permission values were read from saved diagnostic output. Message-origin attribution comes from the contemporaneous troubleshooting conversation and its checks; the cloud parent's original request payload was not captured.
Important troubleshooting context
This is not a clean, unmodified-client reproduction.
Before these samples, troubleshooting had already edited global permission configuration and stored thread permissions, and a local permission guard was active. The guard also wrote Full Access settings around the initial execution. An app-server restart was recorded before the third restricted turn. Those interventions did not prevent turns 1–3 from recording workspace permissions.
An early claim that configuration changes had fixed desktop behavior was later corrected: the initial validation primarily covered the CLI.
A later entry records that a “warm-up” message sent after execution began was queued for a subsequent turn and did not change the running first turn's permissions. This is an observation, not a recommended permission workaround.
Expected behavior
The displayed permission selection and effective execution permissions should agree. If cloud-delegated local turns intentionally require a separate authorization step or are subject to a different policy, the UI should clearly explain the effective restriction and supported authorization path.
Impact and questions
The workflow appeared to require direct desktop interaction before subsequent delegated turns used the intended mode.
Please investigate:
- Permission initialization/resolution for cloud-delegated versus direct desktop turns.
- Whether a direct desktop turn persists a permission selection that the initial delegation path does not.
- Whether parent/turn overrides, stored thread state, or policy precedence explain the observed difference.
- How users can inspect the effective policy source without modifying internal state.
The evidence establishes a permission-context transition associated with the direct desktop turn, not its unique cause. A version regression, automatic inheritance of all cloud-parent permissions, and unauthorized privilege escalation have not been established. The prior interventions are material confounders.
Related report and privacy
Related: #50671 (macOS/dots permission mismatch). Its platform and workflow differ; a shared cause is unverified. No evidence from that report is presented as evidence from this machine.
No new permission reproduction was performed while preparing this report. No raw transcripts, credentials, personal paths, private project content, or session/thread identifiers are attached.
Activity
github-actions commentedon Oct 27, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
permission_profile: "managed"that is not defined locally, silently falling back to workspace-write #56663Powered by Codex Action