squad-station 0.7.19 → 0.7.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/.squad/sdd/bmad-playbook.md +48 -28
- package/bin/run.js +1 -1
- package/package.json +1 -1
|
@@ -1,41 +1,61 @@
|
|
|
1
1
|
# BMad Method — Agent Playbook
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Workflow Selection
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Classify every incoming task BEFORE delegating. The agent — not bmad-help — decides the workflow.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
| Task type | Workflow | Agent code |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| Bug fix, refactor, quick change, one-off task | **QD** (Quick Dev) | Barry 🚀 |
|
|
10
|
+
| Bug/task that needs a written spec first | **QS** → **QD** (Quick Spec then Quick Dev) | Barry 🚀 |
|
|
11
|
+
| Planned story from sprint backlog | **CS → DS → CR** (Create Story → Dev Story → Code Review) | Bob 🏃 → Amelia 💻 |
|
|
12
|
+
| New feature, no plan exists yet | Start from **Phase 2** or earlier — see Phase Sequence below | John 📋 |
|
|
13
|
+
| Scope changed, existing plan is now wrong | **CC** (Correct Course) → update epics → resume story cycle | Bob 🏃 |
|
|
14
|
+
| Need to understand project position | **BH** (bmad-help) — GPS only, shows where you are | — |
|
|
15
|
+
| Documentation needed | **WD / VD / MG / EC** (Tech Writer) | Paige 📚 |
|
|
16
|
+
| Review code or artifacts | **CR / AR / ECH** (Code Review / Adversarial / Edge Case) | Amelia 💻 |
|
|
11
17
|
|
|
12
|
-
###
|
|
18
|
+
### Decision shortcut
|
|
13
19
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
| Large refactor / major change | Correct Course → Epics → Sprint Planning → Story cycle |
|
|
22
|
-
| Research / analysis | Brainstorming, Market/Domain/Technical Research |
|
|
23
|
-
| Documentation | Tech Writer agent (WD, MG, EC) |
|
|
24
|
-
| Review / validation | Code Review, Adversarial Review, Edge Case Hunter |
|
|
20
|
+
```
|
|
21
|
+
Does this task change existing PRD, Architecture, or Epics?
|
|
22
|
+
YES → CC (Correct Course) first, then resume story cycle
|
|
23
|
+
NO → Is there a story in the sprint backlog for this?
|
|
24
|
+
YES → CS → DS → CR (story cycle)
|
|
25
|
+
NO → QD (Quick Dev) — or QS → QD if spec needed
|
|
26
|
+
```
|
|
25
27
|
|
|
26
|
-
##
|
|
28
|
+
## Phase Sequence (for planned work)
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
When building from scratch or adding major features, follow phases in order.
|
|
31
|
+
Each workflow runs in a **fresh chat**. Never chain workflows.
|
|
30
32
|
|
|
31
|
-
**
|
|
32
|
-
|
|
33
|
+
**Phase 1 — Analysis** (optional):
|
|
34
|
+
`BP` Brainstorm → `MR/DR/TR` Research → `CB` Product Brief
|
|
33
35
|
|
|
34
|
-
**
|
|
35
|
-
Create
|
|
36
|
+
**Phase 2 — Planning** (required):
|
|
37
|
+
`CP` Create PRD → `CU` Create UX (if UI needed)
|
|
38
|
+
|
|
39
|
+
**Phase 3 — Solutioning** (required for complex projects):
|
|
40
|
+
`CA` Create Architecture → `CE` Create Epics & Stories → `IR` Implementation Readiness check
|
|
41
|
+
|
|
42
|
+
**Phase 4 — Implementation**:
|
|
43
|
+
`SP` Sprint Planning (once) → **story cycle**: `CS → DS → CR` (repeat) → `ER` Retrospective (per epic)
|
|
44
|
+
|
|
45
|
+
## Document Discipline
|
|
46
|
+
|
|
47
|
+
A task is NOT done until its artifacts are updated:
|
|
48
|
+
|
|
49
|
+
- **After story**: sprint-status.yaml status → `done`
|
|
50
|
+
- **After Quick Dev**: log change in CHANGELOG.md or docs/ (Quick Dev does NOT update sprint tracking)
|
|
51
|
+
- **After Correct Course**: PRD/Architecture/Epics are now updated — verify consistency
|
|
52
|
+
- **After epic complete**: run Retrospective (`ER`)
|
|
53
|
+
- **After any architecture change**: update relevant docs
|
|
36
54
|
|
|
37
55
|
## Critical Rules
|
|
38
56
|
|
|
39
|
-
1. **Fresh chat per workflow** —
|
|
40
|
-
2. **Code review every story** —
|
|
41
|
-
3. **
|
|
57
|
+
1. **Fresh chat per workflow** — never chain workflows in one session.
|
|
58
|
+
2. **Code review every story** — CR after every DS, no exceptions.
|
|
59
|
+
3. **Quick Dev lives outside sprint** — it does not create stories or update sprint-status.yaml. Bridge manually if tracking matters.
|
|
60
|
+
4. **bmad-help is GPS, not autopilot** — use it to check project position, not to select workflows. YOU select the workflow.
|
|
61
|
+
5. **Verify agent completion after SQUAD SIGNAL** — SQUAD SIGNAL means the agent processed your message, not that the workflow is complete. Check if the agent is still waiting (questions, menus, confirmations) before marking done.
|
package/bin/run.js
CHANGED
|
@@ -43,7 +43,7 @@ function install() {
|
|
|
43
43
|
|
|
44
44
|
function installBinary() {
|
|
45
45
|
// Binary version — may differ from npm package version
|
|
46
|
-
var VERSION = '0.7.
|
|
46
|
+
var VERSION = '0.7.22';
|
|
47
47
|
var REPO = 'thientranhung/squad-station';
|
|
48
48
|
|
|
49
49
|
var isWindows = process.platform === 'win32';
|