Files
Assistant/dev/task-packet.schema.json
2026-08-16 15:22:49 +03:00

80 lines
1.4 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Codex Task Packet V1",
"type": "object",
"required": [
"task_id",
"task_revision",
"architecture_revision",
"risk_tier",
"intent",
"allowed_change_scope",
"acceptance_scenarios",
"required_tests"
],
"properties": {
"task_id": {
"type": "string"
},
"task_revision": {
"type": "integer",
"minimum": 1
},
"architecture_revision": {
"type": "string"
},
"base_repo_revision": {
"type": "string"
},
"risk_tier": {
"enum": [
"A",
"B",
"C",
"D",
"E"
]
},
"intent": {
"type": "string"
},
"requirement_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"allowed_change_scope": {
"type": "object"
},
"forbidden_change_scope": {
"type": "object"
},
"allowed_architecture_delta": {
"type": "object"
},
"semantic_owner": {
"type": "string"
},
"acceptance_scenarios": {
"type": "array",
"items": {
"type": "string"
}
},
"required_tests": {
"type": "array",
"items": {
"type": "string"
}
},
"terminal_gap_states": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}