bigpowers 1.2.3 → 1.3.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.
- package/CHANGELOG.md +15 -0
- package/CLAUDE.md +5 -4
- package/CONVENTIONS.md +55 -13
- package/README.md +10 -8
- package/SKILL-INDEX.md +14 -11
- package/assess-impact/SKILL.md +2 -2
- package/build-epic/SKILL.md +42 -0
- package/change-request/SKILL.md +16 -16
- package/compose-workflow/REFERENCE.md +3 -3
- package/compose-workflow/SKILL.md +1 -1
- package/deepen-architecture/SKILL.md +6 -6
- package/define-success/SKILL.md +1 -1
- package/delegate-task/SKILL.md +4 -4
- package/develop-tdd/SKILL.md +5 -5
- package/dispatch-agents/SKILL.md +2 -2
- package/evolve-skill/SKILL.md +2 -2
- package/execute-plan/SKILL.md +22 -59
- package/fix-bug/SKILL.md +37 -0
- package/grill-with-docs/SKILL.md +1 -1
- package/inspect-quality/SKILL.md +5 -5
- package/investigate-bug/SKILL.md +2 -2
- package/kickoff-branch/SKILL.md +1 -1
- package/map-codebase/SKILL.md +4 -4
- package/migrate-spec/REFERENCE-GSD.md +35 -41
- package/migrate-spec/REFERENCE.md +43 -44
- package/migrate-spec/SKILL.md +20 -20
- package/model-domain/SKILL.md +7 -7
- package/orchestrate-project/REFERENCE.md +10 -10
- package/orchestrate-project/SKILL.md +13 -16
- package/package.json +7 -7
- package/plan-release/SKILL.md +63 -39
- package/plan-work/SKILL.md +6 -6
- package/request-review/SKILL.md +2 -2
- package/research-first/SKILL.md +3 -3
- package/run-evals/REFERENCE.md +1 -1
- package/run-planning/SKILL.md +24 -0
- package/scope-work/SKILL.md +6 -6
- package/scripts/bp-yaml-set.sh +9 -0
- package/scripts/bp-yaml-snapshot.sh +23 -0
- package/scripts/convert-legado.sh +153 -0
- package/scripts/enrich-epics-from-archive.sh +101 -0
- package/scripts/land-branch.sh +5 -1
- package/scripts/project-survey.sh +18 -9
- package/scripts/sync-bugs-registry.sh +53 -0
- package/scripts/sync-skills.sh +5 -5
- package/scripts/sync-status-from-epics.sh +51 -0
- package/scripts/validate-specs-yaml.sh +41 -0
- package/scripts/yaml-tools.py +144 -0
- package/seed-conventions/SKILL.md +3 -3
- package/session-state/SKILL.md +59 -50
- package/setup-environment/SKILL.md +1 -1
- package/slice-tasks/SKILL.md +6 -6
- package/spike-prototype/SKILL.md +5 -5
- package/survey-context/SKILL.md +38 -27
- package/trace-requirement/SKILL.md +8 -8
- package/using-bigpowers/SKILL.md +10 -9
- package/validate-fix/SKILL.md +4 -4
- package/verify-work/SKILL.md +12 -17
- package/visual-dashboard/SKILL.md +25 -74
- package/visual-dashboard/scripts/cockpit.html +66 -0
- package/visual-dashboard/scripts/read-specs-status.cjs +123 -0
- package/visual-dashboard/scripts/server.cjs +40 -0
- package/write-document/SKILL.md +1 -1
- package/maintain-wiki/SKILL.md +0 -130
- package/profiles/obsidian-wiki.md +0 -120
package/execute-plan/SKILL.md
CHANGED
|
@@ -1,92 +1,55 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: execute-plan
|
|
3
3
|
model: haiku
|
|
4
|
-
description: Batch-execute tasks from
|
|
4
|
+
description: Batch-execute tasks from the active epic shard sequentially, with a human checkpoint after each step. Use when user has an approved plan and wants step-by-step oversight.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Execute Plan
|
|
8
8
|
|
|
9
|
-
Execute the
|
|
9
|
+
Execute tasks from the **active epic** (`specs/epics/eNN-*.yaml` story `tasks[]`) one at a time, showing evidence after each step before proceeding.
|
|
10
10
|
|
|
11
|
-
> **HARD GATE** — Do NOT proceed if on `main` or `master`. Run `kickoff-branch` first
|
|
11
|
+
> **HARD GATE** — Do NOT proceed if on `main` or `master`. Run `kickoff-branch` first.
|
|
12
12
|
>
|
|
13
|
-
> **HARD GATE** —
|
|
13
|
+
> **HARD GATE** — Active epic must exist with runnable `verify` on each task. If missing, run `plan-release` then `plan-work` or `build-epic`.
|
|
14
14
|
|
|
15
15
|
## Process
|
|
16
16
|
|
|
17
17
|
### 1. Read the plan
|
|
18
18
|
|
|
19
|
-
Read `specs/
|
|
19
|
+
Read `specs/state.yaml` (`active_epic`, `active_story`) and the matching `specs/epics/*.yaml`. Parse `depends-on` in task descriptions for execution waves.
|
|
20
20
|
|
|
21
|
-
> **CONTEXT ISOLATION** — Spawn each skill
|
|
21
|
+
> **CONTEXT ISOLATION** — Spawn each skill with a **fresh context window**. Pass decisions only through `specs/state.yaml` `handoff` — never rely on prior chat history.
|
|
22
22
|
|
|
23
|
-
Confirm with the user:
|
|
24
|
-
- How many steps are there?
|
|
25
|
-
- Any steps to skip or reorder?
|
|
26
|
-
- Should you stop after a specific step?
|
|
23
|
+
Confirm with the user: step count, skip/reorder, stop-after step.
|
|
27
24
|
|
|
28
25
|
### 2. Execute step by step
|
|
29
26
|
|
|
30
|
-
For each
|
|
27
|
+
For each task in the active story:
|
|
31
28
|
|
|
32
|
-
**a. Announce
|
|
33
|
-
```
|
|
34
|
-
─── Step N of M ─────────────────────────
|
|
35
|
-
Task: [step description]
|
|
36
|
-
verify: [verify command]
|
|
37
|
-
```
|
|
29
|
+
**a. Announce** — task `desc` and `verify` command.
|
|
38
30
|
|
|
39
|
-
**b. Execute
|
|
31
|
+
**b. Execute** — code or `delegate-task` / `dispatch-agents` for waves.
|
|
40
32
|
|
|
41
|
-
|
|
33
|
+
**c. Run verify** — must be green before advancing.
|
|
42
34
|
|
|
43
|
-
|
|
44
|
-
- Write/edit code directly for small focused changes
|
|
45
|
-
- Spawn a subagent via `delegate-task` for complex isolated work (fresh context; read STATE.md first)
|
|
35
|
+
**d. Log** — non-obvious decisions in `specs/state.yaml` under `decisions[]` or `handoff` block.
|
|
46
36
|
|
|
47
|
-
|
|
37
|
+
**e. Checkpoint** — ask to proceed unless autonomous mode requested.
|
|
48
38
|
|
|
49
|
-
**
|
|
50
|
-
Every task in `specs/RELEASE-PLAN.md` must have a `verify: <cmd>`. Run it and show the output.
|
|
39
|
+
**f. Story UAT** — after last task, run manual verification script from story notes or `verify-work`.
|
|
51
40
|
|
|
52
|
-
|
|
53
|
-
After verify passes, append to `specs/STATE.md` under `## Active Decisions`:
|
|
54
|
-
```
|
|
55
|
-
**Step N — [short name]**: [what approach was chosen and why — one sentence]
|
|
56
|
-
```
|
|
57
|
-
Only log if a non-obvious decision was made (approach chosen, constraint discovered, blocker resolved). Skip if the step was mechanical.
|
|
41
|
+
On verify failure: fix and re-run; never advance on red.
|
|
58
42
|
|
|
59
|
-
|
|
60
|
-
Report the result and ask: "Step N complete. Proceed to step N+1?" (or proceed automatically if the user asked for fully autonomous execution)
|
|
43
|
+
Update `specs/execution-status.yaml` when a story/epic completes (`bash scripts/sync-status-from-epics.sh` or direct edit).
|
|
61
44
|
|
|
62
|
-
|
|
63
|
-
After the last step of a Story is completed:
|
|
64
|
-
1. Present the **Verification Script** from `specs/RELEASE-PLAN.md` for this story.
|
|
65
|
-
2. Ask the user to perform the manual verification steps.
|
|
66
|
-
3. Wait for the user to confirm "pass" or describe issues.
|
|
67
|
-
4. If issues are reported, log them and stop execution for diagnosis.
|
|
45
|
+
### 3. Blockers
|
|
68
46
|
|
|
69
|
-
|
|
70
|
-
- Do NOT move to the next step — never advance on a red verify
|
|
71
|
-
- Diagnose the failure
|
|
72
|
-
- Fix it and re-run verify
|
|
73
|
-
- Loop on this step until the verify command is green
|
|
74
|
-
- Only then proceed to the next step
|
|
47
|
+
Report blocker; ask skip/adapt/stop; update epic shard if plan changes.
|
|
75
48
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
### 3. Handle blockers
|
|
49
|
+
### 4. Final report
|
|
79
50
|
|
|
80
|
-
|
|
81
|
-
- Report the blocker clearly
|
|
82
|
-
- Ask the user whether to skip, adapt, or stop
|
|
83
|
-
- Update `specs/RELEASE-PLAN.md` if the plan needs revision
|
|
51
|
+
Suggest: `verify-work` → `run-evals` → `audit-code` → `simulate-agents` → `commit-message` → `release-branch`
|
|
84
52
|
|
|
85
|
-
|
|
53
|
+
## Rules
|
|
86
54
|
|
|
87
|
-
|
|
88
|
-
```
|
|
89
|
-
✓ Plan complete: N/N steps executed
|
|
90
|
-
All verify commands passed.
|
|
91
|
-
Suggested next: verify-work → run-evals → audit-code → simulate-agents → commit-message → release-branch
|
|
92
|
-
```
|
|
55
|
+
- **Loop until behavioral correctness is verified**: if a verify command passes but the observed behavior is still wrong, return to step 1 and run the execution cycle again.
|
package/fix-bug/SKILL.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fix-bug
|
|
3
|
+
model: sonnet
|
|
4
|
+
description: Bug fix orchestrator — active_flow fix_bug; reads specs/bugs/BUG-*.md; chains investigate-bug, develop-tdd, validate-fix. Use when user reports a defect.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Fix Bug
|
|
8
|
+
|
|
9
|
+
Orchestrates **fix_bug** flow without mixing epic build state.
|
|
10
|
+
|
|
11
|
+
> **HARD GATE** — Set `specs/state.yaml` `active_flow: fix_bug`.
|
|
12
|
+
|
|
13
|
+
## Process
|
|
14
|
+
|
|
15
|
+
1. If no `specs/bugs/BUG-*.md`, run `investigate-bug` first (YAML frontmatter + fix plan in file).
|
|
16
|
+
2. `develop-tdd` against the bug file's verify steps.
|
|
17
|
+
3. `validate-fix` — re-run failing test, full suite, lint.
|
|
18
|
+
4. `bash scripts/sync-bugs-registry.sh` — refresh `specs/bugs/registry.yaml`.
|
|
19
|
+
5. Clear `active_flow` or return to `build_epic` when done.
|
|
20
|
+
|
|
21
|
+
## Bug file SoT
|
|
22
|
+
|
|
23
|
+
One markdown file per bug with frontmatter:
|
|
24
|
+
|
|
25
|
+
```yaml
|
|
26
|
+
---
|
|
27
|
+
bug_id: BUG-001
|
|
28
|
+
status: open
|
|
29
|
+
severity: high
|
|
30
|
+
scope: api
|
|
31
|
+
title: Short title
|
|
32
|
+
---
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Verify
|
|
36
|
+
|
|
37
|
+
→ verify: `test -d specs/bugs && bash scripts/sync-bugs-registry.sh`
|
package/grill-with-docs/SKILL.md
CHANGED
|
@@ -10,7 +10,7 @@ model: opus
|
|
|
10
10
|
|
|
11
11
|
## Process
|
|
12
12
|
|
|
13
|
-
1. Read the plan or design under test (`specs/
|
|
13
|
+
1. Read the plan or design under test (`specs/release-plan.yaml + epic shards`, INTERFACE-OPTIONS.md, etc.).
|
|
14
14
|
2. List assumptions that depend on external libraries or APIs.
|
|
15
15
|
3. For each assumption: fetch or quote official docs; challenge with "docs say X, plan says Y."
|
|
16
16
|
4. Resolve or update the plan inline; unresolved items block `plan-work`.
|
package/inspect-quality/SKILL.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: inspect-quality
|
|
3
3
|
model: sonnet
|
|
4
|
-
description: Interactive QA session where user reports bugs or issues conversationally, and the agent logs them to specs/bugs/
|
|
4
|
+
description: Interactive QA session where user reports bugs or issues conversationally, and the agent logs them to specs/bugs/registry.yaml with a structured audit schema. Explores the codebase in the background for context and domain language. Use when user wants to report bugs, do QA, or mentions "QA session".
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Inspect Quality
|
|
8
8
|
|
|
9
|
-
Run an interactive QA session. The user describes problems they're encountering. You clarify, explore the codebase for context, and log each issue to `specs/bugs/
|
|
9
|
+
Run an interactive QA session. The user describes problems they're encountering. You clarify, explore the codebase for context, and log each issue to `specs/bugs/registry.yaml` with a structured, durable format.
|
|
10
10
|
|
|
11
11
|
## For each issue the user raises
|
|
12
12
|
|
|
@@ -41,11 +41,11 @@ Keep as a single issue when:
|
|
|
41
41
|
- It's one behavior that's wrong in one place
|
|
42
42
|
- The symptoms are all caused by the same root behavior
|
|
43
43
|
|
|
44
|
-
### 4. Log to specs/bugs/
|
|
44
|
+
### 4. Log to specs/bugs/registry.yaml
|
|
45
45
|
|
|
46
|
-
Append the issue to `specs/bugs/
|
|
46
|
+
Append the issue to `specs/bugs/registry.yaml`. Create the `specs/bugs/` directory if it doesn't exist.
|
|
47
47
|
|
|
48
|
-
####
|
|
48
|
+
#### registry.yaml format
|
|
49
49
|
|
|
50
50
|
The file maintains a Markdown table with the following columns (derived from structured audit practice):
|
|
51
51
|
|
package/investigate-bug/SKILL.md
CHANGED
|
@@ -14,7 +14,7 @@ Investigate a reported problem, find its root cause, and write a TDD fix plan to
|
|
|
14
14
|
|
|
15
15
|
Before starting diagnosis:
|
|
16
16
|
|
|
17
|
-
1. Read `specs/bugs/
|
|
17
|
+
1. Read `specs/bugs/registry.yaml` (if it exists) — check for prior bugs in the same `scope` or with similar symptoms.
|
|
18
18
|
2. If a relevant prior bug is found, read the corresponding `specs/bugs/BUG-*.md` file to understand previous root cause analysis and fix approach.
|
|
19
19
|
3. Note in your investigation whether this is a recurrence, a related issue, or novel.
|
|
20
20
|
|
|
@@ -71,7 +71,7 @@ Rules:
|
|
|
71
71
|
|
|
72
72
|
Save the investigation and fix plan to `specs/bugs/BUG-YYYY-MM-DDTHHMMSS.md`. Create the `specs/bugs/` directory if it doesn't exist.
|
|
73
73
|
|
|
74
|
-
After writing, append a row to `specs/bugs/
|
|
74
|
+
After writing, append a row to `specs/bugs/registry.yaml` with: bug_id (same timestamp), date, severity, priority, scope, summary, and file path. Create `specs/bugs/registry.yaml` if it doesn't exist.
|
|
75
75
|
|
|
76
76
|
<diagnosis-template>
|
|
77
77
|
|
package/kickoff-branch/SKILL.md
CHANGED
|
@@ -92,4 +92,4 @@ Worktree: ../<task-slug>
|
|
|
92
92
|
Ready to develop.
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
-
Suggest next skill: `develop-tdd` to start the TDD loop, or `execute-plan` if `specs/
|
|
95
|
+
Suggest next skill: `develop-tdd` to start the TDD loop, or `execute-plan` if `specs/release-plan.yaml + epic shards` already exists.
|
package/map-codebase/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: map-codebase
|
|
3
3
|
model: sonnet
|
|
4
|
-
description: "High-fidelity codebase surveying — analyzes stack, architecture, and gray areas (error handling, API shapes) and persists them into specs/
|
|
4
|
+
description: "High-fidelity codebase surveying — analyzes stack, architecture, and gray areas (error handling, API shapes) and persists them into specs/plans/TECH_STACK_LATEST.md. Goes beyond survey-context by identifying 'signals' for planning."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Map Codebase
|
|
@@ -36,8 +36,8 @@ Look for signals that will influence upcoming plans:
|
|
|
36
36
|
- **Integration Points:** "We need to talk to the Stripe API, but there's no wrapper yet."
|
|
37
37
|
- **Conventions:** "The team always uses functional components over classes."
|
|
38
38
|
|
|
39
|
-
### 5. Persist to specs/
|
|
40
|
-
Compile all findings into `specs/
|
|
39
|
+
### 5. Persist to specs/plans/TECH_STACK_LATEST.md
|
|
40
|
+
Compile all findings into `specs/plans/TECH_STACK_LATEST.md`. This file serves as the project's "Long-Term Memory".
|
|
41
41
|
|
|
42
42
|
```markdown
|
|
43
43
|
# Project Context
|
|
@@ -64,4 +64,4 @@ Compile all findings into `specs/CONTEXT.md`. This file serves as the project's
|
|
|
64
64
|
- When first joining a project.
|
|
65
65
|
- Before a major refactor or architectural change.
|
|
66
66
|
- When `survey-context` reveals a lack of domain knowledge.
|
|
67
|
-
- To refresh `specs/
|
|
67
|
+
- To refresh `specs/plans/TECH_STACK_LATEST.md` after significant changes.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# migrate-spec Reference — GSD
|
|
2
2
|
|
|
3
|
-
Full artifact transformation rules for migrating GSD projects to bigpowers.
|
|
3
|
+
Full artifact transformation rules for migrating GSD projects to bigpowers YAML layout.
|
|
4
4
|
|
|
5
5
|
See [REFERENCE.md](./REFERENCE.md) for spec-kit, BMAD, learnings, and ADR/DECISION-LOG formats.
|
|
6
6
|
|
|
@@ -32,95 +32,89 @@ GSD stores everything under `.planning/` at the project root.
|
|
|
32
32
|
|
|
33
33
|
## Transformation Rules
|
|
34
34
|
|
|
35
|
-
### `.planning/ROADMAP.md` → `specs/
|
|
35
|
+
### `.planning/ROADMAP.md` → `specs/release-plan.yaml` + `specs/epics/eNN-*.yaml`
|
|
36
36
|
|
|
37
37
|
GSD ROADMAP has: milestone name, phases, success criteria per phase, plan count.
|
|
38
38
|
|
|
39
|
-
bigpowers RELEASE-PLAN needs: release version, status, WSJF, focus, objective.
|
|
40
|
-
|
|
41
39
|
Transform:
|
|
42
|
-
- Each GSD phase → one
|
|
43
|
-
- Phase
|
|
44
|
-
-
|
|
45
|
-
- Phase plan count → "Job Size" hint for WSJF (ask user to score)
|
|
46
|
-
- Completed phases → `✅` status; active phase → `⏳`; future phases → `📋`
|
|
40
|
+
- Each GSD phase → one epic entry in `release-plan.yaml` (`id`, `title`, `wsjf`, `file`)
|
|
41
|
+
- Phase detail → matching `specs/epics/eNN-slug.yaml` (stories, tasks, `verify`)
|
|
42
|
+
- Completed phases → `done` in `execution-status.yaml`; active → `in_progress`
|
|
47
43
|
|
|
48
44
|
---
|
|
49
45
|
|
|
50
|
-
### `.planning/REQUIREMENTS.md` → `specs/
|
|
46
|
+
### `.planning/REQUIREMENTS.md` → `specs/requirements/SCOPE_LATEST.yaml`
|
|
51
47
|
|
|
52
48
|
GSD REQUIREMENTS has: REQ-XX IDs, Validated/Active/Out-of-Scope categories, traceability.
|
|
53
49
|
|
|
54
50
|
Transform:
|
|
55
51
|
- Copy REQ-XX IDs as-is (preserve for cross-referencing)
|
|
56
|
-
- Validated requirements →
|
|
57
|
-
- Out-of-Scope →
|
|
58
|
-
- Active (in-progress) →
|
|
59
|
-
- Add header: `# Scope — migrated from GSD REQUIREMENTS.md`
|
|
52
|
+
- Validated requirements → `in_scope` entries
|
|
53
|
+
- Out-of-Scope → `out_of_scope` entries
|
|
54
|
+
- Active (in-progress) → `in_scope` with status note
|
|
60
55
|
|
|
61
56
|
---
|
|
62
57
|
|
|
63
|
-
### `.planning/phases/XX-name/XX-CONTEXT.md` → `specs/
|
|
58
|
+
### `.planning/phases/XX-name/XX-CONTEXT.md` → `specs/plans/TECH_STACK_LATEST.md` + `specs/adr/`
|
|
64
59
|
|
|
65
60
|
GSD CONTEXT.md has 6 sections: domain, decisions, canonical_refs, code_context, specifics, deferred.
|
|
66
61
|
|
|
67
62
|
Transform:
|
|
68
|
-
- `domain` → `
|
|
63
|
+
- `domain` → `plans/TECH_STACK_LATEST.md` Domain section
|
|
69
64
|
- `decisions` → scan each: if hard-to-reverse + surprising → `specs/adr/NNNN-{slug}.md`; if lightweight → `specs/DECISION-LOG.md`
|
|
70
|
-
- `canonical_refs` → Reference links in
|
|
71
|
-
- `code_context` →
|
|
72
|
-
- `
|
|
73
|
-
- `deferred` → `specs/SCOPE.md` Out-of-Scope section (with "(deferred from GSD)" note)
|
|
65
|
+
- `canonical_refs` → Reference links in TECH_STACK
|
|
66
|
+
- `code_context` → Architecture section
|
|
67
|
+
- `deferred` → `SCOPE_LATEST.yaml` `out_of_scope` (with "(deferred from GSD)" note)
|
|
74
68
|
|
|
75
69
|
---
|
|
76
70
|
|
|
77
|
-
### `.planning/phases/XX-name/XX-YY-PLAN.md` → `specs/
|
|
71
|
+
### `.planning/phases/XX-name/XX-YY-PLAN.md` → `specs/epics/eNN-*.yaml` tasks
|
|
78
72
|
|
|
79
73
|
GSD PLAN has: frontmatter (depends-on, verify), objective, typed tasks, success criteria, output spec.
|
|
80
74
|
|
|
81
75
|
Transform:
|
|
82
|
-
- Preserve task structure
|
|
83
|
-
- Keep `verify: <command>` lines
|
|
84
|
-
- Map GSD `depends-on` to
|
|
85
|
-
-
|
|
86
|
-
- SUMMARY.md (execution record) → append as "## Execution Record" if needed; otherwise skip
|
|
76
|
+
- Preserve task structure as `tasks[]` in epic shard
|
|
77
|
+
- Keep `verify: <command>` lines
|
|
78
|
+
- Map GSD `depends-on` to task `depends-on` notes
|
|
79
|
+
- SUMMARY.md (execution record) → skip or append to `specs/archive/`
|
|
87
80
|
|
|
88
81
|
---
|
|
89
82
|
|
|
90
|
-
### `.planning/METHODOLOGY.md` → `specs/
|
|
83
|
+
### `.planning/METHODOLOGY.md` → `specs/plans/METHODOLOGY_LATEST.md`
|
|
91
84
|
|
|
92
|
-
GSD METHODOLOGY.md is a standing reference for analytical lenses (Bayesian updating, STRIDE, cost-of-delay).
|
|
85
|
+
GSD METHODOLOGY.md is a standing reference for analytical lenses (Bayesian updating, STRIDE, cost-of-delay).
|
|
93
86
|
|
|
94
87
|
Transform:
|
|
95
|
-
- Copy each lens as a section in `specs/
|
|
96
|
-
- Add header: `# Project Methodology — migrated from GSD`
|
|
88
|
+
- Copy each lens as a section in `specs/plans/METHODOLOGY_LATEST.md`
|
|
97
89
|
- Note: "These lenses should inform `plan-work` and `audit-code` sessions."
|
|
98
90
|
|
|
99
91
|
---
|
|
100
92
|
|
|
101
|
-
### `.planning/HANDOFF.json` + `.continue-here.md` → `specs/
|
|
93
|
+
### `.planning/HANDOFF.json` + `.continue-here.md` → `specs/state.yaml` `handoff`
|
|
102
94
|
|
|
103
95
|
GSD HANDOFF has: current phase, last plan, blocking reason, required reading list.
|
|
104
96
|
|
|
105
|
-
Transform —
|
|
106
|
-
|
|
107
|
-
```markdown
|
|
108
|
-
## Session Resume
|
|
97
|
+
Transform — populate `handoff` in `state.yaml`:
|
|
109
98
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
99
|
+
```yaml
|
|
100
|
+
handoff:
|
|
101
|
+
last_step_completed: "<phase/plan from HANDOFF>"
|
|
102
|
+
open_decisions:
|
|
103
|
+
- "<blocking reason if any>"
|
|
104
|
+
required_reading:
|
|
105
|
+
- "<required_reading list>"
|
|
106
|
+
next_skill: survey-context
|
|
113
107
|
```
|
|
114
108
|
|
|
115
109
|
---
|
|
116
110
|
|
|
117
|
-
### `.planning/spikes/SPIKE-NNN/README.md` → `specs/SPIKE-{name}.md`
|
|
111
|
+
### `.planning/spikes/SPIKE-NNN/README.md` → `specs/archive/spikes/SPIKE-{name}.md`
|
|
118
112
|
|
|
119
113
|
GSD spike README has: YAML frontmatter (verdict, validates, related), methodology, findings, recommendation.
|
|
120
114
|
|
|
121
115
|
Transform:
|
|
122
|
-
- Flatten directory into
|
|
123
|
-
- Preserve frontmatter as YAML block
|
|
116
|
+
- Flatten directory into `specs/archive/spikes/SPIKE-{name}.md`
|
|
117
|
+
- Preserve frontmatter as YAML block at top
|
|
124
118
|
- Keep verdict prominently: `**Verdict:** ADOPTED / REJECTED / DEFERRED`
|
|
125
119
|
|
|
126
120
|
---
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Transformation rules for spec-kit and BMAD projects, plus learnings to adopt and output formats.
|
|
4
4
|
|
|
5
|
-
See [REFERENCE-GSD.md](./REFERENCE-GSD.md) for full GSD → bigpowers mapping.
|
|
5
|
+
See [REFERENCE-GSD.md](./REFERENCE-GSD.md) for full GSD → bigpowers YAML mapping.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -22,35 +22,35 @@ project-root/
|
|
|
22
22
|
└── log.jsonl
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
### `spec.md` → `specs/
|
|
25
|
+
### `spec.md` → `specs/requirements/SCOPE_LATEST.yaml` + `specs/plans/TECH_STACK_LATEST.md`
|
|
26
26
|
|
|
27
27
|
spec-kit `spec.md` focuses on: who uses it, user journeys, success criteria, what's in/out of scope.
|
|
28
28
|
|
|
29
29
|
Transform:
|
|
30
|
-
- User journeys → `
|
|
31
|
-
- In/out of scope → `
|
|
32
|
-
- Domain terms / glossary → `
|
|
33
|
-
- Problem statement / vision →
|
|
30
|
+
- User journeys → `SCOPE_LATEST.yaml` success criteria / `in_scope` entries
|
|
31
|
+
- In/out of scope → `in_scope` / `out_of_scope` sections
|
|
32
|
+
- Domain terms / glossary → `requirements/GLOSSARY_LATEST.yaml`
|
|
33
|
+
- Problem statement / vision → `requirements/VISION_LATEST.yaml`
|
|
34
34
|
|
|
35
|
-
### `plan.md` → `specs/
|
|
35
|
+
### `plan.md` → `specs/plans/TECH_STACK_LATEST.md` + `specs/release-plan.yaml` + `specs/epics/`
|
|
36
36
|
|
|
37
37
|
spec-kit `plan.md` covers: technology stack, architectural patterns, implementation constraints.
|
|
38
38
|
|
|
39
39
|
Transform:
|
|
40
|
-
- Technology decisions → `
|
|
41
|
-
- Architecture patterns →
|
|
40
|
+
- Technology decisions → `plans/TECH_STACK_LATEST.md` Technology section
|
|
41
|
+
- Architecture patterns → Architecture section
|
|
42
42
|
- Hard decisions with trade-offs → `specs/adr/NNNN-{slug}.md`
|
|
43
|
-
- Phased approach / milestones → `
|
|
44
|
-
- Implementation steps → `
|
|
43
|
+
- Phased approach / milestones → `release-plan.yaml` epic entries
|
|
44
|
+
- Implementation steps → `epics/eNN-*.yaml` task list with `verify:`
|
|
45
45
|
|
|
46
|
-
### `tasks.md` → `specs/
|
|
46
|
+
### `tasks.md` → `specs/epics/` (via slice-tasks)
|
|
47
47
|
|
|
48
48
|
spec-kit tasks are atomic, verifiable in isolation — same principle as bigpowers `verify:` mandate.
|
|
49
49
|
|
|
50
50
|
Transform:
|
|
51
|
-
- Copy tasks
|
|
51
|
+
- Copy tasks into epic shard `tasks[]`; preserve task numbers
|
|
52
52
|
- Add `verify:` line if spec-kit task has an acceptance criterion
|
|
53
|
-
- Group into
|
|
53
|
+
- Group into epics matching `release-plan.yaml` entries
|
|
54
54
|
|
|
55
55
|
### `.specify/` state
|
|
56
56
|
|
|
@@ -79,50 +79,50 @@ project-root/
|
|
|
79
79
|
└── story-{slug}.md
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
### `product-brief.md` / `prfaq-{project}.md` → `specs/
|
|
82
|
+
### `product-brief.md` / `prfaq-{project}.md` → `specs/requirements/VISION_LATEST.yaml`
|
|
83
83
|
|
|
84
84
|
Transform:
|
|
85
|
-
- Vision + core value → `
|
|
86
|
-
- Target users →
|
|
87
|
-
- prfaq customer FAQ → can inform success criteria in SCOPE
|
|
85
|
+
- Vision + core value → `VISION_LATEST.yaml` north_star / success_criteria
|
|
86
|
+
- Target users → notes in VISION or SCOPE
|
|
87
|
+
- prfaq customer FAQ → can inform success criteria in SCOPE
|
|
88
88
|
|
|
89
|
-
### `prd.md` → `specs/
|
|
89
|
+
### `prd.md` → `specs/requirements/SCOPE_LATEST.yaml` + `GLOSSARY_LATEST.yaml`
|
|
90
90
|
|
|
91
91
|
BMAD `prd.md` has: Glossary, FR-XX functional requirements, UJ-XX user journeys, NFRs, assumptions.
|
|
92
92
|
|
|
93
93
|
Transform:
|
|
94
|
-
- Glossary → `
|
|
95
|
-
- FR-XX items → `
|
|
96
|
-
- UJ-XX user journeys →
|
|
97
|
-
- NFRs → `
|
|
98
|
-
- `[ASSUMPTION: ...]` inline tags →
|
|
99
|
-
- Out-of-scope features → `
|
|
94
|
+
- Glossary → `GLOSSARY_LATEST.yaml`
|
|
95
|
+
- FR-XX items → `in_scope` with IDs preserved
|
|
96
|
+
- UJ-XX user journeys → success criteria
|
|
97
|
+
- NFRs → `constraints` section
|
|
98
|
+
- `[ASSUMPTION: ...]` inline tags → collected in scope YAML
|
|
99
|
+
- Out-of-scope features → `out_of_scope`
|
|
100
100
|
|
|
101
101
|
### `addendum.md` + `decision-log.md` → `specs/adr/` + `specs/DECISION-LOG.md`
|
|
102
102
|
|
|
103
103
|
Transform:
|
|
104
104
|
- Hard, irreversible, surprising decisions → individual `specs/adr/NNNN-{slug}.md`
|
|
105
105
|
- Lightweight decisions → `specs/DECISION-LOG.md` (date | decision | rationale)
|
|
106
|
-
- `addendum.md` change signals → note
|
|
106
|
+
- `addendum.md` change signals → note in `SCOPE_LATEST.yaml` metadata
|
|
107
107
|
|
|
108
|
-
### `architecture.md` → `specs/
|
|
108
|
+
### `architecture.md` → `specs/plans/TECH_STACK_LATEST.md` + `specs/adr/`
|
|
109
109
|
|
|
110
110
|
Transform:
|
|
111
111
|
- ADR sections → individual `specs/adr/NNNN-{slug}.md` files
|
|
112
|
-
- System overview / data models →
|
|
113
|
-
- API contracts → keep at `docs/api.md` or similar; link from
|
|
112
|
+
- System overview / data models → TECH_STACK Architecture section
|
|
113
|
+
- API contracts → keep at `docs/api.md` or similar; link from TECH_STACK
|
|
114
114
|
|
|
115
|
-
### `epic-*.md` → `specs/
|
|
115
|
+
### `epic-*.md` → `specs/release-plan.yaml` + `specs/epics/eNN-*.yaml`
|
|
116
116
|
|
|
117
|
-
Each epic → one release entry.
|
|
117
|
+
Each epic → one release-plan entry + one epic shard. Acceptance criteria → story tasks with `verify:`.
|
|
118
118
|
|
|
119
|
-
### `story-*.md` → `specs/
|
|
119
|
+
### `story-*.md` → `specs/epics/` stories
|
|
120
120
|
|
|
121
|
-
Each story → one entry. Acceptance criteria → `verify:` lines.
|
|
121
|
+
Each story → one story entry in epic shard. Acceptance criteria → `verify:` lines.
|
|
122
122
|
|
|
123
123
|
### `project-context.md` → `CLAUDE.md`
|
|
124
124
|
|
|
125
|
-
Add a "## Project Context" section to `CLAUDE.md
|
|
125
|
+
Add a "## Project Context" section to `CLAUDE.md`. Copy tech stack, coding rules, preferences verbatim.
|
|
126
126
|
|
|
127
127
|
---
|
|
128
128
|
|
|
@@ -132,22 +132,21 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
132
132
|
|
|
133
133
|
### From GSD
|
|
134
134
|
|
|
135
|
-
- [ ] **`specs/
|
|
136
|
-
- [ ]
|
|
137
|
-
- [ ] **ID tracking in
|
|
135
|
+
- [ ] **`specs/plans/METHODOLOGY_LATEST.md`** — Standing analytical lenses. Agents read before planning.
|
|
136
|
+
- [ ] **`handoff` block in state.yaml** — Last skill, last step, required reading for next session.
|
|
137
|
+
- [ ] **ID tracking in SCOPE_LATEST.yaml** — FR/UJ IDs for spec → plan → verification traceability.
|
|
138
138
|
|
|
139
139
|
### From spec-kit
|
|
140
140
|
|
|
141
|
-
- [ ] **Two-pass spec writing** — User-journey pass first
|
|
142
|
-
- [ ] **Explicit inter-phase gate** — "Approve to proceed?"
|
|
143
|
-
- [ ]
|
|
141
|
+
- [ ] **Two-pass spec writing** — User-journey pass first, then technical-decisions pass.
|
|
142
|
+
- [ ] **Explicit inter-phase gate** — "Approve to proceed?" at end of `elaborate-spec`.
|
|
143
|
+
- [ ] **Epic task isolation** — Each task completable in isolation; `depends-on` explicit in epic YAML.
|
|
144
144
|
|
|
145
145
|
### From BMAD
|
|
146
146
|
|
|
147
|
-
- [ ] **FR-XX + UJ-XX in
|
|
148
|
-
- [ ] **`specs/DECISION-LOG.md`** — Lightweight
|
|
149
|
-
- [ ]
|
|
150
|
-
- [ ] **Adversarial review pass** — Dedicated critique pass on the plan before `develop-tdd`. Critic checks for gaps, edge cases, contradictions with SCOPE.md.
|
|
147
|
+
- [ ] **FR-XX + UJ-XX in SCOPE_LATEST.yaml** — Rigorous traceability.
|
|
148
|
+
- [ ] **`specs/DECISION-LOG.md`** — Lightweight decisions below ADR threshold.
|
|
149
|
+
- [ ] **Adversarial review pass** — Critique epic shard before `develop-tdd`.
|
|
151
150
|
|
|
152
151
|
---
|
|
153
152
|
|