approvals
coderclaw approvals
Section titled “coderclaw approvals”Manage exec approvals for the local host, gateway host, or a node host.
By default, commands target the local approvals file on disk. Use --gateway to target the gateway, or --node to target a specific node.
Related:
- Exec approvals: Exec approvals
- Nodes: Nodes
Common commands
Section titled “Common commands”coderclaw approvals getcoderclaw approvals get --node <id|name|ip>coderclaw approvals get --gatewayReplace approvals from a file
Section titled “Replace approvals from a file”coderclaw approvals set --file ./exec-approvals.jsoncoderclaw approvals set --node <id|name|ip> --file ./exec-approvals.jsoncoderclaw approvals set --gateway --file ./exec-approvals.jsonAllowlist helpers
Section titled “Allowlist helpers”coderclaw approvals allowlist add "~/Projects/**/bin/rg"coderclaw approvals allowlist add --agent main --node <id|name|ip> "/usr/bin/uptime"coderclaw approvals allowlist add --agent "*" "/usr/bin/uname"
coderclaw approvals allowlist remove "~/Projects/**/bin/rg"--nodeuses the same resolver ascoderclaw nodes(id, name, ip, or id prefix).--agentdefaults to"*", which applies to all agents.- The node host must advertise
system.execApprovals.get/set(macOS app or headless node host). - Approvals files are stored per host at
~/.coderclaw/exec-approvals.json.