@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,225 +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-spec-frontmatter.schema.json",
5
- "title": "RCSD Specification Frontmatter",
6
- "description": "YAML frontmatter schema for generated specifications in the RCSD pipeline. Provides structured metadata for spec documents including versioning, status tracking, and pipeline provenance.",
7
- "type": "object",
8
- "required": ["version", "status", "taskId", "shortName", "domain", "synopsis", "created", "pipelineStage"],
9
- "additionalProperties": false,
10
-
11
- "properties": {
12
- "version": {
13
- "type": "string",
14
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
15
- "description": "Semantic version of this specification (X.Y.Z format)"
16
- },
17
- "status": {
18
- "type": "string",
19
- "enum": ["DRAFT", "APPROVED", "ACTIVE", "IMMUTABLE", "DEPRECATED"],
20
- "description": "Document lifecycle status: DRAFT (initial), APPROVED (reviewed), ACTIVE (in use), IMMUTABLE (frozen), DEPRECATED (superseded)"
21
- },
22
- "taskId": {
23
- "type": "string",
24
- "pattern": "^T\\d{3,}$",
25
- "description": "Anchoring task ID that initiated this specification"
26
- },
27
- "shortName": {
28
- "type": "string",
29
- "pattern": "^[a-z0-9-]{3,25}$",
30
- "description": "Kebab-case short identifier for file naming and references"
31
- },
32
- "title": {
33
- "type": "string",
34
- "minLength": 10,
35
- "maxLength": 100,
36
- "description": "Human-readable specification title"
37
- },
38
- "domain": {
39
- "type": "string",
40
- "pattern": "^[a-z][a-z0-9-]*$",
41
- "description": "Primary domain this specification covers (for authority mapping)"
42
- },
43
- "category": {
44
- "type": "string",
45
- "enum": ["core-system", "feature", "integration", "process", "enhancement"],
46
- "description": "Organizational category for spec classification"
47
- },
48
- "synopsis": {
49
- "type": "string",
50
- "minLength": 20,
51
- "maxLength": 200,
52
- "description": "One to two sentence purpose summary for quick reference"
53
- },
54
- "created": {
55
- "type": "string",
56
- "format": "date",
57
- "description": "ISO date when specification was first created"
58
- },
59
- "updated": {
60
- "type": "string",
61
- "format": "date",
62
- "description": "ISO date of last specification update"
63
- },
64
- "author": {
65
- "type": "string",
66
- "maxLength": 100,
67
- "description": "Author or generating agent identifier"
68
- },
69
- "reviewers": {
70
- "type": "array",
71
- "items": {
72
- "type": "string",
73
- "maxLength": 100
74
- },
75
- "description": "List of reviewers who approved the spec"
76
- },
77
- "relatedFiles": {
78
- "type": "array",
79
- "items": {
80
- "$ref": "#/definitions/relatedFile"
81
- },
82
- "description": "Related documents and artifacts"
83
- },
84
- "pipelineStage": {
85
- "type": "string",
86
- "enum": ["initialized", "research", "consensus", "spec", "decompose", "complete"],
87
- "description": "Current RCSD pipeline stage when spec was generated"
88
- },
89
- "consensusVerdict": {
90
- "type": "string",
91
- "enum": ["HIGH_CONFIDENCE", "MEDIUM_CONFIDENCE", "LOW_CONFIDENCE", "CONTESTED", "INSUFFICIENT"],
92
- "description": "Consensus validation outcome that generated this spec"
93
- },
94
- "consensusReportId": {
95
- "type": "string",
96
- "pattern": "^cons_[a-f0-9]{8}$",
97
- "description": "Reference to consensus report that produced this spec"
98
- },
99
- "researchId": {
100
- "type": "string",
101
- "pattern": "^res_[a-f0-9]{8}$",
102
- "description": "Reference to research output used for this spec"
103
- },
104
- "dependsOn": {
105
- "type": "array",
106
- "items": {
107
- "type": "string",
108
- "pattern": "^[A-Z0-9-]+-SPEC\\.md$"
109
- },
110
- "description": "Specification files this spec depends on"
111
- },
112
- "supersedes": {
113
- "type": "string",
114
- "pattern": "^[A-Z0-9-]+-SPEC\\.md$",
115
- "description": "Previous specification this supersedes (if any)"
116
- },
117
- "supersededBy": {
118
- "type": "string",
119
- "pattern": "^[A-Z0-9-]+-SPEC\\.md$",
120
- "description": "Newer specification that supersedes this (if deprecated)"
121
- },
122
- "tags": {
123
- "type": "array",
124
- "items": {
125
- "type": "string",
126
- "pattern": "^[a-z][a-z0-9-]*$"
127
- },
128
- "uniqueItems": true,
129
- "description": "Tags for categorization and search"
130
- },
131
- "implementation": {
132
- "type": "object",
133
- "description": "Implementation tracking metadata",
134
- "additionalProperties": false,
135
- "properties": {
136
- "status": {
137
- "type": "string",
138
- "enum": ["not_started", "in_progress", "completed", "blocked"],
139
- "description": "Current implementation status"
140
- },
141
- "progress": {
142
- "type": "string",
143
- "pattern": "^(\\d{1,3}%|\\d+/\\d+|N/A)$",
144
- "description": "Progress indicator (percentage or fraction)"
145
- },
146
- "reportFile": {
147
- "type": "string",
148
- "pattern": "^[A-Z0-9-]+-IMPLEMENTATION-REPORT\\.md$",
149
- "description": "Associated implementation report filename"
150
- },
151
- "decomposedTasks": {
152
- "type": "array",
153
- "items": {
154
- "type": "string",
155
- "pattern": "^T\\d{3,}$"
156
- },
157
- "description": "Task IDs created from spec decomposition"
158
- }
159
- }
160
- },
161
- "validation": {
162
- "type": "object",
163
- "description": "Specification validation metadata",
164
- "additionalProperties": false,
165
- "properties": {
166
- "schemaVersion": {
167
- "type": "string",
168
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
169
- "description": "Schema version used for validation"
170
- },
171
- "validatedAt": {
172
- "type": "string",
173
- "format": "date-time",
174
- "description": "Last validation timestamp"
175
- },
176
- "checksum": {
177
- "type": "string",
178
- "pattern": "^[a-f0-9]{16,64}$",
179
- "description": "Content checksum for integrity verification"
180
- }
181
- }
182
- },
183
- "rfc2119": {
184
- "type": "boolean",
185
- "default": true,
186
- "description": "Whether spec uses RFC 2119 keywords (MUST, SHOULD, MAY, etc.)"
187
- },
188
- "confidenceScore": {
189
- "type": "number",
190
- "minimum": 0.0,
191
- "maximum": 1.0,
192
- "description": "Overall confidence score from consensus validation"
193
- }
194
- },
195
-
196
- "definitions": {
197
- "relatedFile": {
198
- "type": "object",
199
- "description": "Reference to related document",
200
- "required": ["type", "file"],
201
- "additionalProperties": false,
202
- "properties": {
203
- "type": {
204
- "type": "string",
205
- "enum": ["research", "consensus", "implementation-report", "parent-spec", "child-spec", "related-spec", "schema", "test", "example"],
206
- "description": "Type of related document"
207
- },
208
- "file": {
209
- "type": "string",
210
- "description": "Filename or relative path"
211
- },
212
- "description": {
213
- "type": "string",
214
- "maxLength": 100,
215
- "description": "Brief description of relationship"
216
- },
217
- "required": {
218
- "type": "boolean",
219
- "default": false,
220
- "description": "Whether this related file is required for spec understanding"
221
- }
222
- }
223
- }
224
- }
225
- }