@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.
- package/README.md +14 -13
- package/dist/cli/index.js +22676 -26012
- package/dist/cli/index.js.map +4 -4
- package/dist/mcp/index.js +1651 -802
- package/dist/mcp/index.js.map +4 -4
- package/drizzle/20260301053344_careless_changeling/migration.sql +27 -0
- package/drizzle/20260301053344_careless_changeling/snapshot.json +2598 -0
- package/package.json +3 -4
- package/packages/ct-skills/skills/ct-cleo/SKILL.md +49 -22
- package/templates/CLEO-INJECTION.md +32 -138
- package/templates/cleo-gitignore +66 -49
- package/templates/git-hooks/pre-commit +24 -6
- package/schemas/archive/agent-configs.schema.json +0 -120
- package/schemas/archive/agent-registry.schema.json +0 -132
- package/schemas/archive/archive.schema.json +0 -450
- package/schemas/archive/claudedocs-frontmatter.schema.json +0 -162
- package/schemas/archive/commands-index.schema.json +0 -158
- package/schemas/archive/contribution.schema.json +0 -722
- package/schemas/archive/critical-path.schema.json +0 -246
- package/schemas/archive/deps-cache.schema.json +0 -97
- package/schemas/archive/doctor-output.schema.json +0 -283
- package/schemas/archive/error.schema.json +0 -161
- package/schemas/archive/export-package.schema.json +0 -375
- package/schemas/archive/global-config.schema.json +0 -219
- package/schemas/archive/log.schema.json +0 -250
- package/schemas/archive/metrics.schema.json +0 -328
- package/schemas/archive/migrations.schema.json +0 -150
- package/schemas/archive/nexus-registry.schema.json +0 -90
- package/schemas/archive/output.schema.json +0 -164
- package/schemas/archive/rcsd-consensus-report.schema.json +0 -491
- package/schemas/archive/rcsd-hitl-resolution.schema.json +0 -216
- package/schemas/archive/rcsd-index.schema.json +0 -384
- package/schemas/archive/rcsd-manifest.schema.json +0 -264
- package/schemas/archive/rcsd-research-output.schema.json +0 -564
- package/schemas/archive/rcsd-spec-frontmatter.schema.json +0 -225
- package/schemas/archive/releases.schema.json +0 -267
- package/schemas/archive/skills-manifest.schema.json +0 -91
- package/schemas/archive/skillsmp.schema.json +0 -208
- package/schemas/archive/spec-index.schema.json +0 -196
- package/schemas/archive/todo.schema.json +0 -995
- package/schemas/claudedocs-frontmatter.schema.json +0 -162
- package/schemas/commands-index.schema.json +0 -158
- package/schemas/rcsd-consensus-report.schema.json +0 -494
- package/schemas/rcsd-hitl-resolution.schema.json +0 -219
- package/schemas/rcsd-index.schema.json +0 -387
- package/schemas/rcsd-manifest.schema.json +0 -267
- package/schemas/rcsd-research-output.schema.json +0 -567
- package/schemas/rcsd-spec-frontmatter.schema.json +0 -225
- package/schemas/todo.schema.json +0 -994
- package/skills/_shared/cleo-style-guide.md +0 -84
- package/skills/_shared/manifest-operations.md +0 -810
- package/skills/_shared/placeholders.json +0 -433
- package/skills/_shared/skill-chaining-patterns.md +0 -240
- package/skills/_shared/subagent-protocol-base.md +0 -221
- package/skills/_shared/task-system-integration.md +0 -232
- package/skills/_shared/testing-framework-config.md +0 -110
- package/skills/agentskills-integrate.md +0 -104
- package/skills/agentskills-specs.md +0 -255
- package/skills/agentskills-what-are-skills.md +0 -75
- package/skills/manifest.json +0 -510
- package/templates/AGENT-INJECTION.md +0 -166
- /package/schemas/{research-manifest.schema.json → archive/research-manifest.schema.json} +0 -0
|
@@ -1,264 +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/rcsd-manifest.schema.json",
|
|
5
|
-
"title": "RCSD Per-Directory Manifest",
|
|
6
|
-
"description": "Manifest schema for individual RCSD task directories (.cleo/rcsd/TXXX_short-name/_manifest.json). Tracks pipeline state, file references, and per-stage status.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["$schema", "taskId", "shortName", "pipelineStage", "files", "status", "createdAt", "updatedAt"],
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
|
|
11
|
-
"properties": {
|
|
12
|
-
"$schema": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"const": "https://cleo-dev.com/schemas/v1/rcsd-manifest.schema.json",
|
|
15
|
-
"description": "Self-referencing schema URI for validation"
|
|
16
|
-
},
|
|
17
|
-
"taskId": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"pattern": "^T\\d{3,}$",
|
|
20
|
-
"description": "Anchoring task ID (e.g., T001, T042, T999)"
|
|
21
|
-
},
|
|
22
|
-
"shortName": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"pattern": "^[a-z0-9-]{3,25}$",
|
|
25
|
-
"description": "Kebab-case short identifier derived from task title. Used in directory and file naming."
|
|
26
|
-
},
|
|
27
|
-
"taskTitle": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"maxLength": 120,
|
|
30
|
-
"description": "Original task title for reference"
|
|
31
|
-
},
|
|
32
|
-
"taskDescription": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"maxLength": 2000,
|
|
35
|
-
"description": "Original task description for context"
|
|
36
|
-
},
|
|
37
|
-
"pipelineStage": {
|
|
38
|
-
"$ref": "#/definitions/pipelineStage",
|
|
39
|
-
"description": "Current stage in the RCSD pipeline"
|
|
40
|
-
},
|
|
41
|
-
"files": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"description": "References to pipeline artifact files",
|
|
44
|
-
"required": ["research", "consensus", "spec", "report"],
|
|
45
|
-
"additionalProperties": false,
|
|
46
|
-
"properties": {
|
|
47
|
-
"research": {
|
|
48
|
-
"oneOf": [
|
|
49
|
-
{ "type": "null" },
|
|
50
|
-
{ "$ref": "#/definitions/fileReference" }
|
|
51
|
-
],
|
|
52
|
-
"description": "Research output file reference"
|
|
53
|
-
},
|
|
54
|
-
"consensus": {
|
|
55
|
-
"oneOf": [
|
|
56
|
-
{ "type": "null" },
|
|
57
|
-
{ "$ref": "#/definitions/fileReference" }
|
|
58
|
-
],
|
|
59
|
-
"description": "Consensus report file reference"
|
|
60
|
-
},
|
|
61
|
-
"spec": {
|
|
62
|
-
"oneOf": [
|
|
63
|
-
{ "type": "null" },
|
|
64
|
-
{ "$ref": "#/definitions/fileReference" }
|
|
65
|
-
],
|
|
66
|
-
"description": "Generated specification file reference"
|
|
67
|
-
},
|
|
68
|
-
"report": {
|
|
69
|
-
"oneOf": [
|
|
70
|
-
{ "type": "null" },
|
|
71
|
-
{ "$ref": "#/definitions/fileReference" }
|
|
72
|
-
],
|
|
73
|
-
"description": "Implementation report file reference"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"status": {
|
|
78
|
-
"type": "object",
|
|
79
|
-
"description": "Per-stage status tracking",
|
|
80
|
-
"required": ["initialized", "research", "consensus", "spec", "decompose"],
|
|
81
|
-
"additionalProperties": false,
|
|
82
|
-
"properties": {
|
|
83
|
-
"initialized": {
|
|
84
|
-
"$ref": "#/definitions/stageStatus"
|
|
85
|
-
},
|
|
86
|
-
"research": {
|
|
87
|
-
"$ref": "#/definitions/stageStatus"
|
|
88
|
-
},
|
|
89
|
-
"consensus": {
|
|
90
|
-
"$ref": "#/definitions/stageStatus"
|
|
91
|
-
},
|
|
92
|
-
"spec": {
|
|
93
|
-
"$ref": "#/definitions/stageStatus"
|
|
94
|
-
},
|
|
95
|
-
"decompose": {
|
|
96
|
-
"$ref": "#/definitions/stageStatus"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"config": {
|
|
101
|
-
"type": "object",
|
|
102
|
-
"description": "Pipeline configuration for this task",
|
|
103
|
-
"additionalProperties": false,
|
|
104
|
-
"properties": {
|
|
105
|
-
"researchDepth": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"enum": ["shallow", "standard", "deep"],
|
|
108
|
-
"default": "standard",
|
|
109
|
-
"description": "Depth of research to perform"
|
|
110
|
-
},
|
|
111
|
-
"consensusThreshold": {
|
|
112
|
-
"type": "number",
|
|
113
|
-
"minimum": 0.5,
|
|
114
|
-
"maximum": 1.0,
|
|
115
|
-
"default": 0.7,
|
|
116
|
-
"description": "Minimum consensus level required (0.5-1.0)"
|
|
117
|
-
},
|
|
118
|
-
"autoDecompose": {
|
|
119
|
-
"type": "boolean",
|
|
120
|
-
"default": true,
|
|
121
|
-
"description": "Automatically create subtasks from spec"
|
|
122
|
-
},
|
|
123
|
-
"requireApproval": {
|
|
124
|
-
"type": "boolean",
|
|
125
|
-
"default": false,
|
|
126
|
-
"description": "Require user approval before spec generation"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"domain": {
|
|
131
|
-
"type": "string",
|
|
132
|
-
"pattern": "^[a-z][a-z0-9-]*$",
|
|
133
|
-
"description": "Primary domain for this specification"
|
|
134
|
-
},
|
|
135
|
-
"category": {
|
|
136
|
-
"type": "string",
|
|
137
|
-
"enum": ["core-system", "feature", "integration", "process", "enhancement"],
|
|
138
|
-
"description": "Organizational category for the generated spec"
|
|
139
|
-
},
|
|
140
|
-
"tags": {
|
|
141
|
-
"type": "array",
|
|
142
|
-
"items": {
|
|
143
|
-
"type": "string",
|
|
144
|
-
"pattern": "^[a-z][a-z0-9-]*$"
|
|
145
|
-
},
|
|
146
|
-
"uniqueItems": true,
|
|
147
|
-
"description": "Additional tags for categorization and search"
|
|
148
|
-
},
|
|
149
|
-
"createdAt": {
|
|
150
|
-
"type": "string",
|
|
151
|
-
"format": "date-time",
|
|
152
|
-
"description": "When this RCSD directory was initialized"
|
|
153
|
-
},
|
|
154
|
-
"updatedAt": {
|
|
155
|
-
"type": "string",
|
|
156
|
-
"format": "date-time",
|
|
157
|
-
"description": "Last modification timestamp"
|
|
158
|
-
},
|
|
159
|
-
"completedAt": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"format": "date-time",
|
|
162
|
-
"description": "When pipeline reached complete stage (if applicable)"
|
|
163
|
-
},
|
|
164
|
-
"notes": {
|
|
165
|
-
"type": "array",
|
|
166
|
-
"items": {
|
|
167
|
-
"type": "object",
|
|
168
|
-
"required": ["timestamp", "message"],
|
|
169
|
-
"additionalProperties": false,
|
|
170
|
-
"properties": {
|
|
171
|
-
"timestamp": {
|
|
172
|
-
"type": "string",
|
|
173
|
-
"format": "date-time"
|
|
174
|
-
},
|
|
175
|
-
"stage": {
|
|
176
|
-
"$ref": "#/definitions/pipelineStage"
|
|
177
|
-
},
|
|
178
|
-
"message": {
|
|
179
|
-
"type": "string",
|
|
180
|
-
"maxLength": 500
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"description": "Append-only log of pipeline notes and decisions"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
|
|
188
|
-
"definitions": {
|
|
189
|
-
"pipelineStage": {
|
|
190
|
-
"type": "string",
|
|
191
|
-
"enum": ["initialized", "research", "consensus", "spec", "decompose", "complete"],
|
|
192
|
-
"description": "RCSD pipeline stages"
|
|
193
|
-
},
|
|
194
|
-
"fileReference": {
|
|
195
|
-
"type": "object",
|
|
196
|
-
"required": ["filename", "createdAt"],
|
|
197
|
-
"additionalProperties": false,
|
|
198
|
-
"properties": {
|
|
199
|
-
"filename": {
|
|
200
|
-
"type": "string",
|
|
201
|
-
"description": "File name within this directory"
|
|
202
|
-
},
|
|
203
|
-
"createdAt": {
|
|
204
|
-
"type": "string",
|
|
205
|
-
"format": "date-time",
|
|
206
|
-
"description": "When file was created"
|
|
207
|
-
},
|
|
208
|
-
"updatedAt": {
|
|
209
|
-
"type": "string",
|
|
210
|
-
"format": "date-time",
|
|
211
|
-
"description": "Last modification timestamp"
|
|
212
|
-
},
|
|
213
|
-
"version": {
|
|
214
|
-
"type": "string",
|
|
215
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
216
|
-
"description": "File version (if applicable)"
|
|
217
|
-
},
|
|
218
|
-
"checksum": {
|
|
219
|
-
"type": "string",
|
|
220
|
-
"pattern": "^[a-f0-9]{16,64}$",
|
|
221
|
-
"description": "SHA-256 (truncated or full) for integrity"
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"stageStatus": {
|
|
226
|
-
"type": "object",
|
|
227
|
-
"required": ["state"],
|
|
228
|
-
"additionalProperties": false,
|
|
229
|
-
"properties": {
|
|
230
|
-
"state": {
|
|
231
|
-
"type": "string",
|
|
232
|
-
"enum": ["pending", "in_progress", "completed", "skipped", "failed"],
|
|
233
|
-
"description": "Current state of this pipeline stage"
|
|
234
|
-
},
|
|
235
|
-
"startedAt": {
|
|
236
|
-
"type": "string",
|
|
237
|
-
"format": "date-time",
|
|
238
|
-
"description": "When stage began"
|
|
239
|
-
},
|
|
240
|
-
"completedAt": {
|
|
241
|
-
"type": "string",
|
|
242
|
-
"format": "date-time",
|
|
243
|
-
"description": "When stage finished"
|
|
244
|
-
},
|
|
245
|
-
"duration": {
|
|
246
|
-
"type": "integer",
|
|
247
|
-
"minimum": 0,
|
|
248
|
-
"description": "Duration in seconds (computed)"
|
|
249
|
-
},
|
|
250
|
-
"error": {
|
|
251
|
-
"type": "string",
|
|
252
|
-
"maxLength": 500,
|
|
253
|
-
"description": "Error message if state is failed"
|
|
254
|
-
},
|
|
255
|
-
"retryCount": {
|
|
256
|
-
"type": "integer",
|
|
257
|
-
"minimum": 0,
|
|
258
|
-
"default": 0,
|
|
259
|
-
"description": "Number of retry attempts"
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|