Files
yao-meta-skill/schemas/skillops-opportunity.schema.json
T
YAO 31ce04c655 Split meta skill CLI and review gates
Merge the beta-ready Yao Meta Skill architecture, report, evidence gate, and release-boundary updates.\n\nRelease boundary: beta/public testing is allowed; formal world-class, fully reviewed, or superiority claims remain blocked until the pending evidence gates are accepted.
2026-06-17 18:43:02 +08:00

113 lines
2.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://yao.local/schemas/skillops-opportunity.schema.json",
"title": "SkillOps Opportunity",
"type": "object",
"required": [
"opportunity_id",
"pattern_id",
"title",
"opportunity_type",
"action_type",
"decision",
"priority",
"score",
"risk_level",
"requires_approval",
"write_allowed_without_approval",
"evidence_count",
"target_files",
"verification_commands"
],
"properties": {
"opportunity_id": {
"type": "string",
"pattern": "^skillops-[a-f0-9]{10}$"
},
"proposal_id": {
"type": "string"
},
"pattern_id": {
"type": "string"
},
"title": {
"type": "string"
},
"opportunity_type": {
"type": "string"
},
"action_type": {
"type": "string",
"enum": [
"add_eval",
"agents_update",
"patch_existing_skill",
"report_only"
]
},
"decision": {
"type": "string",
"enum": [
"ready_for_approval_review",
"proposal_review",
"observe_more_evidence",
"report_only",
"no_action"
]
},
"priority": {
"type": "string",
"enum": [
"high",
"medium",
"low"
]
},
"score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"score_reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"policy_reason": {
"type": "string"
},
"risk_level": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
"requires_approval": {
"type": "boolean"
},
"write_allowed_without_approval": {
"const": false
},
"evidence_count": {
"type": "integer",
"minimum": 0
},
"target_files": {
"type": "array",
"items": {
"type": "string"
}
},
"verification_commands": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}