@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,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
|
-
}
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo-dev.com/schemas/v1/releases.schema.json",
|
|
4
|
-
"title": "CLEO Releases Schema",
|
|
5
|
-
"description": "Release provenance tracking with SLSA attestation metadata. Tracks full provenance chain: Task → Commit → PR → Changelog → Release → Artifact.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["_meta", "releases"],
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"properties": {
|
|
10
|
-
"_meta": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"required": ["schemaVersion", "createdAt", "updatedAt"],
|
|
13
|
-
"properties": {
|
|
14
|
-
"schemaVersion": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
17
|
-
"description": "Schema version for releases.json"
|
|
18
|
-
},
|
|
19
|
-
"createdAt": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"format": "date-time",
|
|
22
|
-
"description": "ISO 8601 timestamp of file creation"
|
|
23
|
-
},
|
|
24
|
-
"updatedAt": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"format": "date-time",
|
|
27
|
-
"description": "ISO 8601 timestamp of last update"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"releases": {
|
|
32
|
-
"type": "array",
|
|
33
|
-
"description": "Array of release records with provenance metadata",
|
|
34
|
-
"items": {
|
|
35
|
-
"$ref": "#/definitions/release"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"definitions": {
|
|
40
|
-
"release": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"required": ["version", "date", "tasks", "commits", "artifacts", "provenance", "signing"],
|
|
43
|
-
"additionalProperties": false,
|
|
44
|
-
"properties": {
|
|
45
|
-
"version": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+(-[a-zA-Z0-9.]+)?(\\+[a-zA-Z0-9.]+)?$",
|
|
48
|
-
"description": "SemVer or CalVer version string (e.g., 1.0.0, 26.1.0)"
|
|
49
|
-
},
|
|
50
|
-
"date": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"format": "date-time",
|
|
53
|
-
"description": "ISO 8601 timestamp of release"
|
|
54
|
-
},
|
|
55
|
-
"tasks": {
|
|
56
|
-
"type": "array",
|
|
57
|
-
"description": "Task IDs included in this release",
|
|
58
|
-
"items": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"pattern": "^T[0-9]+$"
|
|
61
|
-
},
|
|
62
|
-
"uniqueItems": true
|
|
63
|
-
},
|
|
64
|
-
"commits": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"description": "Git commit SHAs included in this release",
|
|
67
|
-
"items": {
|
|
68
|
-
"type": "string",
|
|
69
|
-
"pattern": "^[a-f0-9]{7,40}$"
|
|
70
|
-
},
|
|
71
|
-
"uniqueItems": true
|
|
72
|
-
},
|
|
73
|
-
"artifacts": {
|
|
74
|
-
"type": "array",
|
|
75
|
-
"description": "Build artifacts with checksums",
|
|
76
|
-
"items": {
|
|
77
|
-
"$ref": "#/definitions/artifact"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"provenance": {
|
|
81
|
-
"$ref": "#/definitions/slsaProvenance"
|
|
82
|
-
},
|
|
83
|
-
"signing": {
|
|
84
|
-
"$ref": "#/definitions/signing"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"artifact": {
|
|
89
|
-
"type": "object",
|
|
90
|
-
"required": ["type"],
|
|
91
|
-
"additionalProperties": true,
|
|
92
|
-
"properties": {
|
|
93
|
-
"type": {
|
|
94
|
-
"type": "string",
|
|
95
|
-
"enum": [
|
|
96
|
-
"npm-package",
|
|
97
|
-
"python-wheel",
|
|
98
|
-
"python-sdist",
|
|
99
|
-
"cargo-crate",
|
|
100
|
-
"go-module",
|
|
101
|
-
"ruby-gem",
|
|
102
|
-
"github-release",
|
|
103
|
-
"docker-image",
|
|
104
|
-
"generic-tarball"
|
|
105
|
-
],
|
|
106
|
-
"description": "Artifact type/ecosystem"
|
|
107
|
-
},
|
|
108
|
-
"name": {
|
|
109
|
-
"type": "string",
|
|
110
|
-
"description": "Artifact name (e.g., package name, image tag)"
|
|
111
|
-
},
|
|
112
|
-
"path": {
|
|
113
|
-
"type": "string",
|
|
114
|
-
"description": "Relative path to artifact file"
|
|
115
|
-
},
|
|
116
|
-
"sha256": {
|
|
117
|
-
"type": "string",
|
|
118
|
-
"pattern": "^[a-f0-9]{64}$",
|
|
119
|
-
"description": "SHA-256 checksum of artifact"
|
|
120
|
-
},
|
|
121
|
-
"sha512": {
|
|
122
|
-
"type": "string",
|
|
123
|
-
"pattern": "^[a-f0-9]{128}$",
|
|
124
|
-
"description": "SHA-512 checksum of artifact (optional)"
|
|
125
|
-
},
|
|
126
|
-
"size": {
|
|
127
|
-
"type": "integer",
|
|
128
|
-
"minimum": 0,
|
|
129
|
-
"description": "Artifact size in bytes"
|
|
130
|
-
},
|
|
131
|
-
"registry": {
|
|
132
|
-
"type": "string",
|
|
133
|
-
"description": "Registry URL (e.g., https://registry.npmjs.org)"
|
|
134
|
-
},
|
|
135
|
-
"published": {
|
|
136
|
-
"type": "boolean",
|
|
137
|
-
"description": "Whether artifact was successfully published"
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"slsaProvenance": {
|
|
142
|
-
"type": "object",
|
|
143
|
-
"required": ["slsaVersion", "slsaLevel", "enabled"],
|
|
144
|
-
"additionalProperties": true,
|
|
145
|
-
"properties": {
|
|
146
|
-
"slsaVersion": {
|
|
147
|
-
"type": "string",
|
|
148
|
-
"pattern": "^\\d+\\.\\d+$",
|
|
149
|
-
"description": "SLSA framework version (e.g., 1.0)"
|
|
150
|
-
},
|
|
151
|
-
"slsaLevel": {
|
|
152
|
-
"type": "string",
|
|
153
|
-
"enum": [
|
|
154
|
-
"SLSA_BUILD_LEVEL_1",
|
|
155
|
-
"SLSA_BUILD_LEVEL_2",
|
|
156
|
-
"SLSA_BUILD_LEVEL_3",
|
|
157
|
-
"SLSA_BUILD_LEVEL_4"
|
|
158
|
-
],
|
|
159
|
-
"description": "SLSA Build Level (1-4)"
|
|
160
|
-
},
|
|
161
|
-
"enabled": {
|
|
162
|
-
"type": "boolean",
|
|
163
|
-
"description": "Whether provenance tracking is enabled"
|
|
164
|
-
},
|
|
165
|
-
"buildType": {
|
|
166
|
-
"type": "string",
|
|
167
|
-
"description": "Build system identifier URI"
|
|
168
|
-
},
|
|
169
|
-
"builder": {
|
|
170
|
-
"type": "object",
|
|
171
|
-
"properties": {
|
|
172
|
-
"id": {
|
|
173
|
-
"type": "string",
|
|
174
|
-
"description": "Builder identifier URI"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"invocation": {
|
|
179
|
-
"type": "object",
|
|
180
|
-
"properties": {
|
|
181
|
-
"configSource": {
|
|
182
|
-
"type": "object",
|
|
183
|
-
"properties": {
|
|
184
|
-
"uri": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"description": "Source repository URI"
|
|
187
|
-
},
|
|
188
|
-
"digest": {
|
|
189
|
-
"type": "object",
|
|
190
|
-
"description": "Source commit digest"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"metadata": {
|
|
197
|
-
"type": "object",
|
|
198
|
-
"properties": {
|
|
199
|
-
"buildInvocationId": {
|
|
200
|
-
"type": "string",
|
|
201
|
-
"description": "Unique build invocation ID"
|
|
202
|
-
},
|
|
203
|
-
"buildStartedOn": {
|
|
204
|
-
"type": "string",
|
|
205
|
-
"format": "date-time",
|
|
206
|
-
"description": "Build start timestamp"
|
|
207
|
-
},
|
|
208
|
-
"buildFinishedOn": {
|
|
209
|
-
"type": "string",
|
|
210
|
-
"format": "date-time",
|
|
211
|
-
"description": "Build completion timestamp"
|
|
212
|
-
},
|
|
213
|
-
"completeness": {
|
|
214
|
-
"type": "object",
|
|
215
|
-
"properties": {
|
|
216
|
-
"parameters": {
|
|
217
|
-
"type": "boolean",
|
|
218
|
-
"description": "All build parameters captured"
|
|
219
|
-
},
|
|
220
|
-
"environment": {
|
|
221
|
-
"type": "boolean",
|
|
222
|
-
"description": "Build environment fully captured"
|
|
223
|
-
},
|
|
224
|
-
"materials": {
|
|
225
|
-
"type": "boolean",
|
|
226
|
-
"description": "All build materials captured"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
"reproducible": {
|
|
231
|
-
"type": "boolean",
|
|
232
|
-
"description": "Whether build is reproducible"
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
"signing": {
|
|
239
|
-
"type": "object",
|
|
240
|
-
"required": ["method", "signed"],
|
|
241
|
-
"additionalProperties": true,
|
|
242
|
-
"properties": {
|
|
243
|
-
"method": {
|
|
244
|
-
"type": "string",
|
|
245
|
-
"enum": ["sigstore", "gpg", "none"],
|
|
246
|
-
"description": "Signing method used"
|
|
247
|
-
},
|
|
248
|
-
"keyless": {
|
|
249
|
-
"type": "boolean",
|
|
250
|
-
"description": "Whether keyless signing was used (Sigstore)"
|
|
251
|
-
},
|
|
252
|
-
"signed": {
|
|
253
|
-
"type": "boolean",
|
|
254
|
-
"description": "Whether artifacts are signed"
|
|
255
|
-
},
|
|
256
|
-
"signature": {
|
|
257
|
-
"type": "string",
|
|
258
|
-
"description": "Signature data or reference"
|
|
259
|
-
},
|
|
260
|
-
"certificate": {
|
|
261
|
-
"type": "string",
|
|
262
|
-
"description": "Signing certificate (if applicable)"
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
@@ -1,91 +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/skills-manifest.schema.json",
|
|
5
|
-
"title": "CLEO Skills Manifest",
|
|
6
|
-
"description": "Schema for the skills manifest tracking all CLEO skills. LLM-agent-first design with ct-* naming enforcement.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["$schema", "_meta", "skills"],
|
|
9
|
-
"properties": {
|
|
10
|
-
"$schema": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"const": "https://cleo-dev.com/schemas/v1/skills-manifest.schema.json"
|
|
13
|
-
},
|
|
14
|
-
"_meta": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"description": "Manifest metadata",
|
|
17
|
-
"required": ["schemaVersion", "lastUpdated", "totalSkills"],
|
|
18
|
-
"properties": {
|
|
19
|
-
"schemaVersion": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
22
|
-
"description": "Schema version (semver)"
|
|
23
|
-
},
|
|
24
|
-
"lastUpdated": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"format": "date",
|
|
27
|
-
"description": "Last modification date (ISO 8601)"
|
|
28
|
-
},
|
|
29
|
-
"totalSkills": {
|
|
30
|
-
"type": "integer",
|
|
31
|
-
"minimum": 0,
|
|
32
|
-
"description": "Count of skills in manifest"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"skills": {
|
|
37
|
-
"type": "array",
|
|
38
|
-
"description": "All registered CLEO skills",
|
|
39
|
-
"items": {
|
|
40
|
-
"$ref": "#/definitions/skillEntry"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"definitions": {
|
|
45
|
-
"skillEntry": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"required": ["name", "version", "path"],
|
|
48
|
-
"properties": {
|
|
49
|
-
"name": {
|
|
50
|
-
"type": "string",
|
|
51
|
-
"pattern": "^ct-[a-z][a-z0-9-]*$",
|
|
52
|
-
"description": "Skill name (must start with ct- prefix, lowercase with hyphens)"
|
|
53
|
-
},
|
|
54
|
-
"version": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
57
|
-
"description": "Skill version (semver)"
|
|
58
|
-
},
|
|
59
|
-
"description": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"maxLength": 500,
|
|
62
|
-
"description": "Brief description of skill purpose and trigger phrases"
|
|
63
|
-
},
|
|
64
|
-
"path": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"pattern": "^skills/[a-z][a-z0-9-]*$",
|
|
67
|
-
"description": "Relative path to skill directory from repo root"
|
|
68
|
-
},
|
|
69
|
-
"model": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"enum": ["sonnet", "opus", "haiku"],
|
|
72
|
-
"description": "Recommended model for this skill (optional)"
|
|
73
|
-
},
|
|
74
|
-
"tags": {
|
|
75
|
-
"type": "array",
|
|
76
|
-
"items": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"pattern": "^[a-z][a-z0-9-]*$"
|
|
79
|
-
},
|
|
80
|
-
"description": "Categorization tags for skill discovery"
|
|
81
|
-
},
|
|
82
|
-
"status": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"enum": ["active", "deprecated", "experimental"],
|
|
85
|
-
"default": "active",
|
|
86
|
-
"description": "Skill lifecycle status"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|