@cleocode/cleo 2026.2.8 → 2026.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +14 -13
  2. package/dist/cli/index.js +22676 -26012
  3. package/dist/cli/index.js.map +4 -4
  4. package/dist/mcp/index.js +1651 -802
  5. package/dist/mcp/index.js.map +4 -4
  6. package/drizzle/20260301053344_careless_changeling/migration.sql +27 -0
  7. package/drizzle/20260301053344_careless_changeling/snapshot.json +2598 -0
  8. package/package.json +3 -4
  9. package/packages/ct-skills/skills/ct-cleo/SKILL.md +49 -22
  10. package/templates/CLEO-INJECTION.md +32 -138
  11. package/templates/cleo-gitignore +66 -49
  12. package/templates/git-hooks/pre-commit +24 -6
  13. package/schemas/archive/agent-configs.schema.json +0 -120
  14. package/schemas/archive/agent-registry.schema.json +0 -132
  15. package/schemas/archive/archive.schema.json +0 -450
  16. package/schemas/archive/claudedocs-frontmatter.schema.json +0 -162
  17. package/schemas/archive/commands-index.schema.json +0 -158
  18. package/schemas/archive/contribution.schema.json +0 -722
  19. package/schemas/archive/critical-path.schema.json +0 -246
  20. package/schemas/archive/deps-cache.schema.json +0 -97
  21. package/schemas/archive/doctor-output.schema.json +0 -283
  22. package/schemas/archive/error.schema.json +0 -161
  23. package/schemas/archive/export-package.schema.json +0 -375
  24. package/schemas/archive/global-config.schema.json +0 -219
  25. package/schemas/archive/log.schema.json +0 -250
  26. package/schemas/archive/metrics.schema.json +0 -328
  27. package/schemas/archive/migrations.schema.json +0 -150
  28. package/schemas/archive/nexus-registry.schema.json +0 -90
  29. package/schemas/archive/output.schema.json +0 -164
  30. package/schemas/archive/rcsd-consensus-report.schema.json +0 -491
  31. package/schemas/archive/rcsd-hitl-resolution.schema.json +0 -216
  32. package/schemas/archive/rcsd-index.schema.json +0 -384
  33. package/schemas/archive/rcsd-manifest.schema.json +0 -264
  34. package/schemas/archive/rcsd-research-output.schema.json +0 -564
  35. package/schemas/archive/rcsd-spec-frontmatter.schema.json +0 -225
  36. package/schemas/archive/releases.schema.json +0 -267
  37. package/schemas/archive/skills-manifest.schema.json +0 -91
  38. package/schemas/archive/skillsmp.schema.json +0 -208
  39. package/schemas/archive/spec-index.schema.json +0 -196
  40. package/schemas/archive/todo.schema.json +0 -995
  41. package/schemas/claudedocs-frontmatter.schema.json +0 -162
  42. package/schemas/commands-index.schema.json +0 -158
  43. package/schemas/rcsd-consensus-report.schema.json +0 -494
  44. package/schemas/rcsd-hitl-resolution.schema.json +0 -219
  45. package/schemas/rcsd-index.schema.json +0 -387
  46. package/schemas/rcsd-manifest.schema.json +0 -267
  47. package/schemas/rcsd-research-output.schema.json +0 -567
  48. package/schemas/rcsd-spec-frontmatter.schema.json +0 -225
  49. package/schemas/todo.schema.json +0 -994
  50. package/skills/_shared/cleo-style-guide.md +0 -84
  51. package/skills/_shared/manifest-operations.md +0 -810
  52. package/skills/_shared/placeholders.json +0 -433
  53. package/skills/_shared/skill-chaining-patterns.md +0 -240
  54. package/skills/_shared/subagent-protocol-base.md +0 -221
  55. package/skills/_shared/task-system-integration.md +0 -232
  56. package/skills/_shared/testing-framework-config.md +0 -110
  57. package/skills/agentskills-integrate.md +0 -104
  58. package/skills/agentskills-specs.md +0 -255
  59. package/skills/agentskills-what-are-skills.md +0 -75
  60. package/skills/manifest.json +0 -510
  61. package/templates/AGENT-INJECTION.md +0 -166
  62. /package/schemas/{research-manifest.schema.json → archive/research-manifest.schema.json} +0 -0
