@compozy/cli 0.1.3 → 0.1.5
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/README.md +87 -13
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ One CLI to replace scattered prompts, manual task tracking, and copy-paste revie
|
|
|
29
29
|
## ✨ Highlights
|
|
30
30
|
|
|
31
31
|
- **One command, 40+ agents.** Install bundled skills into Claude Code, Codex, Cursor, Droid, OpenCode, Pi, Gemini, and 40+ other agents and editors with `compozy setup`.
|
|
32
|
-
- **Idea to code in
|
|
32
|
+
- **Idea to code in a structured pipeline.** Optional Issue → PRD → TechSpec → Tasks → Execution → Review. Each phase produces plain markdown artifacts that feed into the next. Start from an issue for full research and debate, or jump straight to PRD if you already have a clear scope.
|
|
33
33
|
- **Codebase-aware enrichment.** Tasks aren't generic prompts. Compozy spawns parallel agents to explore your codebase, discover patterns, and ground every task in real project context.
|
|
34
34
|
- **Multi-agent execution.** Run tasks through ACP-capable runtimes like Claude Code, Codex, Cursor, Droid, OpenCode, Pi, or Gemini — just change `--ide`. Concurrent batch processing with configurable timeouts, retries, and exponential backoff, all with a live terminal UI.
|
|
35
35
|
- **Workflow memory between runs.** Agents inherit context from every previous task — decisions, learnings, errors, and handoffs. Two-tier markdown memory with automatic compaction keeps context fresh without manual bookkeeping.
|
|
@@ -98,6 +98,62 @@ Every artifact is a plain markdown file in `.compozy/tasks/<name>/`. You can rea
|
|
|
98
98
|
|
|
99
99
|
Task and review issue files use YAML frontmatter for parseable metadata such as `status`, `domain`, `severity`, and `provider_ref`. Task workflow `_meta.md` files can be refreshed explicitly with `compozy sync`. Fully completed workflows can be moved out of the active task root with `compozy archive`. If you have an older project with XML-tagged artifacts, run `compozy migrate` once before using `start` or `fix-reviews`.
|
|
100
100
|
|
|
101
|
+
## ⚙️ Workspace Config
|
|
102
|
+
|
|
103
|
+
Compozy can load project defaults from `.compozy/config.toml`.
|
|
104
|
+
|
|
105
|
+
- The CLI discovers the nearest `.compozy/` directory by walking upward from the current working directory.
|
|
106
|
+
- If `.compozy/config.toml` exists, Compozy loads it once at command startup.
|
|
107
|
+
- Interactive forms for `compozy start`, `compozy fix-reviews`, and `compozy fetch-reviews` are prefilled from the resolved config.
|
|
108
|
+
- Explicit CLI flags always win over config values.
|
|
109
|
+
|
|
110
|
+
Precedence is:
|
|
111
|
+
|
|
112
|
+
```text
|
|
113
|
+
explicit flags > command section > [defaults] > built-in defaults
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Example:
|
|
117
|
+
|
|
118
|
+
```toml
|
|
119
|
+
[defaults]
|
|
120
|
+
ide = "codex"
|
|
121
|
+
model = "gpt-5.4"
|
|
122
|
+
reasoning_effort = "medium"
|
|
123
|
+
access_mode = "full"
|
|
124
|
+
timeout = "10m"
|
|
125
|
+
tail_lines = 0
|
|
126
|
+
add_dirs = ["../shared"]
|
|
127
|
+
auto_commit = false
|
|
128
|
+
max_retries = 0
|
|
129
|
+
retry_backoff_multiplier = 1.5
|
|
130
|
+
|
|
131
|
+
[start]
|
|
132
|
+
include_completed = false
|
|
133
|
+
|
|
134
|
+
[fix_reviews]
|
|
135
|
+
concurrent = 2
|
|
136
|
+
batch_size = 3
|
|
137
|
+
grouped = true
|
|
138
|
+
include_resolved = false
|
|
139
|
+
|
|
140
|
+
[fetch_reviews]
|
|
141
|
+
provider = "coderabbit"
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Supported sections in v1:
|
|
145
|
+
|
|
146
|
+
- `[defaults]` for shared execution defaults such as `ide`, `model`, `reasoning_effort`, `access_mode`, `timeout`, `tail_lines`, `add_dirs`, `auto_commit`, `max_retries`, and `retry_backoff_multiplier`
|
|
147
|
+
- `[start]` for `include_completed`
|
|
148
|
+
- `[fix_reviews]` for `concurrent`, `batch_size`, `grouped`, and `include_resolved`
|
|
149
|
+
- `[fetch_reviews]` for `provider`
|
|
150
|
+
|
|
151
|
+
Notes:
|
|
152
|
+
|
|
153
|
+
- `.compozy/config.toml` is optional. If it is absent, Compozy keeps the current built-in defaults.
|
|
154
|
+
- `.compozy/tasks` remains the fixed workflow root in this version; the config file does not change the workflow root path.
|
|
155
|
+
- Unknown keys and invalid value types are rejected during config loading.
|
|
156
|
+
|
|
101
157
|
## 🚀 Quick Start
|
|
102
158
|
|
|
103
159
|
This walkthrough builds a feature called **user-auth** from idea to shipped code.
|
|
@@ -109,18 +165,27 @@ compozy setup
|
|
|
109
165
|
```
|
|
110
166
|
|
|
111
167
|
Auto-detects installed agents and copies (or symlinks) skills into their configuration directories.
|
|
168
|
+
`compozy start` and `compozy fix-reviews` now verify that bundled Compozy skills are installed for the selected agent before running. Missing installs block the run, and outdated installs prompt for refresh in interactive terminals.
|
|
112
169
|
|
|
113
|
-
### 2. Create
|
|
170
|
+
### 2. (Optional) Create an Issue
|
|
114
171
|
|
|
115
172
|
Inside your AI agent (Claude Code, Codex, Cursor, OpenCode, Pi, etc.):
|
|
116
173
|
|
|
117
174
|
```
|
|
118
|
-
/cy-
|
|
175
|
+
/cy-idea-factory user-auth
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Transforms a raw idea into a structured issue spec — asks targeted questions, researches market and codebase in parallel, runs business analysis and council debate, suggests high-leverage alternatives, and produces a research-backed issue. Skip this step if you already have a clear feature scope.
|
|
179
|
+
|
|
180
|
+
### 3. Create a PRD
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
/cy-create-prd user-auth
|
|
119
184
|
```
|
|
120
185
|
|
|
121
|
-
Interactive brainstorming session — asks clarifying questions, spawns parallel agents to research your codebase and the web, produces a business-focused PRD with ADRs.
|
|
186
|
+
Interactive brainstorming session — reads the issue if one exists, asks clarifying questions, spawns parallel agents to research your codebase and the web, produces a business-focused PRD with ADRs.
|
|
122
187
|
|
|
123
|
-
###
|
|
188
|
+
### 4. Create a TechSpec
|
|
124
189
|
|
|
125
190
|
```
|
|
126
191
|
/cy-create-techspec user-auth
|
|
@@ -128,7 +193,7 @@ Interactive brainstorming session — asks clarifying questions, spawns parallel
|
|
|
128
193
|
|
|
129
194
|
Reads your PRD, explores the codebase architecture, asks technical clarification questions. Produces architecture specs, API designs, and data models.
|
|
130
195
|
|
|
131
|
-
###
|
|
196
|
+
### 5. Break down into tasks
|
|
132
197
|
|
|
133
198
|
```
|
|
134
199
|
/cy-create-tasks user-auth
|
|
@@ -136,7 +201,7 @@ Reads your PRD, explores the codebase architecture, asks technical clarification
|
|
|
136
201
|
|
|
137
202
|
Analyzes both documents, explores your codebase for relevant files and patterns, produces individually executable task files with status tracking, context, and acceptance criteria.
|
|
138
203
|
|
|
139
|
-
###
|
|
204
|
+
### 6. Execute tasks
|
|
140
205
|
|
|
141
206
|
```bash
|
|
142
207
|
compozy start --name user-auth --ide claude
|
|
@@ -144,7 +209,7 @@ compozy start --name user-auth --ide claude
|
|
|
144
209
|
|
|
145
210
|
Each pending task is processed sequentially — the agent reads the spec, implements the code, validates it, and updates the task status. Use `--dry-run` to preview prompts without executing.
|
|
146
211
|
|
|
147
|
-
###
|
|
212
|
+
### 7. Review
|
|
148
213
|
|
|
149
214
|
**Option A** — AI-powered review inside your agent:
|
|
150
215
|
|
|
@@ -160,7 +225,7 @@ compozy fetch-reviews --provider coderabbit --pr 42 --name user-auth
|
|
|
160
225
|
|
|
161
226
|
Both produce the same output: `.compozy/tasks/user-auth/reviews-001/issue_*.md`
|
|
162
227
|
|
|
163
|
-
###
|
|
228
|
+
### 8. Fix review issues
|
|
164
229
|
|
|
165
230
|
```bash
|
|
166
231
|
compozy fix-reviews --name user-auth --ide claude --concurrent 2 --batch-size 3
|
|
@@ -168,17 +233,18 @@ compozy fix-reviews --name user-auth --ide claude --concurrent 2 --batch-size 3
|
|
|
168
233
|
|
|
169
234
|
Agents triage each issue as valid or invalid, implement fixes for valid issues, and update statuses. Provider threads are resolved automatically.
|
|
170
235
|
|
|
171
|
-
###
|
|
236
|
+
### 9. Iterate and ship
|
|
172
237
|
|
|
173
|
-
Repeat steps
|
|
238
|
+
Repeat steps 7–8. Each cycle creates a new review round (`reviews-002/`, `reviews-003/`), preserving full history. When clean — merge and ship.
|
|
174
239
|
|
|
175
240
|
## 🧩 Skills
|
|
176
241
|
|
|
177
|
-
Compozy bundles
|
|
242
|
+
Compozy bundles 9 skills that its workflows depend on. They run inside your AI agent — no context switching to external tools.
|
|
178
243
|
|
|
179
244
|
| Skill | Purpose |
|
|
180
245
|
| -------------------- | -------------------------------------------------------------------------- |
|
|
181
|
-
| `cy-
|
|
246
|
+
| `cy-idea-factory` | Raw idea → structured issue spec with market research, business analysis, and council debate |
|
|
247
|
+
| `cy-create-prd` | Issue/idea → Product Requirements Document with ADRs |
|
|
182
248
|
| `cy-create-techspec` | PRD → Technical Specification with architecture exploration |
|
|
183
249
|
| `cy-create-tasks` | PRD + TechSpec → Independently implementable task files |
|
|
184
250
|
| `cy-execute-task` | Executes one task end-to-end: implement, validate, track, commit |
|
|
@@ -309,6 +375,8 @@ compozy start [flags]
|
|
|
309
375
|
```
|
|
310
376
|
|
|
311
377
|
Running `compozy start` with no flags opens the interactive form automatically.
|
|
378
|
+
When present, `.compozy/config.toml` can provide defaults for runtime flags such as
|
|
379
|
+
`--ide`, `--model`, `--reasoning-effort`, `--access-mode`, `--timeout`, `--add-dir`, and `--auto-commit`.
|
|
312
380
|
|
|
313
381
|
| Flag | Default | Description |
|
|
314
382
|
| ---------------------------- | ----------- | ------------------------------------------------------------- |
|
|
@@ -317,6 +385,7 @@ Running `compozy start` with no flags opens the interactive form automatically.
|
|
|
317
385
|
| `--ide` | `codex` | Agent: `claude`, `codex`, `cursor`, `droid`, `opencode`, `pi` |
|
|
318
386
|
| `--model` | _(per IDE)_ | Model override |
|
|
319
387
|
| `--reasoning-effort` | `medium` | `low`, `medium`, `high`, `xhigh` |
|
|
388
|
+
| `--access-mode` | `full` | `default` or `full` runtime access policy |
|
|
320
389
|
| `--timeout` | `10m` | Activity timeout per job |
|
|
321
390
|
| `--max-retries` | `0` | Retry failed jobs N times |
|
|
322
391
|
| `--retry-backoff-multiplier` | `1.5` | Timeout multiplier per retry |
|
|
@@ -336,6 +405,7 @@ compozy fetch-reviews [flags]
|
|
|
336
405
|
```
|
|
337
406
|
|
|
338
407
|
Running `compozy fetch-reviews` with no flags opens the interactive form automatically.
|
|
408
|
+
When present, `.compozy/config.toml` can provide defaults such as `--provider`.
|
|
339
409
|
|
|
340
410
|
| Flag | Default | Description |
|
|
341
411
|
| ------------ | ------- | ----------------------------------------- |
|
|
@@ -354,6 +424,8 @@ compozy fix-reviews [flags]
|
|
|
354
424
|
```
|
|
355
425
|
|
|
356
426
|
Running `compozy fix-reviews` with no flags opens the interactive form automatically.
|
|
427
|
+
When present, `.compozy/config.toml` can provide runtime defaults as well as review workflow
|
|
428
|
+
defaults such as `--concurrent`, `--batch-size`, `--grouped`, and `--include-resolved`.
|
|
357
429
|
|
|
358
430
|
| Flag | Default | Description |
|
|
359
431
|
| ---------------------------- | ----------- | ------------------------------------------------------------- |
|
|
@@ -367,6 +439,7 @@ Running `compozy fix-reviews` with no flags opens the interactive form automatic
|
|
|
367
439
|
| `--grouped` | `false` | Generate grouped issue summaries |
|
|
368
440
|
| `--include-resolved` | `false` | Re-process resolved issues |
|
|
369
441
|
| `--reasoning-effort` | `medium` | `low`, `medium`, `high`, `xhigh` |
|
|
442
|
+
| `--access-mode` | `full` | `default` or `full` runtime access policy |
|
|
370
443
|
| `--timeout` | `10m` | Activity timeout per job |
|
|
371
444
|
| `--max-retries` | `0` | Retry failed jobs N times |
|
|
372
445
|
| `--retry-backoff-multiplier` | `1.5` | Timeout multiplier per retry |
|
|
@@ -432,6 +505,7 @@ internal/core/ Internal facade for preparation and execution
|
|
|
432
505
|
internal/setup/ Bundled skill installer (agent detection, symlink/copy)
|
|
433
506
|
internal/version/ Build metadata
|
|
434
507
|
skills/ Bundled installable skills
|
|
508
|
+
.compozy/config.toml Optional workspace defaults for CLI execution
|
|
435
509
|
.compozy/tasks/ Default workflow artifact root (PRDs, TechSpecs, tasks, ADRs, reviews)
|
|
436
510
|
```
|
|
437
511
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compozy/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5",
|
|
5
5
|
"description": "Compozy CLI",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "node install.js",
|
|
@@ -27,69 +27,69 @@
|
|
|
27
27
|
},
|
|
28
28
|
"archives": {
|
|
29
29
|
"darwin-arm64": {
|
|
30
|
-
"name": "compozy_0.1.
|
|
31
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
30
|
+
"name": "compozy_0.1.5_darwin_arm64.tar.gz",
|
|
31
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.5/compozy_0.1.5_darwin_arm64.tar.gz",
|
|
32
32
|
"bins": [
|
|
33
33
|
"compozy"
|
|
34
34
|
],
|
|
35
35
|
"format": "tar.gz",
|
|
36
36
|
"checksum": {
|
|
37
37
|
"algorithm": "sha256",
|
|
38
|
-
"digest": "
|
|
38
|
+
"digest": "3d2e072f0a9639e228d9abe6f86b78a1d57c6e7d4179d2f1dda79d315ab2541d"
|
|
39
39
|
},
|
|
40
|
-
"wrappedIn": "compozy_0.1.
|
|
40
|
+
"wrappedIn": "compozy_0.1.5_darwin_arm64"
|
|
41
41
|
},
|
|
42
42
|
"darwin-x64": {
|
|
43
|
-
"name": "compozy_0.1.
|
|
44
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
43
|
+
"name": "compozy_0.1.5_darwin_x86_64.tar.gz",
|
|
44
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.5/compozy_0.1.5_darwin_x86_64.tar.gz",
|
|
45
45
|
"bins": [
|
|
46
46
|
"compozy"
|
|
47
47
|
],
|
|
48
48
|
"format": "tar.gz",
|
|
49
49
|
"checksum": {
|
|
50
50
|
"algorithm": "sha256",
|
|
51
|
-
"digest": "
|
|
51
|
+
"digest": "b1ca614d96d02055b412d36581249e4776ae8013f69e1fcb796e1f3506bc3a2d"
|
|
52
52
|
},
|
|
53
|
-
"wrappedIn": "compozy_0.1.
|
|
53
|
+
"wrappedIn": "compozy_0.1.5_darwin_x86_64"
|
|
54
54
|
},
|
|
55
55
|
"linux-arm64": {
|
|
56
|
-
"name": "compozy_0.1.
|
|
57
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
56
|
+
"name": "compozy_0.1.5_linux_arm64.tar.gz",
|
|
57
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.5/compozy_0.1.5_linux_arm64.tar.gz",
|
|
58
58
|
"bins": [
|
|
59
59
|
"compozy"
|
|
60
60
|
],
|
|
61
61
|
"format": "tar.gz",
|
|
62
62
|
"checksum": {
|
|
63
63
|
"algorithm": "sha256",
|
|
64
|
-
"digest": "
|
|
64
|
+
"digest": "0a03b9d752fcf16da9842e6937e572519bc5e3db89755610038daef16e9b633a"
|
|
65
65
|
},
|
|
66
|
-
"wrappedIn": "compozy_0.1.
|
|
66
|
+
"wrappedIn": "compozy_0.1.5_linux_arm64"
|
|
67
67
|
},
|
|
68
68
|
"linux-x64": {
|
|
69
|
-
"name": "compozy_0.1.
|
|
70
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
69
|
+
"name": "compozy_0.1.5_linux_x86_64.tar.gz",
|
|
70
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.5/compozy_0.1.5_linux_x86_64.tar.gz",
|
|
71
71
|
"bins": [
|
|
72
72
|
"compozy"
|
|
73
73
|
],
|
|
74
74
|
"format": "tar.gz",
|
|
75
75
|
"checksum": {
|
|
76
76
|
"algorithm": "sha256",
|
|
77
|
-
"digest": "
|
|
77
|
+
"digest": "b6d10adcdfe7eb1fec4fe969d693ac0d43925e931d4f19eab82011bf9eeb86cc"
|
|
78
78
|
},
|
|
79
|
-
"wrappedIn": "compozy_0.1.
|
|
79
|
+
"wrappedIn": "compozy_0.1.5_linux_x86_64"
|
|
80
80
|
},
|
|
81
81
|
"win32-x64": {
|
|
82
|
-
"name": "compozy_0.1.
|
|
83
|
-
"url": "https://github.com/compozy/compozy/releases/download/v0.1.
|
|
82
|
+
"name": "compozy_0.1.5_windows_x86_64.zip",
|
|
83
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.5/compozy_0.1.5_windows_x86_64.zip",
|
|
84
84
|
"bins": [
|
|
85
85
|
"compozy.exe"
|
|
86
86
|
],
|
|
87
87
|
"format": "zip",
|
|
88
88
|
"checksum": {
|
|
89
89
|
"algorithm": "sha256",
|
|
90
|
-
"digest": "
|
|
90
|
+
"digest": "cc86dd064a7adcc5dba88c37bad92a9c4f4e5cb05f9145a1c28290826e2c703d"
|
|
91
91
|
},
|
|
92
|
-
"wrappedIn": "compozy_0.1.
|
|
92
|
+
"wrappedIn": "compozy_0.1.5_windows_x86_64"
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|