mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-18 00:23:25 -06:00
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
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."
|
|
}
|
|
}
|
|
}
|
|
}
|