Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
Setting ask: off / security: full in exec-approvals.json has no effect on Windows; every exec call returns exec denied: allowlist miss even after gateway restart.
Steps to reproduce
- Edit
~/.openclaw/exec-approvals.json, add "ask": "off" and "security": "full" under agents.main
- Run
openclaw gateway restart
- Agent exec call returns
exec denied: allowlist miss
- Tried
openclaw approvals set --file <new-config.json> — config was accepted (Defaults: security=full, ask=off shown in output), but exec still denied
Expected behavior
Setting security: full and ask: off should bypass all exec approval checks. Agent should be able to run commands without approval prompts.
Actual behavior
Every exec call returns exec denied: allowlist miss regardless of ask or security settings in exec-approvals.json. The allowlist uses command hashes (=command:<hash>) that change with every slight variation, making allow-always effectively useless on Windows.
OpenClaw version
2026.4.1 (da64a97)
Operating system
Windows 11
Install method
npm global
Model
kimi
Provider / routing chain
openclaw -> kimi
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
Setting
ask: off/security: fullin exec-approvals.json has no effect on Windows; every exec call returnsexec denied: allowlist misseven after gateway restart.Steps to reproduce
~/.openclaw/exec-approvals.json, add"ask": "off"and"security": "full"underagents.mainopenclaw gateway restartexec denied: allowlist missopenclaw approvals set --file <new-config.json>— config was accepted (Defaults: security=full, ask=off shown in output), but exec still deniedExpected behavior
Setting
security: fullandask: offshould bypass all exec approval checks. Agent should be able to run commands without approval prompts.Actual behavior
Every exec call returns
exec denied: allowlist missregardless ofaskorsecuritysettings in exec-approvals.json. The allowlist uses command hashes (=command:<hash>) that change with every slight variation, making allow-always effectively useless on Windows.OpenClaw version
2026.4.1 (da64a97)
Operating system
Windows 11
Install method
npm global
Model
kimi
Provider / routing chain
openclaw -> kimi
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response