Files
boshu2__agentops/schemas/quest.v1.schema.json
T
Boden Fuller f4f3dd63d9 feat(practice): pass-10 backfill — practices: declared on all 33 schemas/
schemas/ pool exhausted (33/33). Mixed declaration carrier:
- 22 schemas: top-level "practices": [slug, ...] sibling to "description".
  Loose JSON Schema (no additionalProperties: false at root) accepts unknown
  keywords; meta-schema treats this as inert metadata.
- 11 schemas with additionalProperties: false: "$comment": "practices:
  [slug, slug]" — $comment is a reserved meta-keyword and the citation
  validator regex matches the practices: substring inside it.

After pass 10: 160 with practices / 594 missing. Remaining: evals/ (61),
cli/ (533). schemas/, hooks/, and skills/ all fully declared.

Added scripts/insert-schema-practices.py (one-off): deterministic insertion,
validates JSON parses before writing.
2026-05-10 23:47:29 -04:00

52 lines
1.5 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agentops.dev/schemas/quest.v1.schema.json",
"title": "Quest",
"description": "A quest groups related beads into a single goal",
"practices": ["agile-manifesto", "lean-startup"],
"type": "object",
"required": ["quest_id", "title", "goal", "status", "beads", "created_at", "schema_version"],
"properties": {
"quest_id": {
"type": "string",
"description": "ULID identifier",
"pattern": "^[0-9A-Za-z]{26}$"
},
"title": {
"type": "string",
"minLength": 1,
"description": "Human-readable quest title"
},
"goal": {
"type": "string",
"description": "What this quest aims to achieve"
},
"status": {
"type": "string",
"enum": ["open", "in_progress", "done", "failed"],
"description": "Current quest status"
},
"beads": {
"type": "array",
"items": {"type": "string", "pattern": "^[0-9A-Za-z]{26}$"},
"description": "Bead IDs belonging to this quest"
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 creation timestamp"
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 last update timestamp"
},
"schema_version": {
"type": "integer",
"const": 1,
"description": "Schema version for migration"
}
},
"additionalProperties": false
}