@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,164 +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/output.schema.json",
|
|
5
|
-
"title": "CLEO Response Envelope",
|
|
6
|
-
"description": "Standard JSON envelope for all successful cleo command responses",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["_meta", "success"],
|
|
9
|
-
"properties": {
|
|
10
|
-
"$schema": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "Schema URL for validation",
|
|
13
|
-
"const": "https://cleo-dev.com/schemas/v1/output.schema.json"
|
|
14
|
-
},
|
|
15
|
-
"_meta": {
|
|
16
|
-
"type": "object",
|
|
17
|
-
"description": "Response metadata",
|
|
18
|
-
"required": ["command", "timestamp", "version"],
|
|
19
|
-
"properties": {
|
|
20
|
-
"format": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"const": "json",
|
|
23
|
-
"description": "Output format identifier"
|
|
24
|
-
},
|
|
25
|
-
"version": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+",
|
|
28
|
-
"description": "cleo version (semver)"
|
|
29
|
-
},
|
|
30
|
-
"command": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"minLength": 1,
|
|
33
|
-
"description": "Command name that generated this response"
|
|
34
|
-
},
|
|
35
|
-
"timestamp": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"format": "date-time",
|
|
38
|
-
"description": "ISO-8601 UTC timestamp of response generation"
|
|
39
|
-
},
|
|
40
|
-
"checksum": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"pattern": "^[a-f0-9]{64}$",
|
|
43
|
-
"description": "SHA256 checksum of source file (optional)"
|
|
44
|
-
},
|
|
45
|
-
"execution_ms": {
|
|
46
|
-
"type": "integer",
|
|
47
|
-
"minimum": 0,
|
|
48
|
-
"description": "Execution time in milliseconds (optional)"
|
|
49
|
-
},
|
|
50
|
-
"resultsField": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"description": "Name of the field containing primary results (e.g., 'tasks', 'matches', 'data', 'blockedTasks', 'items'). Enables self-documenting JSON for LLM agents. If omitted, defaults to 'tasks' for list commands or 'task' for single-task commands."
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"additionalProperties": false
|
|
56
|
-
},
|
|
57
|
-
"success": {
|
|
58
|
-
"type": "boolean",
|
|
59
|
-
"const": true,
|
|
60
|
-
"description": "Indicates successful operation"
|
|
61
|
-
},
|
|
62
|
-
"summary": {
|
|
63
|
-
"type": "object",
|
|
64
|
-
"description": "Aggregated statistics or summary data (optional)",
|
|
65
|
-
"additionalProperties": true
|
|
66
|
-
},
|
|
67
|
-
"data": {
|
|
68
|
-
"description": "Generic data payload (type depends on command)"
|
|
69
|
-
},
|
|
70
|
-
"task": {
|
|
71
|
-
"type": "object",
|
|
72
|
-
"description": "Single task object (for add, update, show commands)",
|
|
73
|
-
"properties": {
|
|
74
|
-
"id": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"pattern": "^T\\d{3,}$",
|
|
77
|
-
"description": "Task identifier (T001+, expandable)"
|
|
78
|
-
},
|
|
79
|
-
"type": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"enum": ["epic", "task", "subtask"],
|
|
82
|
-
"description": "Hierarchy type"
|
|
83
|
-
},
|
|
84
|
-
"parentId": {
|
|
85
|
-
"type": ["string", "null"],
|
|
86
|
-
"pattern": "^T\\d{3,}$",
|
|
87
|
-
"description": "Parent task ID or null for root tasks"
|
|
88
|
-
},
|
|
89
|
-
"size": {
|
|
90
|
-
"type": ["string", "null"],
|
|
91
|
-
"enum": ["small", "medium", "large", null],
|
|
92
|
-
"description": "Task size estimate"
|
|
93
|
-
},
|
|
94
|
-
"title": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"minLength": 1
|
|
97
|
-
},
|
|
98
|
-
"description": {
|
|
99
|
-
"type": "string"
|
|
100
|
-
},
|
|
101
|
-
"status": {
|
|
102
|
-
"type": "string",
|
|
103
|
-
"enum": ["pending", "active", "blocked", "done"]
|
|
104
|
-
},
|
|
105
|
-
"priority": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"enum": ["critical", "high", "medium", "low"]
|
|
108
|
-
},
|
|
109
|
-
"createdAt": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"format": "date-time"
|
|
112
|
-
},
|
|
113
|
-
"completedAt": {
|
|
114
|
-
"type": ["string", "null"],
|
|
115
|
-
"format": "date-time"
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"additionalProperties": true
|
|
119
|
-
},
|
|
120
|
-
"tasks": {
|
|
121
|
-
"type": "array",
|
|
122
|
-
"description": "Array of task objects (for list commands)",
|
|
123
|
-
"items": {
|
|
124
|
-
"type": "object"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"taskId": {
|
|
128
|
-
"type": "string",
|
|
129
|
-
"pattern": "^T\\d{3,}$",
|
|
130
|
-
"description": "Task ID affected by operation"
|
|
131
|
-
},
|
|
132
|
-
"changes": {
|
|
133
|
-
"type": "object",
|
|
134
|
-
"description": "Change tracking for update operations",
|
|
135
|
-
"additionalProperties": {
|
|
136
|
-
"type": "object",
|
|
137
|
-
"properties": {
|
|
138
|
-
"before": {},
|
|
139
|
-
"after": {}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"warnings": {
|
|
144
|
-
"type": "array",
|
|
145
|
-
"description": "Non-fatal warnings",
|
|
146
|
-
"items": {
|
|
147
|
-
"type": "object",
|
|
148
|
-
"properties": {
|
|
149
|
-
"code": {
|
|
150
|
-
"type": "string",
|
|
151
|
-
"pattern": "^W_[A-Z_]+$"
|
|
152
|
-
},
|
|
153
|
-
"message": {
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
"suggestion": {
|
|
157
|
-
"type": ["string", "null"]
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"additionalProperties": true
|
|
164
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo-dev.com/schemas/v1/projects-registry.schema.json",
|
|
4
|
-
"schemaVersion": "2.0.0",
|
|
5
|
-
"title": "CLEO Projects Registry Schema",
|
|
6
|
-
"description": "Unified global registry tracking all CLEO-initialized projects. Single source of truth for both project management and Nexus cross-project coordination.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["schemaVersion", "lastUpdated", "projects"],
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
|
|
11
|
-
"properties": {
|
|
12
|
-
"$schema": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "JSON Schema reference for validation."
|
|
15
|
-
},
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
19
|
-
"description": "Schema version for this file (semver)."
|
|
20
|
-
},
|
|
21
|
-
"lastUpdated": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"format": "date-time",
|
|
24
|
-
"description": "ISO 8601 timestamp of last registry modification."
|
|
25
|
-
},
|
|
26
|
-
"projects": {
|
|
27
|
-
"type": "object",
|
|
28
|
-
"description": "Hash-keyed project entries. Hash is 12-char hex SHA-256 prefix of absolute project path.",
|
|
29
|
-
"patternProperties": {
|
|
30
|
-
"^[a-f0-9]{12}$": {
|
|
31
|
-
"$ref": "#/definitions/projectEntry"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"additionalProperties": false
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
"definitions": {
|
|
39
|
-
"projectEntry": {
|
|
40
|
-
"type": "object",
|
|
41
|
-
"description": "Individual project registration record with metadata and optional Nexus fields.",
|
|
42
|
-
"required": ["hash", "path", "name", "registeredAt", "lastSeen"],
|
|
43
|
-
"additionalProperties": false,
|
|
44
|
-
"properties": {
|
|
45
|
-
"hash": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"pattern": "^[a-f0-9]{12}$",
|
|
48
|
-
"description": "Unique 12-character hex hash derived from absolute project path (SHA-256 prefix). MUST match parent key."
|
|
49
|
-
},
|
|
50
|
-
"path": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"minLength": 1,
|
|
53
|
-
"description": "Absolute file system path to project root. MUST be unique across all projects."
|
|
54
|
-
},
|
|
55
|
-
"name": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"minLength": 1,
|
|
58
|
-
"maxLength": 100,
|
|
59
|
-
"description": "Human-readable project name (typically basename of path)."
|
|
60
|
-
},
|
|
61
|
-
"registeredAt": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"format": "date-time",
|
|
64
|
-
"description": "ISO 8601 timestamp when project was first registered (cleo init)."
|
|
65
|
-
},
|
|
66
|
-
"lastSeen": {
|
|
67
|
-
"type": "string",
|
|
68
|
-
"format": "date-time",
|
|
69
|
-
"description": "ISO 8601 timestamp of last CLEO operation in this project."
|
|
70
|
-
},
|
|
71
|
-
"healthStatus": {
|
|
72
|
-
"type": "string",
|
|
73
|
-
"enum": ["healthy", "warning", "error", "unknown"],
|
|
74
|
-
"description": "Overall project health status. Defaults to 'unknown' if not yet checked."
|
|
75
|
-
},
|
|
76
|
-
"healthLastCheck": {
|
|
77
|
-
"type": ["string", "null"],
|
|
78
|
-
"format": "date-time",
|
|
79
|
-
"description": "ISO 8601 timestamp of last health check. Null if never checked."
|
|
80
|
-
},
|
|
81
|
-
"permissions": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"enum": ["read", "write", "execute"],
|
|
84
|
-
"description": "Nexus cross-project permission level. Defaults to 'read'."
|
|
85
|
-
},
|
|
86
|
-
"taskCount": {
|
|
87
|
-
"type": "integer",
|
|
88
|
-
"minimum": 0,
|
|
89
|
-
"description": "Number of tasks in project. Cached for quick reference."
|
|
90
|
-
},
|
|
91
|
-
"labels": {
|
|
92
|
-
"type": "array",
|
|
93
|
-
"items": {
|
|
94
|
-
"type": "string"
|
|
95
|
-
},
|
|
96
|
-
"uniqueItems": true,
|
|
97
|
-
"description": "Unique labels across all tasks in the project."
|
|
98
|
-
},
|
|
99
|
-
"lastSync": {
|
|
100
|
-
"type": ["string", "null"],
|
|
101
|
-
"format": "date-time",
|
|
102
|
-
"description": "ISO 8601 timestamp of last Nexus sync. Null if never synced."
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo.dev/schemas/protocol-frontmatter.schema.json",
|
|
4
|
-
"title": "Protocol Frontmatter Schema",
|
|
5
|
-
"description": "JSON Schema for CLEO protocol YAML frontmatter blocks",
|
|
6
|
-
"_meta": {
|
|
7
|
-
"schemaVersion": "1.0.0"
|
|
8
|
-
},
|
|
9
|
-
"type": "object",
|
|
10
|
-
"required": ["id", "title", "version", "status"],
|
|
11
|
-
"properties": {
|
|
12
|
-
"id": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"enum": ["RSCH", "CONS", "SPEC", "DCMP", "IMPL", "CONT", "VALID", "TEST", "REL", "ADR", "ART", "PROV", "AGENT"],
|
|
15
|
-
"description": "Short protocol code"
|
|
16
|
-
},
|
|
17
|
-
"title": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"minLength": 1,
|
|
20
|
-
"description": "Full protocol title"
|
|
21
|
-
},
|
|
22
|
-
"version": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
25
|
-
"description": "Semver version"
|
|
26
|
-
},
|
|
27
|
-
"status": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"enum": ["active", "draft", "deprecated", "experimental"]
|
|
30
|
-
},
|
|
31
|
-
"type": {
|
|
32
|
-
"type": "string",
|
|
33
|
-
"enum": ["base", "conditional", "cross-cutting"]
|
|
34
|
-
},
|
|
35
|
-
"audience": {
|
|
36
|
-
"type": "array",
|
|
37
|
-
"items": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"tags": {
|
|
42
|
-
"type": "array",
|
|
43
|
-
"items": {
|
|
44
|
-
"type": "string"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"skillRef": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "ct-skills skill that executes this pipeline"
|
|
50
|
-
},
|
|
51
|
-
"mcpOperations": {
|
|
52
|
-
"type": "array",
|
|
53
|
-
"items": {
|
|
54
|
-
"type": "string"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"lastUpdated": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "ISO date string"
|
|
60
|
-
},
|
|
61
|
-
"provenanceTask": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"pattern": "^T\\d+$",
|
|
64
|
-
"description": "CLEO task ID that originated this protocol"
|
|
65
|
-
},
|
|
66
|
-
"enforcement": {
|
|
67
|
-
"type": "string",
|
|
68
|
-
"enum": ["strict", "advisory", "disabled"]
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"additionalProperties": false
|
|
72
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo-dev.com/schemas/v1/rcasd-consensus-report.schema.json",
|
|
4
|
-
"allOf": [
|
|
5
|
-
{
|
|
6
|
-
"$ref": "./rcsd-consensus-report.schema.json"
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
|
-
"description": "RCASD schema alias. Backward compatible with legacy rcsd-consensus-report schema."
|
|
10
|
-
}
|
|
@@ -1,42 +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/rcasd-evidence.schema.json",
|
|
5
|
-
"title": "RCASD Evidence",
|
|
6
|
-
"description": "Schema for lifecycle stage evidence records. Evidence links artifacts (files, URLs, manifests) to specific pipeline stages for provenance tracking.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["id", "stageId", "uri", "type", "recordedAt"],
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"properties": {
|
|
11
|
-
"id": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"description": "Unique evidence identifier"
|
|
14
|
-
},
|
|
15
|
-
"stageId": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "Reference to the lifecycle stage this evidence supports"
|
|
18
|
-
},
|
|
19
|
-
"uri": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"description": "URI pointing to the evidence artifact"
|
|
22
|
-
},
|
|
23
|
-
"type": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"enum": ["file", "url", "manifest"],
|
|
26
|
-
"description": "Type of evidence artifact"
|
|
27
|
-
},
|
|
28
|
-
"recordedAt": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"format": "date-time",
|
|
31
|
-
"description": "When the evidence was recorded"
|
|
32
|
-
},
|
|
33
|
-
"recordedBy": {
|
|
34
|
-
"type": ["string", "null"],
|
|
35
|
-
"description": "Agent or user who recorded the evidence"
|
|
36
|
-
},
|
|
37
|
-
"description": {
|
|
38
|
-
"type": ["string", "null"],
|
|
39
|
-
"description": "Description of what this evidence demonstrates"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,46 +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/rcasd-gate-result.schema.json",
|
|
5
|
-
"title": "RCASD Gate Result",
|
|
6
|
-
"description": "Schema for lifecycle gate check results. Gates enforce quality requirements at stage boundaries in the RCASD-IVTR pipeline.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["id", "stageId", "gateName", "result", "checkedAt", "checkedBy"],
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"properties": {
|
|
11
|
-
"id": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"description": "Unique gate result identifier"
|
|
14
|
-
},
|
|
15
|
-
"stageId": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "Reference to the lifecycle stage this gate belongs to"
|
|
18
|
-
},
|
|
19
|
-
"gateName": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"description": "Name of the gate check (e.g., prerequisites-met, code-complete)"
|
|
22
|
-
},
|
|
23
|
-
"result": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"enum": ["pass", "fail", "warn"],
|
|
26
|
-
"description": "Gate check result"
|
|
27
|
-
},
|
|
28
|
-
"checkedAt": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"format": "date-time",
|
|
31
|
-
"description": "When the gate was checked"
|
|
32
|
-
},
|
|
33
|
-
"checkedBy": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Agent or user who performed the check"
|
|
36
|
-
},
|
|
37
|
-
"details": {
|
|
38
|
-
"type": ["string", "null"],
|
|
39
|
-
"description": "Additional details about the check result"
|
|
40
|
-
},
|
|
41
|
-
"reason": {
|
|
42
|
-
"type": ["string", "null"],
|
|
43
|
-
"description": "Reason for failure or warning"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo-dev.com/schemas/v1/rcasd-hitl-resolution.schema.json",
|
|
4
|
-
"allOf": [
|
|
5
|
-
{
|
|
6
|
-
"$ref": "./rcsd-hitl-resolution.schema.json"
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
|
-
"description": "RCASD schema alias. Backward compatible with legacy rcsd-hitl-resolution schema."
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo-dev.com/schemas/v1/rcasd-index.schema.json",
|
|
4
|
-
"allOf": [
|
|
5
|
-
{
|
|
6
|
-
"$ref": "./rcsd-index.schema.json"
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
|
-
"description": "RCASD schema alias. Backward compatible with legacy rcsd-index schema."
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo-dev.com/schemas/v1/rcasd-manifest.schema.json",
|
|
4
|
-
"allOf": [
|
|
5
|
-
{
|
|
6
|
-
"$ref": "./rcsd-manifest.schema.json"
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
|
-
"description": "RCASD schema alias. Backward compatible with legacy rcsd-manifest schema."
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo-dev.com/schemas/v1/rcasd-research-output.schema.json",
|
|
4
|
-
"allOf": [
|
|
5
|
-
{
|
|
6
|
-
"$ref": "./rcsd-research-output.schema.json"
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
|
-
"description": "RCASD schema alias. Backward compatible with legacy rcsd-research-output schema."
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cleo-dev.com/schemas/v1/rcasd-spec-frontmatter.schema.json",
|
|
4
|
-
"allOf": [
|
|
5
|
-
{
|
|
6
|
-
"$ref": "./rcsd-spec-frontmatter.schema.json"
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
|
-
"description": "RCASD schema alias. Backward compatible with legacy rcsd-spec-frontmatter schema."
|
|
10
|
-
}
|
|
@@ -1,38 +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/rcasd-stage-transition.schema.json",
|
|
5
|
-
"title": "RCASD Stage Transition",
|
|
6
|
-
"description": "Schema for lifecycle pipeline stage transitions. Records movement between stages in the RCASD-IVTR pipeline.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"required": ["id", "pipelineId", "fromStageId", "toStageId", "transitionType", "createdAt"],
|
|
9
|
-
"additionalProperties": false,
|
|
10
|
-
"properties": {
|
|
11
|
-
"id": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"description": "Unique transition identifier"
|
|
14
|
-
},
|
|
15
|
-
"pipelineId": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "Reference to the lifecycle pipeline"
|
|
18
|
-
},
|
|
19
|
-
"fromStageId": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"description": "Stage being transitioned from"
|
|
22
|
-
},
|
|
23
|
-
"toStageId": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"description": "Stage being transitioned to"
|
|
26
|
-
},
|
|
27
|
-
"transitionType": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"enum": ["automatic", "manual", "forced"],
|
|
30
|
-
"description": "How the transition was triggered"
|
|
31
|
-
},
|
|
32
|
-
"createdAt": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"format": "date-time",
|
|
35
|
-
"description": "When the transition occurred"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|