@cleocode/core 2026.4.4 → 2026.4.6
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/dist/discovery.d.ts +69 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1643 -2349
- package/dist/index.js.map +4 -4
- package/dist/init.d.ts +51 -0
- package/dist/init.d.ts.map +1 -1
- package/dist/internal.d.ts +9 -1
- package/dist/internal.d.ts.map +1 -1
- package/dist/lifecycle/default-chain.d.ts +8 -2
- package/dist/lifecycle/default-chain.d.ts.map +1 -1
- package/dist/lifecycle/index.d.ts +1 -0
- package/dist/lifecycle/index.d.ts.map +1 -1
- package/dist/lifecycle/stage-guidance.d.ts +140 -0
- package/dist/lifecycle/stage-guidance.d.ts.map +1 -0
- package/dist/orchestration/protocol-validators.d.ts +122 -3
- package/dist/orchestration/protocol-validators.d.ts.map +1 -1
- package/dist/paths.d.ts +91 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/scaffold.d.ts +31 -1
- package/dist/scaffold.d.ts.map +1 -1
- package/dist/skills/dispatch.d.ts +1 -1
- package/dist/skills/skill-paths.d.ts +9 -6
- package/dist/skills/skill-paths.d.ts.map +1 -1
- package/dist/validation/protocols/_shared.d.ts +40 -0
- package/dist/validation/protocols/_shared.d.ts.map +1 -0
- package/dist/validation/protocols/architecture-decision.d.ts +23 -0
- package/dist/validation/protocols/architecture-decision.d.ts.map +1 -0
- package/dist/validation/protocols/artifact-publish.d.ts +22 -0
- package/dist/validation/protocols/artifact-publish.d.ts.map +1 -0
- package/dist/validation/protocols/consensus.d.ts +11 -17
- package/dist/validation/protocols/consensus.d.ts.map +1 -1
- package/dist/validation/protocols/contribution.d.ts +12 -17
- package/dist/validation/protocols/contribution.d.ts.map +1 -1
- package/dist/validation/protocols/decomposition.d.ts +18 -21
- package/dist/validation/protocols/decomposition.d.ts.map +1 -1
- package/dist/validation/protocols/implementation.d.ts +9 -17
- package/dist/validation/protocols/implementation.d.ts.map +1 -1
- package/dist/validation/protocols/provenance.d.ts +23 -0
- package/dist/validation/protocols/provenance.d.ts.map +1 -0
- package/dist/validation/protocols/release.d.ts +25 -0
- package/dist/validation/protocols/release.d.ts.map +1 -0
- package/dist/validation/protocols/research.d.ts +9 -17
- package/dist/validation/protocols/research.d.ts.map +1 -1
- package/dist/validation/protocols/specification.d.ts +7 -17
- package/dist/validation/protocols/specification.d.ts.map +1 -1
- package/dist/validation/protocols/testing.d.ts +22 -0
- package/dist/validation/protocols/testing.d.ts.map +1 -0
- package/dist/validation/protocols/validation.d.ts +22 -0
- package/dist/validation/protocols/validation.d.ts.map +1 -0
- package/package.json +7 -7
- package/src/__tests__/injection-mvi-tiers.test.js +54 -90
- package/src/__tests__/injection-mvi-tiers.test.js.map +1 -1
- package/src/discovery.ts +235 -0
- package/src/hooks/handlers/__tests__/hook-automation-e2e.test.js +3 -1
- package/src/hooks/handlers/__tests__/hook-automation-e2e.test.js.map +1 -1
- package/src/index.ts +16 -0
- package/src/init.ts +196 -0
- package/src/internal.ts +31 -1
- package/src/lifecycle/default-chain.ts +11 -2
- package/src/lifecycle/index.ts +10 -0
- package/src/lifecycle/stage-guidance.ts +282 -0
- package/src/metrics/__tests__/provider-detection.test.js +19 -7
- package/src/metrics/__tests__/provider-detection.test.js.map +1 -1
- package/src/metrics/__tests__/provider-detection.test.ts +19 -7
- package/src/orchestration/__tests__/protocol-validators.test.js +228 -8
- package/src/orchestration/__tests__/protocol-validators.test.js.map +1 -1
- package/src/orchestration/__tests__/protocol-validators.test.ts +259 -7
- package/src/orchestration/protocol-validators.ts +419 -4
- package/src/paths.ts +110 -0
- package/src/scaffold.ts +240 -4
- package/src/skills/dispatch.ts +6 -6
- package/src/skills/skill-paths.ts +27 -23
- package/src/validation/protocols/_shared.ts +88 -0
- package/src/validation/protocols/architecture-decision.ts +52 -0
- package/src/validation/protocols/artifact-publish.ts +49 -0
- package/src/validation/protocols/consensus.ts +44 -74
- package/src/validation/protocols/contribution.ts +28 -65
- package/src/validation/protocols/decomposition.ts +37 -64
- package/src/validation/protocols/implementation.ts +25 -65
- package/src/validation/protocols/protocols-markdown/architecture-decision.md +303 -0
- package/src/validation/protocols/protocols-markdown/artifact-publish.md +600 -0
- package/src/validation/protocols/protocols-markdown/consensus.md +322 -0
- package/src/validation/protocols/protocols-markdown/contribution.md +388 -0
- package/src/validation/protocols/protocols-markdown/decomposition.md +421 -0
- package/src/validation/protocols/protocols-markdown/implementation.md +357 -0
- package/src/validation/protocols/protocols-markdown/provenance.md +613 -0
- package/src/validation/protocols/protocols-markdown/release.md +783 -0
- package/src/validation/protocols/protocols-markdown/research.md +261 -0
- package/src/validation/protocols/protocols-markdown/specification.md +300 -0
- package/src/validation/protocols/protocols-markdown/testing.md +287 -0
- package/src/validation/protocols/protocols-markdown/validation.md +242 -0
- package/src/validation/protocols/provenance.ts +50 -0
- package/src/validation/protocols/release.ts +44 -0
- package/src/validation/protocols/research.ts +25 -87
- package/src/validation/protocols/specification.ts +27 -89
- package/src/validation/protocols/testing.ts +46 -0
- package/src/validation/protocols/validation.ts +46 -0
- package/dist/validation/protocols/release-protocol.d.ts +0 -27
- package/dist/validation/protocols/release-protocol.d.ts.map +0 -1
- package/dist/validation/protocols/testing-protocol.d.ts +0 -27
- package/dist/validation/protocols/testing-protocol.d.ts.map +0 -1
- package/dist/validation/protocols/validation-protocol.d.ts +0 -27
- package/dist/validation/protocols/validation-protocol.d.ts.map +0 -1
- package/schemas/agent-configs.schema.json +0 -120
- package/schemas/agent-registry.schema.json +0 -132
- package/schemas/archive.schema.json +0 -450
- package/schemas/brain-decision.schema.json +0 -69
- package/schemas/brain-learning.schema.json +0 -57
- package/schemas/brain-pattern.schema.json +0 -72
- package/schemas/critical-path.schema.json +0 -246
- package/schemas/deps-cache.schema.json +0 -97
- package/schemas/doctor-output.schema.json +0 -283
- package/schemas/error.schema.json +0 -161
- package/schemas/global-config.schema.json +0 -219
- package/schemas/grade.schema.json +0 -49
- package/schemas/log.schema.json +0 -250
- package/schemas/metrics.schema.json +0 -328
- package/schemas/migrations.schema.json +0 -150
- package/schemas/nexus-registry.schema.json +0 -90
- package/schemas/operation-constitution.schema.json +0 -438
- package/schemas/output.schema.json +0 -164
- package/schemas/projects-registry.schema.json +0 -107
- package/schemas/protocol-frontmatter.schema.json +0 -72
- package/schemas/rcasd-consensus-report.schema.json +0 -10
- package/schemas/rcasd-evidence.schema.json +0 -42
- package/schemas/rcasd-gate-result.schema.json +0 -46
- package/schemas/rcasd-hitl-resolution.schema.json +0 -10
- package/schemas/rcasd-index.schema.json +0 -10
- package/schemas/rcasd-manifest.schema.json +0 -10
- package/schemas/rcasd-research-output.schema.json +0 -10
- package/schemas/rcasd-spec-frontmatter.schema.json +0 -10
- package/schemas/rcasd-stage-transition.schema.json +0 -38
- package/schemas/releases.schema.json +0 -267
- package/schemas/skills-manifest.schema.json +0 -91
- package/schemas/spec-index.schema.json +0 -196
- package/schemas/system-flow-atlas.schema.json +0 -125
- package/src/conduit/__tests__/dual-api-e2e.test.d.ts.map +0 -1
- package/src/conduit/__tests__/dual-api-e2e.test.js +0 -178
- package/src/conduit/__tests__/dual-api-e2e.test.js.map +0 -1
- package/src/conduit/__tests__/dual-api-e2e.test.ts +0 -212
- package/src/validation/protocols/release-protocol.ts +0 -80
- package/src/validation/protocols/testing-protocol.ts +0 -93
- package/src/validation/protocols/validation-protocol.ts +0 -93
|
@@ -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
|
-
}
|
|
@@ -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
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "CLEO System Flow Atlas Structure",
|
|
4
|
-
"description": "Validates that a System Flow Atlas document contains all required sections",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"title": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "CLEO System Flow Atlas",
|
|
10
|
-
"description": "Document title"
|
|
11
|
-
},
|
|
12
|
-
"version": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"pattern": "^\\d{4}\\.\\d{1,2}\\.\\d{1,2}$",
|
|
15
|
-
"description": "CalVer version (YYYY.M.D)"
|
|
16
|
-
},
|
|
17
|
-
"status": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"enum": ["DRAFT", "REVIEW", "APPROVED", "STABLE", "SUPERSEDED", "ARCHIVED"],
|
|
20
|
-
"description": "Document lifecycle status"
|
|
21
|
-
},
|
|
22
|
-
"sections": {
|
|
23
|
-
"type": "object",
|
|
24
|
-
"description": "Required sections in the atlas document",
|
|
25
|
-
"properties": {
|
|
26
|
-
"purpose": {
|
|
27
|
-
"type": "boolean",
|
|
28
|
-
"description": "Section 1: Purpose exists"
|
|
29
|
-
},
|
|
30
|
-
"systemDomainMapping": {
|
|
31
|
-
"type": "boolean",
|
|
32
|
-
"description": "Section 2: Four systems mapped to 10 domains"
|
|
33
|
-
},
|
|
34
|
-
"requestFlow": {
|
|
35
|
-
"type": "boolean",
|
|
36
|
-
"description": "Section 3: End-to-end request flow diagram"
|
|
37
|
-
},
|
|
38
|
-
"domainInteractionGraph": {
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"description": "Section 4: Domain interaction graph"
|
|
41
|
-
},
|
|
42
|
-
"dataStores": {
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"description": "Section 5: Data stores and ownership boundaries"
|
|
45
|
-
},
|
|
46
|
-
"distillationFlow": {
|
|
47
|
-
"type": "boolean",
|
|
48
|
-
"description": "Section 6: LOOM distillation flow"
|
|
49
|
-
},
|
|
50
|
-
"flowExamples": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"description": "Section 7: Query/mutate flow examples"
|
|
53
|
-
},
|
|
54
|
-
"progressiveDisclosure": {
|
|
55
|
-
"type": "boolean",
|
|
56
|
-
"description": "Section 8: Progressive disclosure in practice"
|
|
57
|
-
},
|
|
58
|
-
"failureRecovery": {
|
|
59
|
-
"type": "boolean",
|
|
60
|
-
"description": "Section 9: Failure and recovery paths"
|
|
61
|
-
},
|
|
62
|
-
"observability": {
|
|
63
|
-
"type": "boolean",
|
|
64
|
-
"description": "Section 10: Observability and audit trails"
|
|
65
|
-
},
|
|
66
|
-
"invariants": {
|
|
67
|
-
"type": "boolean",
|
|
68
|
-
"description": "Section 11: Canonical invariants"
|
|
69
|
-
},
|
|
70
|
-
"glossary": {
|
|
71
|
-
"type": "boolean",
|
|
72
|
-
"description": "Section 12: Glossary"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"required": [
|
|
76
|
-
"purpose",
|
|
77
|
-
"systemDomainMapping",
|
|
78
|
-
"requestFlow",
|
|
79
|
-
"domainInteractionGraph",
|
|
80
|
-
"dataStores",
|
|
81
|
-
"distillationFlow",
|
|
82
|
-
"flowExamples",
|
|
83
|
-
"progressiveDisclosure",
|
|
84
|
-
"failureRecovery",
|
|
85
|
-
"observability",
|
|
86
|
-
"invariants",
|
|
87
|
-
"glossary"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
"domains": {
|
|
91
|
-
"type": "array",
|
|
92
|
-
"items": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"enum": [
|
|
95
|
-
"tasks",
|
|
96
|
-
"session",
|
|
97
|
-
"memory",
|
|
98
|
-
"check",
|
|
99
|
-
"pipeline",
|
|
100
|
-
"orchestrate",
|
|
101
|
-
"tools",
|
|
102
|
-
"admin",
|
|
103
|
-
"nexus",
|
|
104
|
-
"sticky"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
"minItems": 10,
|
|
108
|
-
"maxItems": 10,
|
|
109
|
-
"uniqueItems": true,
|
|
110
|
-
"description": "All 10 canonical domains MUST be referenced"
|
|
111
|
-
},
|
|
112
|
-
"systems": {
|
|
113
|
-
"type": "array",
|
|
114
|
-
"items": {
|
|
115
|
-
"type": "string",
|
|
116
|
-
"enum": ["BRAIN", "LOOM", "NEXUS", "LAFS"]
|
|
117
|
-
},
|
|
118
|
-
"minItems": 4,
|
|
119
|
-
"maxItems": 4,
|
|
120
|
-
"uniqueItems": true,
|
|
121
|
-
"description": "All 4 conceptual systems MUST be documented"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"required": ["title", "version", "status", "sections", "domains", "systems"]
|
|
125
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dual-api-e2e.test.d.ts","sourceRoot":"","sources":["dual-api-e2e.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG"}
|