You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: per-automation sandbox/profile overrides (isolate permissions per automation) #16695
Codex automations currently use default sandbox settings and global rules, which makes it hard to grant narrow permissions to a single automation without affecting normal interactive threads.
I have one recurring automation that needs network + one specific command prefix: node .agents/skills/openclaw-skills-reddit-search/scripts/reddit-search.ts
I want this permission only for that automation, not globally for all threads.
Today:
Automations inherit default sandbox settings
Rules/prefix allowlists are global
There is no documented per-automation profile binding in automation.toml
This creates a security/usability gap:
Over-permissive: grant global allowlist and impact normal threads
Over-restrictive: keep strict defaults and break the automation
Any one of these would solve it:
profile = "<name>" support in automation.toml (or UI equivalent)
Per-automation sandbox/network/approval settings in UI + schema
Per-automation command allowlist attached to automation config
Additional information
No response
Reacted by Mark Vasilyev, Alexander Diachenko, undefcat, Kuramoto Daichi and aliebrahim11
I need this too, and I want to also add my 2 cents onto this:
There should be an easier way to configure automation permissions, right now its a big pain.
I want to see automations with no restrictions - full machine access. I run automations for broad agentic tasks which require postgress, terminal, mcps etc., they also hit claude code for design work and its almost impossible to write rules for those.
ALSO. Important note: heartbeat automations don't solve this. Issue is that even though heartbeats inherit thread permissions, they have previous context in them which is a big downside. It errs the model to be lazy and focus on same issues instead of attacking new ones with fresh context - see screenshot attached. Prompting isnt too helpful - i can bypass the screenshot situation but the model is still steered toward older issues.....
I ran into a similar problem around approval granularity and built a small experimental tool that may address part of this issue at the command-approval layer:
CodexGo installs a Codex PermissionRequest hook and applies local allow/ask/deny policy rules before the normal approval prompt. For example, it can allow a specific command prefix, ask for sensitive commands, and deny dangerous patterns. It supports project-level and user-level scopes, so a recurring automation in a specific project can have narrower command policy than the global Codex user config.
To be clear, this does not fully solve the per-automation sandbox/profile problem described here. CodexGo is not automation-aware, and it does not provide per-automation network/sandbox isolation or an automation.toml profile binding. It only addresses the command-approval / allowlist side of the problem.
But it may be a useful workaround or reference implementation for the “per-automation command allowlist” part of this feature request.
+1 from Windows. Codex desktop 26.1103.4239.0, Windows 11 (26200). An automation set to Full access still runs in the MXC/AppContainer sandbox (Low integrity, AppContainer = True). The thread is saved with profile danger-full-access and approval never, but its sandboxPolicy stays workspaceWrite. So an automation can't use Outlook COM (0x80070005), while a normal Full-access chat can. A per-automation permission profile, or applying Full access to automation threads, would fix it.
Activity
github-actions commentedon Apr 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
TheAlexDev23 commentedon Apr 4, 2026
To my judgement, this issue doesn't seem to be a duplicate of the ones mentioned.
markymark2001 commentedon Apr 21, 2026
I need this too, and I want to also add my 2 cents onto this:
ALSO. Important note: heartbeat automations don't solve this. Issue is that even though heartbeats inherit thread permissions, they have previous context in them which is a big downside. It errs the model to be lazy and focus on same issues instead of attacking new ones with fresh context - see screenshot attached. Prompting isnt too helpful - i can bypass the screenshot situation but the model is still steered toward older issues.....
Fengzdadi commentedon Apr 30, 2026
I ran into a similar problem around approval granularity and built a small experimental tool that may address part of this issue at the command-approval layer:
https://github.com/Fengzdadi/codexgo
CodexGo installs a Codex PermissionRequest hook and applies local allow/ask/deny policy rules before the normal approval prompt. For example, it can allow a specific command prefix, ask for sensitive commands, and deny dangerous patterns. It supports project-level and user-level scopes, so a recurring automation in a specific project can have narrower command policy than the global Codex user config.
To be clear, this does not fully solve the per-automation sandbox/profile problem described here. CodexGo is not automation-aware, and it does not provide per-automation network/sandbox isolation or an automation.toml profile binding. It only addresses the command-approval / allowlist side of the problem.
But it may be a useful workaround or reference implementation for the “per-automation command allowlist” part of this feature request.
aliebrahim11 commentedon Nov 9, 2026
+1 from Windows. Codex desktop 26.1103.4239.0, Windows 11 (26200). An automation set to Full access still runs in the MXC/AppContainer sandbox (Low integrity, AppContainer = True). The thread is saved with profile
danger-full-accessand approvalnever, but its sandboxPolicy staysworkspaceWrite. So an automation can't use Outlook COM (0x80070005), while a normal Full-access chat can. A per-automation permission profile, or applying Full access to automation threads, would fix it.