openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
52 lines (51 loc) • 1.34 kB
JSON
{
"id": "policy",
"name": "Policy",
"description": "Adds policy-backed doctor checks for workspace conformance.",
"cliCommands": [
{
"name": "policy",
"description": "Check policy requirements and emit audit evidence",
"hasSubcommands": true
}
],
"activation": {
"onStartup": true,
"onCommands": [
"doctor",
"policy"
]
},
"commandAliases": [
{
"name": "policy",
"kind": "cli"
}
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable policy doctor checks even before policy.jsonc exists."
},
"workspaceRepairs": {
"type": "boolean",
"description": "Allow doctor --fix to repair policy-managed workspace settings."
},
"expectedHash": {
"type": "string",
"description": "Optional sha256 hash for hash-locking the approved policy artifact."
},
"expectedAttestationHash": {
"type": "string",
"description": "Optional sha256 hash for the last accepted clean policy check."
},
"path": {
"type": "string",
"description": "Optional policy.jsonc path. Relative paths resolve from the selected agent workspace."
}
}
}
}