@winton979/task-cli 1.1.0 → 1.1.1

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 (3) hide show
  1. package/README.md +7 -9
  2. package/package.json +1 -1
  3. package/src/init.js +13 -19
package/README.md CHANGED
@@ -57,7 +57,7 @@ task --help
57
57
 
58
58
  After initialization, Task CLI creates the `.ai/` workspace and installs workflow skills into both `.claude/skills/` and `.codex/skills/`.
59
59
 
60
- Use `task refresh` in existing projects to remove and reinstall only the workflow skills managed by task-cli. It does not delete your `.ai` briefs, archives, or decision log.
60
+ Use `task refresh` in existing projects to remove and reinstall only the workflow skills managed by task-cli. It does not delete your `.ai` briefs, internal archives, or decision log.
61
61
 
62
62
  Use `task doctor` to check whether the required directories exist, whether managed skills are missing or outdated, and whether the `.gitignore` rules are present.
63
63
 
@@ -70,7 +70,7 @@ Use `task doctor` to check whether the required directories exist, whether manag
70
70
  ```text
71
71
  /task-fast
72
72
 
73
- clarify + brief + implement + validate + archive
73
+ clarify + brief + implement + validate
74
74
 
75
75
  /task-review
76
76
  ```
@@ -84,8 +84,6 @@ TASK_READY
84
84
 
85
85
  /task-implement
86
86
 
87
- /task archived
88
-
89
87
  /task-review
90
88
  ```
91
89
 
@@ -98,8 +96,6 @@ BUG_READY
98
96
 
99
97
  /bug-fix
100
98
 
101
- /bug archived
102
-
103
99
  /bug-review
104
100
  ```
105
101
 
@@ -155,7 +151,7 @@ Instead of maintaining large specifications, it focuses on:
155
151
 
156
152
  1. Clarifying requirements before coding
157
153
  2. Capturing execution context in concise briefs
158
- 3. Executing with validation and lightweight archiving
154
+ 3. Executing with validation while archiving automatically in the background
159
155
  4. Reviewing work against acceptance criteria
160
156
  5. Keeping a lightweight decision history
161
157
 
@@ -168,12 +164,12 @@ Yes. The main simplification is to collapse the old 4-step paths:
168
164
 
169
165
  * `task-explore` now includes brief generation.
170
166
  * `bug-explore` now includes bug brief generation.
171
- * `task-implement` and `bug-fix` now validate and archive the brief when the work is complete.
167
+ * `task-implement` and `bug-fix` now validate the work and archive the brief automatically when complete.
172
168
 
173
169
  That leaves these practical flows:
174
170
 
175
171
  * Explore only: `/task-explore` or `/bug-explore`
176
- * Execute and archive: `/task-implement` or `/bug-fix`
172
+ * Execute: `/task-implement` or `/bug-fix`
177
173
  * Review: `/task-review` or `/bug-review`
178
174
  * One-shot small work: `/task-fast`
179
175
 
@@ -193,6 +189,8 @@ This will:
193
189
 
194
190
  This avoids touching unrelated custom skills in the same project.
195
191
 
192
+ The `archive/` directories remain as internal storage. They are not separate user steps in the recommended workflow.
193
+
196
194
  Before refreshing, you can inspect the current setup with:
197
195
 
198
196
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winton979/task-cli",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Lightweight task workflow CLI for AI-assisted development",
5
5
  "type": "module",
