fix(agent): honor Codex full access permissions#3471
Merged
Conversation
Generated-By: PostHog Code Task-Id: 1f1fe07c-6384-4d1e-8ab9-bad3700caa2e
|
😎 Merged directly without going through the merge queue, as the queue was empty and the PR was up to date with the target branch - details. |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Contributor
|
Generated-By: PostHog Code Task-Id: 1f1fe07c-6384-4d1e-8ab9-bad3700caa2e
Generated-By: PostHog Code Task-Id: 1f1fe07c-6384-4d1e-8ab9-bad3700caa2e
tatoalo
reviewed
Jul 15, 2026
tatoalo
approved these changes
Jul 15, 2026
Generated-By: PostHog Code Task-Id: 1f1fe07c-6384-4d1e-8ab9-bad3700caa2e
Generated-By: PostHog Code Task-Id: 3fe0371b-73b0-401d-9aa4-2bd5474b686f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Codex still prompts for commands after Full access is selected, especially when the current turn started in Auto. The selection can also revert when revisiting a task.
Closes #3459
Changes
Full access canonicalizes Codex policy aliases and bypasses only real approval requests, never structured questions. Persisted settings survive reconstruction but reset across adapter changes, with conflict-aware rollback for concurrent updates.
How did you test this?
Added coverage for policy updates, question prompts, persistence, adapter changes, and task revisits. Ran 307 focused tests, all 2,277 core tests, affected package typechecks, Biome, and the commit-hook typecheck.
Automatic notifications
Created with PostHog Code