Approval
Decisions and work / clio.approval.v1
Ask a person to confirm a consequential next step with the context visible.
When to use it
Ask a person to confirm a consequential next step with the context visible.
What the agent supplies
A gated decision with one to four actions.
The agent chooses the content and binds it to the component. CLIO then renders the view and its available controls.
What the agent receives
The exact output of load_skill, including resolved local definitions.
load_skill("a2ui-catalog-clio-workspace", file="catalog.json#/components/clio.approval.v1"){
"allOf": [
{
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"
},
{
"properties": {
"weight": {
"description": "Relative flex weight of this component inside a Row or Column. Only meaningful as a direct child of one.",
"type": "number"
}
},
"type": "object"
},
{
"properties": {
"actions": {
"items": {
"additionalProperties": false,
"properties": {
"action": {
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action"
},
"label": {
"type": "string"
},
"tone": {
"enum": [
"default",
"destructive"
],
"type": "string"
}
},
"required": [
"label",
"action"
],
"type": "object"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
},
"component": {
"const": "clio.approval.v1"
},
"reason": {
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"
},
"risk": {
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"
},
"title": {
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString"
}
},
"required": [
"component",
"title",
"reason",
"risk",
"actions"
],
"type": "object"
}
],
"description": "A gated decision with one to four actions.",
"type": "object",
"unevaluatedProperties": false
}
Standard refs (not loadable here): https://a2ui.org/specification/v0_9/common_types.json#/$defs/Action, https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon, https://a2ui.org/specification/v0_9/common_types.json#/$defs/DynamicString