#How to bypass approval every time?
11 messages Β· Page 1 of 1 (latest)
Iβm checking the docs and the actual approval settings, because this usually comes from one layer changing while the other stayed strict.
First, what does openclaw --version show?
This is usually exec approvals, not cron itself. There are two layers now, and the stricter one wins:
tools.exec.*in OpenClaw config- host/node approvals in
exec-approvals.json
If your Gateway is on the same machine and you really want no prompts, the quick fix is:
openclaw exec-policy preset yolo
openclaw gateway restart
If you want to inspect it first:
openclaw approvals get --gateway
If your cron runs on a node, you also need to open that nodeβs policy, for example:
openclaw approvals get --node <id-or-name>
and set that node to security: "full" + ask: "off" too.
One more gotcha, if your cron launches Codex / Claude Code / ACP sessions, that is a separate permission layer. Then also set:
openclaw config set plugins.entries.acpx.config.permissionMode approve-all
openclaw gateway restart
Docs:
- https://docs.openclaw.ai/help/troubleshooting#exec-suddenly-asks-for-approval
- https://docs.openclaw.ai/tools/exec-approvals
- https://docs.openclaw.ai/tools/acp-agents#permission-configuration
If you paste:
openclaw --versionopenclaw approvals get --gateway
I can tell you which layer is still forcing the prompt.
Openclaw 2026.3.30
π¦ OpenClaw 2026.3.30 (3ad747e) β No $999 stand required.
β
β
Approvals
βββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Field β Value β
βββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Target β gateway β
β Path β ~/.openclaw/exec-approvals.json β
β Exists β yes β
Yep, that points at the gateway-side approvals file.
Since you want no approval prompts on a trusted box, the easiest fix is:
openclaw exec-policy preset yolo
openclaw gateway restart
That should sync both layers to the no-prompt setup.
If exec-policy gives you trouble on 2026.3.30, do it manually:
openclaw config set tools.exec.host gateway
openclaw config set tools.exec.security full
openclaw config set tools.exec.ask off
openclaw approvals set --gateway --stdin <<'EOF'
{
version: 1,
defaults: {
security: "full",
ask: "off",
askFallback: "full"
}
}
EOF
openclaw gateway restart
If it still asks after that, then your night cron is probably going through an ACP harness (Codex / Claude Code style), which has its own permission layer. Then also run: