@cleocode/cleo 2026.2.8 → 2026.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +14 -13
  2. package/dist/cli/index.js +22676 -26012
  3. package/dist/cli/index.js.map +4 -4
  4. package/dist/mcp/index.js +1651 -802
  5. package/dist/mcp/index.js.map +4 -4
  6. package/drizzle/20260301053344_careless_changeling/migration.sql +27 -0
  7. package/drizzle/20260301053344_careless_changeling/snapshot.json +2598 -0
  8. package/package.json +3 -4
  9. package/packages/ct-skills/skills/ct-cleo/SKILL.md +49 -22
  10. package/templates/CLEO-INJECTION.md +32 -138
  11. package/templates/cleo-gitignore +66 -49
  12. package/templates/git-hooks/pre-commit +24 -6
  13. package/schemas/archive/agent-configs.schema.json +0 -120
  14. package/schemas/archive/agent-registry.schema.json +0 -132
  15. package/schemas/archive/archive.schema.json +0 -450
  16. package/schemas/archive/claudedocs-frontmatter.schema.json +0 -162
  17. package/schemas/archive/commands-index.schema.json +0 -158
  18. package/schemas/archive/contribution.schema.json +0 -722
  19. package/schemas/archive/critical-path.schema.json +0 -246
  20. package/schemas/archive/deps-cache.schema.json +0 -97
  21. package/schemas/archive/doctor-output.schema.json +0 -283
  22. package/schemas/archive/error.schema.json +0 -161
  23. package/schemas/archive/export-package.schema.json +0 -375
  24. package/schemas/archive/global-config.schema.json +0 -219
  25. package/schemas/archive/log.schema.json +0 -250
  26. package/schemas/archive/metrics.schema.json +0 -328
  27. package/schemas/archive/migrations.schema.json +0 -150
  28. package/schemas/archive/nexus-registry.schema.json +0 -90
  29. package/schemas/archive/output.schema.json +0 -164
  30. package/schemas/archive/rcsd-consensus-report.schema.json +0 -491
  31. package/schemas/archive/rcsd-hitl-resolution.schema.json +0 -216
  32. package/schemas/archive/rcsd-index.schema.json +0 -384
  33. package/schemas/archive/rcsd-manifest.schema.json +0 -264
  34. package/schemas/archive/rcsd-research-output.schema.json +0 -564
  35. package/schemas/archive/rcsd-spec-frontmatter.schema.json +0 -225
  36. package/schemas/archive/releases.schema.json +0 -267
  37. package/schemas/archive/skills-manifest.schema.json +0 -91
  38. package/schemas/archive/skillsmp.schema.json +0 -208
  39. package/schemas/archive/spec-index.schema.json +0 -196
  40. package/schemas/archive/todo.schema.json +0 -995
  41. package/schemas/claudedocs-frontmatter.schema.json +0 -162
  42. package/schemas/commands-index.schema.json +0 -158
  43. package/schemas/rcsd-consensus-report.schema.json +0 -494
  44. package/schemas/rcsd-hitl-resolution.schema.json +0 -219
  45. package/schemas/rcsd-index.schema.json +0 -387
  46. package/schemas/rcsd-manifest.schema.json +0 -267
  47. package/schemas/rcsd-research-output.schema.json +0 -567
  48. package/schemas/rcsd-spec-frontmatter.schema.json +0 -225
  49. package/schemas/todo.schema.json +0 -994
  50. package/skills/_shared/cleo-style-guide.md +0 -84
  51. package/skills/_shared/manifest-operations.md +0 -810
  52. package/skills/_shared/placeholders.json +0 -433
  53. package/skills/_shared/skill-chaining-patterns.md +0 -240
  54. package/skills/_shared/subagent-protocol-base.md +0 -221
  55. package/skills/_shared/task-system-integration.md +0 -232
  56. package/skills/_shared/testing-framework-config.md +0 -110
  57. package/skills/agentskills-integrate.md +0 -104
  58. package/skills/agentskills-specs.md +0 -255
  59. package/skills/agentskills-what-are-skills.md +0 -75
  60. package/skills/manifest.json +0 -510
  61. package/templates/AGENT-INJECTION.md +0 -166
  62. /package/schemas/{research-manifest.schema.json → archive/research-manifest.schema.json} +0 -0
