@cleocode/skills 2026.10.21 → 2026.10.22
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/package.json +1 -1
- package/skills/ct-cleo/SKILL.md +3 -3
- package/skills/ct-cleo/__tests__/injection-content.test.ts +6 -3
- package/skills/ct-cleo/references/orchestrator-constraints.md +0 -1
- package/skills/ct-cleo/references/planning-loop.md +55 -0
- package/skills/ct-codebase-mapper/SKILL.md +43 -9
- package/skills/ct-dev-workflow/SKILL.md +32 -10
- package/skills/ct-documentor/SKILL.md +28 -45
- package/skills/ct-lead/SKILL.md +34 -26
- package/skills/ct-lead/references/aggregation-protocol.md +33 -41
- package/skills/ct-lead/references/spawn-pattern.md +7 -11
- package/skills/ct-lean/SKILL.md +7 -2
- package/skills/ct-orchestrator/SKILL.md +68 -64
- package/skills/ct-orchestrator/orchestrator-prompt.txt +7 -6
- package/skills/ct-orchestrator/references/orchestrator-patterns.md +7 -8
- package/skills/ct-orchestrator/references/orchestrator-spawning.md +1 -1
- package/skills/ct-task-executor/SKILL.md +4 -4
- package/skills/manifest.json +10 -11
- package/skills/ct-cleo/references/loom-lifecycle.md +0 -136
- package/skills/ct-orchestrator/references/lifecycle-gates.md +0 -98
package/skills/manifest.json
CHANGED
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
"name": "ct-cleo",
|
|
229
|
-
"version": "2.24.
|
|
229
|
+
"version": "2.24.21",
|
|
230
230
|
"description": "CLEO task management protocol - session, task, and workflow guidance. Use when managing tasks, sessions, or multi-agent workflows with the CLEO CLI protocol.",
|
|
231
231
|
"path": "skills/ct-cleo",
|
|
232
232
|
"tier": 0,
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"dependencies": [],
|
|
239
239
|
"references": [
|
|
240
240
|
"skills/ct-cleo/references/session-protocol.md",
|
|
241
|
-
"skills/ct-cleo/references/
|
|
241
|
+
"skills/ct-cleo/references/planning-loop.md",
|
|
242
242
|
"skills/ct-cleo/references/anti-patterns.md"
|
|
243
243
|
],
|
|
244
244
|
"protocol": null,
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
"name": "ct-codebase-mapper",
|
|
305
|
-
"version": "2.
|
|
305
|
+
"version": "2.3.5",
|
|
306
306
|
"description": "Orient in an unfamiliar or large codebase with CLEO's code-intelligence graph (cleo nexus) and project map (cleo map). Use before planning or editing unfamiliar code, for brownfield onboarding, to find what a change would break, or to map a project's structure, communities and execution flows. Triggers on \"map the codebase\", \"understand this project\", \"what calls X\", \"what would break\", \"brownfield analysis\", \"project structure\".",
|
|
307
307
|
"path": "skills/ct-codebase-mapper",
|
|
308
308
|
"tier": 1,
|
|
@@ -566,7 +566,7 @@
|
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
"name": "ct-dev-workflow",
|
|
569
|
-
"version": "3.1.
|
|
569
|
+
"version": "3.1.31",
|
|
570
570
|
"description": "Development workflow orchestration for task-driven development with atomic commits, conventional commit messages, and systematic release processes. Enforces task traceability, branch discipline, smart test scope selection, and GitHub Actions integration. Use when committing code, creating releases, managing branches, or following contribution protocols. Triggers on commit operations, release preparation, or workflow compliance needs.",
|
|
571
571
|
"path": "skills/ct-dev-workflow",
|
|
572
572
|
"tier": 0,
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
},
|
|
643
643
|
{
|
|
644
644
|
"name": "ct-documentor",
|
|
645
|
-
"version": "3.
|
|
645
|
+
"version": "3.26.0",
|
|
646
646
|
"description": "Documentation coordinator with CLEO style guide compliance. Routes every canonical-doc write (spec, adr, research, handoff, note, llm-readme) through the docs SSoT via `cleo docs add` / `cleo docs publish` / `cleo docs fetch` — never raw filesystem writes. Carries the CLEO writing and review guides as references and coordinates ct-spec-writer and ct-adr-recorder. Use when creating or updating documentation files, consolidating scattered documentation, or validating documentation against style standards. Triggers on documentation tasks, doc update requests, or style guide compliance checks.",
|
|
647
647
|
"path": "skills/ct-documentor",
|
|
648
648
|
"tier": 0,
|
|
@@ -965,8 +965,8 @@
|
|
|
965
965
|
},
|
|
966
966
|
{
|
|
967
967
|
"name": "ct-lead",
|
|
968
|
-
"version": "1.
|
|
969
|
-
"description": "Phase Lead orchestration playbook for spawning and supervising a parallel worker swarm in one wave. Use when spawned by ct-orchestrator with role=orchestrator to fan out N leaf workers via delegate_task,
|
|
968
|
+
"version": "1.1.3",
|
|
969
|
+
"description": "Phase Lead orchestration playbook for spawning and supervising a parallel worker swarm in one wave. Use when spawned by ct-orchestrator with role=orchestrator to fan out N leaf workers via delegate_task, read worker completion messages on AgentMBX plus pipeline_manifest, await rollupWaveStatus convergence, and return ONE rolled-up contract string to the parent Orchestrator. Triggers: 'phase lead', 'wave lead', 'supervise wave', 'fan out workers', 'aggregate worker results', 'rollup wave', any task with role=orchestrator that is itself a child of another orchestrator. Implements ADR-070 hierarchical orchestration.",
|
|
970
970
|
"path": "skills/ct-lead",
|
|
971
971
|
"tier": 0,
|
|
972
972
|
"deliveryTier": "core",
|
|
@@ -983,7 +983,7 @@
|
|
|
983
983
|
},
|
|
984
984
|
{
|
|
985
985
|
"name": "ct-lean",
|
|
986
|
-
"version": "1.
|
|
986
|
+
"version": "1.6.0",
|
|
987
987
|
"description": "Lean change discipline for CLEO work: the smallest change that fully solves the task, and a reply a busy owner understands in one read. Use on every coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when the owner asks for the simplest solution, YAGNI, or complains about over-engineering or bloat; also for a lean code review (\"review this\", \"review my PR\") or a whole-repo audit (\"audit the repo\", \"what can I delete\"). Never trades away evidence gates, package boundaries, validation, data safety or anything the task asked for.",
|
|
988
988
|
"path": "skills/ct-lean",
|
|
989
989
|
"tier": 0,
|
|
@@ -1001,7 +1001,7 @@
|
|
|
1001
1001
|
},
|
|
1002
1002
|
{
|
|
1003
1003
|
"name": "ct-orchestrator",
|
|
1004
|
-
"version": "4.
|
|
1004
|
+
"version": "4.1.2",
|
|
1005
1005
|
"description": "Pipeline-aware orchestration skill for managing complex workflows through subagent delegation. Use when the user asks to \\\"orchestrate\\\", \\\"orchestrator mode\\\", \\\"run as orchestrator\\\", \\\"delegate to subagents\\\", \\\"coordinate agents\\\", \\\"spawn subagents\\\", \\\"multi-agent workflow\\\", \\\"context-protected workflow\\\", \\\"agent farm\\\", \\\"HITL orchestration\\\", \\\"pipeline management\\\", or needs to manage complex workflows by delegating work to subagents while protecting the main context window. Enforces ORC-001 through ORC-009 constraints. Provider-neutral — works with any AI agent runtime.",
|
|
1006
1006
|
"path": "skills/ct-orchestrator",
|
|
1007
1007
|
"tier": 0,
|
|
@@ -1013,7 +1013,6 @@
|
|
|
1013
1013
|
"dependencies": [],
|
|
1014
1014
|
"references": [
|
|
1015
1015
|
"skills/ct-orchestrator/references/autonomous-operation.md",
|
|
1016
|
-
"skills/ct-orchestrator/references/lifecycle-gates.md",
|
|
1017
1016
|
"skills/ct-orchestrator/references/orchestrator-compliance.md",
|
|
1018
1017
|
"skills/ct-orchestrator/references/orchestrator-handoffs.md",
|
|
1019
1018
|
"skills/ct-orchestrator/references/orchestrator-patterns.md",
|
|
@@ -1490,7 +1489,7 @@
|
|
|
1490
1489
|
},
|
|
1491
1490
|
{
|
|
1492
1491
|
"name": "ct-task-executor",
|
|
1493
|
-
"version": "2.8.
|
|
1492
|
+
"version": "2.8.6",
|
|
1494
1493
|
"description": "General implementation task execution for completing assigned CLEO tasks by following instructions and producing concrete deliverables. Handles coding, configuration, documentation work with quality verification against acceptance criteria and progress reporting. Use when executing implementation tasks, completing assigned work, or producing task deliverables. Triggers on implementation tasks, general execution needs, or task completion work.",
|
|
1495
1494
|
"path": "skills/ct-task-executor",
|
|
1496
1495
|
"tier": 0,
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
# LOOM Lifecycle (Detailed)
|
|
2
|
-
|
|
3
|
-
**LOOM** (Logical Order of Operations Methodology) is the systematic framework for how CLEO processes project threads through the RCASD-IVTR+C pipeline. This document details the lifecycle stages and gate enforcement.
|
|
4
|
-
|
|
5
|
-
See `docs/concepts/CLEO-VISION.md` for the complete LOOM framework, neural hierarchy model, and brain metaphor mapping.
|
|
6
|
-
|
|
7
|
-
## Pipeline Stages
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
LOOM (RCASD-IVTR+C) PIPELINE:
|
|
11
|
-
|
|
12
|
-
RCASD (Planning Phase):
|
|
13
|
-
Research -> Consensus -> Architecture Decision -> Specification -> Decomposition
|
|
14
|
-
|
|
|
15
|
-
v
|
|
16
|
-
IVTR (Execution Phase):
|
|
17
|
-
Implementation -> Validation -> Testing -> Release
|
|
18
|
-
|
|
19
|
-
+C (Cross-Cutting):
|
|
20
|
-
Contribution (applies across all stages)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Each stage has a **lifecycle gate**. Entering a later stage requires prior stages to be `completed` or `skipped`. Gate enforcement mode is configured in `.cleo/config.json` (`strict` | `advisory` | `off`).
|
|
24
|
-
|
|
25
|
-
## Conditional Protocols (9 Types)
|
|
26
|
-
|
|
27
|
-
| Protocol | Keywords | Use Case |
|
|
28
|
-
|----------|----------|----------|
|
|
29
|
-
| Research | research, investigate, explore | Information gathering |
|
|
30
|
-
| Consensus | vote, validate, decide | Multi-agent decisions |
|
|
31
|
-
| Specification | spec, rfc, design | Document creation |
|
|
32
|
-
| Decomposition | epic, plan, decompose | Task breakdown |
|
|
33
|
-
| Implementation | implement, build, create | Code execution |
|
|
34
|
-
| Contribution | PR, merge, shared | Work attribution |
|
|
35
|
-
| Release | release, version, publish | Version management |
|
|
36
|
-
| Artifact Publish | publish, artifact, package | Artifact distribution |
|
|
37
|
-
| Provenance | provenance, attestation, SLSA | Supply chain integrity |
|
|
38
|
-
|
|
39
|
-
## Lifecycle Gate Enforcement
|
|
40
|
-
|
|
41
|
-
CLEO enforces LOOM (RCASD-IVTR+C) lifecycle progression through automatic gate checks at spawn time.
|
|
42
|
-
|
|
43
|
-
```
|
|
44
|
-
research --+---> consensus --+---> architecture_decision --+---> specification --+---> decomposition
|
|
45
|
-
| | | |
|
|
46
|
-
| GATE | GATE | GATE | GATE
|
|
47
|
-
| | | |
|
|
48
|
-
+-----------------+------------------------------+--------------------+---> implementation --+---> release
|
|
49
|
-
|
|
|
50
|
-
validation/testing
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
| Enforcement Mode | On Gate Failure | Default |
|
|
54
|
-
|------------------|-----------------|---------|
|
|
55
|
-
| `strict` | Blocks spawn with exit 75 | yes |
|
|
56
|
-
| `advisory` | Warns but proceeds | |
|
|
57
|
-
| `off` | Skips all checks | |
|
|
58
|
-
|
|
59
|
-
### Emergency Bypass
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
cleo config set lifecycleEnforcement.mode off
|
|
63
|
-
# ... emergency work ...
|
|
64
|
-
cleo config set lifecycleEnforcement.mode strict
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Architecture Overview
|
|
68
|
-
|
|
69
|
-
CLEO implements a **2-tier universal subagent architecture**:
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
Tier 0: ORCHESTRATOR (ct-orchestrator)
|
|
73
|
-
|
|
|
74
|
-
+-- Coordinates complex workflows
|
|
75
|
-
+-- Spawns subagents via Task tool
|
|
76
|
-
+-- Pre-resolves ALL tokens before spawn
|
|
77
|
-
+-- Reads only manifest summaries (not full content)
|
|
78
|
-
|
|
|
79
|
-
v
|
|
80
|
-
Tier 1: CLEO-SUBAGENT (universal executor)
|
|
81
|
-
|
|
|
82
|
-
+-- Receives fully-resolved prompts
|
|
83
|
-
+-- Loads skill via protocol injection
|
|
84
|
-
+-- Executes delegated work
|
|
85
|
-
+-- Outputs: file + manifest entry + summary
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
**Core Principle**: One universal subagent type (`cleo-subagent`) with context-specific protocols -- NOT skill-specific agents.
|
|
89
|
-
|
|
90
|
-
## Protocol Stack
|
|
91
|
-
|
|
92
|
-
Every spawn combines two layers:
|
|
93
|
-
|
|
94
|
-
```
|
|
95
|
-
+------------------------------------------+
|
|
96
|
-
| CONDITIONAL PROTOCOL (task-specific) |
|
|
97
|
-
| - research.md, implementation.md, etc. |
|
|
98
|
-
+------------------------------------------+
|
|
99
|
-
| BASE PROTOCOL (always loaded) |
|
|
100
|
-
| - Lifecycle, output format, constraints |
|
|
101
|
-
+------------------------------------------+
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
## Subagent (cleo-subagent)
|
|
105
|
-
|
|
106
|
-
### Constraints (BASE)
|
|
107
|
-
|
|
108
|
-
| ID | Rule | Enforcement |
|
|
109
|
-
|----|------|-------------|
|
|
110
|
-
| BASE-001 | MUST append ONE entry via `cleo manifest append --entry '<json>'` (writes to pipeline_manifest table per ADR-027/T1093) | Required |
|
|
111
|
-
| BASE-002 | MUST NOT return content in response | Required |
|
|
112
|
-
| BASE-003 | MUST complete task via `cleo complete` | Required |
|
|
113
|
-
| BASE-004 | MUST write output file before manifest | Required |
|
|
114
|
-
| BASE-005 | MUST start a task before beginning work | Required |
|
|
115
|
-
| BASE-006 | MUST NOT fabricate information | Required |
|
|
116
|
-
| BASE-007 | SHOULD link research to task | Recommended |
|
|
117
|
-
|
|
118
|
-
### Subagent Lifecycle
|
|
119
|
-
|
|
120
|
-
```
|
|
121
|
-
SPAWN -> INJECT -> EXECUTE -> OUTPUT -> RETURN
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
1. **SPAWN**: Orchestrator invokes Task tool
|
|
125
|
-
2. **INJECT**: Subagent receives base protocol + conditional protocol
|
|
126
|
-
3. **EXECUTE**: Follow skill-specific instructions
|
|
127
|
-
4. **OUTPUT**: Write file + append manifest entry
|
|
128
|
-
5. **RETURN**: Completion signal only (no content)
|
|
129
|
-
|
|
130
|
-
### Return Messages
|
|
131
|
-
|
|
132
|
-
| Status | Message |
|
|
133
|
-
|--------|---------|
|
|
134
|
-
| Complete | `[Type] complete. Manifest appended to pipeline_manifest.` |
|
|
135
|
-
| Partial | `[Type] partial. Manifest appended to pipeline_manifest.` |
|
|
136
|
-
| Blocked | `[Type] blocked. Manifest appended to pipeline_manifest.` |
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
# Lifecycle Gate Enforcement
|
|
2
|
-
|
|
3
|
-
> Referenced from: @skills/ct-orchestrator/SKILL.md
|
|
4
|
-
> Load when: Need details on RCASD-IVTR+C gate checks, enforcement modes, handling gate failures, or emergency bypass
|
|
5
|
-
|
|
6
|
-
## Overview
|
|
7
|
-
|
|
8
|
-
Before spawning ANY implementation task, the system automatically checks RCASD-IVTR+C prerequisites. This ensures the Research → Consensus → Specification → Decomposition pipeline is followed.
|
|
9
|
-
|
|
10
|
-
## Decision Tree
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
Before spawn:
|
|
14
|
-
│
|
|
15
|
-
├─ Is task under an epic (has parentId)?
|
|
16
|
-
│ ├─ NO → Skip gate check, proceed
|
|
17
|
-
│ └─ YES → Continue to gate check
|
|
18
|
-
│
|
|
19
|
-
├─ What is enforcement mode?
|
|
20
|
-
│ ├─ off → Skip gate check, proceed
|
|
21
|
-
│ ├─ advisory → Check gates, warn on failure, proceed
|
|
22
|
-
│ └─ strict (default) → Check gates, BLOCK on failure
|
|
23
|
-
│
|
|
24
|
-
├─ Map protocol to RCASD-IVTR+C stage:
|
|
25
|
-
│ ├─ research → research stage
|
|
26
|
-
│ ├─ consensus → consensus stage
|
|
27
|
-
│ ├─ specification → specification stage
|
|
28
|
-
│ ├─ decomposition → decomposition stage
|
|
29
|
-
│ ├─ implementation/contribution → implementation stage
|
|
30
|
-
│ └─ release → release stage
|
|
31
|
-
│
|
|
32
|
-
├─ Check prerequisites for target stage:
|
|
33
|
-
│ ├─ All prior stages completed/skipped → GATE PASSES → Proceed with spawn
|
|
34
|
-
│ └─ Missing prerequisite stages → GATE FAILS
|
|
35
|
-
│
|
|
36
|
-
└─ On GATE FAILURE (strict mode):
|
|
37
|
-
├─ Exit code: 75 (EXIT_LIFECYCLE_GATE_FAILED)
|
|
38
|
-
├─ Error includes: missing stages, fix commands
|
|
39
|
-
└─ Action: Complete prerequisite stages first
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Enforcement Modes
|
|
43
|
-
|
|
44
|
-
| Mode | Behavior | When to Use |
|
|
45
|
-
|------|----------|-------------|
|
|
46
|
-
| **strict** (default) | Blocks spawn if prerequisites missing | Production, regulated work |
|
|
47
|
-
| **advisory** | Warns but allows spawn | Rapid prototyping, debugging |
|
|
48
|
-
| **off** | Disables all gate checks | Legacy compatibility, emergencies |
|
|
49
|
-
|
|
50
|
-
## Setting Enforcement Mode
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
# Check current mode
|
|
54
|
-
jq '.lifecycleEnforcement.mode' .cleo/config.json
|
|
55
|
-
|
|
56
|
-
# Set to advisory (temporary)
|
|
57
|
-
jq '.lifecycleEnforcement.mode = "advisory"' .cleo/config.json > tmp && mv tmp .cleo/config.json
|
|
58
|
-
|
|
59
|
-
# Set back to strict
|
|
60
|
-
jq '.lifecycleEnforcement.mode = "strict"' .cleo/config.json > tmp && mv tmp .cleo/config.json
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Handling Gate Failures
|
|
64
|
-
|
|
65
|
-
When a gate fails in strict mode:
|
|
66
|
-
|
|
67
|
-
1. **Check what's missing**: Error JSON shows `missingPrerequisites`
|
|
68
|
-
2. **Complete prerequisites**: Spawn subagents for missing stages
|
|
69
|
-
3. **Record completion**: System auto-records via manifest entries
|
|
70
|
-
4. **Retry spawn**: Original task should now pass gate
|
|
71
|
-
|
|
72
|
-
**Example failure response:**
|
|
73
|
-
```json
|
|
74
|
-
{
|
|
75
|
-
"error": {
|
|
76
|
-
"code": "E_LIFECYCLE_GATE_FAILED",
|
|
77
|
-
"message": "SPAWN BLOCKED: Lifecycle prerequisites not met for implementation stage",
|
|
78
|
-
"context": {
|
|
79
|
-
"targetStage": "implementation",
|
|
80
|
-
"missingPrerequisites": "research consensus"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Emergency Bypass
|
|
87
|
-
|
|
88
|
-
**Only for emergencies** — set mode to advisory or off:
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
# Temporary bypass for single session
|
|
92
|
-
export LIFECYCLE_ENFORCEMENT_MODE=off
|
|
93
|
-
|
|
94
|
-
# Or update config
|
|
95
|
-
jq '.lifecycleEnforcement.mode = "off"' .cleo/config.json > tmp && mv tmp .cleo/config.json
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
**Remember to restore strict mode after emergency.**
|