bigpowers 2.31.0 → 2.32.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 +77 -1
- package/.pi/skills/migrate-spec/SKILL.md +77 -1
- package/CHANGELOG.md +7 -0
- package/SKILL-INDEX.md +1 -1
- package/migrate-spec/REFERENCE.md +40 -1
- package/migrate-spec/SKILL.md +37 -0
- package/package.json +1 -1
- package/skills-lock.json +1 -1
package/.pi/package.json
CHANGED
|
@@ -167,6 +167,43 @@ 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
|
+
|
|
170
207
|
|
|
171
208
|
## Artifact Mapping Summary
|
|
172
209
|
|
|
@@ -482,7 +519,7 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
482
519
|
|
|
483
520
|
- [x] **FR-XX + UJ-XX in SCOPE_LATEST.yaml** — Rigorous traceability. (adopted: REQUIREMENTS_TRACE.yaml emitted on migration)
|
|
484
521
|
- [ ] **`specs/DECISION-LOG.md`** — Lightweight decisions below ADR threshold.
|
|
485
|
-
- [
|
|
522
|
+
- [x] **Adversarial review pass** — Critique epic shard before `develop-tdd`. (adopted: optional Step 6 in migration)
|
|
486
523
|
|
|
487
524
|
---
|
|
488
525
|
|
|
@@ -520,6 +557,45 @@ For lightweight decisions that don't warrant a full ADR:
|
|
|
520
557
|
| 2026-05-19 | Use Postgres | Existing ops expertise | SQLite (limited), DynamoDB (no local dev) |
|
|
521
558
|
```
|
|
522
559
|
|
|
560
|
+
### MIGRATION-AUDIT.md format
|
|
561
|
+
|
|
562
|
+
Post-migration adversarial review report. Written to `specs/archive/MIGRATION-AUDIT.md` when Step 6 runs:
|
|
563
|
+
|
|
564
|
+
```markdown
|
|
565
|
+
# Migration Audit — <project-name>
|
|
566
|
+
|
|
567
|
+
**Source Framework:** <GSD|spec-kit|BMAD>
|
|
568
|
+
**Date:** <ISO 8601>
|
|
569
|
+
**Status:** <Pass|Findings|Critical>
|
|
570
|
+
|
|
571
|
+
## Summary
|
|
572
|
+
|
|
573
|
+
- TODO markers: N
|
|
574
|
+
- FIXME markers: N
|
|
575
|
+
- MISSING markers: N
|
|
576
|
+
- Epics without verify: N
|
|
577
|
+
|
|
578
|
+
## High Priority Findings
|
|
579
|
+
|
|
580
|
+
- **Artifact:** specs/epics/e02-auth-ui/epic.yaml
|
|
581
|
+
**Issue:** Story e02s01 has no verify: commands in tasks
|
|
582
|
+
**Recommendation:** Add runnable verify command before develop-tdd
|
|
583
|
+
|
|
584
|
+
- **Artifact:** specs/state.yaml
|
|
585
|
+
**Issue:** open_decisions list empty without comment explanation
|
|
586
|
+
**Recommendation:** Add # comment if all decisions were resolved during migration
|
|
587
|
+
|
|
588
|
+
## Information
|
|
589
|
+
|
|
590
|
+
- Artifact specs/epics/e01-auth/epic.yaml contains TODO: "Define Neon Auth client URL injection" (normal for fresh migration)
|
|
591
|
+
|
|
592
|
+
## Next Steps
|
|
593
|
+
|
|
594
|
+
1. Address high-priority findings before plan-work
|
|
595
|
+
2. Run bash scripts/audit-compliance.sh to enforce code quality gates
|
|
596
|
+
3. Begin develop-tdd on highest-WSJF epic
|
|
597
|
+
```
|
|
598
|
+
|
|
523
599
|
### in_scope format with ID tracking
|
|
524
600
|
|
|
525
601
|
Source IDs (REQ-XX, FR-XX, UJ-XX) are emitted as first-class YAML fields:
|
|
@@ -169,6 +169,43 @@ 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
|
+
|
|
172
209
|
|
|
173
210
|
## Artifact Mapping Summary
|
|
174
211
|
|
|
@@ -484,7 +521,7 @@ Optional enhancements to offer the user after migration. Present as checkboxes.
|
|
|
484
521
|
|
|
485
522
|
- [x] **FR-XX + UJ-XX in SCOPE_LATEST.yaml** — Rigorous traceability. (adopted: REQUIREMENTS_TRACE.yaml emitted on migration)
|
|
486
523
|
- [ ] **`specs/DECISION-LOG.md`** — Lightweight decisions below ADR threshold.
|
|
487
|
-
- [
|
|
524
|
+
- [x] **Adversarial review pass** — Critique epic shard before `develop-tdd`. (adopted: optional Step 6 in migration)
|
|
488
525
|
|
|
489
526
|
---
|
|
490
527
|
|
|
@@ -522,6 +559,45 @@ For lightweight decisions that don't warrant a full ADR:
|
|
|
522
559
|
| 2026-05-19 | Use Postgres | Existing ops expertise | SQLite (limited), DynamoDB (no local dev) |
|
|
523
560
|
```
|
|
524
561
|
|
|
562
|
+
### MIGRATION-AUDIT.md format
|
|
563
|
+
|
|
564
|
+
Post-migration adversarial review report. Written to `specs/archive/MIGRATION-AUDIT.md` when Step 6 runs:
|
|
565
|
+
|
|
566
|
+
```markdown
|
|
567
|
+
# Migration Audit — <project-name>
|
|
568
|
+
|
|
569
|
+
**Source Framework:** <GSD|spec-kit|BMAD>
|
|
570
|
+
**Date:** <ISO 8601>
|
|
571
|
+
**Status:** <Pass|Findings|Critical>
|
|
572
|
+
|
|
573
|
+
## Summary
|
|
574
|
+
|
|
575
|
+
- TODO markers: N
|
|
576
|
+
- FIXME markers: N
|
|
577
|
+
- MISSING markers: N
|
|
578
|
+
- Epics without verify: N
|
|
579
|
+
|
|
580
|
+
## High Priority Findings
|
|
581
|
+
|
|
582
|
+
- **Artifact:** specs/epics/e02-auth-ui/epic.yaml
|
|
583
|
+
**Issue:** Story e02s01 has no verify: commands in tasks
|
|
584
|
+
**Recommendation:** Add runnable verify command before develop-tdd
|
|
585
|
+
|
|
586
|
+
- **Artifact:** specs/state.yaml
|
|
587
|
+
**Issue:** open_decisions list empty without comment explanation
|
|
588
|
+
**Recommendation:** Add # comment if all decisions were resolved during migration
|
|
589
|
+
|
|
590
|
+
## Information
|
|
591
|
+
|
|
592
|
+
- Artifact specs/epics/e01-auth/epic.yaml contains TODO: "Define Neon Auth client URL injection" (normal for fresh migration)
|
|
593
|
+
|
|
594
|
+
## Next Steps
|
|
595
|
+
|
|
596
|
+
1. Address high-priority findings before plan-work
|
|
597
|
+
2. Run bash scripts/audit-compliance.sh to enforce code quality gates
|
|
598
|
+
3. Begin develop-tdd on highest-WSJF epic
|
|
599
|
+
```
|
|
600
|
+
|
|
525
601
|
### in_scope format with ID tracking
|
|
526
602
|
|
|
527
603
|
Source IDs (REQ-XX, FR-XX, UJ-XX) are emitted as first-class YAML fields:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [2.32.0](https://github.com/danielvm-git/bigpowers/compare/v2.31.0...v2.32.0) (2026-06-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **migrate-spec:** add optional Step 6 adversarial review pass ([64ae774](https://github.com/danielvm-git/bigpowers/commit/64ae774070068727f7dbb91e9cbb8e722bd0feb0))
|
|
7
|
+
|
|
1
8
|
# [2.31.0](https://github.com/danielvm-git/bigpowers/compare/v2.30.0...v2.31.0) (2026-06-26)
|
|
2
9
|
|
|
3
10
|
|
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-26T22:
|
|
6
|
+
**Generated:** 2026-06-26T22:59:59Z
|
|
7
7
|
**Skills:** 70
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -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:
|
package/migrate-spec/SKILL.md
CHANGED
|
@@ -170,6 +170,43 @@ 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
|
+
|
|
173
210
|
---
|
|
174
211
|
|
|
175
212
|
## 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": "353a127597cead4d",
|
|
167
167
|
"path": "migrate-spec/SKILL.md"
|
|
168
168
|
},
|
|
169
169
|
"model-domain": {
|