@@ -1,162 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft-07/schema#",
3
- "$id": "https://cleo-dev.com/schemas/v1/claudedocs-frontmatter.schema.json",
4
- "schemaVersion": "1.0.0",
5
- "title": "Claudedocs YAML Frontmatter",
6
- "description": "YAML frontmatter schema for claudedocs/ working documentation. Enforces task-linked lifecycle tracking, status management, and metadata consistency for internal development documentation.",
7
- "type": "object",
8
- "required": [
9
- "task_id",
10
- "status",
11
- "created_at",
12
- "updated_at",
13
- "type"
14
- ],
15
- "additionalProperties": false,
16
-
17
- "properties": {
18
- "task_id": {
19
- "type": "string",
20
- "pattern": "^T\\d{3,}$",
21
- "description": "Primary task ID that anchors this document (T#### format)"
22
- },
23
- "epic_id": {
24
- "type": "string",
25
- "pattern": "^T\\d{3,}$",
26
- "description": "Parent epic ID for context (optional, inferred from task hierarchy)"
27
- },
28
- "session_id": {
29
- "type": "string",
30
- "pattern": "^session_[0-9]{8}_[0-9]{6}_[a-f0-9]{6}$",
31
- "description": "CLEO session that created this document (for audit trail)"
32
- },
33
- "status": {
34
- "type": "string",
35
- "enum": ["draft", "active", "review", "archived"],
36
- "description": "Document lifecycle status: draft (initial), active (in-use), review (needs approval), archived (historical)"
37
- },
38
- "type": {
39
- "type": "string",
40
- "enum": ["research", "design", "spec", "analysis", "proposal"],
41
- "description": "Document category for organizational purposes"
42
- },
43
- "created_at": {
44
- "type": "string",
45
- "format": "date",
46
- "description": "ISO 8601 date when document was created (YYYY-MM-DD)"
47
- },
48
- "updated_at": {
49
- "type": "string",
50
- "format": "date",
51
- "description": "ISO 8601 date of last update (YYYY-MM-DD)"
52
- },
53
- "tags": {
54
- "type": "array",
55
- "items": {
56
- "type": "string",
57
- "pattern": "^[a-z][a-z0-9-]*$"
58
- },
59
- "uniqueItems": true,
60
- "minItems": 1,
61
- "maxItems": 10,
62
- "description": "Categorization tags (kebab-case)"
63
- },
64
- "canonical_promotion": {
65
- "type": "object",
66
- "description": "Tracking for promotion to canonical docs/ location",
67
- "required": ["eligible", "promoted"],
68
- "additionalProperties": false,
69
- "properties": {
70
- "eligible": {
71
- "type": "boolean",
72
- "description": "Whether this document is eligible for promotion to docs/"
73
- },
74
- "promoted": {
75
- "type": "boolean",
76
- "description": "Whether this document has been promoted to canonical location"
77
- },
78
- "target_path": {
79
- "type": "string",
80
- "pattern": "^docs/[a-z0-9-/]+\\.md$",
81
- "description": "Target canonical path if promoted (relative from repo root)"
82
- },
83
- "promoted_at": {
84
- "type": "string",
85
- "format": "date",
86
- "description": "Date when promotion occurred"
87
- }
88
- }
89
- },
90
- "gap_check": {
91
- "type": "object",
92
- "description": "Gap validation results before archive (ensures no orphaned task references)",
93
- "required": ["validated", "validated_at"],
94
- "additionalProperties": false,
95
- "properties": {
96
- "validated": {
97
- "type": "boolean",
98
- "description": "Whether gap validation has been performed"
99
- },
100
- "validated_at": {
101
- "type": "string",
102
- "format": "date-time",
103
- "description": "ISO 8601 timestamp when validation occurred"
104
- },
105
- "has_gaps": {
106
- "type": "boolean",
107
- "description": "Whether gaps were detected (orphaned task references)"
108
- },
109
- "gap_details": {
110
- "type": "array",
111
- "items": {
112
- "type": "object",
113
- "required": ["task_id", "issue"],
114
- "additionalProperties": false,
115
- "properties": {
116
- "task_id": {
117
- "type": "string",
118
- "pattern": "^T\\d{3,}$"
119
- },
120
- "issue": {
121
- "type": "string",
122
- "enum": ["task_pending", "task_active", "task_not_found"],
123
- "description": "Type of gap detected"
124
- }
125
- }
126
- },
127
- "description": "Detailed list of gaps found during validation"
128
- }
129
- }
130
- },
131
- "title": {
132
- "type": "string",
133
- "minLength": 5,
134
- "maxLength": 150,
135
- "description": "Human-readable document title"
136
- },
137
- "author": {
138
- "type": "string",
139
- "maxLength": 100,
140
- "description": "Author or generating agent identifier"
141
- },
142
- "related_tasks": {
143
- "type": "array",
144
- "items": {
145
- "type": "string",
146
- "pattern": "^T\\d{3,}$"
147
- },
148
- "uniqueItems": true,
149
- "description": "Additional task IDs referenced in document"
150
- },
151
- "supersedes": {
152
- "type": "string",
153
- "pattern": "^[a-zA-Z0-9_-]+\\.md$",
154
- "description": "Previous document filename this supersedes (if any)"
155
- },
156
- "superseded_by": {
157
- "type": "string",
158
- "pattern": "^[a-zA-Z0-9_-]+\\.md$",
159
- "description": "Newer document that supersedes this (if archived)"
160
- }
161
- }
162
- }
@@ -1,158 +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/commands-index.schema.json",
5
- "title": "Claude-TODO Commands Index",
6
- "description": "Schema for the authoritative command reference index. LLM-agent-first design: structured, queryable, schema-validated.",
7
- "type": "object",
8
- "required": ["$schema", "_meta", "categories", "commands"],
9
- "properties": {
10
- "$schema": {
11
- "type": "string",
12
- "const": "https://cleo-dev.com/schemas/v1/commands-index.schema.json"
13
- },
14
- "_meta": {
15
- "type": "object",
16
- "description": "Index metadata",
17
- "required": ["version", "lastUpdated", "totalCommands"],
18
- "properties": {
19
- "version": {
20
- "type": "string",
21
- "pattern": "^\\d+\\.\\d+\\.\\d+$"
22
- },
23
- "lastUpdated": {
24
- "type": "string",
25
- "format": "date"
26
- },
27
- "totalCommands": {
28
- "type": "integer",
29
- "minimum": 1
30
- },
31
- "specCompliance": {
32
- "type": "string",
33
- "description": "Reference to LLM-AGENT-FIRST-SPEC version"
34
- }
35
- }
36
- },
37
- "categories": {
38
- "type": "object",
39
- "description": "Command categorization for quick filtering",
40
- "properties": {
41
- "write": {
42
- "type": "array",
43
- "items": {"type": "string"},
44
- "description": "Commands that modify state"
45
- },
46
- "read": {
47
- "type": "array",
48
- "items": {"type": "string"},
49
- "description": "Commands that query/display data"
50
- },
51
- "sync": {
52
- "type": "array",
53
- "items": {"type": "string"},
54
- "description": "TodoWrite synchronization commands"
55
- },
56
- "maintenance": {
57
- "type": "array",
58
- "items": {"type": "string"},
59
- "description": "System maintenance commands"
60
- }
61
- }
62
- },
63
- "commands": {
64
- "type": "array",
65
- "description": "All commands with metadata",
66
- "items": {
67
- "$ref": "#/definitions/commandEntry"
68
- }
69
- },
70
- "agentWorkflows": {
71
- "type": "object",
72
- "description": "Pre-defined command sequences for common agent workflows",
73
- "additionalProperties": {
74
- "type": "array",
75
- "items": {"type": "string"}
76
- }
77
- },
78
- "quickLookup": {
79
- "type": "object",
80
- "description": "Intent-to-command mapping for agents",
81
- "additionalProperties": {"type": "string"}
82
- }
83
- },
84
- "definitions": {
85
- "commandEntry": {
86
- "type": "object",
87
- "required": ["name", "script", "category", "doc", "synopsis", "exitCodes", "jsonOutput", "agentRelevance"],
88
- "properties": {
89
- "name": {
90
- "type": "string",
91
- "pattern": "^[a-z-]+$",
92
- "description": "Command name (lowercase, hyphens allowed)"
93
- },
94
- "script": {
95
- "type": "string",
96
- "pattern": "^[a-z-]+\\.sh$",
97
- "description": "Implementation script filename"
98
- },
99
- "category": {
100
- "type": "string",
101
- "enum": ["write", "read", "sync", "maintenance"],
102
- "description": "Command category"
103
- },
104
- "doc": {
105
- "type": "string",
106
- "pattern": "^[a-z-]+\\.md$",
107
- "description": "Documentation filename in docs/commands/"
108
- },
109
- "synopsis": {
110
- "type": "string",
111
- "maxLength": 120,
112
- "description": "One-line command purpose"
113
- },
114
- "flags": {
115
- "type": "array",
116
- "items": {"type": "string"},
117
- "description": "Supported flags (--format, --quiet, etc.)"
118
- },
119
- "subcommands": {
120
- "type": "array",
121
- "items": {"type": "string"},
122
- "description": "Available subcommands if any"
123
- },
124
- "exitCodes": {
125
- "type": "array",
126
- "items": {
127
- "type": "integer",
128
- "minimum": 0,
129
- "maximum": 255
130
- },
131
- "description": "Possible exit codes per LLM-AGENT-FIRST-SPEC"
132
- },
133
- "jsonOutput": {
134
- "type": "boolean",
135
- "description": "Whether command supports JSON output"
136
- },
137
- "jsonDefault": {
138
- "type": "boolean",
139
- "description": "Whether JSON is default output (not text)"
140
- },
141
- "agentRelevance": {
142
- "type": "string",
143
- "enum": ["critical", "high", "medium", "low"],
144
- "description": "How frequently agents should use this command"
145
- },
146
- "aliases": {
147
- "type": "array",
148
- "items": {"type": "string"},
149
- "description": "Command aliases"
150
- },
151
- "note": {
152
- "type": "string",
153
- "description": "Additional usage notes"
154
- }
155
- }
156
- }
157
- }
158
- }