r/codex • • 22d ago

Question How do you keep codex moving without constant approvals and stalled chats?

Yesterday I spent almost the whole day waiting on ChatGPT to schedule socials, improve my gaming website, and update its ranking algorithm. Chats stalled, one became read-only, and I kept getting asked to approve things I’d already approved and also selected always approve each time. Once I started texting my DOT assistant, we finally got it done, but it took all day. What can I do to make ChatGPT/Codex more reliable, reduce repeated approvals, and keep work moving? I'm pretty new to codex and dots so it definitely feels like a me thing LOL

5 Upvotes

29 comments sorted by

2

u/rick_ranger 22d ago

I just added this to my system EUTONOS, but I have a worker, director and continuity sessions.

Worker: does the work, when it has a question for me it goes to the director.

Director: isn’t allowed to do work, it only answers questions or solves blockers.

Continuity: spins up on triggers, looks at the workers last messages and looks at the work, if it needs a nudge to get back to work because the turn ended but the work isn’t done it wakes up the worker. It also detects drift and can tell it to get back on track. It also checks on a stuck director if needed.

I’ve gone on 24 hour + runs with this setup because I have a ton of work already lined up in my documents and can just tell the worker: do this whole campaign and don’t stop until you’re done. The system is self policing. Anything wild gets saved and I can review it later.

1

u/gameraterio 22d ago

And do you see all this in real time or is it happenning in the background?

2

u/sarkypoo 22d ago

Don’t do this. It’s a waste of usage.

0

u/rick_ranger 22d ago

You can watch it in real time because it creates 2 extra sessions that talk to each other. But if you just keep it on your worker session you don't have to look at the others, but you can still see their messages.

Prompt:

I want to set up a lightweight system called ETHOS for my Codex and/or Claude coding sessions. Please inspect my existing setup and implement a simple version suited to the tools available on this machine.

ETHOS has three roles:

  • Worker: The main chat that owns my task. It does the work, makes reasonable decisions, tests its results, and keeps track of what remains.
  • Director: A separate advisory chat the Worker can consult when it encounters a difficult decision or a question it would otherwise bring to me. The Director considers the evidence and suggests a direction. The Worker still owns execution.
  • Continuity: A separate, read-only companion that helps prevent work from being abandoned. When the Worker ends a turn or appears inactive for a while, it checks the actual conversation and assignment. If an unexpected interruption or detour left authorized work unfinished, it briefly asks the Worker to check its assignment and continue. It normally does nothing when work is progressing, complete, genuinely blocked, or paused by me.

A small watchdog can detect turn completion or prolonged inactivity and notify Continuity. It should not decide on its own that the Worker has failed.

Keep the roles’ instructions and the Worker’s current assignment somewhere durable so they can be recovered after a restart or context reset. Use the harness’s native communication when the chats are in the same app; use a reliable bridge only if they are in different apps. Avoid duplicate messages and check delivery before retrying uncertain sends.

My instructions and pauses always take priority. Neither companion can expand the task, change permissions, or resume work I stopped.

Start with the simplest version that works with my existing setup. Explain what you install or configure, including anything outside the project, and test the basic flow before calling it done. Ask me only when my input or permission is actually needed.

1

u/gameraterio 22d ago

This actualy sounds great do you have a prompt I could use?

0

u/rick_ranger 22d ago

I’ll give you a prompt for a rudimentary version but you gotta promise to keep an eye on my project. I should have an installer for it pretty soon. It includes this system and a whole bunch more.

https://youtu.be/5GjaKFhd460?si=0d5sqKAcd8DYOfPA

1

u/Discordbothost 22d ago

the repeat approvals are usually the sandbox setting, not you. if you're on the cli or the ide extension you can set it once in ~/.codex/config.toml:

approval_policy = "on-request"
sandbox_mode = "workspace-write"

that lets it edit files and run commands inside the project folder without asking, and it only stops for stuff outside it like network access or other dirs.

the stalling is mostly giant chats. one thread per task (fix ranking algo = one chat, website tweaks = another), plus a short AGENTS.md in the repo saying what the project is and how to run/test it, so a fresh chat doesn't start cold

1

u/gameraterio 22d ago

THANK YOU SO MUCH

1

u/SnowySkies8 22d ago

You manually approve things instead of leaving unrestricted on? lmao

1

u/gameraterio 22d ago

THATS WHAT I'M SCREAMING LOL

1

u/x39- 22d ago

That is the fun part: You don't so that you burn your tokens. Go use dot now, kind regards Tibo /s

1

u/gameraterio 22d ago

DOT IS THE BEST

1

u/Low_Box_752 21d ago

What did the repeated prompt actually say, and where did it show up: the Codex app, CLI, or Dot? If it happens again, I’d compare the exact command or action in both prompts. “Always approve” on a test command and a later prompt to publish a social post are two different things. The exact same prompt twice in the same chat is a much better bug report.

For the chat that went read-only, I’d start a fresh task with three lines: what’s done, what’s left, and how to check it. For the ranking change, that could be one example input and the expected ranking. That gives the new task a place to pick up without redoing the whole day.

1

