330 lines
7.8 KiB
JSON
330 lines
7.8 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://awoooi.wooo.work/schemas/ai_agent_professional_task_expansion_v1.schema.json",
|
|
"title": "AI Agent Professional Task Expansion And Telegram Runtime Bridge",
|
|
"type": "object",
|
|
"required": [
|
|
"schema_version",
|
|
"generated_at",
|
|
"program_status",
|
|
"source_refs",
|
|
"telegram_runtime_bridge",
|
|
"professional_task_domains",
|
|
"professional_tasks",
|
|
"mcp_rag_stack",
|
|
"risk_policy",
|
|
"reporting_contract",
|
|
"redaction_contract",
|
|
"rollups"
|
|
],
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": "ai_agent_professional_task_expansion_v1"
|
|
},
|
|
"generated_at": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"program_status": {
|
|
"type": "object",
|
|
"required": [
|
|
"current_priority",
|
|
"current_task_id",
|
|
"next_task_id",
|
|
"overall_completion_percent",
|
|
"read_only_mode",
|
|
"runtime_authority",
|
|
"status_note"
|
|
],
|
|
"properties": {
|
|
"current_priority": {
|
|
"enum": ["P0", "P1", "P2", "P3"]
|
|
},
|
|
"current_task_id": {
|
|
"const": "P2-405A"
|
|
},
|
|
"next_task_id": {
|
|
"const": "P2-405B"
|
|
},
|
|
"overall_completion_percent": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 100
|
|
},
|
|
"read_only_mode": {
|
|
"const": true
|
|
},
|
|
"runtime_authority": {
|
|
"const": "professional_task_expansion_and_telegram_bridge_read_only_no_send"
|
|
},
|
|
"status_note": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"source_refs": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"telegram_runtime_bridge": {
|
|
"type": "object",
|
|
"required": [
|
|
"canonical_room",
|
|
"canonical_room_env",
|
|
"gateway_required",
|
|
"no_send_preview_ready",
|
|
"queue_preview_readback_ready",
|
|
"approved_canary_required",
|
|
"direct_bot_api_allowed",
|
|
"bot_api_call_enabled",
|
|
"gateway_queue_write_enabled",
|
|
"telegram_send_enabled",
|
|
"delivery_receipt_write_enabled",
|
|
"stages",
|
|
"message_types"
|
|
],
|
|
"properties": {
|
|
"canonical_room": {
|
|
"const": "AwoooI SRE 戰情室"
|
|
},
|
|
"canonical_room_env": {
|
|
"const": "SRE_GROUP_CHAT_ID"
|
|
},
|
|
"gateway_required": {
|
|
"const": true
|
|
},
|
|
"no_send_preview_ready": {
|
|
"const": true
|
|
},
|
|
"queue_preview_readback_ready": {
|
|
"const": true
|
|
},
|
|
"approved_canary_required": {
|
|
"const": true
|
|
},
|
|
"direct_bot_api_allowed": {
|
|
"const": false
|
|
},
|
|
"bot_api_call_enabled": {
|
|
"const": false
|
|
},
|
|
"gateway_queue_write_enabled": {
|
|
"const": false
|
|
},
|
|
"telegram_send_enabled": {
|
|
"const": false
|
|
},
|
|
"delivery_receipt_write_enabled": {
|
|
"const": false
|
|
},
|
|
"stages": {
|
|
"type": "array",
|
|
"minItems": 5,
|
|
"items": {
|
|
"type": "object"
|
|
}
|
|
},
|
|
"message_types": {
|
|
"type": "array",
|
|
"minItems": 6,
|
|
"items": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"professional_task_domains": {
|
|
"type": "array",
|
|
"minItems": 8,
|
|
"items": {
|
|
"type": "object"
|
|
}
|
|
},
|
|
"professional_tasks": {
|
|
"type": "array",
|
|
"minItems": 24,
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"task_id",
|
|
"title",
|
|
"domain_id",
|
|
"owner_agent",
|
|
"risk_tier",
|
|
"automation_mode",
|
|
"telegram_policy",
|
|
"required_mcp",
|
|
"required_rag",
|
|
"approval_required",
|
|
"current_live_count_24h",
|
|
"blocked_actions"
|
|
],
|
|
"properties": {
|
|
"task_id": {
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"domain_id": {
|
|
"type": "string"
|
|
},
|
|
"owner_agent": {
|
|
"type": "string"
|
|
},
|
|
"risk_tier": {
|
|
"enum": ["low", "medium", "high", "critical"]
|
|
},
|
|
"automation_mode": {
|
|
"enum": [
|
|
"auto_summary_after_guard",
|
|
"no_write_dry_run",
|
|
"proposal_only",
|
|
"approval_required_before_execution",
|
|
"blocked_until_owner_response"
|
|
]
|
|
},
|
|
"telegram_policy": {
|
|
"enum": [
|
|
"daily_digest",
|
|
"weekly_digest",
|
|
"monthly_digest",
|
|
"action_required_preview",
|
|
"failure_only_preview",
|
|
"no_direct_telegram"
|
|
]
|
|
},
|
|
"required_mcp": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required_rag": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"approval_required": {
|
|
"type": "boolean"
|
|
},
|
|
"current_live_count_24h": {
|
|
"const": 0
|
|
},
|
|
"blocked_actions": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"mcp_rag_stack": {
|
|
"type": "object"
|
|
},
|
|
"risk_policy": {
|
|
"type": "object"
|
|
},
|
|
"reporting_contract": {
|
|
"type": "object"
|
|
},
|
|
"redaction_contract": {
|
|
"type": "object"
|
|
},
|
|
"rollups": {
|
|
"type": "object",
|
|
"required": [
|
|
"professional_task_count",
|
|
"domain_count",
|
|
"telegram_stage_count",
|
|
"telegram_message_type_count",
|
|
"approval_required_count",
|
|
"low_risk_task_count",
|
|
"medium_risk_task_count",
|
|
"high_risk_task_count",
|
|
"critical_risk_task_count",
|
|
"current_live_count",
|
|
"gateway_queue_write_count",
|
|
"telegram_send_count",
|
|
"bot_api_call_count",
|
|
"delivery_receipt_write_count",
|
|
"production_write_count",
|
|
"secret_read_count",
|
|
"paid_api_call_count",
|
|
"host_write_count",
|
|
"kubectl_action_count"
|
|
],
|
|
"properties": {
|
|
"professional_task_count": {
|
|
"const": 24
|
|
},
|
|
"domain_count": {
|
|
"const": 8
|
|
},
|
|
"telegram_stage_count": {
|
|
"const": 5
|
|
},
|
|
"telegram_message_type_count": {
|
|
"const": 6
|
|
},
|
|
"approval_required_count": {
|
|
"const": 19
|
|
},
|
|
"low_risk_task_count": {
|
|
"const": 3
|
|
},
|
|
"medium_risk_task_count": {
|
|
"const": 10
|
|
},
|
|
"high_risk_task_count": {
|
|
"const": 6
|
|
},
|
|
"critical_risk_task_count": {
|
|
"const": 5
|
|
},
|
|
"current_live_count": {
|
|
"const": 0
|
|
},
|
|
"gateway_queue_write_count": {
|
|
"const": 0
|
|
},
|
|
"telegram_send_count": {
|
|
"const": 0
|
|
},
|
|
"bot_api_call_count": {
|
|
"const": 0
|
|
},
|
|
"delivery_receipt_write_count": {
|
|
"const": 0
|
|
},
|
|
"production_write_count": {
|
|
"const": 0
|
|
},
|
|
"secret_read_count": {
|
|
"const": 0
|
|
},
|
|
"paid_api_call_count": {
|
|
"const": 0
|
|
},
|
|
"host_write_count": {
|
|
"const": 0
|
|
},
|
|
"kubectl_action_count": {
|
|
"const": 0
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|