antcolony
All repositories: gitoria
2.7 KB
{"$comment": "The controller's verdict (mission 019, docs/scheduler-agent.md §1/§2) as JSON Schema — handed to the controller's `claude -p --json-schema`. Keep in step with lib/controller.hl validateVerdict(), which stays the authority (and turns a pass with a false / no-evidence finding into a fail).","type": "object","additionalProperties": false,"required": ["ticket","session","verdict","findings","summary","questions"],"properties": {"ticket": {"type": "string","minLength": 1,"description": "the ticket of the report, exactly as in the report"},"session": {"type": "string","minLength": 1,"description": "the worker session of the report, exactly as in the report"},"verdict": {"type": "string","enum": ["pass","fail"],"description": "pass only if no finding is `false` or `no evidence`"},"findings": {"type": "array","description": "one entry per `verified` entry and per `done` entry of the report (plus anything else you found)","items": {"type": "object","additionalProperties": false,"required": ["claim","about","status","check"],"properties": {"claim": {"type": "string","minLength": 1,"description": "the claim (short quote of the report entry)"},"about": {"type": "string","enum": ["verified","done","other"]},"status": {"type": "string","enum": ["ok","false","no evidence","not checked"]},"check": {"type": "string","minLength": 1,"description": "what you did (command re-run + what you saw, file looked at, transcript place) and why this status"}}}},"summary": {"type": "string","minLength": 1,"description": "Markdown, a few lines for the creator / the next worker"},"questions": {"type": "array","description": "one ruling per question of the report (antcolony#24); [] when the report has none","items": {"type": "object","additionalProperties": false,"required": ["index","ruling","reason"],"properties": {"index": {"type": "integer","minimum": 0,"description": "the question's number in the report, from 0"},"ruling": {"type": "string","enum": ["ask","decided","trivial","internal","packed"]},"reason": {"type": "string","minLength": 1,"description": "why, one line"},"answer": {"type": "string","description": "only for decided / trivial / internal: the decision, one line"}}}}}}
Branches
- mainmain branch