What version of the Codex App are you using (From “About Codex” dialog)?
ChatGPT Desktop powered by Codex & OWL, version 26.707.71524.
Bundled Codex CLI/runtime reported by the child sessions: 0.144.2.
What subscription do you have?
Not relevant to the local permission inheritance behavior / not checked.
What platform is your computer?
Microsoft Windows NT 10.0.19045.0, AMD64.
What issue are you seeing?
Codex Desktop's official create_thread tool does not inherit the configured auto-approval mode when it creates a task in a managed worktree.
The Desktop host default is auto approval:
agent-mode-by-host-id.local = guardian-approvals
preferred-non-full-access-agent-mode-by-host-id.local = guardian-approvals
The parent task also had:
approval_policy = on-request
approvals_reviewer = auto_review
sandbox_policy = workspace-write
However, two independently created managed-worktree child tasks both started their first turn with:
approval_policy = on-request
approvals_reviewer = user
sandbox_policy = workspace-write
As a result, the children displayed manual approval dialogs for routine escalated operations that normally pass through the auto reviewer, including git fetch, git add, and GitHub CLI commands.
This is not a GitHub CLI installation or authentication issue. The commands work after manual approval, and the same host/default configuration uses auto review in the parent task.
Changing the child task to auto approval while its first turn is already running emits a later settings update, but the active turn continues using the original user reviewer snapshot. Every later escalation in that long-running turn still asks the user manually. The new setting only takes effect on a subsequent turn.
What steps can reproduce the bug?
- On Codex Desktop for Windows, select Auto approval as the default permission mode.
- Start a parent task and verify its turn context contains:
approvals_reviewer = auto_review.
- From that task, use the official
create_thread tool with:
- a saved local project;
environment: { type: "worktree" }.
- Let the child task begin its automatically started first turn.
- Inspect the child turn context.
- Observe that it contains:
approvals_reviewer = user.
- Have the child run a command that requires a normal scoped escalation, such as
git fetch or git add in the managed worktree.
- Observe a manual approval dialog instead of automatic review.
This reproduced twice in separate child tasks:
- Parent was
auto_review immediately before the first create_thread call; the child started approximately one minute later as user.
- Parent was again
auto_review immediately before the second create_thread call; the child started seconds later as user.
Thread IDs, repository names, account names, and local paths are intentionally omitted.
What is the expected behavior?
A child task created through create_thread should inherit the effective approval reviewer from the Desktop host default or from its parent task.
With Auto approval selected, the child should start with:
approval_policy = on-request
approvals_reviewer = auto_review
If permission inheritance is intentionally unsupported, create_thread should expose an approval/permission parameter, or create the child in a paused state so the user can select its permission mode before the initial turn starts.
Changing a task's permission mode should also either affect subsequent tool calls in the active turn or clearly indicate that it will only apply to the next turn.
Additional information
Current workaround:
- Immediately stop the child task's first turn.
- Select Auto approval again inside the child task.
- Send a new “continue” message.
- The new turn then uses
auto_review.
A related Windows report, #32880, covers linked-worktree Git metadata writes and sandbox ACLs. This report is different: the commands here are deliberately escalated and succeed after approval; the defect is that the child task starts with approvals_reviewer=user despite both the host default and parent task being configured for auto review.
What version of the Codex App are you using (From “About Codex” dialog)?
ChatGPT Desktop powered by Codex & OWL, version
26.707.71524.Bundled Codex CLI/runtime reported by the child sessions:
0.144.2.What subscription do you have?
Not relevant to the local permission inheritance behavior / not checked.
What platform is your computer?
Microsoft Windows NT
10.0.19045.0, AMD64.What issue are you seeing?
Codex Desktop's official
create_threadtool does not inherit the configured auto-approval mode when it creates a task in a managed worktree.The Desktop host default is auto approval:
The parent task also had:
However, two independently created managed-worktree child tasks both started their first turn with:
As a result, the children displayed manual approval dialogs for routine escalated operations that normally pass through the auto reviewer, including
git fetch,git add, and GitHub CLI commands.This is not a GitHub CLI installation or authentication issue. The commands work after manual approval, and the same host/default configuration uses auto review in the parent task.
Changing the child task to auto approval while its first turn is already running emits a later settings update, but the active turn continues using the original
userreviewer snapshot. Every later escalation in that long-running turn still asks the user manually. The new setting only takes effect on a subsequent turn.What steps can reproduce the bug?
approvals_reviewer = auto_review.create_threadtool with:environment: { type: "worktree" }.approvals_reviewer = user.git fetchorgit addin the managed worktree.This reproduced twice in separate child tasks:
auto_reviewimmediately before the firstcreate_threadcall; the child started approximately one minute later asuser.auto_reviewimmediately before the secondcreate_threadcall; the child started seconds later asuser.Thread IDs, repository names, account names, and local paths are intentionally omitted.
What is the expected behavior?
A child task created through
create_threadshould inherit the effective approval reviewer from the Desktop host default or from its parent task.With Auto approval selected, the child should start with:
If permission inheritance is intentionally unsupported,
create_threadshould expose an approval/permission parameter, or create the child in a paused state so the user can select its permission mode before the initial turn starts.Changing a task's permission mode should also either affect subsequent tool calls in the active turn or clearly indicate that it will only apply to the next turn.
Additional information
Current workaround:
auto_review.A related Windows report, #32880, covers linked-worktree Git metadata writes and sandbox ACLs. This report is different: the commands here are deliberately escalated and succeed after approval; the defect is that the child task starts with
approvals_reviewer=userdespite both the host default and parent task being configured for auto review.