Files
awoooi/docs/schemas/ai_agent_12_agent_war_room_v1.schema.json
Your Name 5de4b3f36b
Some checks failed
CD Pipeline / tests (push) Failing after 7s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
Code Review / ai-code-review (push) Successful in 22s
feat(governance): 新增 12-Agent War Room 讀回
2026-06-14 14:10:39 +08:00

255 lines
6.0 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://awoooi.wooo.work/schemas/ai_agent_12_agent_war_room_v1.schema.json",
"title": "AI Agent 12-Agent War Room Snapshot",
"type": "object",
"required": [
"schema_version",
"generated_at",
"program_status",
"source_refs",
"coordination_model",
"agent_roles",
"workload_summary",
"risk_policy",
"reporting_contract",
"market_watch_contract",
"telegram_contract",
"display_redaction_contract",
"rollups"
],
"properties": {
"schema_version": {
"const": "ai_agent_12_agent_war_room_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-142"
},
"next_task_id": {
"const": "P2-143"
},
"overall_completion_percent": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"read_only_mode": {
"const": true
},
"runtime_authority": {
"const": "12_agent_war_room_read_only_no_live_write"
},
"status_note": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": true
},
"source_refs": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
},
"coordination_model": {
"type": "object"
},
"agent_roles": {
"type": "array",
"minItems": 12,
"maxItems": 12,
"items": {
"type": "object",
"required": [
"agent_id",
"display_name",
"primary_agent",
"war_room_role",
"review_status",
"risk_tier",
"work_units",
"blocker_count",
"approval_required_count",
"live_write_count",
"telegram_send_count",
"bot_api_call_count",
"next_action"
],
"properties": {
"agent_id": {
"type": "string"
},
"display_name": {
"type": "string"
},
"primary_agent": {
"type": "string"
},
"war_room_role": {
"type": "string"
},
"review_status": {
"enum": ["read_only_review_completed", "productized_readback_ready", "blocked_by_gate"]
},
"risk_tier": {
"enum": ["low", "medium", "high", "critical"]
},
"work_units": {
"type": "integer",
"minimum": 0
},
"blocker_count": {
"type": "integer",
"minimum": 0
},
"approval_required_count": {
"type": "integer",
"minimum": 0
},
"live_write_count": {
"const": 0
},
"telegram_send_count": {
"const": 0
},
"bot_api_call_count": {
"const": 0
},
"next_action": {
"type": "string"
}
},
"additionalProperties": true
}
},
"workload_summary": {
"type": "object"
},
"risk_policy": {
"type": "object"
},
"reporting_contract": {
"type": "object"
},
"market_watch_contract": {
"type": "object"
},
"telegram_contract": {
"type": "object"
},
"display_redaction_contract": {
"type": "object",
"required": [
"redaction_required",
"conversation_transcript_display_allowed",
"raw_prompt_display_allowed",
"private_reasoning_display_allowed",
"secret_value_display_allowed",
"frontend_display_policy"
],
"properties": {
"redaction_required": {
"const": true
},
"conversation_transcript_display_allowed": {
"const": false
},
"raw_prompt_display_allowed": {
"const": false
},
"private_reasoning_display_allowed": {
"const": false
},
"secret_value_display_allowed": {
"const": false
},
"frontend_display_policy": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": true
},
"rollups": {
"type": "object",
"required": [
"agent_role_count",
"read_only_review_completed_count",
"subagent_batch_limit",
"subagent_batch_count",
"approval_required_total",
"blocker_total",
"live_write_count",
"telegram_send_count",
"bot_api_call_count",
"production_write_count",
"paid_api_call_count",
"sdk_install_count"
],
"properties": {
"agent_role_count": {
"const": 12
},
"read_only_review_completed_count": {
"const": 12
},
"subagent_batch_limit": {
"const": 6
},
"subagent_batch_count": {
"const": 2
},
"approval_required_total": {
"type": "integer",
"minimum": 0
},
"blocker_total": {
"type": "integer",
"minimum": 0
},
"live_write_count": {
"const": 0
},
"telegram_send_count": {
"const": 0
},
"bot_api_call_count": {
"const": 0
},
"production_write_count": {
"const": 0
},
"paid_api_call_count": {
"const": 0
},
"sdk_install_count": {
"const": 0
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}