KeiSeiKit-1.0/_primitives/_rust/kei-artifact/schemas/spec.json
Parfii-bot 0be354a920 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

40 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "kei-artifact://spec",
"title": "Agent Specification",
"description": "Architect output — what to build and under which constraints.",
"type": "object",
"additionalProperties": false,
"required": ["goal", "constraints", "invariants"],
"properties": {
"goal": {
"type": "string",
"minLength": 1
},
"constraints": {
"type": "array",
"items": {"type": "string", "minLength": 1}
},
"invariants": {
"type": "array",
"items": {"type": "string", "minLength": 1}
},
"tradeoffs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["choice", "rejected", "because"],
"properties": {
"choice": {"type": "string", "minLength": 1},
"rejected": {"type": "string", "minLength": 1},
"because": {"type": "string", "minLength": 1}
}
}
},
"evidence_grade": {
"type": "string",
"enum": ["E1", "E2", "E3", "E4", "E5", "E6"]
}
}
}