@compozy/cli 0.1.6 → 0.1.7
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 +27 -6
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -96,7 +96,24 @@ When the direct ACP command is not installed, Compozy can also fall back to supp
|
|
|
96
96
|
|
|
97
97
|
Every artifact is a plain markdown file in `.compozy/tasks/<name>/`. You can read, edit, or version-control any of them between steps.
|
|
98
98
|
|
|
99
|
-
Task and review issue files use YAML frontmatter for parseable metadata such as `status`, `
|
|
99
|
+
Task and review issue files use YAML frontmatter for parseable metadata such as `status`, `title`, `type`, `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
|
+
|
|
101
|
+
### Task Schema v2
|
|
102
|
+
|
|
103
|
+
Task files now use the v2 frontmatter shape: `status`, `title`, `type`, `complexity`, and `dependencies`. Legacy v1 task-only keys are no longer part of the schema. `type` must come from the workspace task type registry: either `[tasks].types` in `.compozy/config.toml` or the built-in defaults `frontend`, `backend`, `docs`, `test`, `infra`, `refactor`, `chore`, `bugfix`.
|
|
104
|
+
|
|
105
|
+
```md
|
|
106
|
+
---
|
|
107
|
+
status: pending
|
|
108
|
+
title: Add validate-tasks preflight to start
|
|
109
|
+
type: backend
|
|
110
|
+
complexity: medium
|
|
111
|
+
dependencies:
|
|
112
|
+
- task_02
|
|
113
|
+
---
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Validate task files at any time with `compozy validate-tasks --name <feature>`. `compozy start` runs the same preflight automatically; use `--skip-validation` only when tasks were validated elsewhere, or `--force` to continue after validation failures in non-interactive runs.
|
|
100
117
|
|
|
101
118
|
## ⚙️ Workspace Config
|
|
102
119
|
|
|
@@ -131,21 +148,24 @@ retry_backoff_multiplier = 1.5
|
|
|
131
148
|
[start]
|
|
132
149
|
include_completed = false
|
|
133
150
|
|
|
151
|
+
[tasks]
|
|
152
|
+
types = ["frontend", "backend", "docs", "test", "infra", "refactor", "chore", "bugfix"]
|
|
153
|
+
|
|
134
154
|
[fix_reviews]
|
|
135
155
|
concurrent = 2
|
|
136
156
|
batch_size = 3
|
|
137
|
-
grouped = true
|
|
138
157
|
include_resolved = false
|
|
139
158
|
|
|
140
159
|
[fetch_reviews]
|
|
141
160
|
provider = "coderabbit"
|
|
142
161
|
```
|
|
143
162
|
|
|
144
|
-
Supported sections
|
|
163
|
+
Supported sections:
|
|
145
164
|
|
|
146
165
|
- `[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
166
|
- `[start]` for `include_completed`
|
|
148
|
-
- `[
|
|
167
|
+
- `[tasks]` for the allowed task `type` list used by `cy-create-tasks` and `compozy validate-tasks`
|
|
168
|
+
- `[fix_reviews]` for `concurrent`, `batch_size`, and `include_resolved`
|
|
149
169
|
- `[fetch_reviews]` for `provider`
|
|
150
170
|
|
|
151
171
|
Notes:
|
|
@@ -202,6 +222,7 @@ Reads your PRD, explores the codebase architecture, asks technical clarification
|
|
|
202
222
|
```
|
|
203
223
|
|
|
204
224
|
Analyzes both documents, explores your codebase for relevant files and patterns, produces individually executable task files with status tracking, context, and acceptance criteria.
|
|
225
|
+
Generated task files use task schema v2 (`status`, `title`, `type`, `complexity`, `dependencies`). Validate them any time with `compozy validate-tasks --name user-auth`.
|
|
205
226
|
|
|
206
227
|
### 6. Execute tasks
|
|
207
228
|
|
|
@@ -210,6 +231,7 @@ compozy start --name user-auth --ide claude
|
|
|
210
231
|
```
|
|
211
232
|
|
|
212
233
|
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.
|
|
234
|
+
`compozy start` validates task metadata before execution. Use `--skip-validation` when validation already ran elsewhere, or `--force` to continue after validation failures in non-interactive environments.
|
|
213
235
|
|
|
214
236
|
### 7. Review
|
|
215
237
|
|
|
@@ -427,7 +449,7 @@ compozy fix-reviews [flags]
|
|
|
427
449
|
|
|
428
450
|
Running `compozy fix-reviews` with no flags opens the interactive form automatically.
|
|
429
451
|
When present, `.compozy/config.toml` can provide runtime defaults as well as review workflow
|
|
430
|
-
defaults such as `--concurrent`, `--batch-size`,
|
|
452
|
+
defaults such as `--concurrent`, `--batch-size`, and `--include-resolved`.
|
|
431
453
|
|
|
432
454
|
| Flag | Default | Description |
|
|
433
455
|
| ---------------------------- | ----------- | ------------------------------------------------------------- |
|
|
@@ -438,7 +460,6 @@ defaults such as `--concurrent`, `--batch-size`, `--grouped`, and `--include-res
|
|
|
438
460
|
| `--model` | _(per IDE)_ | Model override |
|
|
439
461
|
| `--batch-size` | `1` | Issues per batch |
|
|
440
462
|
| `--concurrent` | `1` | Parallel batches |
|
|
441
|
-
| `--grouped` | `false` | Generate grouped issue summaries |
|
|
442
463
|
| `--include-resolved` | `false` | Re-process resolved issues |
|
|
443
464
|
| `--reasoning-effort` | `medium` | `low`, `medium`, `high`, `xhigh` |
|
|
444
465
|
| `--access-mode` | `full` | `default` or `full` runtime access policy |
|
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.7",
|
|
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.7_darwin_arm64.tar.gz",
|
|
31
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.7/compozy_0.1.7_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": "f896320cad71f167672187dfd39f90872b6440624e6371e6fa1075660c71100b"
|
|
39
39
|
},
|
|
40
|
-
"wrappedIn": "compozy_0.1.
|
|
40
|
+
"wrappedIn": "compozy_0.1.7_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.7_darwin_x86_64.tar.gz",
|
|
44
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.7/compozy_0.1.7_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": "66e9607c4c59db2717532196f1a9b37957e6deb3cb79507651930da146046619"
|
|
52
52
|
},
|
|
53
|
-
"wrappedIn": "compozy_0.1.
|
|
53
|
+
"wrappedIn": "compozy_0.1.7_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.7_linux_arm64.tar.gz",
|
|
57
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.7/compozy_0.1.7_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": "79567d81480a8873b1cad5f704a73cdcfddfe2577034723d8bf4a9ec8c0bdd7a"
|
|
65
65
|
},
|
|
66
|
-
"wrappedIn": "compozy_0.1.
|
|
66
|
+
"wrappedIn": "compozy_0.1.7_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.7_linux_x86_64.tar.gz",
|
|
70
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.7/compozy_0.1.7_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": "48f65c1e483f55206ebdcd7bb497fbb964b570b53a99f15e824c6923a0ea88e7"
|
|
78
78
|
},
|
|
79
|
-
"wrappedIn": "compozy_0.1.
|
|
79
|
+
"wrappedIn": "compozy_0.1.7_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.7_windows_x86_64.zip",
|
|
83
|
+
"url": "https://github.com/compozy/compozy/releases/download/v0.1.7/compozy_0.1.7_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": "62314b80642e2f8e417b4657f19a1871be2dd262cbc2b3e0959024be57699c5a"
|
|
91
91
|
},
|
|
92
|
-
"wrappedIn": "compozy_0.1.
|
|
92
|
+
"wrappedIn": "compozy_0.1.7_windows_x86_64"
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|