You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,20 @@
1
1
# Changelog
2
2
3
+
## [0.13.1] - 2026-03-07
4
+
5
+
### Fixed
6
+
-**`ck ai` stale reference** — removed leftover `ck ai <cmd>` line from post-install Quick Reference output (command was removed in 0.13.0)
7
+
-**Install "In CLI" example** — replaced `ck ai "..."` example with generic slash command guidance
8
+
9
+
### Added
10
+
-**OpenCode auto-detection** — `ck install` now detects the `opencode` binary in PATH and suggests the OpenCode integration automatically, consistent with how `claude`, `codex`, and `gemini` CLI tools are detected
11
+
12
+
### Changed
13
+
-**`/squad` vague task handling** — PO now pushes back with up to 5 clarifying questions when a task description is too ambiguous to spec. Sets `status: po-clarify`, writes questions to the handoff, and pauses the pipeline. Running `/squad` again (no args) with answers resumes and writes the full spec.
14
+
-**`/squad` Clarification Mode** — split into two paths: kickoff clarification (questions in PO Spec block → write spec, advance to architect) and downstream clarification (questions from Architect/Reviewer → existing behavior)
|`/spec`| Write a component spec (MD-first) before any code is created |
146
-
|`/squad`| Kick off a squad task — one task or many (auto-detects batch mode) |
146
+
|`/squad`| Kick off a squad task — one task or many (auto-detects batch mode). Pushes back with clarifying questions if the task is vague.|
147
147
|`/squad-architect`| Design the technical plan from the PO spec |
148
148
|`/squad-dev`| Implement code following the architect plan |
149
149
|`/squad-test`| Write and run tests against acceptance criteria |
@@ -168,7 +168,7 @@ The squad workflow turns a single AI session into a structured multi-role pipeli
168
168
169
169
| Step | Role | Command | What it does |
170
170
|------|------|---------|-------------|
171
-
| 1 | Product Owner |`/squad`| Writes a user story, acceptance criteria, edge cases, and scope. Optionally captures screenshots/images as visual assets. |
171
+
| 1 | Product Owner |`/squad`| Writes a user story, acceptance criteria, edge cases, and scope. If the task is ambiguous, asks up to 5 clarifying questions before writing the spec. Optionally captures screenshots/images as visual assets. |
172
172
| 2 | Architect |`/squad-architect`| Designs the technical approach, files to change, and implementation steps |
173
173
| 3 | Developer |`/squad-dev`| Implements the code following the architect's plan |
174
174
| 4 | Tester |`/squad-test`| Writes and runs tests against the PO's acceptance criteria |
Copy file name to clipboardExpand all lines: commands/squad.md
+48-24Lines changed: 48 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,13 @@ model_routing: false
81
81
- Is scope clear enough to write testable acceptance criteria?
82
82
- Are there decisions the user needs to make first?
83
83
84
-
**If clarification needed:** Ask the user up to 5 focused, numbered questions. Wait for answers. Capture Q&A under `### User Clarifications`.
84
+
**If clarification needed:**
85
+
- Write up to 5 focused, numbered questions under `### Questions for PO` in the handoff's PO Spec block
86
+
- Set `## 1. PO Spec` → `status: po-clarify`
87
+
- Set top-level `status:` → `po-clarify`
88
+
- Tell the user: "I need some clarification before writing the spec. Please answer these questions and run `/squad` again (no args)."
89
+
-**Stop here.** Do not write the spec yet.
90
+
85
91
**If clear:** Continue.
86
92
87
93
4. Read the codebase to understand the project.
@@ -175,32 +181,48 @@ created: [TIMESTAMP]
175
181
### Single-task clarification (`handoff.md`)
176
182
177
183
1. Read `handoff.md`.
178
-
2. Find `### Questions for PO` in any role's block (Architect Plan, Review, etc.).
179
-
3.**Check for a split recommendation**: Look for `### Recommended Split` in the Architect Plan block.
180
-
181
-
**If `### Recommended Split` exists** (Architect flagged task as too complex):
182
-
- Read the recommended sub-tasks and reason.
183
-
- Present the two options to the user:
184
-
-**Option A — Approve split**: Run `/squad "sub-task A" "sub-task B" ...` with the proposed sub-tasks. The current handoff will be superseded by the new batch.
185
-
-**Option B — Proceed as-is**: Add a note in the PO Spec `### Answers` block: `- Split recommendation from Architect → "Proceed as one task"`. Set the top-level `status:` back to `architect`. Tell the user: "Noted. Run `/squad-architect` to continue — the Architect will write the full plan."
186
-
-**Stop here** — do not run the standard Q&A answer flow below.
187
-
188
-
**If no `### Recommended Split`**: Continue to step 4.
189
-
190
-
4. Update the PO Spec to address the questions (update User Story, Acceptance Criteria, Edge Cases, Out of Scope as needed).
191
-
5. Add answers under `### Answers` in the PO Spec block:
192
-
```
193
-
- Q1 from [Role]: "[question]" → "[answer]"
194
-
- Q2 from [Role]: "[question]" → "[answer]"
195
-
```
196
-
6. Set top-level `status:` back to the asking role:
197
-
- Questions from Architect → `architect`
198
-
- Questions from Reviewer → `review`
199
-
7. Tell the user which command to run next.
184
+
2. Find `### Questions for PO` — note **which block** it appears in:
185
+
-**In `## 1. PO Spec`** → kickoff clarification (PO needs more info before writing the spec). Continue to step 3a.
186
+
-**In `## 2. Architect Plan` or `## 6. Review`** → downstream clarification (Architect or Reviewer raised questions). Skip to step 3b.
187
+
188
+
3a. **Kickoff clarification path** (questions in PO Spec block):
189
+
- Read the questions from `### Questions for PO` and the user's answers (from their message or from `### User Clarifications`).
190
+
- Write the full PO Spec using the answers: User Story, Acceptance Criteria, Edge Cases, Out of Scope.
191
+
- Capture Q&A under `### User Clarifications`:
192
+
```
193
+
- Q: "[question]" → A: "[answer]"
194
+
```
195
+
- Set `## 1. PO Spec` → `status: done`
196
+
- Set top-level `status:` → `architect`
197
+
- Tell the user: "Spec written. Run `/squad-auto` to continue the pipeline."
198
+
- **Stop here.**
199
+
200
+
3b. **Downstream clarification path** (questions in Architect Plan or Review block):
201
+
- **Check for a split recommendation**: Look for `### Recommended Split` in the Architect Plan block.
202
+
203
+
**If `### Recommended Split` exists** (Architect flagged task as too complex):
204
+
- Read the recommended sub-tasks and reason.
205
+
- Present the two options to the user:
206
+
- **Option A — Approve split**: Run `/squad "sub-task A" "sub-task B" ...` with the proposed sub-tasks. The current handoff will be superseded by the new batch.
207
+
- **Option B — Proceed as-is**: Add a note in the PO Spec `### Answers` block: `- Split recommendation from Architect → "Proceed as one task"`. Set the top-level `status:` back to `architect`. Tell the user: "Noted. Run `/squad-architect` to continue — the Architect will write the full plan."
208
+
- **Stop here** — do not run the Q&A answer flow below.
209
+
210
+
**If no `### Recommended Split`**: Continue.
211
+
212
+
- Update the PO Spec to address the questions (update User Story, Acceptance Criteria, Edge Cases, Out of Scope as needed).
213
+
- Add answers under `### Answers` in the PO Spec block:
214
+
```
215
+
- Q1 from [Role]: "[question]" → "[answer]"
216
+
- Q2 from [Role]: "[question]" → "[answer]"
217
+
```
218
+
- Set top-level `status:` back to the asking role:
219
+
- Questions from Architect → `architect`
220
+
- Questions from Reviewer → `review`
221
+
- Tell the user which command to run next.
200
222
201
223
### Batch clarification (`handoff-[N].md`)
202
224
203
-
Follow the same steps above, but target the specific `handoff-[N].md`file that has `status: po-clarify`.
225
+
Follow the same steps above, targeting the specific `handoff-[N].md` that has `status: po-clarify`. Apply the kickoff path (3a) or downstream path (3b) based on which block the questions appear in.
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@nolrm/contextkit",
3
-
"version": "0.13.0",
3
+
"version": "0.13.1",
4
4
"description": "ContextKit - Context Engineering for AI Development. Provide rich context to AI through structured MD files with standards, code guides, and documentation. Works with Cursor, Claude, Aider, VS Code Copilot, and more.",
0 commit comments