Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
50 lines
981 B
JSON
50 lines
981 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://mosaicstack.dev/schemas/orchestrator/task.schema.json",
|
|
"title": "Mosaic Orchestrator Task",
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"title",
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"pending",
|
|
"running",
|
|
"completed",
|
|
"failed"
|
|
]
|
|
},
|
|
"runtime": {
|
|
"type": "string",
|
|
"description": "Preferred worker runtime, e.g. codex, claude, opencode"
|
|
},
|
|
"command": {
|
|
"type": "string",
|
|
"description": "Worker command to execute for this task"
|
|
},
|
|
"quality_gates": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"metadata": {
|
|
"type": "object"
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|