bigpowers 2.87.1 → 2.87.2
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/.pi/package.json +1 -1
- package/ANALISE_CONSOLIDACAO.md +192 -0
- package/CHANGELOG.md +8 -0
- package/GSD_WORKFLOW_ANALYSIS_VS_BIGPOWERS.md +1015 -0
- package/VALIDACAO_CONTRA_GSD.md +321 -0
- package/package.json +1 -1
- package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
- package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
- package/scripts/lib/git-hours.sh +1 -1
- package/scripts/record-cycle-time.sh +3 -1
- package/scripts/validate-agentic-ste.sh +22 -1
|
@@ -0,0 +1,1015 @@
|
|
|
1
|
+
# GSD Workflow Analysis vs. Bigpowers: Complete Mapping & Gaps
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-05-18
|
|
4
|
+
**Scope:** Comprehensive analysis of GSD's 6-command core loop, each step's practices, and gaps vs. Bigpowers
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Executive Summary
|
|
9
|
+
|
|
10
|
+
**GSD (Get Shit Done)** is a **meta-prompting + multi-agent orchestration framework** with:
|
|
11
|
+
- 6 core commands (new-project → discuss → plan → execute → verify → ship)
|
|
12
|
+
- 31+ specialized agents (researchers, planners, checkers, executors, verifiers)
|
|
13
|
+
- 93+ total workflows + 60+ references
|
|
14
|
+
- Context isolation (fresh 200K window per agent)
|
|
15
|
+
- Wave-based parallel execution
|
|
16
|
+
- Supply-chain security gates (package legitimacy)
|
|
17
|
+
|
|
18
|
+
**Bigpowers** is a **skill-centric lifecycle framework** with:
|
|
19
|
+
- 38 skills (verb-noun pairs)
|
|
20
|
+
- Inline prompts in SKILL.md
|
|
21
|
+
- BMAD phases (Discover → Elaborate → Plan → Build → Sustain)
|
|
22
|
+
- Ad-hoc skill composition (no formal orchestration)
|
|
23
|
+
- Manual subagent dispatch via `delegate-task` / `dispatch-agents`
|
|
24
|
+
|
|
25
|
+
**Key insight:** GSD is **orchestration-first** (workflow → agents); Bigpowers is **skill-first** (agent picks skill). They solve the same problem from different angles.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 1. The GSD Core Loop (6 Commands)
|
|
30
|
+
|
|
31
|
+
### Step 1: `/gsd-new-project` — Project Initialization
|
|
32
|
+
|
|
33
|
+
**Purpose:** Transform vague idea → concrete project definition (PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md)
|
|
34
|
+
|
|
35
|
+
**Workflow:**
|
|
36
|
+
```
|
|
37
|
+
Input (idea)
|
|
38
|
+
↓
|
|
39
|
+
Questioning (domain-probes.md philosophy)
|
|
40
|
+
↓
|
|
41
|
+
4× Parallel Researchers (Stack, Features, Architecture, Pitfalls)
|
|
42
|
+
↓
|
|
43
|
+
Research Synthesizer
|
|
44
|
+
↓
|
|
45
|
+
Requirements extraction
|
|
46
|
+
↓
|
|
47
|
+
Roadmapper (creates ROADMAP.md with phases, success criteria, plans)
|
|
48
|
+
↓
|
|
49
|
+
User approval
|
|
50
|
+
↓
|
|
51
|
+
STATE.md initialized
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Key Practices:**
|
|
55
|
+
|
|
56
|
+
1. **Questioning Philosophy:**
|
|
57
|
+
- User is the visionary; Claude is the builder
|
|
58
|
+
- Extract VISION, not implementation
|
|
59
|
+
- Avoid generic categories; generate domain-specific questions
|
|
60
|
+
- Scope is locked (no scope creep during discussion)
|
|
61
|
+
|
|
62
|
+
2. **Parallel Research:**
|
|
63
|
+
- 4 independent researchers spawn simultaneously (Stack, Features, Architecture, Pitfalls)
|
|
64
|
+
- Fresh context window per agent
|
|
65
|
+
- Results feed into synthesis (no early convergence)
|
|
66
|
+
|
|
67
|
+
3. **Synthesizer Role:**
|
|
68
|
+
- Unifies 4 parallel outputs into SUMMARY.md
|
|
69
|
+
- Identifies gaps, contradictions, consensus
|
|
70
|
+
- Produces requirements extraction input
|
|
71
|
+
|
|
72
|
+
4. **ROADMAP Artifact:**
|
|
73
|
+
- Phases with dependencies (Phase 2 depends on Phase 1)
|
|
74
|
+
- Decimal sub-phases for urgent insertions (2.1 inserted between 2 and 3)
|
|
75
|
+
- **Success Criteria:** Observable behaviors (user-perspective) per phase
|
|
76
|
+
- Plan count estimation per phase
|
|
77
|
+
- Progress table
|
|
78
|
+
- Wave analysis for execution planning
|
|
79
|
+
|
|
80
|
+
5. **Auto Mode (`--auto @file.md`):**
|
|
81
|
+
- Skip deep questioning if PRD/idea doc provided
|
|
82
|
+
- Extract context automatically
|
|
83
|
+
- Still run research and synthesis
|
|
84
|
+
- Useful for brownfield projects or time-constrained work
|
|
85
|
+
|
|
86
|
+
**Artifacts Created:**
|
|
87
|
+
- `PROJECT.md` — Vision, Core Value, Requirements (Validated/Active/Out of Scope), Constraints, Key Decisions
|
|
88
|
+
- `REQUIREMENTS.md` — Scoped, traceable (REQ-01, REQ-02, ...)
|
|
89
|
+
- `ROADMAP.md` — Phases with success criteria and plans
|
|
90
|
+
- `STATE.md` — Current position, performance metrics (< 100 lines)
|
|
91
|
+
- `research/` — STACK.md, FEATURES.md, ARCHITECTURE.md, PITFALLS.md, SUMMARY.md
|
|
92
|
+
- `config.json` — Workflow config (mode, model profiles, parallelization)
|
|
93
|
+
- `CLAUDE.md` — Project-level Claude Code integration (optional)
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
### Step 2: `/gsd-discuss-phase [N]` — Phase Context Gathering
|
|
98
|
+
|
|
99
|
+
**Purpose:** Capture implementation decisions before planning (CONTEXT.md)
|
|
100
|
+
|
|
101
|
+
**Workflow:**
|
|
102
|
+
```
|
|
103
|
+
Read ROADMAP.md phase description
|
|
104
|
+
↓
|
|
105
|
+
Identify gray areas (ambiguities, design choices)
|
|
106
|
+
↓
|
|
107
|
+
Present gray areas to user (or batch/auto)
|
|
108
|
+
↓
|
|
109
|
+
Deep-dive selected areas → CONTEXT.md
|
|
110
|
+
↓
|
|
111
|
+
Git commit discussion log
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Key Practices:**
|
|
115
|
+
|
|
116
|
+
1. **Gray Area Identification:**
|
|
117
|
+
- Not generic categories (UI/UX/Behavior)
|
|
118
|
+
- Phase-specific decisions (e.g., for auth: session handling, error responses, multi-device policy, recovery flow)
|
|
119
|
+
- Driven by domain understanding (what users SEE / CALL / RUN / READ)
|
|
120
|
+
|
|
121
|
+
2. **Mode Options:**
|
|
122
|
+
- `--all`: Discuss all gray areas without selection step
|
|
123
|
+
- `--auto`: Auto-select recommended defaults
|
|
124
|
+
- `--batch`: Group questions for batch intake
|
|
125
|
+
- `--analyze`: Add trade-off analysis during discussion
|
|
126
|
+
- `--power`: File-based bulk question answering
|
|
127
|
+
- `--assumptions`: Surface Claude's assumptions without interactive session
|
|
128
|
+
- Default: Interactive one-by-one
|
|
129
|
+
|
|
130
|
+
3. **Scope Guardrails (CRITICAL):**
|
|
131
|
+
- Phase boundary is FIXED (from ROADMAP.md)
|
|
132
|
+
- Allowed: Clarifying ambiguity ("How should posts be displayed?")
|
|
133
|
+
- Not allowed: Scope creep ("Should we add comments?")
|
|
134
|
+
- Heuristic: Does this clarify how we implement what's scoped, or add a new capability?
|
|
135
|
+
- When creep detected: Note in "Deferred Ideas", don't act on it
|
|
136
|
+
|
|
137
|
+
4. **Output Structure:**
|
|
138
|
+
- `{phase}-CONTEXT.md` — Decisions, locked choices, design contracts
|
|
139
|
+
- `{phase}-DISCUSSION-LOG.md` — Audit trail of what was discussed
|
|
140
|
+
- Questions are validated: empty responses are rejected
|
|
141
|
+
|
|
142
|
+
**Key Reference:** `domain-probes.md` — Phase-specific probe questions per domain type
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
### Step 3: `/gsd-plan-phase [N]` — Research, Plan, Verify
|
|
147
|
+
|
|
148
|
+
**Purpose:** Create executable PLAN.md files with integrated research and verification
|
|
149
|
+
|
|
150
|
+
**Workflow:**
|
|
151
|
+
```
|
|
152
|
+
Research Gate (if needed)
|
|
153
|
+
↓
|
|
154
|
+
Phase Researcher → RESEARCH.md
|
|
155
|
+
│ ├── Package Legitimacy Audit (slopcheck)
|
|
156
|
+
│ │ ├── [SLOP] = remove entirely
|
|
157
|
+
│ │ ├── [SUS] = checkpoint before install
|
|
158
|
+
│ │ └── [OK] = approved
|
|
159
|
+
│ └── Ecosystem research, tech stack validation
|
|
160
|
+
↓
|
|
161
|
+
Planner → PLAN.md files (01-01, 01-02, ...)
|
|
162
|
+
│ ├── Every task has `verify: <runnable command>`
|
|
163
|
+
│ ├── Dependencies declared (Plan 02 depends on 01)
|
|
164
|
+
│ ├── Checkpoints for [ASSUMED]/[SUS] packages
|
|
165
|
+
│ └── STRIDE threat model for supply chain
|
|
166
|
+
↓
|
|
167
|
+
Plan Checker → Verify loop (max 3 iterations)
|
|
168
|
+
│ ├── Check plans are executable
|
|
169
|
+
│ ├── Check requirements coverage (REQ-IDs)
|
|
170
|
+
│ ├── Check decision coverage (CONTEXT.md)
|
|
171
|
+
│ └── If issues: replan until clean
|
|
172
|
+
↓
|
|
173
|
+
STATE.md → "Planned" status
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Key Practices:**
|
|
177
|
+
|
|
178
|
+
1. **Package Legitimacy Gate (v1.42.1):**
|
|
179
|
+
- Researcher runs `slopcheck install <pkg> --json` on each package
|
|
180
|
+
- Writes `## Package Legitimacy Audit` table to RESEARCH.md
|
|
181
|
+
- Verdicts: `[SLOP]` (remove), `[SUS]` (checkpoint), `[OK]` (approved)
|
|
182
|
+
- Packages from WebSearch are tagged `[ASSUMED]` (not `[VERIFIED]`)
|
|
183
|
+
- Planner inserts `checkpoint:human-verify` before `[ASSUMED]`/`[SUS]` installs
|
|
184
|
+
- **Supply-chain attack prevention:** Blocks hallucinated package names pre-registered with malicious post-install scripts
|
|
185
|
+
|
|
186
|
+
2. **Plan Task Structure:**
|
|
187
|
+
- Every task has: title, description, acceptance criteria, `verify: <runnable command>`
|
|
188
|
+
- Dependencies: "Plan 03 depends on 01" → affects wave grouping
|
|
189
|
+
- Checkpoints: human-verify gates before risky operations
|
|
190
|
+
|
|
191
|
+
3. **Plan Checker Verification Loop:**
|
|
192
|
+
- Max 3 iterations (prevents infinite loops)
|
|
193
|
+
- Gates:
|
|
194
|
+
- **Quality Gate:** Plan clarity, completeness
|
|
195
|
+
- **Requirements Coverage Gate:** Every REQ-ID is addressed
|
|
196
|
+
- **Decision Coverage Gate:** Every decision in CONTEXT.md is implemented
|
|
197
|
+
- **Safety Gate:** No obvious pitfalls or security issues
|
|
198
|
+
- If any gate fails: planner revises until clean
|
|
199
|
+
|
|
200
|
+
4. **TDD Mode (`workflow.tdd_mode: true`):**
|
|
201
|
+
- Planner applies `type: tdd` to eligible tasks
|
|
202
|
+
- Test-first approach integrated into planning
|
|
203
|
+
- References `tdd.md` for integration patterns
|
|
204
|
+
|
|
205
|
+
5. **Adaptive Context (1M models):**
|
|
206
|
+
- When context window >= 500K (Opus 4.6, Sonnet 4.6)
|
|
207
|
+
- Planner receives prior phase CONTEXT.md + SUMMARY.md + explicit dependencies
|
|
208
|
+
- Enables cross-phase awareness within a phase
|
|
209
|
+
|
|
210
|
+
6. **Flags:**
|
|
211
|
+
- `--skip-research`: Skip research if domain is familiar
|
|
212
|
+
- `--auto`: Non-interactive planning
|
|
213
|
+
- `--validate`: Validate state before planning
|
|
214
|
+
- `--bounce`: External plan bounce validation (custom script)
|
|
215
|
+
- `--ingest <ADR-file>`: Use ADR instead of discuss-phase
|
|
216
|
+
- `--reviews`: Replan with cross-AI review feedback
|
|
217
|
+
|
|
218
|
+
**Artifacts Created:**
|
|
219
|
+
- `{phase}-RESEARCH.md` — Ecosystem research, package legitimacy audit, technical findings
|
|
220
|
+
- `{phase}-{N}-PLAN.md` — Executable plan files (01-01, 01-02, ...)
|
|
221
|
+
- `{phase}-VALIDATION.md` — Verification coverage (Nyquist sampling)
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
### Step 4: `/gsd-execute-phase [N]` — Wave-Based Parallel Execution
|
|
226
|
+
|
|
227
|
+
**Purpose:** Execute all plans in parallel waves (fresh context per executor)
|
|
228
|
+
|
|
229
|
+
**Workflow:**
|
|
230
|
+
```
|
|
231
|
+
Parse args + initialize context
|
|
232
|
+
↓
|
|
233
|
+
Analyze dependencies → Wave grouping
|
|
234
|
+
├── Plan 01 (no deps) ─┐
|
|
235
|
+
├── Plan 02 (no deps) ─┤ Wave 1 (parallel)
|
|
236
|
+
├── Plan 03 (dep: 01) ─┤ Wave 2 (waits for Wave 1)
|
|
237
|
+
└── Plan 04 (dep: 02) ─┘
|
|
238
|
+
↓
|
|
239
|
+
Per-wave: Spawn executors in parallel
|
|
240
|
+
│ ├── Fresh 200K context window per executor
|
|
241
|
+
│ ├── Project context (PROJECT.md, STATE.md)
|
|
242
|
+
│ ├── Phase context (CONTEXT.md, RESEARCH.md)
|
|
243
|
+
│ ├── Specific PLAN.md to execute
|
|
244
|
+
│ ├── Commit atomically per task (conventional commits)
|
|
245
|
+
│ └── Create SUMMARY.md per plan
|
|
246
|
+
↓
|
|
247
|
+
Post-wave: Run pre-commit hooks once (not per-agent)
|
|
248
|
+
↓
|
|
249
|
+
All waves complete → Verifier
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Key Practices:**
|
|
253
|
+
|
|
254
|
+
1. **Wave Analysis:**
|
|
255
|
+
- Grouping independent plans for parallel execution
|
|
256
|
+
- Dependency graph: Plan B cannot start until Plan A commits
|
|
257
|
+
- If 10 plans with no deps: all run in Wave 1 simultaneously
|
|
258
|
+
- Adaptive: can execute specific wave with `--wave N`
|
|
259
|
+
|
|
260
|
+
2. **Executor Agent:**
|
|
261
|
+
- Fresh 200K context (or adaptive up to 1M)
|
|
262
|
+
- Receives: PLAN.md, project context, phase context
|
|
263
|
+
- Creates code + SUMMARY.md per plan
|
|
264
|
+
- Commits atomically per task (conventional commits: feat, fix, refactor, docs)
|
|
265
|
+
- Never blocks — next wave starts immediately after prior wave completes
|
|
266
|
+
|
|
267
|
+
3. **Parallel Safety Mechanisms:**
|
|
268
|
+
- **--no-verify commits:** Executors skip pre-commit hooks (prevents lock contention in Rust projects)
|
|
269
|
+
- **Orchestrator runs hooks once per wave:** After all parallel tasks complete
|
|
270
|
+
- **STATE.md locking:** Atomic creation (O_EXCL) + stale lock detection (10s timeout) + spin-wait with jitter
|
|
271
|
+
- Prevents read-modify-write race condition
|
|
272
|
+
|
|
273
|
+
4. **Context Enrichment (1M Models):**
|
|
274
|
+
- Executor receives all prior wave SUMMARY.md + phase CONTEXT.md
|
|
275
|
+
- Enables cross-plan awareness (Plan 03 knows what Plan 01-02 shipped)
|
|
276
|
+
- Standard 200K windows get truncated prompts (cache-friendly ordering)
|
|
277
|
+
|
|
278
|
+
5. **Checkpoint Handling:**
|
|
279
|
+
- If a task has `checkpoint:human-verify`: pause execution, ask user
|
|
280
|
+
- User approves or rejects (blocks proceeding until resolved)
|
|
281
|
+
|
|
282
|
+
6. **Post-Execution Gates:**
|
|
283
|
+
- **Schema Drift Gate:** Compare `.planning/codebase/STRUCTURE.md` (last mapped commit) vs HEAD
|
|
284
|
+
- Detects new directories, barrel exports, migrations, route modules
|
|
285
|
+
- Warns or auto-remaps based on `workflow.drift_action`
|
|
286
|
+
- **Decision Coverage Gate (non-blocking):** CONTEXT.md decisions → shipped artifacts
|
|
287
|
+
|
|
288
|
+
**Artifacts Created:**
|
|
289
|
+
- `{phase}-{N}-SUMMARY.md` — Per-plan execution outcome, what was shipped
|
|
290
|
+
- `.planning/codebase/STRUCTURE.md` updated (drift detection)
|
|
291
|
+
- Git commits (one per task, conventional format)
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
### Step 5: `/gsd-verify-work [N]` — Post-Execution Verification
|
|
296
|
+
|
|
297
|
+
**Purpose:** Walk through what was built, diagnose failures, generate fix plans
|
|
298
|
+
|
|
299
|
+
**Workflow:**
|
|
300
|
+
```
|
|
301
|
+
User acceptance testing (manual)
|
|
302
|
+
├── Walk through phase features
|
|
303
|
+
├── Test acceptance criteria from ROADMAP.md success criteria
|
|
304
|
+
├── Note issues found
|
|
305
|
+
↓
|
|
306
|
+
Verifier agent
|
|
307
|
+
├── Reads all PLAN.md, SUMMARY.md, REQUIREMENTS.md
|
|
308
|
+
├── Checks against phase goals
|
|
309
|
+
├── Detects failures with dedicated debug agents
|
|
310
|
+
└── Creates VERIFICATION.md with:
|
|
311
|
+
├── status: (passed | needs-review | needs-repair)
|
|
312
|
+
├── Results per success criterion
|
|
313
|
+
└── Fix plans (if needed)
|
|
314
|
+
↓
|
|
315
|
+
If repairs needed:
|
|
316
|
+
└── `/gsd-execute-phase --gaps-only` → Re-execute only gap-closure plans
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
**Key Practices:**
|
|
320
|
+
|
|
321
|
+
1. **UAT (User Acceptance Testing):**
|
|
322
|
+
- Manual walk-through by user
|
|
323
|
+
- Test against phase success criteria (from ROADMAP.md)
|
|
324
|
+
- Document issues as you find them
|
|
325
|
+
|
|
326
|
+
2. **Verifier Agent:**
|
|
327
|
+
- Independent review of execution
|
|
328
|
+
- Cross-checks PLAN.md against SUMMARY.md and shipped code
|
|
329
|
+
- Identifies gaps or misalignments
|
|
330
|
+
- Generates fix plans if needed (not imperative — just plans)
|
|
331
|
+
|
|
332
|
+
3. **Verification Status:**
|
|
333
|
+
- `passed` → Phase is complete, move to next
|
|
334
|
+
- `needs-review` → Borderline; requires second opinion
|
|
335
|
+
- `needs-repair` → Failures detected; fix plans generated
|
|
336
|
+
|
|
337
|
+
4. **Gap Closure:**
|
|
338
|
+
- If `needs-repair`: Run `/gsd-plan-phase --gaps` (replanning with VERIFICATION.md as input)
|
|
339
|
+
- Then `/gsd-execute-phase --gaps-only` (execute only the closure plans)
|
|
340
|
+
- Verify again
|
|
341
|
+
|
|
342
|
+
**Artifacts Created:**
|
|
343
|
+
- `{phase}-VERIFICATION.md` — Status, results, fix plans (if needed)
|
|
344
|
+
- `{phase}-UAT.md` — UAT session notes (optional user-written)
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
### Step 6: `/gsd-ship [N]` — Release & Complete Milestone
|
|
349
|
+
|
|
350
|
+
**Purpose:** Create PR, merge, archive completed phase, tag release
|
|
351
|
+
|
|
352
|
+
**Workflow:**
|
|
353
|
+
```
|
|
354
|
+
Coverage check (>= 80% overall, >= 95% business logic)
|
|
355
|
+
↓
|
|
356
|
+
Git branching strategy:
|
|
357
|
+
├── If interactive: user chooses (merge/keep/discard)
|
|
358
|
+
├── If auto: merge if all checks pass
|
|
359
|
+
↓
|
|
360
|
+
Create PR (gh pr create)
|
|
361
|
+
├── Links PLAN.md, SUMMARY.md, VERIFICATION.md
|
|
362
|
+
├── Auto-suggests reviewers (if enabled)
|
|
363
|
+
├── Conventional title + body
|
|
364
|
+
↓
|
|
365
|
+
Merge to main
|
|
366
|
+
↓
|
|
367
|
+
Git cleanup (worktree removal if isolation used)
|
|
368
|
+
↓
|
|
369
|
+
If phase is last in milestone:
|
|
370
|
+
├── Archive all phase artifacts
|
|
371
|
+
├── Move to `<details>` in ROADMAP.md
|
|
372
|
+
├── Create git tag (vX.Y.Z)
|
|
373
|
+
└── Update MILESTONES.md
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
**Key Practices:**
|
|
377
|
+
|
|
378
|
+
1. **Coverage Gates:**
|
|
379
|
+
- Overall coverage must be >= 80%
|
|
380
|
+
- Business logic coverage must be >= 95%
|
|
381
|
+
- Blocks merge if gates fail
|
|
382
|
+
|
|
383
|
+
2. **PR Quality:**
|
|
384
|
+
- Conventional Commits title (feat, fix, refactor, docs)
|
|
385
|
+
- Linked artifacts (test results, deployment evidence)
|
|
386
|
+
- Auto-linked to REQUIREMENTS.md (REQ-IDs mentioned)
|
|
387
|
+
|
|
388
|
+
3. **Worktree Cleanup:**
|
|
389
|
+
- If `workflow.use_worktrees: true`: removes git worktree
|
|
390
|
+
- Returns to main checkout
|
|
391
|
+
- State clean for next phase
|
|
392
|
+
|
|
393
|
+
4. **Milestone Completion:**
|
|
394
|
+
- Last phase in milestone triggers archival
|
|
395
|
+
- All phase artifacts collapsed in ROADMAP.md
|
|
396
|
+
- Tag created (v1.0, v1.1, etc.)
|
|
397
|
+
- MILESTONES.md updated (shipped date, summary)
|
|
398
|
+
|
|
399
|
+
---
|
|
400
|
+
|
|
401
|
+
## 2. GSD Agent Taxonomy (31 Agents)
|
|
402
|
+
|
|
403
|
+
GSD has **31 specialized agents**, organized by spawn category:
|
|
404
|
+
|
|
405
|
+
### Researchers (4 parallel agents)
|
|
406
|
+
- `gsd-project-researcher` — Project-level decisions (stack, frameworks, patterns)
|
|
407
|
+
- `gsd-phase-researcher` — Phase-specific ecosystem research
|
|
408
|
+
- `gsd-ui-researcher` — UI/UX research for design phases
|
|
409
|
+
- `gsd-advisor-researcher` — User-profiling advisor (spawned during discuss-phase if profile exists)
|
|
410
|
+
|
|
411
|
+
### Synthesizers
|
|
412
|
+
- `gsd-research-synthesizer` — Unifies 4 parallel research outputs
|
|
413
|
+
|
|
414
|
+
### Planners
|
|
415
|
+
- `gsd-planner` — Creates detailed PLAN.md files
|
|
416
|
+
- `gsd-roadmapper` — Creates ROADMAP.md from requirements
|
|
417
|
+
|
|
418
|
+
### Checkers (sequential verification loop, max 3 iterations)
|
|
419
|
+
- `gsd-plan-checker` — Reviews plans for quality, completeness, gate coverage
|
|
420
|
+
- `gsd-integration-checker` — Cross-phase integration validation
|
|
421
|
+
- `gsd-ui-checker` — UI implementation quality review
|
|
422
|
+
- `gsd-nyquist-auditor` — Verification coverage validation (Nyquist sampling)
|
|
423
|
+
|
|
424
|
+
### Executors
|
|
425
|
+
- `gsd-executor` — Executes plan tasks, commits, creates SUMMARY.md (parallel within waves)
|
|
426
|
+
|
|
427
|
+
### Verifiers
|
|
428
|
+
- `gsd-verifier` — Post-execution verification, identifies gaps
|
|
429
|
+
|
|
430
|
+
### Mappers
|
|
431
|
+
- `gsd-codebase-mapper` — Analyzes codebase, produces `.planning/codebase/*.md` (4 parallel: tech, arch, quality, concerns)
|
|
432
|
+
|
|
433
|
+
### Debuggers & Auditors
|
|
434
|
+
- `gsd-debugger` — Interactive debugging for live issues
|
|
435
|
+
- `gsd-ui-auditor` — Visual audit and accessibility checks
|
|
436
|
+
- `gsd-security-auditor` — Security-specific audit
|
|
437
|
+
|
|
438
|
+
### Doc Writers
|
|
439
|
+
- `gsd-doc-writer` — Documentation generation
|
|
440
|
+
- `gsd-doc-verifier` — Documentation validation
|
|
441
|
+
|
|
442
|
+
### Analyzers & Profilers
|
|
443
|
+
- `gsd-assumptions-analyzer` — Surfaces implementation assumptions
|
|
444
|
+
- `gsd-user-profiler` — User behavioral profiling
|
|
445
|
+
|
|
446
|
+
### Specialized
|
|
447
|
+
- `gsd-pattern-mapper` — Detects codebase patterns
|
|
448
|
+
- `gsd-code-reviewer` — Code quality review
|
|
449
|
+
- `gsd-code-fixer` — Fixes code issues
|
|
450
|
+
- `gsd-ai-researcher` — AI-specific research
|
|
451
|
+
- `gsd-domain-researcher` — Domain-specific research
|
|
452
|
+
- `gsd-eval-planner` — Evaluation planning
|
|
453
|
+
- `gsd-eval-auditor` — Evaluation audit
|
|
454
|
+
- `gsd-framework-selector` — Framework selection
|
|
455
|
+
- `gsd-debug-session-manager` — Debug session tracking
|
|
456
|
+
- `gsd-intel-updater` — Intelligence updates
|
|
457
|
+
|
|
458
|
+
**Agent Lifecycle:**
|
|
459
|
+
1. Orchestrator reads `agents/*.md` (YAML frontmatter: name, description, tools, color)
|
|
460
|
+
2. Model resolution: `gsd-sdk query resolve-model <agent-name>` → returns opus|sonnet|haiku|inherit
|
|
461
|
+
3. Spawn: `Agent(subagent_type="gsd-executor", prompt=..., model=resolved_model)`
|
|
462
|
+
4. Fresh context: 200K tokens (or 500K+ for 1M-class models with context_window config)
|
|
463
|
+
5. Tools available: Read, Write, Edit, Bash, Grep, Glob, WebSearch, etc. (agent frontmatter declares)
|
|
464
|
+
|
|
465
|
+
---
|
|
466
|
+
|
|
467
|
+
## 3. GSD References (60+ Shared Knowledge Docs)
|
|
468
|
+
|
|
469
|
+
GSD has segregated technical knowledge into `get-shit-done/references/*.md` (workflows and agents reference these, not inline):
|
|
470
|
+
|
|
471
|
+
**Core:**
|
|
472
|
+
- `checkpoints.md` — Checkpoint types (human-verify, integration, safety)
|
|
473
|
+
- `gates.md` — 4 canonical gate types (Confirm, Quality, Safety, Transition)
|
|
474
|
+
- `model-profiles.md` — Model tier assignments per agent
|
|
475
|
+
- `verification-patterns.md` — How to verify different artifact types
|
|
476
|
+
- `planning-config.md` — Full config.json schema
|
|
477
|
+
- `git-integration.md` — Commit and branching patterns
|
|
478
|
+
- `questioning.md` — Dream extraction philosophy (how to elicit vision)
|
|
479
|
+
- `tdd.md` — TDD integration patterns
|
|
480
|
+
|
|
481
|
+
**Thinking Model References:**
|
|
482
|
+
- `thinking-models-planning.md` — Thinking class model usage for planning
|
|
483
|
+
- `thinking-models-execution.md` — Thinking class usage for execution
|
|
484
|
+
- `thinking-models-debug.md` — Thinking class usage for debugging
|
|
485
|
+
- `thinking-models-verification.md` — Thinking class usage for verification
|
|
486
|
+
- `thinking-models-research.md` — Thinking class usage for research
|
|
487
|
+
|
|
488
|
+
**Workflow Mechanics:**
|
|
489
|
+
- `agent-contracts.md` — Formal interface between orchestrators and agents
|
|
490
|
+
- `context-budget.md` — Context window budget allocation
|
|
491
|
+
- `revision-loop.md` — Plan revision iteration patterns
|
|
492
|
+
- `universal-anti-patterns.md` — Common anti-patterns to detect
|
|
493
|
+
- `gate-prompts.md` — Gate/checkpoint prompt templates
|
|
494
|
+
- `domain-probes.md` — Domain-specific probing questions
|
|
495
|
+
- `artifact-types.md` — Planning artifact definitions
|
|
496
|
+
- `phase-argument-parsing.md` — Phase number parsing conventions
|
|
497
|
+
|
|
498
|
+
**Security:**
|
|
499
|
+
- `slopcheck` integration for package legitimacy (see ARCHITECTURE.md)
|
|
500
|
+
- Prompt injection detection (`gsd-prompt-guard.js`)
|
|
501
|
+
- Supply-chain threat modeling (STRIDE in plans)
|
|
502
|
+
|
|
503
|
+
---
|
|
504
|
+
|
|
505
|
+
## 4. Bigpowers Skill Inventory (38 Skills)
|
|
506
|
+
|
|
507
|
+
For reference, Bigpowers skills mapped by BMAD phase:
|
|
508
|
+
|
|
509
|
+
| Phase | Skill | Equivalent in GSD |
|
|
510
|
+
|-------|-------|-------------------|
|
|
511
|
+
| **Discover** | survey-context | (no 1:1; orchestrator reads STATE.md) |
|
|
512
|
+
| | elaborate-spec | `/gsd-discuss-phase` (gate discussions) |
|
|
513
|
+
| **Elaborate** | model-domain | `/gsd-new-project` → PROJECT.md |
|
|
514
|
+
| | define-language | (embedded in PROJECT.md / REQUIREMENTS.md) |
|
|
515
|
+
| | challenge-design | (embedded in `/gsd-discuss-phase`) |
|
|
516
|
+
| | grill-with-docs | `gsd-ui-researcher` + doc grilling |
|
|
517
|
+
| | deepen-architecture | `gsd-codebase-mapper` (4 parallel) |
|
|
518
|
+
| **Plan** | scope-work | `/gsd-new-project` → SCOPE (via REQUIREMENTS) |
|
|
519
|
+
| | slice-tasks | `/gsd-plan-phase` → PLAN.md files |
|
|
520
|
+
| | define-success | ROADMAP.md success criteria |
|
|
521
|
+
| | plan-work | `/gsd-plan-phase` → PLAN.md with verify: |
|
|
522
|
+
| | plan-refactor | (no explicit skill; embedded in plan-phase) |
|
|
523
|
+
| **Spike** | spike-prototype | (embedded in `/gsd-new-project` research phase) |
|
|
524
|
+
| **Build** | kickoff-branch | `/gsd-execute-phase` → git branch |
|
|
525
|
+
| | guard-git | (no 1:1; GSD uses git hooks) |
|
|
526
|
+
| | hook-commits | (GSD has pre-commit integration) |
|
|
527
|
+
| | develop-tdd | `workflow.tdd_mode: true` in plan-phase |
|
|
528
|
+
| | delegate-task | (no 1:1; orchestrators are thin) |
|
|
529
|
+
| | dispatch-agents | `/gsd-execute-phase` (wave-based parallel) |
|
|
530
|
+
| | execute-plan | `/gsd-execute-phase` → `gsd-executor` agents |
|
|
531
|
+
| | wire-observability | (embedded in executor + status-line hooks) |
|
|
532
|
+
| **Bug** | investigate-bug | `/gsd-debug` workflow |
|
|
533
|
+
| | diagnose-root | `gsd-debugger` agent |
|
|
534
|
+
| | validate-fix | (embedded in verify-phase) |
|
|
535
|
+
| **Review** | audit-code | (embedded in plan-checker + execution) |
|
|
536
|
+
| | request-review | `/gsd-code-review` workflow |
|
|
537
|
+
| | respond-review | (embedded in plan-phase --reviews) |
|
|
538
|
+
| **Integrate** | commit-message | Conventional Commits (automated in executors) |
|
|
539
|
+
| | release-branch | `/gsd-ship` workflow |
|
|
540
|
+
| **Sustain** | inspect-quality | `/gsd-verify-work` → `gsd-verifier` |
|
|
541
|
+
| | organize-workspace | `/gsd-workspace` for multi-repo isolation |
|
|
542
|
+
| **Utility** | terse-mode | (no 1:1; token budgets prevent need) |
|
|
543
|
+
| | craft-skill | (no 1:1; GSD doesn't support skill authoring) |
|
|
544
|
+
| | edit-document | (embedded in orchestrators, not a skill) |
|
|
545
|
+
| **Bootstrap** | using-bigpowers | `/gsd-new-project` (intro to GSD) |
|
|
546
|
+
| | seed-conventions | (CLAUDE.md generated during new-project) |
|
|
547
|
+
|
|
548
|
+
---
|
|
549
|
+
|
|
550
|
+
## 5. Gap Analysis: Bigpowers vs. GSD
|
|
551
|
+
|
|
552
|
+
### 5.1 GSD Has (Bigpowers Lacks)
|
|
553
|
+
|
|
554
|
+
#### 1. **Formal Orchestration Layer**
|
|
555
|
+
- **GSD:** Workflows are explicit state machines with gate definitions
|
|
556
|
+
- **Bigpowers:** Orchestration is implicit in skill selection flow
|
|
557
|
+
- **Gap:** Bigpowers skills don't declare dependencies or gates; orchestration is manual
|
|
558
|
+
|
|
559
|
+
#### 2. **Parallel Agent Spawning with Isolation**
|
|
560
|
+
- **GSD:** `execute-phase` spawns N executors with fresh 200K context each, parallel within waves
|
|
561
|
+
- **Bigpowers:** `dispatch-agents` and `delegate-task` exist, but orchestration is left to the user
|
|
562
|
+
- **Gap:** No built-in wave analysis or dependency management
|
|
563
|
+
|
|
564
|
+
#### 3. **Supply-Chain Security Gates**
|
|
565
|
+
- **GSD:** Package Legitimacy Audit (slopcheck) + [SLOP]/[SUS]/[OK] verdicts
|
|
566
|
+
- **Bigpowers:** No security gate for package recommendations
|
|
567
|
+
- **Gap:** Hallucinated package names can slip through
|
|
568
|
+
|
|
569
|
+
#### 4. **Success Criteria in Roadmap**
|
|
570
|
+
- **GSD:** ROADMAP.md has observable success criteria per phase
|
|
571
|
+
- **Bigpowers:** RELEASE-PLAN.md has WSJF and focus area, but no observable criteria
|
|
572
|
+
- **Gap:** Verification success is not pre-defined; harder to know when a phase is done
|
|
573
|
+
|
|
574
|
+
#### 5. **Comprehensive Reference Library**
|
|
575
|
+
- **GSD:** 60+ segregated references (gates, patterns, thinking models, domain probes)
|
|
576
|
+
- **Bigpowers:** Practices embedded in CONVENTIONS.md + inline SKILL.md comments
|
|
577
|
+
- **Gap:** Knowledge is distributed; harder to find and reuse
|
|
578
|
+
|
|
579
|
+
#### 6. **Context Propagation Model**
|
|
580
|
+
- **GSD:** Explicit document flow (PROJECT.md → ROADMAP.md → CONTEXT.md → RESEARCH.md → PLAN.md → VERIFICATION.md)
|
|
581
|
+
- **Bigpowers:** Ad-hoc file creation (specs/*.md) with no declared propagation
|
|
582
|
+
- **Gap:** Agents don't know which docs to read in which order
|
|
583
|
+
|
|
584
|
+
#### 7. **Model Profiles & Adaptive Context**
|
|
585
|
+
- **GSD:** Model assignment per agent (opus for planning, sonnet for research) + 1M context enrichment
|
|
586
|
+
- **Bigpowers:** Model is inherited from session; no per-skill assignment
|
|
587
|
+
- **Gap:** No cost-aware model routing; no adaptive context for large models
|
|
588
|
+
|
|
589
|
+
#### 8. **Package Discovery & Legitimacy**
|
|
590
|
+
- **GSD:** Slopcheck integration with verdicts
|
|
591
|
+
- **Bigpowers:** Manual package selection in plan
|
|
592
|
+
- **Gap:** No automated legitimacy checking
|
|
593
|
+
|
|
594
|
+
#### 9. **Assumption Surfacing**
|
|
595
|
+
- **GSD:** `/gsd-discuss-phase --assumptions` surfaces Claude's assumptions about the phase
|
|
596
|
+
- **Bigpowers:** No equivalent; assumptions are implicit
|
|
597
|
+
- **Gap:** User doesn't see what Claude thinks before planning begins
|
|
598
|
+
|
|
599
|
+
#### 10. **Automated Code Analysis**
|
|
600
|
+
- **GSD:** `gsd-codebase-mapper` (4 parallel agents) produce `.planning/codebase/*.md`
|
|
601
|
+
- **Bigpowers:** `survey-context` is manual or light
|
|
602
|
+
- **Gap:** No systematic codebase analysis before planning starts
|
|
603
|
+
|
|
604
|
+
---
|
|
605
|
+
|
|
606
|
+
### 5.2 Bigpowers Has (GSD Lacks)
|
|
607
|
+
|
|
608
|
+
#### 1. **Verb-Noun Skill Names**
|
|
609
|
+
- **Bigpowers:** `develop-tdd`, `validate-fix`, `challenge-design` (Uncle Bob naming)
|
|
610
|
+
- **GSD:** Commands are `/gsd-command-name` (hyphenated, not verb-noun consistent)
|
|
611
|
+
- **Win for Bigpowers:** Names are more discoverable and memorable
|
|
612
|
+
|
|
613
|
+
#### 2. **BMAD Phase Clarity**
|
|
614
|
+
- **Bigpowers:** Discover → Elaborate → Plan → Build → Sustain (explicit phase model)
|
|
615
|
+
- **GSD:** Phases are numbered (1, 2, 3, ...) without semantic labeling
|
|
616
|
+
- **Win for Bigpowers:** Phases are self-explanatory
|
|
617
|
+
|
|
618
|
+
#### 3. **Explicit Verification Commands**
|
|
619
|
+
- **Bigpowers:** `validate-fix` skill with runnable verify steps
|
|
620
|
+
- **GSD:** Embedded in `gsd-verifier` agent
|
|
621
|
+
- **Win for Bigpowers:** Verification is a first-class skill, not an embedded step
|
|
622
|
+
|
|
623
|
+
#### 4. **Skill-Driven Composition**
|
|
624
|
+
- **Bigpowers:** User picks skills in any order (flexible)
|
|
625
|
+
- **GSD:** Workflows are prescriptive (new-project → discuss → plan → execute → verify → ship)
|
|
626
|
+
- **Win for Bigpowers:** More flexible for non-standard workflows
|
|
627
|
+
|
|
628
|
+
#### 5. **No Prescribed Session Structure**
|
|
629
|
+
- **Bigpowers:** Skills can be invoked in any order; flexible orchestration
|
|
630
|
+
- **GSD:** `/gsd-new-project` is always first (hard requirement)
|
|
631
|
+
- **Win for Bigpowers:** Better for brownfield projects or partial workflows
|
|
632
|
+
|
|
633
|
+
#### 6. **Explicit Consolidation (SKILL-INDEX.md)**
|
|
634
|
+
- **Bigpowers:** Single canonical skill index (our analysis proposal)
|
|
635
|
+
- **GSD:** Skills must be discovered from CLI listing or docs
|
|
636
|
+
- **Win for Bigpowers:** Easier inventory management
|
|
637
|
+
|
|
638
|
+
---
|
|
639
|
+
|
|
640
|
+
### 5.3 Critical Gaps in Both
|
|
641
|
+
|
|
642
|
+
#### 1. **Brownfield Project Support**
|
|
643
|
+
- **GSD:** `/gsd-map-codebase` exists (4 parallel mappers)
|
|
644
|
+
- **Bigpowers:** Minimal; `survey-context` is light
|
|
645
|
+
- **Missing:** Systematic codebase analysis for existing codebases
|
|
646
|
+
- **Recommendation:** Both need deeper codebase-first planning
|
|
647
|
+
|
|
648
|
+
#### 2. **Async/Offline Handoff**
|
|
649
|
+
- **GSD:** `continue-here.md` for session resumption
|
|
650
|
+
- **Bigpowers:** STATE.md is static; no resumption format
|
|
651
|
+
- **Missing:** Structured handoff between sessions or agents
|
|
652
|
+
- **Recommendation:** Define continuation format (like GSD's)
|
|
653
|
+
|
|
654
|
+
#### 3. **Cross-AI Review Loops**
|
|
655
|
+
- **GSD:** `/gsd-plan-review-convergence` (replan until no HIGH concerns)
|
|
656
|
+
- **Bigpowers:** `request-review` → `respond-review` (one cycle)
|
|
657
|
+
- **Missing:** Automated convergence loops
|
|
658
|
+
- **Recommendation:** Add convergence loop to Bigpowers
|
|
659
|
+
|
|
660
|
+
#### 4. **Versioning & Branching Strategy**
|
|
661
|
+
- **GSD:** `branching_strategy` in config.json (merge/keep/discard)
|
|
662
|
+
- **Bigpowers:** CONVENTIONS.md mentions `gh pr` but no strategy config
|
|
663
|
+
- **Missing:** Formal branching strategy management
|
|
664
|
+
- **Recommendation:** Add to CLAUDE.md or config equivalent
|
|
665
|
+
|
|
666
|
+
---
|
|
667
|
+
|
|
668
|
+
## 6. Detailed Practice Comparison by Step
|
|
669
|
+
|
|
670
|
+
### Step: Project Initialization
|
|
671
|
+
|
|
672
|
+
| Aspect | GSD | Bigpowers |
|
|
673
|
+
|--------|-----|-----------|
|
|
674
|
+
| **Entry Point** | `/gsd-new-project` (interactive) | `using-bigpowers` → `elaborate-spec` + `model-domain` |
|
|
675
|
+
| **Questioning** | Deep domain-specific probes (questioning.md philosophy) | Conversational; no prescribed probes |
|
|
676
|
+
| **Research** | 4 parallel agents (Stack, Features, Architecture, Pitfalls) | No systematic research step |
|
|
677
|
+
| **Requirements** | Explicit REQ-XX tracking, Validated/Active/Out of Scope | Via SCOPE.md, no explicit tracking |
|
|
678
|
+
| **Roadmap** | Phases with success criteria, plan counts, wave analysis | RELEASE-PLAN.md with WSJF, no success criteria |
|
|
679
|
+
| **Scope Guardrails** | HARD GATE: No scope creep, even if user suggests | No guardrail; user can add scope freely |
|
|
680
|
+
| **Auto Mode** | `--auto @prd.md` skips questions, keeps research | No equivalent |
|
|
681
|
+
| **Artifacts** | PROJECT.md, REQUIREMENTS.md, ROADMAP.md, research/, STATE.md, config.json | CLAUDE.md, CONVENTIONS.md, SCOPE.md (manual) |
|
|
682
|
+
|
|
683
|
+
### Step: Phase Context (Discuss/Plan)
|
|
684
|
+
|
|
685
|
+
| Aspect | GSD | Bigpowers |
|
|
686
|
+
|--------|-----|-----------|
|
|
687
|
+
| **Gray Area ID** | Phase-specific (not generic categories) | `challenge-design` is conversational |
|
|
688
|
+
| **Decision Capture** | CONTEXT.md with locked choices | No explicit decision artifact |
|
|
689
|
+
| **Scope Boundaries** | HARD GATE: Clarify vs. creep distinction | Ad-hoc |
|
|
690
|
+
| **Documentation** | DISCUSSION-LOG.md (audit trail) | No equivalent |
|
|
691
|
+
| **Mode Flexibility** | 6+ modes (--auto, --batch, --analyze, --power, --all, --assumptions) | Single conversational mode |
|
|
692
|
+
| **Artifacts** | {phase}-CONTEXT.md, {phase}-DISCUSSION-LOG.md | No explicit artifact |
|
|
693
|
+
|
|
694
|
+
### Step: Planning
|
|
695
|
+
|
|
696
|
+
| Aspect | GSD | Bigpowers |
|
|
697
|
+
|--------|-----|-----------|
|
|
698
|
+
| **Research** | Mandatory (unless --skip-research) | Not explicitly in skill |
|
|
699
|
+
| **Package Security** | Slopcheck + [SLOP]/[SUS]/[OK] gates | No security check |
|
|
700
|
+
| **Task Format** | Every task has `verify: <command>` | Plan.md uses `→ verify:` per Karpathy |
|
|
701
|
+
| **Dependency Management** | Plans declare dependencies; affects wave grouping | Not declared; affects execution order |
|
|
702
|
+
| **Plan Verification** | Max 3-iteration checker loop | One-pass execution; no loop |
|
|
703
|
+
| **Checkpoints** | `checkpoint:human-verify` before [ASSUMED] packages | No checkpoint mechanism |
|
|
704
|
+
| **TDD Integration** | `workflow.tdd_mode: true` applies type:tdd to tasks | `develop-tdd` skill exists |
|
|
705
|
+
| **Artifacts** | {phase}-RESEARCH.md, {phase}-{N}-PLAN.md, {phase}-VALIDATION.md | PLAN.md (single file) |
|
|
706
|
+
|
|
707
|
+
### Step: Execution
|
|
708
|
+
|
|
709
|
+
| Aspect | GSD | Bigpowers |
|
|
710
|
+
|--------|-----|-----------|
|
|
711
|
+
| **Wave Analysis** | Automatic grouping by dependencies | No grouping; sequential or manual parallelism |
|
|
712
|
+
| **Parallel Agents** | Multiple executors per wave; fresh context each | `dispatch-agents` requires manual call |
|
|
713
|
+
| **Context Isolation** | Fresh 200K per executor | Inherited from orchestrator |
|
|
714
|
+
| **Adaptive Context** | 1M models receive prior wave SUMMARY.md + CONTEXT.md | No adaptive enrichment |
|
|
715
|
+
| **Commit Safety** | --no-verify per executor + hooks once per wave | Ad-hoc; no formal safety mechanism |
|
|
716
|
+
| **STATE.md Locking** | Atomic writes with O_EXCL + stale detection | Not formalized |
|
|
717
|
+
| **Checkpoint Handling** | Pause execution, ask user, resume | No equivalent |
|
|
718
|
+
| **Post-Execution Gates** | Schema Drift Gate + Decision Coverage Gate | Not formalized |
|
|
719
|
+
| **Artifacts** | {phase}-{N}-SUMMARY.md, git commits | Code commits; SUMMARY.md manual |
|
|
720
|
+
|
|
721
|
+
### Step: Verification
|
|
722
|
+
|
|
723
|
+
| Aspect | GSD | Bigpowers |
|
|
724
|
+
|--------|-----|-----------|
|
|
725
|
+
| **UAT** | Manual walk-through + Verifier agent | Not formalized |
|
|
726
|
+
| **Verifier Agent** | Reads PLAN.md, SUMMARY.md, REQUIREMENTS.md; identifies gaps | `validate-fix` is manual |
|
|
727
|
+
| **Status Tracking** | VERIFICATION.md with passed|needs-review|needs-repair | No formal status |
|
|
728
|
+
| **Gap Closure** | `/gsd-plan-phase --gaps` + `/gsd-execute-phase --gaps-only` | `validate-fix` then re-execute manually |
|
|
729
|
+
| **Artifacts** | {phase}-VERIFICATION.md, (optional) {phase}-UAT.md | No formal artifact |
|
|
730
|
+
|
|
731
|
+
### Step: Release
|
|
732
|
+
|
|
733
|
+
| Aspect | GSD | Bigpowers |
|
|
734
|
+
|--------|-----|-----------|
|
|
735
|
+
| **Coverage Gates** | >= 80% overall, >= 95% business logic | Not formalized |
|
|
736
|
+
| **PR Creation** | Automatic `gh pr create` with linked artifacts | Manual `release-branch` skill |
|
|
737
|
+
| **Branching Strategy** | Config-driven (merge/keep/discard) | User decides |
|
|
738
|
+
| **Worktree Cleanup** | Automatic if `use_worktrees: true` | Manual (via `guard-git`) |
|
|
739
|
+
| **Milestone Archival** | Automatic collapse + tag creation | Manual (via `complete-milestone`) |
|
|
740
|
+
| **Artifacts** | PR linked to PLAN.md, SUMMARY.md, VERIFICATION.md | Commit with message (via `commit-message`) |
|
|
741
|
+
|
|
742
|
+
---
|
|
743
|
+
|
|
744
|
+
## 7. Key Insights & Recommendations
|
|
745
|
+
|
|
746
|
+
### 7.1 Architecture Philosophy
|
|
747
|
+
|
|
748
|
+
**GSD: Orchestration-first**
|
|
749
|
+
- User calls `/gsd-command` → Orchestrator loads context → Spawn agents → Collect → Update state
|
|
750
|
+
- Workflows are state machines with explicit gates
|
|
751
|
+
- Agents are thin specialists (each does one role)
|
|
752
|
+
- Decision flow is: orchestrator controls the sequence, agents execute within that sequence
|
|
753
|
+
|
|
754
|
+
**Bigpowers: Skill-first**
|
|
755
|
+
- User calls skill → Skill prompt runs → Ad-hoc agent spawning if needed
|
|
756
|
+
- Skills are user-facing entry points (verb-noun names)
|
|
757
|
+
- Orchestration is manual (user chains skills)
|
|
758
|
+
- Decision flow is: user picks the next skill, skill runs to completion
|
|
759
|
+
|
|
760
|
+
**Hybrid Opportunity:** Bigpowers could keep skill-first naming but add thin orchestrators that call skills in sequence. e.g.:
|
|
761
|
+
```
|
|
762
|
+
/gsd-new-project → survey-context → elaborate-spec → model-domain → ... → plan-work
|
|
763
|
+
```
|
|
764
|
+
|
|
765
|
+
### 7.2 Context Isolation
|
|
766
|
+
|
|
767
|
+
**GSD:** Fresh 200K per agent is a killer feature.
|
|
768
|
+
- Prevents context rot (quality degradation as context window fills)
|
|
769
|
+
- Each agent starts clean with only what it needs
|
|
770
|
+
- Requires explicit context propagation (orchestrator loads + passes)
|
|
771
|
+
|
|
772
|
+
**Bigpowers:** Relies on inherited session context
|
|
773
|
+
- No context rot protection
|
|
774
|
+
- Simpler for small projects, breaks down as complexity grows
|
|
775
|
+
|
|
776
|
+
**Recommendation:** Adopt context isolation in Bigpowers via orchestrators
|
|
777
|
+
- Each skill spawn gets `<files_to_read>` + `<context>` sections
|
|
778
|
+
- Orchestrator manages handoff between skills
|
|
779
|
+
|
|
780
|
+
### 7.3 Security Gates
|
|
781
|
+
|
|
782
|
+
**GSD's supply-chain gate is unique:**
|
|
783
|
+
- Blocks hallucinated package names (major AI coding risk)
|
|
784
|
+
- Integrated into research → plan → execute pipeline
|
|
785
|
+
- Easy to add to Bigpowers: extend `plan-work` with slopcheck call
|
|
786
|
+
|
|
787
|
+
**Recommendation:** Add to Bigpowers `plan-work`:
|
|
788
|
+
```markdown
|
|
789
|
+
## Package Legitimacy
|
|
790
|
+
Before recommending external packages:
|
|
791
|
+
1. Run slopcheck on each package
|
|
792
|
+
2. Tag results: [SLOP] remove, [SUS] add checkpoint, [OK] approve
|
|
793
|
+
3. Add to plan: checkpoint:human-verify before [SUS] installs
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
### 7.4 Success Criteria & Verification
|
|
797
|
+
|
|
798
|
+
**GSD:** ROADMAP.md success criteria are user-perspective observable behaviors.
|
|
799
|
+
- Phase 1 Goal: "User can sign up with email"
|
|
800
|
+
- Success Criteria: 1. "Signup form displays" 2. "Email validation works" 3. "Password reset works"
|
|
801
|
+
- Verifier checks these explicitly
|
|
802
|
+
|
|
803
|
+
**Bigpowers:** RELEASE-PLAN.md has "Objective" but no success criteria
|
|
804
|
+
- "v1.17.0 — Guardrails" (what is success here?)
|
|
805
|
+
- Harder to know when a release is done
|
|
806
|
+
|
|
807
|
+
**Recommendation:** Add success criteria to RELEASE-PLAN.md per release:
|
|
808
|
+
```markdown
|
|
809
|
+
### v1.17.0 — Guardrails (WSJF 3.2)
|
|
810
|
+
|
|
811
|
+
**Success Criteria:**
|
|
812
|
+
- [ ] "Zoom-out mandate" implemented in plan-work as HARD-GATE
|
|
813
|
+
- [ ] Surgical changes checklist in audit-code passes 100% tests
|
|
814
|
+
- [ ] CONVENTIONS.md explicitly forbids "touch unrelated code"
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
### 7.5 Orchestration Formality
|
|
818
|
+
|
|
819
|
+
**GSD:** Workflows are rigid (new-project → discuss → plan → execute → verify → ship)
|
|
820
|
+
- Pro: Clear execution path, no decision paralysis
|
|
821
|
+
- Con: Less flexible for non-standard scenarios
|
|
822
|
+
|
|
823
|
+
**Bigpowers:** Skills are flexible (user picks next skill)
|
|
824
|
+
- Pro: Adapts to any workflow
|
|
825
|
+
- Con: Easy to skip steps, hard to enforce mandatory gates
|
|
826
|
+
|
|
827
|
+
**Recommendation:** Bigpowers could add "orchestration modes":
|
|
828
|
+
- **Standard:** Enforce discover → elaborate → plan → build → verify → release flow
|
|
829
|
+
- **Brownfield:** Skip discover, start from `survey-context`
|
|
830
|
+
- **Ad-hoc:** Pick skills freely (current Bigpowers behavior)
|
|
831
|
+
|
|
832
|
+
### 7.6 Agent Specialization
|
|
833
|
+
|
|
834
|
+
**GSD:** 31 specialized agents
|
|
835
|
+
- Researchers, Planners, Checkers, Executors, Verifiers, Mappers, Debuggers, Auditors
|
|
836
|
+
- Each agent has a single role
|
|
837
|
+
- Model profile per agent (opus for planning, sonnet for research)
|
|
838
|
+
|
|
839
|
+
**Bigpowers:** 38 skills, each invokes implicit agents
|
|
840
|
+
- No predefined agent catalog
|
|
841
|
+
- Skill is the entry point; agent role is implied
|
|
842
|
+
|
|
843
|
+
**Recommendation:** Define Bigpowers agent taxonomy (like GSD's):
|
|
844
|
+
```
|
|
845
|
+
Researchers: survey-context, elaborate-spec, model-domain
|
|
846
|
+
Planners: plan-work, plan-refactor
|
|
847
|
+
Checkers: audit-code, request-review
|
|
848
|
+
Executors: develop-tdd, execute-plan
|
|
849
|
+
Verifiers: validate-fix, inspect-quality
|
|
850
|
+
Mappers: deepen-architecture
|
|
851
|
+
Debuggers: investigate-bug, diagnose-root
|
|
852
|
+
```
|
|
853
|
+
|
|
854
|
+
---
|
|
855
|
+
|
|
856
|
+
## 8. Bigpowers Enhancements (Priority Order)
|
|
857
|
+
|
|
858
|
+
### **Tier 1: Critical (Foundation)**
|
|
859
|
+
|
|
860
|
+
1. **Add Orchestration Layer** (like GSD workflows)
|
|
861
|
+
- Define prescriptive core loop: survey → elaborate → plan → build → verify → ship
|
|
862
|
+
- Add gates: No code without plans, no plans without research, no shipping without verification
|
|
863
|
+
- Deliverable: `ORCHESTRATION.md` + thin coordinator skills
|
|
864
|
+
|
|
865
|
+
2. **Add Context Isolation to Skill Spawning**
|
|
866
|
+
- Each skill spawn gets `<files_to_read>` + `<context>` sections
|
|
867
|
+
- Prevents context rot
|
|
868
|
+
- Deliverable: Update `execute-plan`, `plan-work`, `develop-tdd` with isolation
|
|
869
|
+
|
|
870
|
+
3. **Add Supply-Chain Security Gate**
|
|
871
|
+
- Integrate slopcheck into `plan-work`
|
|
872
|
+
- Tag packages [SLOP]/[SUS]/[OK]
|
|
873
|
+
- Add checkpoint:human-verify before [SUS] installs
|
|
874
|
+
- Deliverable: Updated `plan-work` skill + security reference
|
|
875
|
+
|
|
876
|
+
### **Tier 2: Important (UX/Clarity)**
|
|
877
|
+
|
|
878
|
+
4. **Add Success Criteria to RELEASE-PLAN.md**
|
|
879
|
+
- Per-release observable behaviors
|
|
880
|
+
- Feeds into `validate-fix` verification
|
|
881
|
+
- Deliverable: Updated RELEASE-PLAN template
|
|
882
|
+
|
|
883
|
+
5. **Add Reference Library (like GSD's)**
|
|
884
|
+
- Segregate knowledge from SKILL.md into `references/`
|
|
885
|
+
- Examples: gates.md, verification-patterns.md, tdd.md, thinking-models-*.md
|
|
886
|
+
- Deliverable: `references/` directory with 15-20 core docs
|
|
887
|
+
|
|
888
|
+
6. **Formalize Agent Taxonomy**
|
|
889
|
+
- Map Bigpowers skills to agent roles (Researcher, Planner, Executor, Verifier, etc.)
|
|
890
|
+
- Define model profiles (opus for planning, sonnet for research)
|
|
891
|
+
- Deliverable: `AGENTS.md` documenting all agents + roles
|
|
892
|
+
|
|
893
|
+
### **Tier 3: Nice-to-Have (Ergonomics)**
|
|
894
|
+
|
|
895
|
+
7. **Add Automated Wave Analysis**
|
|
896
|
+
- Parse plan dependencies; group into waves for parallel execution
|
|
897
|
+
- Deliverable: Enhancement to `execute-plan`
|
|
898
|
+
|
|
899
|
+
8. **Add Assumption Surfacing**
|
|
900
|
+
- Like `/gsd-discuss-phase --assumptions`
|
|
901
|
+
- Before planning, Claude surfaces what it's assuming about the phase
|
|
902
|
+
- Deliverable: Enhancement to `plan-work` or dedicated skill
|
|
903
|
+
|
|
904
|
+
9. **Add Package Discovery & Legitimacy**
|
|
905
|
+
- Automated package recommendation with verification
|
|
906
|
+
- Deliverable: Enhancement to research step of `plan-work`
|
|
907
|
+
|
|
908
|
+
10. **Add Continuation Format**
|
|
909
|
+
- Like GSD's `continue-here.md`
|
|
910
|
+
- Structured session resumption between context resets
|
|
911
|
+
- Deliverable: `continuation-format.md` + tool support
|
|
912
|
+
|
|
913
|
+
---
|
|
914
|
+
|
|
915
|
+
## 9. Conclusion
|
|
916
|
+
|
|
917
|
+
**GSD is engineered for production reliability:**
|
|
918
|
+
- Orchestration is explicit and auditable
|
|
919
|
+
- Context isolation prevents rot
|
|
920
|
+
- Security gates prevent supply-chain attacks
|
|
921
|
+
- Verification is multi-step and rigorous
|
|
922
|
+
|
|
923
|
+
**Bigpowers is engineered for developer ergonomics:**
|
|
924
|
+
- Skill names are memorable (verb-noun)
|
|
925
|
+
- BMAD phases are self-explanatory
|
|
926
|
+
- Skill composition is flexible
|
|
927
|
+
- Perfect for solo developers who know what they want
|
|
928
|
+
|
|
929
|
+
**Hybrid Approach:** Bigpowers + GSD orchestration + GSD security gates would be ideal:
|
|
930
|
+
- Keep Bigpowers' verb-noun skill names and BMAD phases
|
|
931
|
+
- Add GSD's orchestration layer and context isolation
|
|
932
|
+
- Add GSD's security gates and reference library
|
|
933
|
+
- Result: Bigpowers' usability + GSD's production reliability
|
|
934
|
+
|
|
935
|
+
---
|
|
936
|
+
|
|
937
|
+
## 10. Full GSD Workflow Call Map (6 Commands)
|
|
938
|
+
|
|
939
|
+
```
|
|
940
|
+
START
|
|
941
|
+
↓
|
|
942
|
+
/gsd-new-project
|
|
943
|
+
├── Questions + 4 parallel researchers
|
|
944
|
+
├── Synthesizer
|
|
945
|
+
├── Roadmapper
|
|
946
|
+
├── User approval
|
|
947
|
+
└── → PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md, research/, config.json
|
|
948
|
+
↓
|
|
949
|
+
LOOP [for each phase]:
|
|
950
|
+
├── /gsd-discuss-phase [N]
|
|
951
|
+
│ ├── Gray area identification
|
|
952
|
+
│ ├── User discussion (6+ modes: --auto, --batch, --analyze, --power, --all, --assumptions)
|
|
953
|
+
│ └── → {phase}-CONTEXT.md, {phase}-DISCUSSION-LOG.md
|
|
954
|
+
│ ↓
|
|
955
|
+
├── /gsd-plan-phase [N]
|
|
956
|
+
│ ├── Research (if needed)
|
|
957
|
+
│ │ ├── Phase Researcher
|
|
958
|
+
│ │ ├── Package Legitimacy Audit (slopcheck)
|
|
959
|
+
│ │ └── → {phase}-RESEARCH.md with [SLOP]/[SUS]/[OK] verdicts
|
|
960
|
+
│ │ ↓
|
|
961
|
+
│ ├── Planning (max 3 iterations if issues found)
|
|
962
|
+
│ │ ├── Planner
|
|
963
|
+
│ │ │ ├── Every task: verify: <command>
|
|
964
|
+
│ │ │ ├── Dependencies declared
|
|
965
|
+
│ │ │ ├── Checkpoints for [ASSUMED]/[SUS]
|
|
966
|
+
│ │ │ └── STRIDE threat model
|
|
967
|
+
│ │ │ ↓
|
|
968
|
+
│ │ └── Plan Checker (loop until clean)
|
|
969
|
+
│ │ ├── Quality Gate
|
|
970
|
+
│ │ ├── Requirements Coverage Gate (REQ-IDs)
|
|
971
|
+
│ │ ├── Decision Coverage Gate (CONTEXT.md)
|
|
972
|
+
│ │ └── Safety Gate
|
|
973
|
+
│ │ ↓
|
|
974
|
+
│ └── → {phase}-{N}-PLAN.md files
|
|
975
|
+
│ ↓
|
|
976
|
+
├── /gsd-execute-phase [N]
|
|
977
|
+
│ ├── Wave analysis (dependency grouping)
|
|
978
|
+
│ ├── Per-wave: spawn executors in parallel
|
|
979
|
+
│ │ ├── Fresh 200K context per executor
|
|
980
|
+
│ │ ├── Execute task
|
|
981
|
+
│ │ ├── Commit atomically (conventional)
|
|
982
|
+
│ │ └── Create SUMMARY.md
|
|
983
|
+
│ ├── Post-wave: run pre-commit hooks once
|
|
984
|
+
│ ├── Schema Drift Gate
|
|
985
|
+
│ └── → {phase}-{N}-SUMMARY.md, git commits
|
|
986
|
+
│ ↓
|
|
987
|
+
├── /gsd-verify-work [N]
|
|
988
|
+
│ ├── User acceptance testing (manual)
|
|
989
|
+
│ ├── Verifier agent review
|
|
990
|
+
│ │ ├── Read PLAN.md, SUMMARY.md, REQUIREMENTS.md
|
|
991
|
+
│ │ ├── Identify gaps
|
|
992
|
+
│ │ ├── Generate fix plans (if needed)
|
|
993
|
+
│ │ └── Status: passed | needs-review | needs-repair
|
|
994
|
+
│ ├── If needs-repair:
|
|
995
|
+
│ │ ├── /gsd-plan-phase --gaps
|
|
996
|
+
│ │ ├── /gsd-execute-phase --gaps-only
|
|
997
|
+
│ │ └── Re-verify
|
|
998
|
+
│ └── → {phase}-VERIFICATION.md
|
|
999
|
+
│ ↓
|
|
1000
|
+
├── /gsd-ship [N]
|
|
1001
|
+
│ ├── Coverage gates (>= 80%, >= 95% business logic)
|
|
1002
|
+
│ ├── Create PR (gh pr create)
|
|
1003
|
+
│ ├── Merge to main
|
|
1004
|
+
│ ├── Worktree cleanup (if used)
|
|
1005
|
+
│ ├── If last phase in milestone:
|
|
1006
|
+
│ │ ├── Archive phase artifacts
|
|
1007
|
+
│ │ ├── Create git tag (vX.Y.Z)
|
|
1008
|
+
│ │ └── Update MILESTONES.md
|
|
1009
|
+
│ └── → Release shipped
|
|
1010
|
+
│ ↓
|
|
1011
|
+
END LOOP
|
|
1012
|
+
```
|
|
1013
|
+
|
|
1014
|
+
This is the core GSD workflow. Optional workflows exist for debugging, code review, documentation, workspace management, etc.
|
|
1015
|
+
|