bigpowers 2.31.0 → 2.33.0
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/.pi/prompts/migrate-spec.md +113 -2
- package/.pi/skills/migrate-spec/SKILL.md +113 -2
- package/CHANGELOG.md +14 -0
- package/SKILL-INDEX.md +1 -1
- package/migrate-spec/REFERENCE.md +46 -2
- package/migrate-spec/SKILL.md +67 -0
- package/package.json +1 -1
- package/skills-lock.json +1 -1
package/.pi/package.json
CHANGED
|
@@ -167,6 +167,73 @@ Use the learnings table from [REFERENCE.md](./REFERENCE.md#learnings-to-adopt).
|
|
|
167
167
|
|
|
168
168
|
→ verify: `grep -c "\- \[ \]" specs/state.yaml 2>/dev/null && echo "pending items recorded" || echo "no pending items in state.yaml"`
|
|
169
169
|
|
|
170
|
+
### Step 6 — Adversarial review (optional)
|
|
171
|
+
|
|
172
|
+
Before the user runs `plan-work`, offer an optional lightweight audit of the migrated artifacts. This catches common migration errors early — incomplete specs, missing verification commands, unresolved decisions.
|
|
173
|
+
|
|
174
|
+
Prompt: "Run adversarial review of migrated artifacts? [yes / skip]"
|
|
175
|
+
|
|
176
|
+
If yes, perform these checks:
|
|
177
|
+
|
|
178
|
+
1. **Scan for incomplete markers** — Find TODO, FIXME, MISSING in specs/
|
|
179
|
+
2. **Verify every epic has `verify:` commands** — Parse all `eNN-*/epic.yaml` files
|
|
180
|
+
3. **Check state.yaml handoff** — Ensure `open_decisions` is documented (even if empty)
|
|
181
|
+
|
|
182
|
+
Collect findings and write to `specs/archive/MIGRATION-AUDIT.md`:
|
|
183
|
+
|
|
184
|
+
```markdown
|
|
185
|
+
# Migration Audit — <project-name> from <framework>
|
|
186
|
+
|
|
187
|
+
**Date:** <ISO 8601 timestamp>
|
|
188
|
+
**Status:** Pass / Fail with findings
|
|
189
|
+
|
|
190
|
+
## Findings
|
|
191
|
+
|
|
192
|
+
### High Priority
|
|
193
|
+
- Artifact: specs/epics/e02-auth-ui/epic.yaml
|
|
194
|
+
Finding: No verify: commands in story tasks
|
|
195
|
+
Recommendation: Add `verify:` to each task before develop-tdd
|
|
196
|
+
|
|
197
|
+
### Information
|
|
198
|
+
- Count of TODO markers: 3 (normal for fresh migration)
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
If findings exist, the handoff block should note: "Adversarial review: N findings — see `specs/archive/MIGRATION-AUDIT.md`"
|
|
202
|
+
|
|
203
|
+
If skip is chosen, add to handoff: "Adversarial review: skipped — review manually before plan-work"
|
|
204
|
+
|
|
205
|
+
→ verify: `test -f specs/archive/MIGRATION-AUDIT.md && echo "audit completed" || echo "audit skipped or not performed"`
|
|
206
|
+
|
|
207
|
+
### Step 7 — Post-migration: Optional two-pass spec writing gate
|
|
208
|
+
|
|
209
|
+
After Steps 1–6, offer the user an optional two-pass spec writing workflow (spec-kit learning):
|
|
210
|
+
|
|
211
|
+
Prompt: "Use two-pass spec writing (user journeys first, then technical)? [yes / no]"
|
|
212
|
+
|
|
213
|
+
If **yes**, initialize the gate in `specs/state.yaml`:
|
|
214
|
+
|
|
215
|
+
```yaml
|
|
216
|
+
two_pass_spec:
|
|
217
|
+
journey_pass: pending
|
|
218
|
+
technical_pass: pending
|
|
219
|
+
approved_at: null
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
The journey pass must be marked "complete" by the user (after stakeholder approval of user-journey specs) before the technical pass begins:
|
|
223
|
+
|
|
224
|
+
```yaml
|
|
225
|
+
two_pass_spec:
|
|
226
|
+
journey_pass: complete
|
|
227
|
+
approved_at: "2026-06-26T12:00:00Z"
|
|
228
|
+
technical_pass: pending
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
Inform the user: "Journey pass is pending. Run `elaborate-spec` for user journeys, get stakeholder approval, then update `two_pass_spec.journey_pass: complete` in state.yaml before proceeding to technical specs."
|
|
232
|
+
|
|
233
|
+
If **no**, skip the two-pass gate. Proceed directly to plan-work.
|
|
234
|
+
|
|
235
|
+
→ verify: `grep -q 'two_pass_spec:' specs/state.yaml && echo "two-pass gate initialized" || echo "two-pass gate not activated"`
|
|
236
|
+
|
|
170
237
|
|
|
171
238
|
## Artifact Mapping Summary
|
|
172
239
|
|
|
@@ -474,7 +541,7 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
474
541
|
|
|
475
542
|
### From spec-kit
|
|
476
543
|
|
|
477
|
-
- [
|
|
544
|
+
- [x] **Two-pass spec writing** — User-journey pass first, then technical-decisions pass. (adopted: optional post-migration gate)
|
|
478
545
|
- [ ] **Explicit inter-phase gate** — "Approve to proceed?" at end of `elaborate-spec`.
|
|
479
546
|
- [ ] **Epic task isolation** — Each task completable in isolation; `depends-on` explicit in epic YAML.
|
|
480
547
|
|
|
@@ -482,7 +549,7 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
482
549
|
|
|
483
550
|
- [x] **FR-XX + UJ-XX in SCOPE_LATEST.yaml** — Rigorous traceability. (adopted: REQUIREMENTS_TRACE.yaml emitted on migration)
|
|
484
551
|
- [ ] **`specs/DECISION-LOG.md`** — Lightweight decisions below ADR threshold.
|
|
485
|
-
- [
|
|
552
|
+
- [x] **Adversarial review pass** — Critique epic shard before `develop-tdd`. (adopted: optional Step 6 in migration)
|
|
486
553
|
|
|
487
554
|
---
|
|
488
555
|
|
|
@@ -520,6 +587,45 @@ For lightweight decisions that don't warrant a full ADR:
|
|
|
520
587
|
| 2026-05-19 | Use Postgres | Existing ops expertise | SQLite (limited), DynamoDB (no local dev) |
|
|
521
588
|
```
|
|
522
589
|
|
|
590
|
+
### MIGRATION-AUDIT.md format
|
|
591
|
+
|
|
592
|
+
Post-migration adversarial review report. Written to `specs/archive/MIGRATION-AUDIT.md` when Step 6 runs:
|
|
593
|
+
|
|
594
|
+
```markdown
|
|
595
|
+
# Migration Audit — <project-name>
|
|
596
|
+
|
|
597
|
+
**Source Framework:** <GSD|spec-kit|BMAD>
|
|
598
|
+
**Date:** <ISO 8601>
|
|
599
|
+
**Status:** <Pass|Findings|Critical>
|
|
600
|
+
|
|
601
|
+
## Summary
|
|
602
|
+
|
|
603
|
+
- TODO markers: N
|
|
604
|
+
- FIXME markers: N
|
|
605
|
+
- MISSING markers: N
|
|
606
|
+
- Epics without verify: N
|
|
607
|
+
|
|
608
|
+
## High Priority Findings
|
|
609
|
+
|
|
610
|
+
- **Artifact:** specs/epics/e02-auth-ui/epic.yaml
|
|
611
|
+
**Issue:** Story e02s01 has no verify: commands in tasks
|
|
612
|
+
**Recommendation:** Add runnable verify command before develop-tdd
|
|
613
|
+
|
|
614
|
+
- **Artifact:** specs/state.yaml
|
|
615
|
+
**Issue:** open_decisions list empty without comment explanation
|
|
616
|
+
**Recommendation:** Add # comment if all decisions were resolved during migration
|
|
617
|
+
|
|
618
|
+
## Information
|
|
619
|
+
|
|
620
|
+
- Artifact specs/epics/e01-auth/epic.yaml contains TODO: "Define Neon Auth client URL injection" (normal for fresh migration)
|
|
621
|
+
|
|
622
|
+
## Next Steps
|
|
623
|
+
|
|
624
|
+
1. Address high-priority findings before plan-work
|
|
625
|
+
2. Run bash scripts/audit-compliance.sh to enforce code quality gates
|
|
626
|
+
3. Begin develop-tdd on highest-WSJF epic
|
|
627
|
+
```
|
|
628
|
+
|
|
523
629
|
### in_scope format with ID tracking
|
|
524
630
|
|
|
525
631
|
Source IDs (REQ-XX, FR-XX, UJ-XX) are emitted as first-class YAML fields:
|
|
@@ -623,4 +729,9 @@ handoff:
|
|
|
623
729
|
- specs/tech-architecture/TECH_STACK_LATEST.md
|
|
624
730
|
- specs/release-plan.yaml
|
|
625
731
|
next_skill: survey-context
|
|
732
|
+
|
|
733
|
+
two_pass_spec: # Optional: only if user activates two-pass spec writing gate
|
|
734
|
+
journey_pass: pending
|
|
735
|
+
technical_pass: pending
|
|
736
|
+
approved_at: null
|
|
626
737
|
```
|
|
@@ -169,6 +169,73 @@ Use the learnings table from [REFERENCE.md](./REFERENCE.md#learnings-to-adopt).
|
|
|
169
169
|
|
|
170
170
|
→ verify: `grep -c "\- \[ \]" specs/state.yaml 2>/dev/null && echo "pending items recorded" || echo "no pending items in state.yaml"`
|
|
171
171
|
|
|
172
|
+
### Step 6 — Adversarial review (optional)
|
|
173
|
+
|
|
174
|
+
Before the user runs `plan-work`, offer an optional lightweight audit of the migrated artifacts. This catches common migration errors early — incomplete specs, missing verification commands, unresolved decisions.
|
|
175
|
+
|
|
176
|
+
Prompt: "Run adversarial review of migrated artifacts? [yes / skip]"
|
|
177
|
+
|
|
178
|
+
If yes, perform these checks:
|
|
179
|
+
|
|
180
|
+
1. **Scan for incomplete markers** — Find TODO, FIXME, MISSING in specs/
|
|
181
|
+
2. **Verify every epic has `verify:` commands** — Parse all `eNN-*/epic.yaml` files
|
|
182
|
+
3. **Check state.yaml handoff** — Ensure `open_decisions` is documented (even if empty)
|
|
183
|
+
|
|
184
|
+
Collect findings and write to `specs/archive/MIGRATION-AUDIT.md`:
|
|
185
|
+
|
|
186
|
+
```markdown
|
|
187
|
+
# Migration Audit — <project-name> from <framework>
|
|
188
|
+
|
|
189
|
+
**Date:** <ISO 8601 timestamp>
|
|
190
|
+
**Status:** Pass / Fail with findings
|
|
191
|
+
|
|
192
|
+
## Findings
|
|
193
|
+
|
|
194
|
+
### High Priority
|
|
195
|
+
- Artifact: specs/epics/e02-auth-ui/epic.yaml
|
|
196
|
+
Finding: No verify: commands in story tasks
|
|
197
|
+
Recommendation: Add `verify:` to each task before develop-tdd
|
|
198
|
+
|
|
199
|
+
### Information
|
|
200
|
+
- Count of TODO markers: 3 (normal for fresh migration)
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
If findings exist, the handoff block should note: "Adversarial review: N findings — see `specs/archive/MIGRATION-AUDIT.md`"
|
|
204
|
+
|
|
205
|
+
If skip is chosen, add to handoff: "Adversarial review: skipped — review manually before plan-work"
|
|
206
|
+
|
|
207
|
+
→ verify: `test -f specs/archive/MIGRATION-AUDIT.md && echo "audit completed" || echo "audit skipped or not performed"`
|
|
208
|
+
|
|
209
|
+
### Step 7 — Post-migration: Optional two-pass spec writing gate
|
|
210
|
+
|
|
211
|
+
After Steps 1–6, offer the user an optional two-pass spec writing workflow (spec-kit learning):
|
|
212
|
+
|
|
213
|
+
Prompt: "Use two-pass spec writing (user journeys first, then technical)? [yes / no]"
|
|
214
|
+
|
|
215
|
+
If **yes**, initialize the gate in `specs/state.yaml`:
|
|
216
|
+
|
|
217
|
+
```yaml
|
|
218
|
+
two_pass_spec:
|
|
219
|
+
journey_pass: pending
|
|
220
|
+
technical_pass: pending
|
|
221
|
+
approved_at: null
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
The journey pass must be marked "complete" by the user (after stakeholder approval of user-journey specs) before the technical pass begins:
|
|
225
|
+
|
|
226
|
+
```yaml
|
|
227
|
+
two_pass_spec:
|
|
228
|
+
journey_pass: complete
|
|
229
|
+
approved_at: "2026-06-26T12:00:00Z"
|
|
230
|
+
technical_pass: pending
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
Inform the user: "Journey pass is pending. Run `elaborate-spec` for user journeys, get stakeholder approval, then update `two_pass_spec.journey_pass: complete` in state.yaml before proceeding to technical specs."
|
|
234
|
+
|
|
235
|
+
If **no**, skip the two-pass gate. Proceed directly to plan-work.
|
|
236
|
+
|
|
237
|
+
→ verify: `grep -q 'two_pass_spec:' specs/state.yaml && echo "two-pass gate initialized" || echo "two-pass gate not activated"`
|
|
238
|
+
|
|
172
239
|
|
|
173
240
|
## Artifact Mapping Summary
|
|
174
241
|
|
|
@@ -476,7 +543,7 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
476
543
|
|
|
477
544
|
### From spec-kit
|
|
478
545
|
|
|
479
|
-
- [
|
|
546
|
+
- [x] **Two-pass spec writing** — User-journey pass first, then technical-decisions pass. (adopted: optional post-migration gate)
|
|
480
547
|
- [ ] **Explicit inter-phase gate** — "Approve to proceed?" at end of `elaborate-spec`.
|
|
481
548
|
- [ ] **Epic task isolation** — Each task completable in isolation; `depends-on` explicit in epic YAML.
|
|
482
549
|
|
|
@@ -484,7 +551,7 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
484
551
|
|
|
485
552
|
- [x] **FR-XX + UJ-XX in SCOPE_LATEST.yaml** — Rigorous traceability. (adopted: REQUIREMENTS_TRACE.yaml emitted on migration)
|
|
486
553
|
- [ ] **`specs/DECISION-LOG.md`** — Lightweight decisions below ADR threshold.
|
|
487
|
-
- [
|
|
554
|
+
- [x] **Adversarial review pass** — Critique epic shard before `develop-tdd`. (adopted: optional Step 6 in migration)
|
|
488
555
|
|
|
489
556
|
---
|
|
490
557
|
|
|
@@ -522,6 +589,45 @@ For lightweight decisions that don't warrant a full ADR:
|
|
|
522
589
|
| 2026-05-19 | Use Postgres | Existing ops expertise | SQLite (limited), DynamoDB (no local dev) |
|
|
523
590
|
```
|
|
524
591
|
|
|
592
|
+
### MIGRATION-AUDIT.md format
|
|
593
|
+
|
|
594
|
+
Post-migration adversarial review report. Written to `specs/archive/MIGRATION-AUDIT.md` when Step 6 runs:
|
|
595
|
+
|
|
596
|
+
```markdown
|
|
597
|
+
# Migration Audit — <project-name>
|
|
598
|
+
|
|
599
|
+
**Source Framework:** <GSD|spec-kit|BMAD>
|
|
600
|
+
**Date:** <ISO 8601>
|
|
601
|
+
**Status:** <Pass|Findings|Critical>
|
|
602
|
+
|
|
603
|
+
## Summary
|
|
604
|
+
|
|
605
|
+
- TODO markers: N
|
|
606
|
+
- FIXME markers: N
|
|
607
|
+
- MISSING markers: N
|
|
608
|
+
- Epics without verify: N
|
|
609
|
+
|
|
610
|
+
## High Priority Findings
|
|
611
|
+
|
|
612
|
+
- **Artifact:** specs/epics/e02-auth-ui/epic.yaml
|
|
613
|
+
**Issue:** Story e02s01 has no verify: commands in tasks
|
|
614
|
+
**Recommendation:** Add runnable verify command before develop-tdd
|
|
615
|
+
|
|
616
|
+
- **Artifact:** specs/state.yaml
|
|
617
|
+
**Issue:** open_decisions list empty without comment explanation
|
|
618
|
+
**Recommendation:** Add # comment if all decisions were resolved during migration
|
|
619
|
+
|
|
620
|
+
## Information
|
|
621
|
+
|
|
622
|
+
- Artifact specs/epics/e01-auth/epic.yaml contains TODO: "Define Neon Auth client URL injection" (normal for fresh migration)
|
|
623
|
+
|
|
624
|
+
## Next Steps
|
|
625
|
+
|
|
626
|
+
1. Address high-priority findings before plan-work
|
|
627
|
+
2. Run bash scripts/audit-compliance.sh to enforce code quality gates
|
|
628
|
+
3. Begin develop-tdd on highest-WSJF epic
|
|
629
|
+
```
|
|
630
|
+
|
|
525
631
|
### in_scope format with ID tracking
|
|
526
632
|
|
|
527
633
|
Source IDs (REQ-XX, FR-XX, UJ-XX) are emitted as first-class YAML fields:
|
|
@@ -625,4 +731,9 @@ handoff:
|
|
|
625
731
|
- specs/tech-architecture/TECH_STACK_LATEST.md
|
|
626
732
|
- specs/release-plan.yaml
|
|
627
733
|
next_skill: survey-context
|
|
734
|
+
|
|
735
|
+
two_pass_spec: # Optional: only if user activates two-pass spec writing gate
|
|
736
|
+
journey_pass: pending
|
|
737
|
+
technical_pass: pending
|
|
738
|
+
approved_at: null
|
|
628
739
|
```
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [2.33.0](https://github.com/danielvm-git/bigpowers/compare/v2.32.0...v2.33.0) (2026-06-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **migrate-spec:** add two-pass spec writing gate ([6d33173](https://github.com/danielvm-git/bigpowers/commit/6d331735554df2d29adab6fdf5ef72844821f5bd))
|
|
7
|
+
|
|
8
|
+
# [2.32.0](https://github.com/danielvm-git/bigpowers/compare/v2.31.0...v2.32.0) (2026-06-26)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **migrate-spec:** add optional Step 6 adversarial review pass ([64ae774](https://github.com/danielvm-git/bigpowers/commit/64ae774070068727f7dbb91e9cbb8e722bd0feb0))
|
|
14
|
+
|
|
1
15
|
# [2.31.0](https://github.com/danielvm-git/bigpowers/compare/v2.30.0...v2.31.0) (2026-06-26)
|
|
2
16
|
|
|
3
17
|
|
package/SKILL-INDEX.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> **DO NOT EDIT** — This file is auto-generated by `scripts/generate-skill-index.sh`.
|
|
4
4
|
> Edit `SKILL.md` source files or `skills-lock.json` instead. Run `bash scripts/sync-skills.sh` to regenerate.
|
|
5
5
|
|
|
6
|
-
**Generated:** 2026-06-
|
|
6
|
+
**Generated:** 2026-06-26T23:02:01Z
|
|
7
7
|
**Skills:** 70
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -138,7 +138,7 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
138
138
|
|
|
139
139
|
### From spec-kit
|
|
140
140
|
|
|
141
|
-
- [
|
|
141
|
+
- [x] **Two-pass spec writing** — User-journey pass first, then technical-decisions pass. (adopted: optional post-migration gate)
|
|
142
142
|
- [ ] **Explicit inter-phase gate** — "Approve to proceed?" at end of `elaborate-spec`.
|
|
143
143
|
- [ ] **Epic task isolation** — Each task completable in isolation; `depends-on` explicit in epic YAML.
|
|
144
144
|
|
|
@@ -146,7 +146,7 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
146
146
|
|
|
147
147
|
- [x] **FR-XX + UJ-XX in SCOPE_LATEST.yaml** — Rigorous traceability. (adopted: REQUIREMENTS_TRACE.yaml emitted on migration)
|
|
148
148
|
- [ ] **`specs/DECISION-LOG.md`** — Lightweight decisions below ADR threshold.
|
|
149
|
-
- [
|
|
149
|
+
- [x] **Adversarial review pass** — Critique epic shard before `develop-tdd`. (adopted: optional Step 6 in migration)
|
|
150
150
|
|
|
151
151
|
---
|
|
152
152
|
|
|
@@ -184,6 +184,45 @@ For lightweight decisions that don't warrant a full ADR:
|
|
|
184
184
|
| 2026-05-19 | Use Postgres | Existing ops expertise | SQLite (limited), DynamoDB (no local dev) |
|
|
185
185
|
```
|
|
186
186
|
|
|
187
|
+
### MIGRATION-AUDIT.md format
|
|
188
|
+
|
|
189
|
+
Post-migration adversarial review report. Written to `specs/archive/MIGRATION-AUDIT.md` when Step 6 runs:
|
|
190
|
+
|
|
191
|
+
```markdown
|
|
192
|
+
# Migration Audit — <project-name>
|
|
193
|
+
|
|
194
|
+
**Source Framework:** <GSD|spec-kit|BMAD>
|
|
195
|
+
**Date:** <ISO 8601>
|
|
196
|
+
**Status:** <Pass|Findings|Critical>
|
|
197
|
+
|
|
198
|
+
## Summary
|
|
199
|
+
|
|
200
|
+
- TODO markers: N
|
|
201
|
+
- FIXME markers: N
|
|
202
|
+
- MISSING markers: N
|
|
203
|
+
- Epics without verify: N
|
|
204
|
+
|
|
205
|
+
## High Priority Findings
|
|
206
|
+
|
|
207
|
+
- **Artifact:** specs/epics/e02-auth-ui/epic.yaml
|
|
208
|
+
**Issue:** Story e02s01 has no verify: commands in tasks
|
|
209
|
+
**Recommendation:** Add runnable verify command before develop-tdd
|
|
210
|
+
|
|
211
|
+
- **Artifact:** specs/state.yaml
|
|
212
|
+
**Issue:** open_decisions list empty without comment explanation
|
|
213
|
+
**Recommendation:** Add # comment if all decisions were resolved during migration
|
|
214
|
+
|
|
215
|
+
## Information
|
|
216
|
+
|
|
217
|
+
- Artifact specs/epics/e01-auth/epic.yaml contains TODO: "Define Neon Auth client URL injection" (normal for fresh migration)
|
|
218
|
+
|
|
219
|
+
## Next Steps
|
|
220
|
+
|
|
221
|
+
1. Address high-priority findings before plan-work
|
|
222
|
+
2. Run bash scripts/audit-compliance.sh to enforce code quality gates
|
|
223
|
+
3. Begin develop-tdd on highest-WSJF epic
|
|
224
|
+
```
|
|
225
|
+
|
|
187
226
|
### in_scope format with ID tracking
|
|
188
227
|
|
|
189
228
|
Source IDs (REQ-XX, FR-XX, UJ-XX) are emitted as first-class YAML fields:
|
|
@@ -287,4 +326,9 @@ handoff:
|
|
|
287
326
|
- specs/tech-architecture/TECH_STACK_LATEST.md
|
|
288
327
|
- specs/release-plan.yaml
|
|
289
328
|
next_skill: survey-context
|
|
329
|
+
|
|
330
|
+
two_pass_spec: # Optional: only if user activates two-pass spec writing gate
|
|
331
|
+
journey_pass: pending
|
|
332
|
+
technical_pass: pending
|
|
333
|
+
approved_at: null
|
|
290
334
|
```
|
package/migrate-spec/SKILL.md
CHANGED
|
@@ -170,6 +170,73 @@ Use the learnings table from [REFERENCE.md](./REFERENCE.md#learnings-to-adopt).
|
|
|
170
170
|
|
|
171
171
|
→ verify: `grep -c "\- \[ \]" specs/state.yaml 2>/dev/null && echo "pending items recorded" || echo "no pending items in state.yaml"`
|
|
172
172
|
|
|
173
|
+
### Step 6 — Adversarial review (optional)
|
|
174
|
+
|
|
175
|
+
Before the user runs `plan-work`, offer an optional lightweight audit of the migrated artifacts. This catches common migration errors early — incomplete specs, missing verification commands, unresolved decisions.
|
|
176
|
+
|
|
177
|
+
Prompt: "Run adversarial review of migrated artifacts? [yes / skip]"
|
|
178
|
+
|
|
179
|
+
If yes, perform these checks:
|
|
180
|
+
|
|
181
|
+
1. **Scan for incomplete markers** — Find TODO, FIXME, MISSING in specs/
|
|
182
|
+
2. **Verify every epic has `verify:` commands** — Parse all `eNN-*/epic.yaml` files
|
|
183
|
+
3. **Check state.yaml handoff** — Ensure `open_decisions` is documented (even if empty)
|
|
184
|
+
|
|
185
|
+
Collect findings and write to `specs/archive/MIGRATION-AUDIT.md`:
|
|
186
|
+
|
|
187
|
+
```markdown
|
|
188
|
+
# Migration Audit — <project-name> from <framework>
|
|
189
|
+
|
|
190
|
+
**Date:** <ISO 8601 timestamp>
|
|
191
|
+
**Status:** Pass / Fail with findings
|
|
192
|
+
|
|
193
|
+
## Findings
|
|
194
|
+
|
|
195
|
+
### High Priority
|
|
196
|
+
- Artifact: specs/epics/e02-auth-ui/epic.yaml
|
|
197
|
+
Finding: No verify: commands in story tasks
|
|
198
|
+
Recommendation: Add `verify:` to each task before develop-tdd
|
|
199
|
+
|
|
200
|
+
### Information
|
|
201
|
+
- Count of TODO markers: 3 (normal for fresh migration)
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
If findings exist, the handoff block should note: "Adversarial review: N findings — see `specs/archive/MIGRATION-AUDIT.md`"
|
|
205
|
+
|
|
206
|
+
If skip is chosen, add to handoff: "Adversarial review: skipped — review manually before plan-work"
|
|
207
|
+
|
|
208
|
+
→ verify: `test -f specs/archive/MIGRATION-AUDIT.md && echo "audit completed" || echo "audit skipped or not performed"`
|
|
209
|
+
|
|
210
|
+
### Step 7 — Post-migration: Optional two-pass spec writing gate
|
|
211
|
+
|
|
212
|
+
After Steps 1–6, offer the user an optional two-pass spec writing workflow (spec-kit learning):
|
|
213
|
+
|
|
214
|
+
Prompt: "Use two-pass spec writing (user journeys first, then technical)? [yes / no]"
|
|
215
|
+
|
|
216
|
+
If **yes**, initialize the gate in `specs/state.yaml`:
|
|
217
|
+
|
|
218
|
+
```yaml
|
|
219
|
+
two_pass_spec:
|
|
220
|
+
journey_pass: pending
|
|
221
|
+
technical_pass: pending
|
|
222
|
+
approved_at: null
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
The journey pass must be marked "complete" by the user (after stakeholder approval of user-journey specs) before the technical pass begins:
|
|
226
|
+
|
|
227
|
+
```yaml
|
|
228
|
+
two_pass_spec:
|
|
229
|
+
journey_pass: complete
|
|
230
|
+
approved_at: "2026-06-26T12:00:00Z"
|
|
231
|
+
technical_pass: pending
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Inform the user: "Journey pass is pending. Run `elaborate-spec` for user journeys, get stakeholder approval, then update `two_pass_spec.journey_pass: complete` in state.yaml before proceeding to technical specs."
|
|
235
|
+
|
|
236
|
+
If **no**, skip the two-pass gate. Proceed directly to plan-work.
|
|
237
|
+
|
|
238
|
+
→ verify: `grep -q 'two_pass_spec:' specs/state.yaml && echo "two-pass gate initialized" || echo "two-pass gate not activated"`
|
|
239
|
+
|
|
173
240
|
---
|
|
174
241
|
|
|
175
242
|
## Artifact Mapping Summary
|
package/package.json
CHANGED
package/skills-lock.json
CHANGED
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
},
|
|
164
164
|
"migrate-spec": {
|
|
165
165
|
"description": "Detect GSD, spec-kit, or BMAD spec artifacts and transform them into bigpowers YAML layout (state.yaml, release-plan.yaml, epics/, requirements/, plans/, ADRs). Use when migrating foreign spec docs.",
|
|
166
|
-
"sha256": "
|
|
166
|
+
"sha256": "93c8cd03a33b7c10",
|
|
167
167
|
"path": "migrate-spec/SKILL.md"
|
|
168
168
|
},
|
|
169
169
|
"model-domain": {
|