KeiSeiKit-1.0/_primitives/_rust/kei-artifact/schemas/plan.json
Parfii-bot 537589e6a7 feat(primitives): kei-artifact typed handoff pipeline (BMAD-style doc passthrough)
- kei-artifact Rust crate (25th): schema registry + artifact store + SHA-256 id + chain walker
- 5 schemas (JSON Schema 2020-12 strict): spec / plan / patch / review / research
- Manifest extension: optional produces_artifact + expects_artifact per handoff (non-breaking)
- Validator extension: KNOWN_ARTIFACT_SCHEMAS whitelist check + 4 new tests
- 3 kei-* manifests updated with typed handoff (architect→code-implementer→critic chain)
- compose-solution phase-5 cross-ref to kei-artifact

Tests: 189 Rust workspace (was 167, +22 artifact tests) + 24 assembler (was 20, +4 validator tests)
2026-04-22 14:10:08 +08:00

37 lines
950 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "kei-artifact://plan",
"title": "Karpathy Goal-Driven Plan",
"description": "Ordered plan steps, each with a verify-criterion.",
"type": "object",
"additionalProperties": false,
"required": ["goal", "steps"],
"properties": {
"goal": {
"type": "string",
"minLength": 1
},
"parent_spec_id": {
"type": "string",
"minLength": 1
},
"steps": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["step", "verify"],
"properties": {
"step": {"type": "string", "minLength": 1},
"verify": {"type": "string", "minLength": 1},
"est_minutes": {"type": "integer", "minimum": 0}
}
}
},
"risks": {
"type": "array",
"items": {"type": "string", "minLength": 1}
}
}
}