@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,208 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://cleo-dev.com/schemas/v1/skillsmp.schema.json",
4
- "schemaVersion": "1.0.0",
5
- "title": "SkillsMP Configuration Schema",
6
- "description": "Configuration for SkillsMP API integration with CLEO skill loading system.",
7
- "type": "object",
8
- "required": ["_meta"],
9
- "additionalProperties": false,
10
-
11
- "properties": {
12
- "$schema": {
13
- "type": "string",
14
- "description": "JSON Schema reference for validation."
15
- },
16
- "_meta": {
17
- "type": "object",
18
- "description": "Configuration file metadata.",
19
- "required": ["schemaVersion"],
20
- "additionalProperties": false,
21
- "properties": {
22
- "schemaVersion": {
23
- "type": "string",
24
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
25
- "description": "Schema version (semver)."
26
- }
27
- }
28
- },
29
-
30
- "api": {
31
- "type": "object",
32
- "description": "SkillsMP API connection settings.",
33
- "required": ["endpoint"],
34
- "additionalProperties": false,
35
- "properties": {
36
- "endpoint": {
37
- "type": "string",
38
- "format": "uri",
39
- "default": "https://api.skillsmp.com",
40
- "description": "SkillsMP API base URL. Override via SKILLSMP_ENDPOINT env var."
41
- },
42
- "version": {
43
- "type": "string",
44
- "enum": ["v1", "v2"],
45
- "default": "v1",
46
- "description": "API version to use."
47
- },
48
- "timeout": {
49
- "type": "integer",
50
- "minimum": 1,
51
- "maximum": 300,
52
- "default": 30,
53
- "description": "Request timeout in seconds."
54
- },
55
- "retries": {
56
- "type": "integer",
57
- "minimum": 0,
58
- "maximum": 5,
59
- "default": 3,
60
- "description": "Number of retry attempts on failure."
61
- },
62
- "retryDelay": {
63
- "type": "integer",
64
- "minimum": 100,
65
- "maximum": 10000,
66
- "default": 1000,
67
- "description": "Initial retry delay in milliseconds (exponential backoff)."
68
- }
69
- }
70
- },
71
-
72
- "auth": {
73
- "type": "object",
74
- "description": "Authentication configuration. MUST NOT contain API key directly.",
75
- "additionalProperties": false,
76
- "properties": {
77
- "envVar": {
78
- "type": "string",
79
- "default": "SKILLSMP_API_KEY",
80
- "description": "Environment variable name for API key. NEVER hardcode key in config."
81
- },
82
- "keyFile": {
83
- "type": "string",
84
- "description": "Path to file containing API key (relative to project root or absolute). File should contain ONLY the key with no whitespace."
85
- }
86
- }
87
- },
88
-
89
- "install": {
90
- "type": "object",
91
- "description": "Skill installation preferences.",
92
- "additionalProperties": false,
93
- "properties": {
94
- "defaultLocation": {
95
- "type": "string",
96
- "enum": ["project", "global"],
97
- "default": "project",
98
- "description": "Default installation target: project=./skills/, global=~/.cleo/skills/"
99
- },
100
- "projectDir": {
101
- "type": "string",
102
- "default": "./skills",
103
- "description": "Project-local skills directory (relative to project root)."
104
- },
105
- "globalDir": {
106
- "type": "string",
107
- "default": "~/.cleo/skills",
108
- "description": "Global skills directory (expands ~ to home)."
109
- },
110
- "updateManifest": {
111
- "type": "boolean",
112
- "default": true,
113
- "description": "Automatically update skills/manifest.json after install/update."
114
- },
115
- "verifyChecksum": {
116
- "type": "boolean",
117
- "default": true,
118
- "description": "Verify skill package checksums before installation."
119
- }
120
- }
121
- },
122
-
123
- "cache": {
124
- "type": "object",
125
- "description": "Cache settings for API responses.",
126
- "additionalProperties": false,
127
- "properties": {
128
- "enabled": {
129
- "type": "boolean",
130
- "default": true,
131
- "description": "Enable caching of API responses."
132
- },
133
- "directory": {
134
- "type": "string",
135
- "default": ".cleo/.cache/skillsmp",
136
- "description": "Cache directory (relative to project root)."
137
- },
138
- "ttl": {
139
- "type": "integer",
140
- "minimum": 60,
141
- "maximum": 86400,
142
- "default": 3600,
143
- "description": "Cache TTL in seconds (default: 1 hour)."
144
- },
145
- "maxSize": {
146
- "type": "integer",
147
- "minimum": 1,
148
- "maximum": 1000,
149
- "default": 100,
150
- "description": "Maximum cached entries before eviction."
151
- }
152
- }
153
- },
154
-
155
- "validation": {
156
- "type": "object",
157
- "description": "Skill validation settings.",
158
- "additionalProperties": false,
159
- "properties": {
160
- "strictMode": {
161
- "type": "boolean",
162
- "default": false,
163
- "description": "Treat validation warnings as errors."
164
- },
165
- "checkDependencies": {
166
- "type": "boolean",
167
- "default": true,
168
- "description": "Validate skill dependencies exist before install."
169
- },
170
- "checkVersion": {
171
- "type": "boolean",
172
- "default": true,
173
- "description": "Validate skill version compatibility with CLEO."
174
- },
175
- "minVersion": {
176
- "type": "string",
177
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
178
- "default": "1.0.0",
179
- "description": "Minimum required SkillsMP API version."
180
- }
181
- }
182
- },
183
-
184
- "logging": {
185
- "type": "object",
186
- "description": "Logging configuration for SkillsMP operations.",
187
- "additionalProperties": false,
188
- "properties": {
189
- "enabled": {
190
- "type": "boolean",
191
- "default": true,
192
- "description": "Enable logging of install/update operations."
193
- },
194
- "level": {
195
- "type": "string",
196
- "enum": ["error", "warn", "info", "debug"],
197
- "default": "info",
198
- "description": "Logging verbosity level."
199
- },
200
- "file": {
201
- "type": "string",
202
- "default": ".cleo/skillsmp.log",
203
- "description": "Log file path (relative to project root)."
204
- }
205
- }
206
- }
207
- }
208
- }
@@ -1,196 +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/spec-index.schema.json",
5
- "title": "Claude-TODO Specification Index",
6
- "description": "Schema for the authoritative specification index. LLM-agent-first design: structured, queryable, schema-validated.",
7
- "type": "object",
8
- "required": ["$schema", "_meta", "authorities", "specs"],
9
- "properties": {
10
- "$schema": {
11
- "type": "string",
12
- "const": "https://cleo-dev.com/schemas/v1/spec-index.schema.json"
13
- },
14
- "_meta": {
15
- "type": "object",
16
- "description": "Index metadata for version tracking and integrity",
17
- "required": ["version", "lastUpdated", "totalSpecs", "totalReports"],
18
- "properties": {
19
- "version": {
20
- "type": "string",
21
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
22
- "description": "Semantic version of the index format"
23
- },
24
- "lastUpdated": {
25
- "type": "string",
26
- "format": "date",
27
- "description": "ISO date of last index update"
28
- },
29
- "totalSpecs": {
30
- "type": "integer",
31
- "minimum": 0,
32
- "description": "Count of specification documents"
33
- },
34
- "totalReports": {
35
- "type": "integer",
36
- "minimum": 0,
37
- "description": "Count of implementation reports"
38
- },
39
- "checksum": {
40
- "type": "string",
41
- "description": "Optional SHA256 for integrity verification"
42
- }
43
- }
44
- },
45
- "authorities": {
46
- "type": "object",
47
- "description": "Domain to authoritative specification mapping. Query: 'What is the authoritative source for X?'",
48
- "additionalProperties": {
49
- "type": "string",
50
- "description": "Filename of authoritative spec for this domain"
51
- }
52
- },
53
- "specs": {
54
- "type": "array",
55
- "description": "All specification documents with metadata",
56
- "items": {
57
- "$ref": "#/definitions/specEntry"
58
- }
59
- },
60
- "reports": {
61
- "type": "array",
62
- "description": "All implementation reports with progress tracking",
63
- "items": {
64
- "$ref": "#/definitions/reportEntry"
65
- }
66
- },
67
- "recentChanges": {
68
- "type": "array",
69
- "description": "Last 20 changes for change tracking",
70
- "maxItems": 20,
71
- "items": {
72
- "$ref": "#/definitions/changeEntry"
73
- }
74
- }
75
- },
76
- "definitions": {
77
- "specEntry": {
78
- "type": "object",
79
- "required": ["file", "version", "status", "type", "domain", "synopsis", "lastUpdated"],
80
- "properties": {
81
- "file": {
82
- "type": "string",
83
- "pattern": "^[A-Z0-9-]+\\.(md|json)$",
84
- "description": "Filename (not path)"
85
- },
86
- "version": {
87
- "type": "string",
88
- "description": "Semantic version or version string"
89
- },
90
- "status": {
91
- "type": "string",
92
- "enum": ["DRAFT", "APPROVED", "ACTIVE", "IMMUTABLE", "DEPRECATED", "PLANNING", "IMPLEMENTED"],
93
- "description": "Document lifecycle status"
94
- },
95
- "type": {
96
- "type": "string",
97
- "enum": ["SPEC", "GUIDELINES", "PLAN"],
98
- "description": "Document type classification"
99
- },
100
- "domain": {
101
- "type": "string",
102
- "description": "Primary domain this spec covers"
103
- },
104
- "category": {
105
- "type": "string",
106
- "enum": ["core-system", "feature", "design-philosophy", "integration", "process"],
107
- "description": "Organizational category"
108
- },
109
- "synopsis": {
110
- "type": "string",
111
- "maxLength": 200,
112
- "description": "1-2 sentence purpose summary"
113
- },
114
- "lastUpdated": {
115
- "type": "string",
116
- "format": "date",
117
- "description": "ISO date of last document update"
118
- },
119
- "dependsOn": {
120
- "type": "array",
121
- "items": {"type": "string"},
122
- "description": "Specs this document depends on (filenames)"
123
- },
124
- "dependedOnBy": {
125
- "type": "array",
126
- "items": {"type": "string"},
127
- "description": "Specs that depend on this document (filenames)"
128
- },
129
- "implementationReport": {
130
- "type": "string",
131
- "description": "Filename of associated implementation report"
132
- },
133
- "isAuthoritativeFor": {
134
- "type": "array",
135
- "items": {"type": "string"},
136
- "description": "Domains this spec is authoritative for"
137
- }
138
- }
139
- },
140
- "reportEntry": {
141
- "type": "object",
142
- "required": ["file", "relatedSpec", "progress", "lastUpdated"],
143
- "properties": {
144
- "file": {
145
- "type": "string",
146
- "pattern": "^[A-Z0-9-]+-IMPLEMENTATION-REPORT\\.md$"
147
- },
148
- "relatedSpec": {
149
- "type": "string",
150
- "description": "Filename of the spec this tracks"
151
- },
152
- "progress": {
153
- "type": "string",
154
- "description": "Progress indicator (e.g., '85%', '16/18', 'Varies')"
155
- },
156
- "phase": {
157
- "type": "string",
158
- "description": "Current implementation phase"
159
- },
160
- "lastUpdated": {
161
- "type": "string",
162
- "format": "date"
163
- },
164
- "notes": {
165
- "type": "string",
166
- "maxLength": 100,
167
- "description": "Brief status note"
168
- }
169
- }
170
- },
171
- "changeEntry": {
172
- "type": "object",
173
- "required": ["date", "file", "changeType", "description"],
174
- "properties": {
175
- "date": {
176
- "type": "string",
177
- "format": "date"
178
- },
179
- "file": {
180
- "type": "string"
181
- },
182
- "changeType": {
183
- "type": "string",
184
- "enum": ["Created", "Updated", "StatusChange", "Deprecated"]
185
- },
186
- "version": {
187
- "type": "string"
188
- },
189
- "description": {
190
- "type": "string",
191
- "maxLength": 100
192
- }
193
- }
194
- }
195
- }
196
- }