6
6
  "bin": {
package/src/init.js CHANGED
@@ -14,10 +14,10 @@ const GITIGNORE_BLOCK = [
14
14
  const SKILLS = {
15
15
  'task-fast': {
16
16
  name: 'task-fast',
17
- description: 'Fast path for small requirements. Clarify quickly, create the brief, implement, verify, and archive.',
17
+ description: 'Fast path for small requirements. Clarify quickly, create the brief, implement, and verify. Archive automatically on completion.',
18
18
  content: `---
19
19
  name: task-fast
20
- description: Fast path for small requirements. Clarify quickly, create the brief, implement, verify, and archive.
20
+ description: Fast path for small requirements. Clarify quickly, create the brief, implement, and verify. Archive automatically on completion.
21
21
  user-invocable: true
22
22
  ---
23
23
 
@@ -35,7 +35,7 @@ Workflow
35
35
  3. Show the brief before coding.
36
36
  4. If the user does not object, implement immediately.
37
37
  5. Verify the result against the acceptance criteria.
38
- 6. Move the brief to:
38
+ 6. Archive the brief automatically by moving it to:
39
39
 
40
40
  .ai/tasks/archive/YYYY-MM-DD-task-name.md
41
41
 
@@ -138,10 +138,10 @@ TASK_READY
138
138
 
139
139
  'task-implement': {
140
140
  name: 'task-implement',
141
- description: 'Implement the latest active task brief, validate it, and archive it when complete.',
141
+ description: 'Implement the latest active task brief and validate it. Archive automatically when complete.',
142
142
  content: `---
143
143
  name: task-implement
144
- description: Implement the latest active task brief, validate it, and archive it when complete.
144
+ description: Implement the latest active task brief and validate it. Archive automatically when complete.
145
145
  user-invocable: true
146
146
  ---
147
147
 
@@ -158,7 +158,7 @@ Rules
158
158
  5. Avoid unnecessary refactoring.
159
159
  6. State assumptions explicitly.
160
160
  7. Validate the result before stopping.
161
- 8. If the work is complete, move the brief to .ai/tasks/archive/.
161
+ 8. If the work is complete, archive the brief automatically by moving it to .ai/tasks/archive/.
162
162
 
163
163
  Output
164
164
 
@@ -174,18 +174,15 @@ Files modified.
174
174
 
175
175
  How acceptance criteria were satisfied.
176
176
 
177
- ## Archive
178
-
179
- Whether the brief was archived.
180
177
  `,
181
178
  },
182
179
 
183
180
  'task-review': {
184
181
  name: 'task-review',
185
- description: 'Review the latest task implementation against the active or archived task brief.',
182
+ description: 'Review the latest task implementation against the corresponding task brief.',
186
183
  content: `---
187
184
  name: task-review
188
- description: Review the latest task implementation against the active or archived task brief.
185
+ description: Review the latest task implementation against the corresponding task brief.
189
186
  user-invocable: true
190
187
  ---
191
188
 
@@ -294,10 +291,10 @@ BUG_READY
294
291
 
295
292
  'bug-fix': {
296
293
  name: 'bug-fix',
297
- description: 'Fix the latest active bug brief, validate the result, and archive the brief when complete.',
294
+ description: 'Fix the latest active bug brief and validate the result. Archive automatically when complete.',
298
295
  content: `---
299
296
  name: bug-fix
300
- description: Fix the latest active bug brief, validate the result, and archive the brief when complete.
297
+ description: Fix the latest active bug brief and validate the result. Archive automatically when complete.
301
298
  user-invocable: true
302
299
  ---
303
300
 
@@ -314,7 +311,7 @@ Rules
314
311
  5. Preserve existing behavior.
315
312
  6. Explain reasoning.
316
313
  7. Validate the fix before stopping.
317
- 8. If the bug is fixed, move the brief to .ai/bugs/archive/.
314
+ 8. If the bug is fixed, archive the brief automatically by moving it to .ai/bugs/archive/.
318
315
 
319
316
  Output
320
317
 
@@ -330,18 +327,15 @@ Changes made.
330
327
 
331
328
  Verification performed.
332
329
 
333
- ## Archive
334
-
335
- Whether the brief was archived.
336
330
  `,
337
331
  },
338
332
 
339
333
  'bug-review': {
340
334
  name: 'bug-review',
341
- description: 'Review the latest bug fix against the active or archived bug brief.',
335
+ description: 'Review the latest bug fix against the corresponding bug brief.',
342
336
  content: `---
343
337
  name: bug-review
344
- description: Review the latest bug fix against the active or archived bug brief.
338
+ description: Review the latest bug fix against the corresponding bug brief.
345
339
  user-invocable: true
346
340
  ---
347
341