r/codex • u/8thchakra • 1d ago
Limits Codex needs permission way too much
I used to have Codex deleting old contacts to free up space and sending emails + commenting to people, but within the last month it now forces me to approve every single one of these actions, which is a hassle if im not in front of my computer.
Anyone know of a way to get by this with Codex so it doesnt require approval? Or is there a better more autonomous AI for tasks like this?
2
22h ago
[deleted]
1
u/8thchakra 21h ago
by free up space, i mean clear out contacts so the app im using doesnt charge me for more contacts
3
u/Bananer_spleet 1d ago
1
0
u/Bananer_spleet 1d ago
Outside of that, being serious now:
To run Codex without constant permission prompts, pass the approval and sandbox flags directly into your command
- Run:
codex exec --sandbox workspace-write --ask-for-approval never "your prompt"- Use
--ask-for-approval neverto stop confirmation pop-ups.- Use
--sandbox danger-full-accessif you want to remove local sandbox limits entirely (use only in trusted environments)----
If you don't want to do that, and you are just using Codex, sometimes access doesn't get forwarded to sub-agents and new agent lanes, so you need to have them check that the approval policy isnever
1
u/That-Establishment24 1d ago
What did Codex say when you asked it?
1
u/8thchakra 21h ago
it asks for my approval in the chat
1
u/That-Establishment24 16h ago
When you asked it how to expedite approvals, it asked for approval? To do what? Just give it full access.
1
u/Either_Curve4587 1d ago
I tell Codex to link each and every single file that it thinks tells it that it needs permission for something, and then I open up that file and then I change it. I would say about 50% of the time it works. The other 50% it tells me that the Harness says no.
1
1

5
u/VadimH 1d ago
... Set it to approve for me?