Skip to content

Conversation

vmotta8
Copy link

@vmotta8 vmotta8 commented Oct 8, 2025

Fixes #4940
Fixes #4892

When selecting "No, ask me to approve edits and commands" during onboarding, the code wasn't applying the correct approval policy, causing Codex to block all write operations instead of requesting approval.

This PR adds handling for the DontTrust selection in tui/src/lib.rs, setting both the approval policy and sandbox policy correctly so Codex asks for approval before making changes.

Before (bug)

codexerror

After (fixed)

codexok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Don't Trust" option blocks all writes instead of requesting approval Editing File in read mode (with request approval) does not Work
1 participant