Friends, one problem with using AI for work has been wearing me out lately.
I use several AI tools at the same time. OpenAI’s Codex is one I regularly use to write code and build websites. It is capable, but it has a habit: after every step, it stops and asks, “Should I continue?” or “Do you need me to do the next step?” A job that could take ten minutes leaves me sitting at the computer clicking “continue” twenty or thirty times. I have told it repeatedly in the chat, “Don’t stop; finish it in one go.” It agrees, then stops again on the next task.
Claude has been different in my experience. It usually keeps going, stopping only when it has reached a milestone or genuinely needs a decision from me. That made me curious: if they are both AI, why such a difference? Could Codex work that way too?
After an evening of research, I found an approach that suited me better. Along the way, I realized something more worth sharing than the technique itself: spoken instructions do not stick. Rules need to be written into a system and placed where the assistant sees them every time it starts work.
First, distinguish two kinds of pauses
At first I thought AI was simply “not listening.” Later I realized I needed to distinguish permission requirements from working habits.
The first is access control. Whether approval is required depends on the current permission configuration, execution environment and scope of the operation. Saying “do whatever you want” in a conversation does not automatically change those limits.
The second is the way it works. What I encountered was an assistant handing the task back after finishing one part, even when more work remained. Rather than guessing why, it is better to state the completion criteria and the situations that actually require my decision.
Once I understood that, the approach became clear: check permission settings for access-control issues, and put working expectations in its “employee handbook.”
The handbook: AGENTS.md
Codex reads the applicable AGENTS.md instructions when it starts work. The default user-level file is ~/.codex/AGENTS.md; a common Windows location is C:\Users\your-username\.codex\AGENTS.md. If CODEX_HOME is customized, the location changes too. Project directories can also have their own rules, and nearer project instructions can override earlier guidance.
This handbook expresses working preferences. It cannot override system permissions or higher-priority requirements, and it does not guarantee that every run will behave exactly as intended.
When I checked my computer, the file already existed; it was simply empty. It was as if the employee had been working for months with a blank handbook. That was where I began adding my expectations.
These were the rules I wrote:
# My working agreement
- Work continuously until the whole task is complete. Do not stop after every step to report or ask “Should I continue?”
- Resolve uncertain details using the most reasonable judgment, and list “Assumptions I made” in the final summary.
- After changing code, run it, test it and fix errors yourself. Confirm it works before delivery.
- Stop to ask me only when:
1. You need to delete important files or change something outside the current project.
2. You need to spend money, register an account, or enter a password or key.
3. Essential information only I know is missing.
- Finish with a brief summary: what you did, which files changed, and what I still need to do.
- Reply to me in Chinese.
One detail is crucial: “don’t stop” alone is not enough. In many cases AI pauses because it has reached an uncertainty and does not know what to do, so it asks. You need to give it a way forward: use the most reasonable judgment and tell me the assumptions afterward. At the same time, specify when it must stop. Knowing the boundaries lets it work independently within them.
It is much the same as managing people. Telling an employee “stop asking me all the time” may make them more anxious. Telling them “ask me about these cases; decide the rest yourself and report afterward” is what enables independent work.
Access control: check the current permission configuration
The user-level configuration is usually in ~/.codex/config.toml. The official documentation provides the following example settings. Check the current version, execution mode and existing configuration before using them:
approval_policy = "on-request"
sandbox_mode = "workspace-write"
workspace-write permits writes within the designated workspace; on-request allows the agent to request approval when needed. But protected paths can exist even inside a project, and network access may be restricted separately. These two lines do not mean every operation inside the project is approval-free.
Some online advice tells you to open every permission, allowing anything without questions. I do not recommend that. However smart AI may be, it can make mistakes. If it deletes a file or disrupts system settings, you may have no chance to stop it. Giving it a sufficiently large workshop rather than the keys to the whole building feels more sensible to me.
Before changing this file, make a backup copy. It usually contains many other settings, so do not overwrite the whole thing: add only these two lines. If settings with those names already exist, change their values rather than duplicating them.
After making changes
Start a new task and check the instructions and permissions actually loaded. Desktop, CLI, project configuration and managed environments may have different override relationships. Do not infer the final permissions from two lines in one file alone.
You can ask the assistant to summarize its current working rules, then give it a small, reversible task and see whether it can finish and check its work. Repeating the rules can help confirm that they were read; it cannot replace verification through actual execution.
A final thought
On the surface, this is a small technical problem. Underneath, it reflects a change in how we work with AI.
We used to treat AI as someone to chat with: we said something, it answered, and remembering was not very important. Increasingly, though, people are asking AI to do real work. One person with several assistants is like a small team. Relying on repeated verbal reminders is like running a company without written rules: the same repetition and frustration every day.
With people or AI, something said aloud may be forgotten by tomorrow. Putting it into a system, where it is seen at the start of each workday, gives it lasting force. Spending an evening establishing the rules can save all that time sitting at the screen clicking “continue.”
If you use Codex or a similar AI tool, take a look in your .codex folder tonight. That “employee handbook” may still be a blank page.