@@ -1,219 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "schemaVersion": "1.0.0",
4
- "$id": "https://cleo-dev.com/schemas/v1/global-config.schema.json",
5
- "title": "Claude-TODO Global Configuration",
6
- "description": "User-level global configuration for cleo CLI. These settings apply across all projects unless overridden by project-specific config.",
7
- "type": "object",
8
- "required": ["version"],
9
- "properties": {
10
- "$schema": {
11
- "type": "string",
12
- "description": "JSON Schema reference"
13
- },
14
- "version": {
15
- "type": "string",
16
- "pattern": "^\\d+\\.\\d+\\.\\d+",
17
- "description": "Configuration schema version"
18
- },
19
- "output": {
20
- "type": "object",
21
- "description": "Output formatting preferences (applies to all commands)",
22
- "properties": {
23
- "defaultFormat": {
24
- "type": "string",
25
- "enum": ["text", "json", "jsonl", "csv", "tsv", "markdown", "table"],
26
- "default": "text",
27
- "description": "Default output format. Set to 'json' for LLM agent automation."
28
- },
29
- "showColor": {
30
- "type": "boolean",
31
- "default": true,
32
- "description": "Enable colored output in terminal. Respects NO_COLOR env var."
33
- },
34
- "showUnicode": {
35
- "type": "boolean",
36
- "default": true,
37
- "description": "Use Unicode symbols (checkmarks, progress bars, etc.)"
38
- },
39
- "showProgressBars": {
40
- "type": "boolean",
41
- "default": true,
42
- "description": "Display progress bars for long operations"
43
- },
44
- "dateFormat": {
45
- "type": "string",
46
- "enum": ["iso8601", "relative", "unix", "locale"],
47
- "default": "iso8601",
48
- "description": "Date display format"
49
- },
50
- "showCompactTitles": {
51
- "type": "boolean",
52
- "default": false,
53
- "description": "Truncate long task titles"
54
- },
55
- "maxTitleLength": {
56
- "type": "integer",
57
- "minimum": 20,
58
- "maximum": 200,
59
- "default": 80,
60
- "description": "Maximum title length when compact mode is enabled"
61
- }
62
- },
63
- "additionalProperties": false
64
- },
65
- "display": {
66
- "type": "object",
67
- "description": "Display preferences for status and informational output",
68
- "properties": {
69
- "showArchiveCount": {
70
- "type": "boolean",
71
- "default": true,
72
- "description": "Show count of archived tasks in status"
73
- },
74
- "showLogSummary": {
75
- "type": "boolean",
76
- "default": true,
77
- "description": "Show recent log summary in status"
78
- },
79
- "warnStaleDays": {
80
- "type": "integer",
81
- "minimum": 1,
82
- "default": 30,
83
- "description": "Warn about tasks older than this many days"
84
- }
85
- },
86
- "additionalProperties": false
87
- },
88
- "cli": {
89
- "type": "object",
90
- "description": "CLI behavior and customization",
91
- "properties": {
92
- "aliases": {
93
- "type": "object",
94
- "description": "Custom command aliases (alias → command)",
95
- "additionalProperties": {
96
- "type": "string"
97
- },
98
- "default": {},
99
- "examples": [
100
- {"ls": "list", "done": "complete", "new": "add"}
101
- ]
102
- },
103
- "plugins": {
104
- "type": "object",
105
- "description": "Plugin system configuration",
106
- "properties": {
107
- "enabled": {
108
- "type": "boolean",
109
- "default": true,
110
- "description": "Enable plugin discovery and loading"
111
- },
112
- "directories": {
113
- "type": "array",
114
- "items": {"type": "string"},
115
- "default": ["~/.cleo/plugins", "./.claude/plugins"],
116
- "description": "Directories to search for plugins"
117
- },
118
- "autoDiscover": {
119
- "type": "boolean",
120
- "default": true,
121
- "description": "Auto-discover plugins in plugin directories"
122
- }
123
- },
124
- "additionalProperties": false
125
- },
126
- "debug": {
127
- "type": "object",
128
- "description": "Debug and diagnostic settings",
129
- "properties": {
130
- "enabled": {
131
- "type": "boolean",
132
- "default": false,
133
- "description": "Enable debug output"
134
- },
135
- "validateMappings": {
136
- "type": "boolean",
137
- "default": true,
138
- "description": "Validate command mappings on startup"
139
- },
140
- "checksumVerify": {
141
- "type": "boolean",
142
- "default": true,
143
- "description": "Verify script checksums"
144
- },
145
- "showTimings": {
146
- "type": "boolean",
147
- "default": false,
148
- "description": "Show execution timing information"
149
- }
150
- },
151
- "additionalProperties": false
152
- }
153
- },
154
- "additionalProperties": false
155
- },
156
- "defaults": {
157
- "type": "object",
158
- "description": "Default values for new tasks (can be overridden per-project)",
159
- "properties": {
160
- "priority": {
161
- "type": "string",
162
- "enum": ["critical", "high", "medium", "low"],
163
- "default": "medium",
164
- "description": "Default priority for new tasks"
165
- },
166
- "labels": {
167
- "type": "array",
168
- "items": {"type": "string"},
169
- "default": [],
170
- "description": "Default labels for new tasks"
171
- }
172
- },
173
- "additionalProperties": false
174
- },
175
- "multiSession": {
176
- "type": "object",
177
- "description": "Multi-session configuration for concurrent agent work",
178
- "properties": {
179
- "enabled": {
180
- "type": "boolean",
181
- "default": true,
182
- "description": "Enable multi-session support"
183
- },
184
- "maxConcurrentSessions": {
185
- "type": "integer",
186
- "minimum": 1,
187
- "maximum": 20,
188
- "default": 5,
189
- "description": "Maximum concurrent sessions allowed"
190
- },
191
- "maxActiveTasksPerScope": {
192
- "type": "integer",
193
- "minimum": 1,
194
- "maximum": 10,
195
- "default": 1,
196
- "description": "Maximum active tasks per session scope"
197
- },
198
- "scopeValidation": {
199
- "type": "string",
200
- "enum": ["strict", "warn", "none"],
201
- "default": "strict",
202
- "description": "Scope validation level"
203
- },
204
- "allowNestedScopes": {
205
- "type": "boolean",
206
- "default": true,
207
- "description": "Allow nested session scopes"
208
- },
209
- "allowScopeOverlap": {
210
- "type": "boolean",
211
- "default": false,
212
- "description": "Allow overlapping session scopes"
213
- }
214
- },
215
- "additionalProperties": false
216
- }
217
- },
218
- "additionalProperties": false
219
- }
@@ -1,250 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://cleo-dev.com/schemas/v1/log.schema.json",
4
- "schemaVersion": "2.4.0",
5
- "title": "CLEO Change Log Schema",
6
- "description": "LEGACY: Documents the JSON file format. Runtime validation uses drizzle-zod (src/store/validation-schemas.ts). Audit log lives in SQLite (.cleo/tasks.db).",
7
- "type": "object",
8
- "required": [
9
- "version",
10
- "project",
11
- "entries",
12
- "_meta"
13
- ],
14
- "additionalProperties": false,
15
- "properties": {
16
- "version": {
17
- "type": "string",
18
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
19
- "description": "Legacy schema version field (deprecated, use _meta.schemaVersion)"
20
- },
21
- "project": {
22
- "type": "string",
23
- "description": "Project identifier. Must match todo.json."
24
- },
25
- "_meta": {
26
- "type": "object",
27
- "required": [
28
- "schemaVersion",
29
- "totalEntries",
30
- "firstEntry",
31
- "lastEntry"
32
- ],
33
- "additionalProperties": false,
34
- "properties": {
35
- "schemaVersion": {
36
- "type": "string",
37
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
38
- "description": "Schema version for this file (semver). Canonical source for schema version (replaces root version field)."
39
- },
40
- "formatVersion": {
41
- "type": "string",
42
- "pattern": "^\\d+$",
43
- "default": "1",
44
- "description": "Log entry format version for future compatibility. Increment when entry structure changes."
45
- },
46
- "totalEntries": {
47
- "type": "integer",
48
- "minimum": 0
49
- },
50
- "firstEntry": {
51
- "type": [
52
- "string",
53
- "null"
54
- ],
55
- "format": "date-time"
56
- },
57
- "lastEntry": {
58
- "type": [
59
- "string",
60
- "null"
61
- ],
62
- "format": "date-time"
63
- },
64
- "entriesPruned": {
65
- "type": "integer",
66
- "default": 0,
67
- "description": "Count of entries removed due to retention policy."
68
- }
69
- }
70
- },
71
- "entries": {
72
- "type": "array",
73
- "description": "Log entries in chronological order. Append-only.",
74
- "items": {
75
- "$ref": "#/definitions/logEntry"
76
- }
77
- }
78
- },
79
- "definitions": {
80
- "logEntry": {
81
- "type": "object",
82
- "required": [
83
- "id",
84
- "timestamp",
85
- "action",
86
- "actor"
87
- ],
88
- "additionalProperties": false,
89
- "properties": {
90
- "id": {
91
- "type": "string",
92
- "pattern": "^log_[a-f0-9]{12}$",
93
- "description": "Unique log entry ID. Format: log_<12-hex-chars>"
94
- },
95
- "timestamp": {
96
- "type": "string",
97
- "format": "date-time",
98
- "description": "When this action occurred."
99
- },
100
- "sessionId": {
101
- "type": [
102
- "string",
103
- "null"
104
- ],
105
- "description": "Session that performed this action."
106
- },
107
- "action": {
108
- "type": "string",
109
- "enum": [
110
- "session_start",
111
- "session_end",
112
- "session_suspended",
113
- "session_resumed",
114
- "session_scope_defined",
115
- "session_scope_conflict",
116
- "session_focus_changed",
117
- "session_timeout_warning",
118
- "session_orphan_detected",
119
- "session_auto_suspended",
120
- "task_created",
121
- "task_updated",
122
- "status_changed",
123
- "task_archived",
124
- "focus_changed",
125
- "config_changed",
126
- "validation_run",
127
- "checksum_updated",
128
- "error_occurred",
129
- "phase_changed",
130
- "phase_started",
131
- "phase_completed",
132
- "phase_rollback"
133
- ],
134
- "description": "Type of action logged. Session actions (multi-session): session_suspended (paused), session_resumed (continued), session_scope_defined (scope created), session_scope_conflict (overlap detected), session_focus_changed (focus within session), session_timeout_warning (stale session), session_orphan_detected (crashed session), session_auto_suspended (timeout suspend). Phase actions: phase_changed, phase_started, phase_completed, phase_rollback."
135
- },
136
- "actor": {
137
- "type": "string",
138
- "enum": [
139
- "human",
140
- "claude",
141
- "system"
142
- ],
143
- "description": "Who/what performed the action."
144
- },
145
- "taskId": {
146
- "type": [
147
- "string",
148
- "null"
149
- ],
150
- "pattern": "^T\\d{3,}$",
151
- "description": "Task ID if action relates to a specific task."
152
- },
153
- "before": {
154
- "type": [
155
- "object",
156
- "null"
157
- ],
158
- "description": "State before the action (for changes)."
159
- },
160
- "after": {
161
- "type": [
162
- "object",
163
- "null"
164
- ],
165
- "description": "State after the action (for changes)."
166
- },
167
- "details": {
168
- "type": [
169
- "object",
170
- "string",
171
- "null"
172
- ],
173
- "description": "Additional context about the action."
174
- },
175
- "scope": {
176
- "type": [
177
- "object",
178
- "null"
179
- ],
180
- "description": "Session scope context for multi-session log entries. Null for single-session mode.",
181
- "additionalProperties": false,
182
- "properties": {
183
- "type": {
184
- "type": "string",
185
- "enum": [
186
- "task",
187
- "taskGroup",
188
- "subtree",
189
- "epicPhase",
190
- "epic",
191
- "custom"
192
- ],
193
- "description": "Scope type from session definition."
194
- },
195
- "rootTaskId": {
196
- "type": "string",
197
- "pattern": "^T\\d{3,}$",
198
- "description": "Root task defining the scope."
199
- },
200
- "phaseFilter": {
201
- "type": [
202
- "string",
203
- "null"
204
- ],
205
- "description": "Phase filter if scope is phase-limited."
206
- },
207
- "taskCount": {
208
- "type": "integer",
209
- "minimum": 0,
210
- "description": "Number of tasks in scope at log time."
211
- }
212
- }
213
- },
214
- "agentId": {
215
- "type": [
216
- "string",
217
- "null"
218
- ],
219
- "description": "Agent identifier in multi-session mode (e.g., 'opus-1', 'haiku-2')."
220
- },
221
- "otherActiveSessions": {
222
- "type": [
223
- "integer",
224
- "null"
225
- ],
226
- "minimum": 0,
227
- "description": "Count of other active sessions at log time. Useful for concurrency auditing."
228
- },
229
- "error": {
230
- "type": [
231
- "object",
232
- "null"
233
- ],
234
- "description": "Error details if action failed.",
235
- "properties": {
236
- "code": {
237
- "type": "string"
238
- },
239
- "message": {
240
- "type": "string"
241
- },
242
- "recoverable": {
243
- "type": "boolean"
244
- }
245
- }
246
- }
247
- }
248
- }
249
- }
250
- }