107 lines
2.2 KiB
JSON
107 lines
2.2 KiB
JSON
{
|
|
"name": "DecisionQueue",
|
|
"type": "object",
|
|
"properties": {
|
|
"memory_id": {
|
|
"type": "string",
|
|
"description": "Reference to the OperationalMemory this decision is based on"
|
|
},
|
|
"trigger_event_id": {
|
|
"type": "string",
|
|
"description": "Event that triggered this decision"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Short title for the decision"
|
|
},
|
|
"summary": {
|
|
"type": "string",
|
|
"description": "Human-readable summary of what the AI recommends and why"
|
|
},
|
|
"department": {
|
|
"type": "string",
|
|
"enum": [
|
|
"operations",
|
|
"procurement",
|
|
"finance",
|
|
"vendor",
|
|
"compliance",
|
|
"executive"
|
|
]
|
|
},
|
|
"agent_name": {
|
|
"type": "string"
|
|
},
|
|
"proposed_actions": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"action_type": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"auto_execute": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"confidence_score": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 100
|
|
},
|
|
"risk_level": {
|
|
"type": "string",
|
|
"enum": [
|
|
"low",
|
|
"medium",
|
|
"high"
|
|
],
|
|
"default": "medium"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"pending_approval",
|
|
"approved",
|
|
"rejected",
|
|
"executed",
|
|
"expired"
|
|
],
|
|
"default": "pending_approval"
|
|
},
|
|
"reviewer_id": {
|
|
"type": "string",
|
|
"description": "User who reviewed the decision"
|
|
},
|
|
"reviewer_name": {
|
|
"type": "string"
|
|
},
|
|
"review_notes": {
|
|
"type": "string"
|
|
},
|
|
"reviewed_at": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"expires_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "When this decision becomes stale"
|
|
},
|
|
"context_snapshot": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"description": "Graph context for the reviewer to understand the decision"
|
|
}
|
|
},
|
|
"required": [
|
|
"title",
|
|
"department",
|
|
"status"
|
|
]
|
|
} |