@cleocode/core 2026.3.45 → 2026.3.46
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/bootstrap.d.ts.map +1 -1
- package/dist/index.js +1475 -372
- package/dist/index.js.map +4 -4
- package/dist/init.d.ts.map +1 -1
- package/dist/injection.d.ts +1 -1
- package/dist/injection.d.ts.map +1 -1
- package/dist/routing/capability-matrix.d.ts +6 -4
- package/dist/routing/capability-matrix.d.ts.map +1 -1
- package/dist/scaffold.d.ts +16 -9
- package/dist/scaffold.d.ts.map +1 -1
- package/dist/skills/agents/install.d.ts.map +1 -1
- package/dist/skills/routing-table.d.ts +17 -16
- package/dist/skills/routing-table.d.ts.map +1 -1
- package/dist/skills/skill-paths.d.ts.map +1 -1
- package/dist/system/health.d.ts.map +1 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.d.ts.map +1 -1
- package/package.json +9 -4
- package/schemas/adr-frontmatter.schema.json +72 -0
- package/schemas/agent-configs.schema.json +120 -0
- package/schemas/agent-registry.json +243 -0
- package/schemas/agent-registry.schema.json +132 -0
- package/schemas/archive/research-manifest.schema.json +257 -0
- package/schemas/archive.schema.json +450 -0
- package/schemas/brain-decision.schema.json +69 -0
- package/schemas/brain-learning.schema.json +57 -0
- package/schemas/brain-pattern.schema.json +72 -0
- package/schemas/config.schema.json +2606 -0
- package/schemas/context-state.schema.json +137 -0
- package/schemas/contribution.schema.json +722 -0
- package/schemas/critical-path.schema.json +246 -0
- package/schemas/deps-cache.schema.json +97 -0
- package/schemas/doctor-output.schema.json +283 -0
- package/schemas/error.schema.json +161 -0
- package/schemas/export-package.schema.json +375 -0
- package/schemas/global-config.schema.json +219 -0
- package/schemas/grade.schema.json +49 -0
- package/schemas/log.schema.json +250 -0
- package/schemas/metrics.schema.json +328 -0
- package/schemas/migrations.schema.json +150 -0
- package/schemas/nexus-registry.schema.json +90 -0
- package/schemas/operation-constitution.schema.json +438 -0
- package/schemas/output.schema.json +164 -0
- package/schemas/project-context.schema.json +164 -0
- package/schemas/project-info.schema.json +180 -0
- package/schemas/projects-registry.schema.json +107 -0
- package/schemas/protocol-frontmatter.schema.json +72 -0
- package/schemas/rcasd-consensus-report.schema.json +10 -0
- package/schemas/rcasd-evidence.schema.json +42 -0
- package/schemas/rcasd-gate-result.schema.json +46 -0
- package/schemas/rcasd-hitl-resolution.schema.json +10 -0
- package/schemas/rcasd-index.schema.json +10 -0
- package/schemas/rcasd-manifest.schema.json +10 -0
- package/schemas/rcasd-research-output.schema.json +10 -0
- package/schemas/rcasd-spec-frontmatter.schema.json +10 -0
- package/schemas/rcasd-stage-transition.schema.json +38 -0
- package/schemas/releases.schema.json +267 -0
- package/schemas/skills-manifest.schema.json +91 -0
- package/schemas/skillsmp.schema.json +208 -0
- package/schemas/spec-index.schema.json +196 -0
- package/schemas/system-flow-atlas.schema.json +125 -0
- package/src/__tests__/injection-chain.test.ts +11 -10
- package/src/__tests__/injection-mvi-tiers.test.ts +4 -2
- package/src/agents/__tests__/capacity.test.d.ts +7 -0
- package/src/agents/__tests__/capacity.test.d.ts.map +1 -0
- package/src/agents/__tests__/capacity.test.js +173 -0
- package/src/agents/__tests__/capacity.test.js.map +1 -0
- package/src/agents/__tests__/registry.test.d.ts +8 -0
- package/src/agents/__tests__/registry.test.d.ts.map +1 -0
- package/src/agents/__tests__/registry.test.js +348 -0
- package/src/agents/__tests__/registry.test.js.map +1 -0
- package/src/agents/__tests__/retry.test.d.ts +7 -0
- package/src/agents/__tests__/retry.test.d.ts.map +1 -0
- package/src/agents/__tests__/retry.test.js +225 -0
- package/src/agents/__tests__/retry.test.js.map +1 -0
- package/src/bootstrap.ts +3 -1
- package/src/init.ts +63 -18
- package/src/injection.ts +11 -5
- package/src/intelligence/__tests__/impact.test.d.ts +15 -0
- package/src/intelligence/__tests__/impact.test.d.ts.map +1 -0
- package/src/intelligence/__tests__/impact.test.js +384 -0
- package/src/intelligence/__tests__/impact.test.js.map +1 -0
- package/src/intelligence/__tests__/patterns.test.d.ts +8 -0
- package/src/intelligence/__tests__/patterns.test.d.ts.map +1 -0
- package/src/intelligence/__tests__/patterns.test.js +370 -0
- package/src/intelligence/__tests__/patterns.test.js.map +1 -0
- package/src/intelligence/__tests__/prediction.test.d.ts +8 -0
- package/src/intelligence/__tests__/prediction.test.d.ts.map +1 -0
- package/src/intelligence/__tests__/prediction.test.js +314 -0
- package/src/intelligence/__tests__/prediction.test.js.map +1 -0
- package/src/nexus/__tests__/nexus-e2e.test.d.ts +12 -0
- package/src/nexus/__tests__/nexus-e2e.test.d.ts.map +1 -0
- package/src/nexus/__tests__/nexus-e2e.test.js +1220 -0
- package/src/nexus/__tests__/nexus-e2e.test.js.map +1 -0
- package/src/nexus/__tests__/transfer.test.d.ts +8 -0
- package/src/nexus/__tests__/transfer.test.d.ts.map +1 -0
- package/src/nexus/__tests__/transfer.test.js +372 -0
- package/src/nexus/__tests__/transfer.test.js.map +1 -0
- package/src/nexus/__tests__/transfer.test.ts +1 -1
- package/src/routing/capability-matrix.ts +1435 -205
- package/src/scaffold.ts +18 -11
- package/src/skills/__tests__/routing-table.test.ts +53 -33
- package/src/skills/agents/install.ts +9 -1
- package/src/skills/routing-table.ts +39 -253
- package/src/skills/skill-paths.ts +3 -2
- package/src/store/__tests__/project-detect.test.ts +1 -1
- package/src/system/health.ts +18 -7
- package/src/ui/index.ts +0 -6
- package/src/validation/operation-gate-validators.ts +2 -2
- package/templates/CLEO-INJECTION.md +120 -0
- package/templates/README.md +29 -0
- package/templates/agent-registry.json +305 -0
- package/templates/cleo-gitignore +74 -0
- package/templates/config.template.json +187 -0
- package/templates/git-hooks/commit-msg +149 -0
- package/templates/git-hooks/pre-commit +40 -0
- package/templates/git-hooks/pre-push +79 -0
- package/templates/github/ISSUE_TEMPLATE/bug_report.yml +143 -0
- package/templates/github/ISSUE_TEMPLATE/config.yml +8 -0
- package/templates/github/ISSUE_TEMPLATE/feature_request.yml +125 -0
- package/templates/github/ISSUE_TEMPLATE/help_question.yml +99 -0
- package/templates/global-config.template.json +56 -0
- package/templates/hooks/precompact-safestop.sh +89 -0
- package/templates/issue-templates/bug_report.yml +143 -0
- package/templates/issue-templates/config.yml +8 -0
- package/templates/issue-templates/feature_request.yml +125 -0
- package/templates/issue-templates/help_question.yml +99 -0
- package/templates/skillsmp.json.example +28 -0
- package/templates/skillsmp.json.example.md +214 -0
- package/dist/ui/injection-legacy.d.ts +0 -26
- package/dist/ui/injection-legacy.d.ts.map +0 -1
- package/src/ui/__tests__/injection-registry.test.d.ts +0 -11
- package/src/ui/__tests__/injection-registry.test.d.ts.map +0 -1
- package/src/ui/__tests__/injection-registry.test.js +0 -46
- package/src/ui/__tests__/injection-registry.test.js.map +0 -1
- package/src/ui/__tests__/injection-registry.test.ts +0 -57
- package/src/ui/injection-legacy.ts +0 -44
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"lastUpdated": "2026-01-27",
|
|
4
|
+
"agents": {
|
|
5
|
+
"claude-code": {
|
|
6
|
+
"id": "claude-code",
|
|
7
|
+
"displayName": "Claude Code",
|
|
8
|
+
"vendor": "Anthropic",
|
|
9
|
+
"globalDir": "$HOME/.claude",
|
|
10
|
+
"projectDir": ".claude",
|
|
11
|
+
"instructionFile": "CLAUDE.md",
|
|
12
|
+
"skillsDir": "skills",
|
|
13
|
+
"projectSkillsDir": ".claude/skills",
|
|
14
|
+
"priority": "high",
|
|
15
|
+
"status": "active",
|
|
16
|
+
"agentSkillsCompatible": true,
|
|
17
|
+
"cliDetection": {
|
|
18
|
+
"method": "directory",
|
|
19
|
+
"check": "$HOME/.claude"
|
|
20
|
+
},
|
|
21
|
+
"notes": "Primary agent - Anthropic's official CLI with full CLEO integration"
|
|
22
|
+
},
|
|
23
|
+
"cursor": {
|
|
24
|
+
"id": "cursor",
|
|
25
|
+
"displayName": "Cursor",
|
|
26
|
+
"vendor": "Cursor",
|
|
27
|
+
"globalDir": "$HOME/.cursor",
|
|
28
|
+
"projectDir": ".cursor",
|
|
29
|
+
"instructionFile": "AGENTS.md",
|
|
30
|
+
"skillsDir": "skills",
|
|
31
|
+
"projectSkillsDir": ".cursor/skills",
|
|
32
|
+
"priority": "high",
|
|
33
|
+
"status": "active",
|
|
34
|
+
"agentSkillsCompatible": true,
|
|
35
|
+
"cliDetection": {
|
|
36
|
+
"method": "directory",
|
|
37
|
+
"check": "$HOME/.cursor"
|
|
38
|
+
},
|
|
39
|
+
"notes": "VS Code fork with AI integration - popular in development workflows"
|
|
40
|
+
},
|
|
41
|
+
"windsurf": {
|
|
42
|
+
"id": "windsurf",
|
|
43
|
+
"displayName": "Windsurf",
|
|
44
|
+
"vendor": "Codeium",
|
|
45
|
+
"globalDir": "$HOME/.codeium/windsurf",
|
|
46
|
+
"projectDir": ".windsurf",
|
|
47
|
+
"instructionFile": "AGENTS.md",
|
|
48
|
+
"skillsDir": "skills",
|
|
49
|
+
"projectSkillsDir": ".windsurf/skills",
|
|
50
|
+
"priority": "high",
|
|
51
|
+
"status": "active",
|
|
52
|
+
"agentSkillsCompatible": true,
|
|
53
|
+
"cliDetection": {
|
|
54
|
+
"method": "directory",
|
|
55
|
+
"check": "$HOME/.codeium/windsurf"
|
|
56
|
+
},
|
|
57
|
+
"notes": "Codeium's agentic IDE with flow state features"
|
|
58
|
+
},
|
|
59
|
+
"codex": {
|
|
60
|
+
"id": "codex",
|
|
61
|
+
"displayName": "OpenAI Codex",
|
|
62
|
+
"vendor": "OpenAI",
|
|
63
|
+
"globalDir": "$HOME/.codex",
|
|
64
|
+
"projectDir": ".codex",
|
|
65
|
+
"instructionFile": "AGENTS.md",
|
|
66
|
+
"skillsDir": "skills",
|
|
67
|
+
"projectSkillsDir": ".codex/skills",
|
|
68
|
+
"priority": "medium",
|
|
69
|
+
"status": "active",
|
|
70
|
+
"agentSkillsCompatible": false,
|
|
71
|
+
"cliDetection": {
|
|
72
|
+
"method": "directory",
|
|
73
|
+
"check": "$HOME/.codex"
|
|
74
|
+
},
|
|
75
|
+
"notes": "OpenAI's code generation model integration"
|
|
76
|
+
},
|
|
77
|
+
"gemini": {
|
|
78
|
+
"id": "gemini",
|
|
79
|
+
"displayName": "Google Gemini",
|
|
80
|
+
"vendor": "Google",
|
|
81
|
+
"globalDir": "$HOME/.gemini",
|
|
82
|
+
"projectDir": ".gemini",
|
|
83
|
+
"instructionFile": "GEMINI.md",
|
|
84
|
+
"skillsDir": "skills",
|
|
85
|
+
"projectSkillsDir": ".gemini/skills",
|
|
86
|
+
"priority": "medium",
|
|
87
|
+
"status": "active",
|
|
88
|
+
"agentSkillsCompatible": false,
|
|
89
|
+
"cliDetection": {
|
|
90
|
+
"method": "directory",
|
|
91
|
+
"check": "$HOME/.gemini"
|
|
92
|
+
},
|
|
93
|
+
"notes": "Google's multimodal AI model with code capabilities"
|
|
94
|
+
},
|
|
95
|
+
"github-copilot": {
|
|
96
|
+
"id": "github-copilot",
|
|
97
|
+
"displayName": "GitHub Copilot",
|
|
98
|
+
"vendor": "GitHub",
|
|
99
|
+
"globalDir": "$HOME/.copilot",
|
|
100
|
+
"projectDir": ".github/copilot",
|
|
101
|
+
"instructionFile": "AGENTS.md",
|
|
102
|
+
"skillsDir": "skills",
|
|
103
|
+
"projectSkillsDir": ".github/copilot/skills",
|
|
104
|
+
"priority": "medium",
|
|
105
|
+
"status": "active",
|
|
106
|
+
"agentSkillsCompatible": false,
|
|
107
|
+
"cliDetection": {
|
|
108
|
+
"method": "directory",
|
|
109
|
+
"check": "$HOME/.copilot"
|
|
110
|
+
},
|
|
111
|
+
"notes": "GitHub's AI pair programmer - widely adopted"
|
|
112
|
+
},
|
|
113
|
+
"opencode": {
|
|
114
|
+
"id": "opencode",
|
|
115
|
+
"displayName": "OpenCode",
|
|
116
|
+
"vendor": "OpenCode",
|
|
117
|
+
"globalDir": "$HOME/.config/opencode",
|
|
118
|
+
"projectDir": ".opencode",
|
|
119
|
+
"instructionFile": "AGENTS.md",
|
|
120
|
+
"skillsDir": "skills",
|
|
121
|
+
"projectSkillsDir": ".opencode/skills",
|
|
122
|
+
"priority": "medium",
|
|
123
|
+
"status": "active",
|
|
124
|
+
"agentSkillsCompatible": false,
|
|
125
|
+
"cliDetection": {
|
|
126
|
+
"method": "directory",
|
|
127
|
+
"check": "$HOME/.config/opencode"
|
|
128
|
+
},
|
|
129
|
+
"notes": "Open-source coding assistant"
|
|
130
|
+
},
|
|
131
|
+
"kimi": {
|
|
132
|
+
"id": "kimi",
|
|
133
|
+
"displayName": "Kimi Coding",
|
|
134
|
+
"vendor": "Moonshot AI",
|
|
135
|
+
"globalDir": "$HOME/.kimi",
|
|
136
|
+
"projectDir": ".kimi",
|
|
137
|
+
"instructionFile": "AGENTS.md",
|
|
138
|
+
"skillsDir": "skills",
|
|
139
|
+
"projectSkillsDir": ".kimi/skills",
|
|
140
|
+
"priority": "low",
|
|
141
|
+
"status": "beta",
|
|
142
|
+
"agentSkillsCompatible": false,
|
|
143
|
+
"cliDetection": {
|
|
144
|
+
"method": "directory",
|
|
145
|
+
"check": "$HOME/.kimi"
|
|
146
|
+
},
|
|
147
|
+
"notes": "Emerging Chinese AI coding assistant"
|
|
148
|
+
},
|
|
149
|
+
"cline": {
|
|
150
|
+
"id": "cline",
|
|
151
|
+
"displayName": "Cline",
|
|
152
|
+
"vendor": "Cline",
|
|
153
|
+
"globalDir": "$HOME/.cline",
|
|
154
|
+
"projectDir": ".cline",
|
|
155
|
+
"instructionFile": "AGENTS.md",
|
|
156
|
+
"skillsDir": "skills",
|
|
157
|
+
"projectSkillsDir": ".cline/skills",
|
|
158
|
+
"priority": "low",
|
|
159
|
+
"status": "beta",
|
|
160
|
+
"agentSkillsCompatible": false,
|
|
161
|
+
"cliDetection": {
|
|
162
|
+
"method": "directory",
|
|
163
|
+
"check": "$HOME/.cline"
|
|
164
|
+
},
|
|
165
|
+
"notes": "VS Code extension for autonomous coding agents"
|
|
166
|
+
},
|
|
167
|
+
"roo": {
|
|
168
|
+
"id": "roo",
|
|
169
|
+
"displayName": "Roo Code",
|
|
170
|
+
"vendor": "Roo",
|
|
171
|
+
"globalDir": "$HOME/.roo",
|
|
172
|
+
"projectDir": ".roo",
|
|
173
|
+
"instructionFile": "AGENTS.md",
|
|
174
|
+
"skillsDir": "skills",
|
|
175
|
+
"projectSkillsDir": ".roo/skills",
|
|
176
|
+
"priority": "low",
|
|
177
|
+
"status": "beta",
|
|
178
|
+
"agentSkillsCompatible": false,
|
|
179
|
+
"cliDetection": {
|
|
180
|
+
"method": "directory",
|
|
181
|
+
"check": "$HOME/.roo"
|
|
182
|
+
},
|
|
183
|
+
"notes": "Experimental agent-based coding tool"
|
|
184
|
+
},
|
|
185
|
+
"continue": {
|
|
186
|
+
"id": "continue",
|
|
187
|
+
"displayName": "Continue",
|
|
188
|
+
"vendor": "Continue",
|
|
189
|
+
"globalDir": "$HOME/.continue",
|
|
190
|
+
"projectDir": ".continue",
|
|
191
|
+
"instructionFile": "AGENTS.md",
|
|
192
|
+
"skillsDir": "skills",
|
|
193
|
+
"projectSkillsDir": ".continue/skills",
|
|
194
|
+
"priority": "low",
|
|
195
|
+
"status": "active",
|
|
196
|
+
"agentSkillsCompatible": false,
|
|
197
|
+
"cliDetection": {
|
|
198
|
+
"method": "directory",
|
|
199
|
+
"check": "$HOME/.continue"
|
|
200
|
+
},
|
|
201
|
+
"notes": "Open-source autopilot for VS Code and JetBrains"
|
|
202
|
+
},
|
|
203
|
+
"antigravity": {
|
|
204
|
+
"id": "antigravity",
|
|
205
|
+
"displayName": "Antigravity",
|
|
206
|
+
"vendor": "Google",
|
|
207
|
+
"globalDir": "$HOME/.gemini/antigravity",
|
|
208
|
+
"projectDir": ".gemini/antigravity",
|
|
209
|
+
"instructionFile": "AGENTS.md",
|
|
210
|
+
"skillsDir": "global_skills",
|
|
211
|
+
"projectSkillsDir": ".gemini/antigravity/global_skills",
|
|
212
|
+
"priority": "low",
|
|
213
|
+
"status": "planned",
|
|
214
|
+
"agentSkillsCompatible": false,
|
|
215
|
+
"cliDetection": {
|
|
216
|
+
"method": "directory",
|
|
217
|
+
"check": "$HOME/.gemini/antigravity"
|
|
218
|
+
},
|
|
219
|
+
"notes": "Google's experimental agentic framework for Gemini"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"instructionFileMap": {
|
|
223
|
+
"CLAUDE.md": ["claude-code"],
|
|
224
|
+
"AGENTS.md": [
|
|
225
|
+
"cursor",
|
|
226
|
+
"windsurf",
|
|
227
|
+
"codex",
|
|
228
|
+
"github-copilot",
|
|
229
|
+
"opencode",
|
|
230
|
+
"kimi",
|
|
231
|
+
"cline",
|
|
232
|
+
"roo",
|
|
233
|
+
"continue",
|
|
234
|
+
"antigravity"
|
|
235
|
+
],
|
|
236
|
+
"GEMINI.md": ["gemini"]
|
|
237
|
+
},
|
|
238
|
+
"priorityTiers": {
|
|
239
|
+
"tier1": ["claude-code", "cursor", "windsurf"],
|
|
240
|
+
"tier2": ["codex", "gemini", "github-copilot", "opencode"],
|
|
241
|
+
"tier3": ["kimi", "cline", "roo", "continue", "antigravity"]
|
|
242
|
+
}
|
|
243
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://cleo-dev.com/schemas/v1/agent-registry.schema.json",
|
|
4
|
+
"title": "CLEO Agent Registry Schema",
|
|
5
|
+
"description": "Unified registry for LLM coding agent configurations, paths, and capabilities",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["schemaVersion", "lastUpdated", "agents"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$",
|
|
12
|
+
"description": "Semantic version of this schema"
|
|
13
|
+
},
|
|
14
|
+
"lastUpdated": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "date",
|
|
17
|
+
"description": "Last update date (ISO 8601)"
|
|
18
|
+
},
|
|
19
|
+
"agents": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"description": "Map of agent ID to configuration",
|
|
22
|
+
"additionalProperties": {
|
|
23
|
+
"$ref": "#/$defs/agentConfig"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"instructionFileMap": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"description": "Map of instruction file names to list of agents using them",
|
|
29
|
+
"additionalProperties": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": { "type": "string" }
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"priorityTiers": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"description": "Agent groupings by priority tier",
|
|
37
|
+
"properties": {
|
|
38
|
+
"tier1": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": { "type": "string" },
|
|
41
|
+
"description": "High priority - primary agents"
|
|
42
|
+
},
|
|
43
|
+
"tier2": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": { "type": "string" },
|
|
46
|
+
"description": "Medium priority - secondary agents"
|
|
47
|
+
},
|
|
48
|
+
"tier3": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": { "type": "string" },
|
|
51
|
+
"description": "Low priority - emerging agents"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"$defs": {
|
|
57
|
+
"agentConfig": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"required": ["id", "displayName", "globalDir", "instructionFile", "skillsDir", "priority"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"id": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"pattern": "^[a-z][a-z0-9-]*$",
|
|
64
|
+
"description": "Unique agent identifier (lowercase, hyphenated)"
|
|
65
|
+
},
|
|
66
|
+
"displayName": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Human-readable display name"
|
|
69
|
+
},
|
|
70
|
+
"vendor": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "Company/organization behind the agent"
|
|
73
|
+
},
|
|
74
|
+
"globalDir": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "Global configuration directory path (use $HOME for home dir)"
|
|
77
|
+
},
|
|
78
|
+
"projectDir": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Project-level configuration directory (relative to project root)"
|
|
81
|
+
},
|
|
82
|
+
"instructionFile": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Instruction/configuration markdown file name"
|
|
85
|
+
},
|
|
86
|
+
"skillsDir": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "Skills directory path relative to globalDir"
|
|
89
|
+
},
|
|
90
|
+
"projectSkillsDir": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "Project-level skills directory (relative to project root)"
|
|
93
|
+
},
|
|
94
|
+
"priority": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"enum": ["high", "medium", "low"],
|
|
97
|
+
"description": "Agent priority tier for CLEO support"
|
|
98
|
+
},
|
|
99
|
+
"status": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": ["active", "beta", "deprecated", "planned"],
|
|
102
|
+
"default": "active",
|
|
103
|
+
"description": "Support status"
|
|
104
|
+
},
|
|
105
|
+
"cliDetection": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"description": "How to detect if agent CLI is installed",
|
|
108
|
+
"properties": {
|
|
109
|
+
"method": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"enum": ["directory", "command", "file"],
|
|
112
|
+
"description": "Detection method"
|
|
113
|
+
},
|
|
114
|
+
"check": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "Path, command, or file to check"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"agentSkillsCompatible": {
|
|
121
|
+
"type": "boolean",
|
|
122
|
+
"default": false,
|
|
123
|
+
"description": "Whether agent is compatible with vercel-labs/add-skill"
|
|
124
|
+
},
|
|
125
|
+
"notes": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "Additional notes about this agent"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://cleo-dev.com/schemas/v1/research-manifest.schema.json",
|
|
4
|
+
"title": "Agent Output Manifest Entry",
|
|
5
|
+
"description": "Schema for MANIFEST.jsonl entries tracking outputs from all agent types (research, implementation, validation, documentation) in the Orchestrator Protocol",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"id",
|
|
9
|
+
"file",
|
|
10
|
+
"title",
|
|
11
|
+
"date",
|
|
12
|
+
"status",
|
|
13
|
+
"topics",
|
|
14
|
+
"key_findings",
|
|
15
|
+
"actionable"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Unique identifier slug with date suffix",
|
|
21
|
+
"pattern": "^[a-z0-9-]+-[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
22
|
+
},
|
|
23
|
+
"file": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "Output filename in agent-outputs directory (relative path)",
|
|
26
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}_[a-z0-9-]+\\.md$"
|
|
27
|
+
},
|
|
28
|
+
"title": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "Human-readable title for the agent output entry",
|
|
31
|
+
"minLength": 5,
|
|
32
|
+
"maxLength": 200
|
|
33
|
+
},
|
|
34
|
+
"date": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "ISO 8601 date (YYYY-MM-DD)",
|
|
37
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
38
|
+
},
|
|
39
|
+
"timestamp": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "ISO 8601 datetime for precise ordering",
|
|
42
|
+
"format": "date-time"
|
|
43
|
+
},
|
|
44
|
+
"status": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "Progress status of the agent output",
|
|
47
|
+
"enum": ["complete", "partial", "blocked", "archived"]
|
|
48
|
+
},
|
|
49
|
+
"topics": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"description": "Categorization tags",
|
|
52
|
+
"items": {"type": "string"},
|
|
53
|
+
"minItems": 1,
|
|
54
|
+
"maxItems": 10
|
|
55
|
+
},
|
|
56
|
+
"key_findings": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"description": "Executive summary (3-7 single-sentence findings)",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"maxLength": 200
|
|
62
|
+
},
|
|
63
|
+
"minItems": 3,
|
|
64
|
+
"maxItems": 7
|
|
65
|
+
},
|
|
66
|
+
"actionable": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"description": "Whether this agent output requires follow-up action"
|
|
69
|
+
},
|
|
70
|
+
"needs_followup": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"description": "Task IDs or BLOCKED:reason entries for handoff",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"pattern": "^(T[0-9]+|BLOCKED:.+)$"
|
|
76
|
+
},
|
|
77
|
+
"default": []
|
|
78
|
+
},
|
|
79
|
+
"linked_tasks": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"description": "CLEO task IDs this agent output relates to",
|
|
82
|
+
"items": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"pattern": "^T[0-9]+$"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"agent_type": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Type of agent that created this output entry",
|
|
90
|
+
"enum": ["research", "implementation", "validation", "documentation", "analysis", "specification"],
|
|
91
|
+
"default": "research"
|
|
92
|
+
},
|
|
93
|
+
"source": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "Origin of the entry (e.g., epic-architect)"
|
|
96
|
+
},
|
|
97
|
+
"output_file": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "Relative path to output file in agent-outputs directory (alternative to file field)"
|
|
100
|
+
},
|
|
101
|
+
"files_modified": {
|
|
102
|
+
"type": "array",
|
|
103
|
+
"description": "Files modified by implementation agents (relative paths from project root)",
|
|
104
|
+
"items": {
|
|
105
|
+
"type": "string"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"tests_run": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"description": "Test results from validation agents",
|
|
111
|
+
"items": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"test": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "Test name or file path"
|
|
117
|
+
},
|
|
118
|
+
"result": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"enum": ["pass", "fail", "skip", "error"]
|
|
121
|
+
},
|
|
122
|
+
"details": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"description": "Optional failure details or notes"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": ["test", "result"]
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"documentation_artifacts": {
|
|
131
|
+
"type": "array",
|
|
132
|
+
"description": "Documentation files created or updated by documentation agents",
|
|
133
|
+
"items": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"parentId": {
|
|
138
|
+
"type": ["string", "null"],
|
|
139
|
+
"description": "Parent manifest entry ID for hierarchy (null for root entries)",
|
|
140
|
+
"default": null
|
|
141
|
+
},
|
|
142
|
+
"epicId": {
|
|
143
|
+
"type": ["string", "null"],
|
|
144
|
+
"description": "Root epic task ID this entry belongs to",
|
|
145
|
+
"pattern": "^T\\d+$",
|
|
146
|
+
"default": null
|
|
147
|
+
},
|
|
148
|
+
"path": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"description": "Slash-delimited ancestry path from root epic (e.g., 'T2968/T2973/T2997')",
|
|
151
|
+
"default": ""
|
|
152
|
+
},
|
|
153
|
+
"depth": {
|
|
154
|
+
"type": "integer",
|
|
155
|
+
"description": "Nesting depth (0=root, 1=child, 2=grandchild)",
|
|
156
|
+
"minimum": 0,
|
|
157
|
+
"maximum": 10,
|
|
158
|
+
"default": 0
|
|
159
|
+
},
|
|
160
|
+
"childCount": {
|
|
161
|
+
"type": "integer",
|
|
162
|
+
"description": "Number of direct child entries",
|
|
163
|
+
"minimum": 0,
|
|
164
|
+
"default": 0
|
|
165
|
+
},
|
|
166
|
+
"audit": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"description": "Provenance and lifecycle tracking (v2.10.0+ - optional for backward compatibility)",
|
|
169
|
+
"properties": {
|
|
170
|
+
"created_by": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"description": "Agent ID that created this output (format: {role}-agent-{taskId})",
|
|
173
|
+
"pattern": "^[a-z]+-agent-T[0-9]+$"
|
|
174
|
+
},
|
|
175
|
+
"created_at": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "ISO 8601 datetime when output was created",
|
|
178
|
+
"format": "date-time"
|
|
179
|
+
},
|
|
180
|
+
"validated_by": {
|
|
181
|
+
"type": ["string", "null"],
|
|
182
|
+
"description": "Agent ID that validated this output (MUST differ from created_by)",
|
|
183
|
+
"pattern": "^[a-z]+-agent-T[0-9]+$"
|
|
184
|
+
},
|
|
185
|
+
"validated_at": {
|
|
186
|
+
"type": ["string", "null"],
|
|
187
|
+
"description": "ISO 8601 datetime when output was validated",
|
|
188
|
+
"format": "date-time"
|
|
189
|
+
},
|
|
190
|
+
"validation_status": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"description": "Validation workflow state",
|
|
193
|
+
"enum": ["pending", "in_review", "approved", "rejected", "needs_revision"],
|
|
194
|
+
"default": "pending"
|
|
195
|
+
},
|
|
196
|
+
"tested_by": {
|
|
197
|
+
"type": ["string", "null"],
|
|
198
|
+
"description": "Agent ID that tested this output (MUST differ from created_by and validated_by)",
|
|
199
|
+
"pattern": "^[a-z]+-agent-T[0-9]+$"
|
|
200
|
+
},
|
|
201
|
+
"tested_at": {
|
|
202
|
+
"type": ["string", "null"],
|
|
203
|
+
"description": "ISO 8601 datetime when output was tested",
|
|
204
|
+
"format": "date-time"
|
|
205
|
+
},
|
|
206
|
+
"lifecycle_state": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"description": "RCSD→IVTR pipeline stage",
|
|
209
|
+
"enum": ["research", "consensus", "specification", "decomposition", "implementation", "validation", "testing", "release"]
|
|
210
|
+
},
|
|
211
|
+
"provenance_chain": {
|
|
212
|
+
"type": "array",
|
|
213
|
+
"description": "Full lineage from research to release (array of task/manifest IDs or objects)",
|
|
214
|
+
"items": {
|
|
215
|
+
"oneOf": [
|
|
216
|
+
{
|
|
217
|
+
"type": "string",
|
|
218
|
+
"description": "Simple ID reference",
|
|
219
|
+
"pattern": "^(T[0-9]+|[a-z0-9-]+)$"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "object",
|
|
223
|
+
"description": "Detailed chain entry",
|
|
224
|
+
"required": ["type", "id"],
|
|
225
|
+
"properties": {
|
|
226
|
+
"type": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"enum": ["task", "research", "consensus", "specification", "decomposition", "implementation", "validation", "testing", "release"]
|
|
229
|
+
},
|
|
230
|
+
"id": {
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
"title": {
|
|
234
|
+
"type": "string"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
"default": []
|
|
241
|
+
},
|
|
242
|
+
"validates_task": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"description": "Task ID this output validates (for consensus/validation agents)",
|
|
245
|
+
"pattern": "^T[0-9]+$"
|
|
246
|
+
},
|
|
247
|
+
"validation_result": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "Result of validation (approved/rejected/needs_revision)",
|
|
250
|
+
"enum": ["approved", "rejected", "needs_revision"]
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"required": ["created_by", "created_at", "lifecycle_state"]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"additionalProperties": true
|
|
257
|
+
}
|