Schema Reference
CLEO uses JSON Schema for data validation. This reference documents the core data structures.Task Object
The fundamental unit of work in CLEO.Field Reference
Unique task identifier. Format:
T followed by digits (e.g., T001, T1234)Action-oriented task title. Must differ from description.
Detailed task description
Task status. One of:
pending, active, blocked, donePriority level. One of:
critical, high, medium, low. Default: mediumTask type. One of:
epic, task, subtask. Inferred from hierarchy.Parent task ID for hierarchy.
null for root tasks.Scope-based size (NOT time). One of:
small, medium, largeArray of labels for categorization
Project phase assignment (e.g.,
setup, core, testing)Array of task IDs this task depends on
Array of timestamped notes
ISO 8601 creation timestamp
ISO 8601 last modification timestamp
ISO 8601 completion timestamp.
null if not complete.todo.json Structure
Status Transitions
Valid status transitions:Use
cleo complete for the active/pending → done transition. Use cleo reopen for done → pending.Priority Values
| Priority | Use Case |
|---|---|
critical | Blocking deployment or other work |
high | Important, needs attention soon |
medium | Normal priority (default) |
low | Nice to have, do when time permits |
Hierarchy Constraints
| Constraint | Value |
|---|---|
| Maximum depth | 3 levels (epic → task → subtask) |
| Maximum siblings | Unlimited (configurable via hierarchy.maxSiblings) |
| Valid parent types | epic can have tasks, task can have subtasks |
config.json Structure
Session Object
Sessions track multi-agent work coordination.Unique session identifier. Format:
session_YYYYMMDD_HHMMSS_hashSession state. One of:
active, suspended, ended, closedDefines what tasks this session can access.
Current focus state within session.
Verification Object
Verification gates for task completion quality.Overall verification status. True when all required gates pass.
Individual verification gates.
History of verification failures for debugging.
Error Response Object
All error responses follow this structure.Error code identifier (e.g.,
E_VALIDATION_FAILED, E_NOT_FOUND)CLI exit code for scripting
Whether error can be retried with different input
Copy-paste ready command to resolve the error
Alternative commands to try
Structured error context for debugging