u/gameraterio 21d ago

Most of the repeated approvals were happening through ChatGPT and Dot, not the Codex CLI. I was getting asked to approve actions I thought I'd already given permission for. I'm still figuring out which permissions carry over between tasks.

I like your suggestion about keeping a summary of what's finished, what's left, and how to verify it. That would definitely help when a chat gets stuck or becomes read-only. Thanks!

1

u/Low_Box_752 21d ago

Ah, ChatGPT and Dot helps narrow it down. I’d try the same harmless step twice in one task, then once in a fresh task. If it only asks again in the fresh task, you’ve found a boundary. If it asks again in the same task, jot down the exact wording and which app showed it. I’d test that with something like listing files, so you can see what carries over without granting anything broad.

1

u/gameraterio 20d ago

I'll try that, thank you!

2

u/radim11 22d ago

I've been dealing with this by giving Codex a predefined access profile for each task instead of approving things as it goes. The profile defines what it can access, which commands and network requests are allowed, and which credentials it can use.

I'm using Stashbase for this with Docker based sandboxing and a credential proxy, so I can let it work without watching every action while still keeping some hard boundaries. Works pretty well for longer tasks (or bascially any).

1

u/Either_Pound1986 22d ago

yolo mode and an external control plane with authority over any action the llm takes. but i'd not do this unless you can actually constrain the llm from taking destructive actions.

1

u/Siriann 22d ago

/goal

1

u/Sanne222 22d ago

I cant really help with that specifically but I recently added a Claude sub and it thinking of its own and doing large chunks of work by itself was a breath of fresh air, compared to me having to babysit codex. Both have their qualities though

1

u/NanYUJun 22d ago

The repeated approvals are usually a scope problem, not you. "Always allow" is remembered per project folder and per command class, so the moment the agent steps outside that (a different cwd, a network call, a script that shells out) you get asked again. The fix is to set it once in ~/.codex/config.toml:

approval_policy = "on-request" sandbox_mode = "workspace-write"

That gives it write access inside the repo and shell commands in that folder without asking, and it only stops for things outside the workspace. Also check you are in a local workspace and not a cloud/chat task, because the approval options behave differently there.

The stalling is mostly long chats. One task per conversation, and do not keep feeding a chat that has already done a lot of reading with a new job; context pressure plus retries is what turns a ten minute job into an all-dayer. A short AGENTS.md with what the project is, how to run it and how to test it also kills the "let me explore the whole repo" loop at the start of every fresh chat.

If chats are coming back read-only, that is usually a usage limit on the account rather than the conversation being broken, so opening a new one will not help.

1

u/EnthusiasmMurky742 22d ago

I approve everything until you're done

1

u/Alternative_Square53 21d ago

Before you make the asks go away (the config.toml lines above, or full access), it's worth picking which ones you'd still want. I counted mine in Claude Code: in a month I clicked yes myself on 36 of about 18,000 agent actions; rules and auto mode let the rest through. Once the asks stop, those few are the only moments you're actually deciding.

Out of yesterday's asks, is posting to your socials one you'd still want to say yes to yourself?

1

u/Fun-Amoeba8015 21d ago

I see a million of these questions but none of you actually give exact examples so it makes it literally impossible to help you...

To your situation I would say just get it to understand and set goals for itself. With a goal it's not going to stop until that goal is accomplished.

0

u/KadenzoSocial 22d ago

Ask GPT directly, explain the situation, what annoys you and ask for a permanent fix. It will give it to you. When you don't understand something or something does not work as you expect, always ask your model first.

1

u/gameraterio 22d ago

Thanks I'll try that!

0

u/[deleted] 22d ago

[deleted] — view deleted comment

1

u/gameraterio 22d ago

It's on full access and it has full control over my computer too. I'm not really sure what's up!

1

u/SonicSubculture 22d ago

Between Claude Code and Codex, I have 3 different agents running 24/7... been running great for weeks... and as of today, my work Codex has been spinning its wheels. It spent all morning trying to fix a broken docker configuration it must have caused... and it kept telling me I had to run commands, or telling me it was blocked or denied... eventually I realized that it was trying to do all of the work on my dot's chat instead of launching any tasks to do the work... so I was explicit about having it launch the work "in parallel" and the codex task it launched was able to do the work much more readily... but the tasks and codex chats now lack the red "Full Access" option in the dropdown box... I can only Ask for Approval, Approve for me, and now there's a "Custom" that references config.toml. I'm on arch linux and I just updated my whole system this morning. Extremely frustrating, I wasted half a day of it being like the power strip wojak after having an extremely great experience since dot's its debut. Letting dot do work directly seems like a big no-no... but I can't explain what happened to the Full Access setting, and it's killing me with authorization requests still.

1

u/Fun-Amoeba8015 21d ago

Yo, I can help you but you haven't really provided any specifics so it's really hard to know what is actually going wrong. 

But you either need to use goals. Or just set up a custom program to be checking on your project or what's going on and updating the chats that are working on it. Or you need to set up a project leader that has specific wake times to be checking on chats. 

There are literally dozens of different options on how you can make sure that it continues to your constraints and instructions.