feat: give codex permissions support#1483
feat: give codex permissions support#1483k11kirky wants to merge 1 commit into04-03-feat_give_codex_system_prompt_via_personalityfrom
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
It tells me the full python command that it's going to run which may/may not be intentional, but when I accept the permission, it fails instantly, in both read-only and default permissions modes. Also if I select "No, give feedback" then it interrupts. Did we want that to be the same as the claude adapter where we can type in that field and it will cancel, reprompt with the new instruction or is that out of scope? |
|
If we're on the task input page, should we switch the shift+tab options if they select codex since they are different from claude? Supports ACP session modes: |



support permission selector
Problem
The Codex agent needs to support different code execution modes with varying permission levels to provide better user control over what actions the agent can perform automatically.
Changes
default,acceptEdits,plan,bypassPermissions) in the Codex agentdefault: Auto-approves read, search, fetch, and think operationsacceptEdits: Additionally auto-approves edit operationsplan: Same as default (read-only operations)bypassPermissions: Auto-approves all operation typespermissionModetracking to session state to maintain the current execution modesetSessionModeto handle the mapping between ACP execution modes and Codex native modesHow did you test this?
Manual testing of each execution mode to verify that the appropriate operations are auto-approved and others still require user permission.