bigpowers 2.14.0 → 2.16.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/assess-impact.md +14 -0
- package/.pi/prompts/build-epic.md +3 -1
- package/.pi/prompts/enforce-first.md +5 -0
- package/.pi/skills/assess-impact/SKILL.md +14 -0
- package/.pi/skills/build-epic/SKILL.md +3 -1
- package/.pi/skills/enforce-first/SKILL.md +5 -0
- package/CHANGELOG.md +14 -0
- package/SKILL-INDEX.md +1 -1
- package/assess-impact/SKILL.md +14 -0
- package/build-epic/SKILL.md +3 -1
- package/enforce-first/SKILL.md +5 -0
- package/package.json +1 -1
- package/skills-lock.json +3 -3
package/.pi/package.json
CHANGED
|
@@ -9,6 +9,11 @@ description: Analyze the blast radius of a proposed change before any code is wr
|
|
|
9
9
|
|
|
10
10
|
Find the blast radius of the proposed change before a single line is written.
|
|
11
11
|
|
|
12
|
+
## Modes
|
|
13
|
+
|
|
14
|
+
- Default: full impact analysis (dependents + affected stories + test coverage mapping)
|
|
15
|
+
- --lightweight: Fast fan-in/fan-out only (<10s). Maps callers and imports without test coverage mapping. Used by build-epic step 2 as a pre-plan gate. Risk score > 7 triggers a mandatory grill-me session before proceeding.
|
|
16
|
+
|
|
12
17
|
## Process
|
|
13
18
|
|
|
14
19
|
### 1. Identify the target
|
|
@@ -74,3 +79,12 @@ grep -rn "[symbol-name]" . --include="*.test.*" --include="*.spec.*"
|
|
|
74
79
|
→ verify: `grep "Risk:" specs/IMPACT.md`
|
|
75
80
|
|
|
76
81
|
Suggest `plan-work` once risk is understood and any test gaps are noted.
|
|
82
|
+
|
|
83
|
+
## Risk score gating
|
|
84
|
+
|
|
85
|
+
In `--lightweight` mode (used by build-epic step 2), assign a numeric risk score (1–10):
|
|
86
|
+
- Fan-in (how many callers): 0–4 points
|
|
87
|
+
- Fan-out (how many dependencies the module itself uses): 0–3 points
|
|
88
|
+
- Recent churn (git log --oneline -5 count): 0–3 points
|
|
89
|
+
|
|
90
|
+
**Risk score > 7**: Gate — require a `grill-me` session before proceeding to implementation. Document the grill-me result in the impact report at `specs/IMPACT-<epic>-<story>.md`.
|
|
@@ -29,7 +29,8 @@ Orchestrates the **build** flow for a single epic: survey → plan tasks → kic
|
|
|
29
29
|
## Process
|
|
30
30
|
|
|
31
31
|
1. Read `specs/state.yaml`, `specs/execution-status.yaml`, `specs/release-plan.yaml`, active `specs/epics/eNN-slug/epic.yaml`.
|
|
32
|
-
2. **
|
|
32
|
+
2. **Assess Impact (Step 2):** Before writing tasks, run `assess-impact --lightweight` on the proposed change. If the risk score exceeds 7, gate — require a `grill-me` session. Write the impact report to `specs/IMPACT-<epic>-<story>.md`. For net-new code with no existing dependents, skip.
|
|
33
|
+
3. **BCP Tracking (Step 2):** After `plan-work` completes, read the `bcps:` count (Business Complexity Points story size) from the epic capsule and carry it into `state.yaml` as `epic_cycle.story_bcps = N`.
|
|
33
34
|
3. If `epic_cycle.step` missing, set to `1`.
|
|
34
35
|
4. Run **only the current step** (resume mode) unless user asked for full auto-run.
|
|
35
36
|
5. After step verify passes, increment `epic_cycle.step` in `state.yaml` (or `bash scripts/bp-yaml-set.sh` if available).
|
|
@@ -43,6 +44,7 @@ After step 5 (verify-work) completes successfully, step 6 runs `audit-code` auto
|
|
|
43
44
|
2. **Pass (exit 0):** All checklist sections pass → advance to step 7 (commit-message). Record `epic_cycle.audit_result: pass` in `state.yaml`.
|
|
44
45
|
3. **Fail (exit 1):** One or more checklist sections fail → **reset `epic_cycle.current_step` to `4`** (develop-tdd) and add the failing section IDs to `completed_steps` as `"1,2,3,4,5,6(fail: ...)"`. Record `epic_cycle.audit_result: fail` in `state.yaml`. Do NOT advance past step 6 until audit passes.
|
|
45
46
|
4. **Audit artifact:** Full audit report saved to `specs/verifications/AUDIT-<epic>-<story>.md` regardless of pass/fail, for reviewer traceability.
|
|
47
|
+
5. **Enforce F.I.R.S.T:** After audit-code passes, run `enforce-first --quick` on new/modified tests. Append F.I.R.S.T violations (if any) to the audit report. Failing F.I.R.S.T criteria trigger the same loop-back to step 4.
|
|
46
48
|
|
|
47
49
|
## Handoff
|
|
48
50
|
|
|
@@ -11,6 +11,11 @@ Apply the F.I.R.S.T rubric (Uncle Bob, Clean Code Chapter 9) to evaluate and imp
|
|
|
11
11
|
|
|
12
12
|
This skill is typically invoked internally by `develop-tdd` during the test-writing phase. It can also be run standalone on an existing test suite.
|
|
13
13
|
|
|
14
|
+
## Modes
|
|
15
|
+
|
|
16
|
+
- Default: full F.I.R.S.T audit (all 5 criteria)
|
|
17
|
+
- --quick: Check F (Fast), I (Independent), and S (Self-Validating) only. Used by build-epic step 6 as a mechanical gate after audit-code. Skips R (Repeatable) and T (Timely) which require contextual judgment.
|
|
18
|
+
|
|
14
19
|
## The F.I.R.S.T Rubric
|
|
15
20
|
|
|
16
21
|
### F — Fast
|
|
@@ -11,6 +11,11 @@ model: sonnet
|
|
|
11
11
|
|
|
12
12
|
Find the blast radius of the proposed change before a single line is written.
|
|
13
13
|
|
|
14
|
+
## Modes
|
|
15
|
+
|
|
16
|
+
- Default: full impact analysis (dependents + affected stories + test coverage mapping)
|
|
17
|
+
- --lightweight: Fast fan-in/fan-out only (<10s). Maps callers and imports without test coverage mapping. Used by build-epic step 2 as a pre-plan gate. Risk score > 7 triggers a mandatory grill-me session before proceeding.
|
|
18
|
+
|
|
14
19
|
## Process
|
|
15
20
|
|
|
16
21
|
### 1. Identify the target
|
|
@@ -76,3 +81,12 @@ grep -rn "[symbol-name]" . --include="*.test.*" --include="*.spec.*"
|
|
|
76
81
|
→ verify: `grep "Risk:" specs/IMPACT.md`
|
|
77
82
|
|
|
78
83
|
Suggest `plan-work` once risk is understood and any test gaps are noted.
|
|
84
|
+
|
|
85
|
+
## Risk score gating
|
|
86
|
+
|
|
87
|
+
In `--lightweight` mode (used by build-epic step 2), assign a numeric risk score (1–10):
|
|
88
|
+
- Fan-in (how many callers): 0–4 points
|
|
89
|
+
- Fan-out (how many dependencies the module itself uses): 0–3 points
|
|
90
|
+
- Recent churn (git log --oneline -5 count): 0–3 points
|
|
91
|
+
|
|
92
|
+
**Risk score > 7**: Gate — require a `grill-me` session before proceeding to implementation. Document the grill-me result in the impact report at `specs/IMPACT-<epic>-<story>.md`.
|
|
@@ -31,7 +31,8 @@ Orchestrates the **build** flow for a single epic: survey → plan tasks → kic
|
|
|
31
31
|
## Process
|
|
32
32
|
|
|
33
33
|
1. Read `specs/state.yaml`, `specs/execution-status.yaml`, `specs/release-plan.yaml`, active `specs/epics/eNN-slug/epic.yaml`.
|
|
34
|
-
2. **
|
|
34
|
+
2. **Assess Impact (Step 2):** Before writing tasks, run `assess-impact --lightweight` on the proposed change. If the risk score exceeds 7, gate — require a `grill-me` session. Write the impact report to `specs/IMPACT-<epic>-<story>.md`. For net-new code with no existing dependents, skip.
|
|
35
|
+
3. **BCP Tracking (Step 2):** After `plan-work` completes, read the `bcps:` count (Business Complexity Points story size) from the epic capsule and carry it into `state.yaml` as `epic_cycle.story_bcps = N`.
|
|
35
36
|
3. If `epic_cycle.step` missing, set to `1`.
|
|
36
37
|
4. Run **only the current step** (resume mode) unless user asked for full auto-run.
|
|
37
38
|
5. After step verify passes, increment `epic_cycle.step` in `state.yaml` (or `bash scripts/bp-yaml-set.sh` if available).
|
|
@@ -45,6 +46,7 @@ After step 5 (verify-work) completes successfully, step 6 runs `audit-code` auto
|
|
|
45
46
|
2. **Pass (exit 0):** All checklist sections pass → advance to step 7 (commit-message). Record `epic_cycle.audit_result: pass` in `state.yaml`.
|
|
46
47
|
3. **Fail (exit 1):** One or more checklist sections fail → **reset `epic_cycle.current_step` to `4`** (develop-tdd) and add the failing section IDs to `completed_steps` as `"1,2,3,4,5,6(fail: ...)"`. Record `epic_cycle.audit_result: fail` in `state.yaml`. Do NOT advance past step 6 until audit passes.
|
|
47
48
|
4. **Audit artifact:** Full audit report saved to `specs/verifications/AUDIT-<epic>-<story>.md` regardless of pass/fail, for reviewer traceability.
|
|
49
|
+
5. **Enforce F.I.R.S.T:** After audit-code passes, run `enforce-first --quick` on new/modified tests. Append F.I.R.S.T violations (if any) to the audit report. Failing F.I.R.S.T criteria trigger the same loop-back to step 4.
|
|
48
50
|
|
|
49
51
|
## Handoff
|
|
50
52
|
|
|
@@ -13,6 +13,11 @@ Apply the F.I.R.S.T rubric (Uncle Bob, Clean Code Chapter 9) to evaluate and imp
|
|
|
13
13
|
|
|
14
14
|
This skill is typically invoked internally by `develop-tdd` during the test-writing phase. It can also be run standalone on an existing test suite.
|
|
15
15
|
|
|
16
|
+
## Modes
|
|
17
|
+
|
|
18
|
+
- Default: full F.I.R.S.T audit (all 5 criteria)
|
|
19
|
+
- --quick: Check F (Fast), I (Independent), and S (Self-Validating) only. Used by build-epic step 6 as a mechanical gate after audit-code. Skips R (Repeatable) and T (Timely) which require contextual judgment.
|
|
20
|
+
|
|
16
21
|
## The F.I.R.S.T Rubric
|
|
17
22
|
|
|
18
23
|
### F — Fast
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [2.16.0](https://github.com/danielvm-git/bigpowers/compare/v2.15.0...v2.16.0) (2026-06-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **e18s03:** assess-impact --lightweight in build-epic step 2 ([eff1b3a](https://github.com/danielvm-git/bigpowers/commit/eff1b3a3dfa7677db8c525d6424147c08a9b4809))
|
|
7
|
+
|
|
8
|
+
# [2.15.0](https://github.com/danielvm-git/bigpowers/compare/v2.14.0...v2.15.0) (2026-06-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **e18s02:** enforce-first --quick mode in build-epic step 6 ([abdea30](https://github.com/danielvm-git/bigpowers/commit/abdea303fa79d7babb89e979a4b7480b1b3a6946))
|
|
14
|
+
|
|
1
15
|
# [2.14.0](https://github.com/danielvm-git/bigpowers/compare/v2.13.0...v2.14.0) (2026-06-21)
|
|
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-21T21:
|
|
6
|
+
**Generated:** 2026-06-21T21:40:39Z
|
|
7
7
|
**Skills:** 67
|
|
8
8
|
|
|
9
9
|
---
|
package/assess-impact/SKILL.md
CHANGED
|
@@ -10,6 +10,11 @@ description: Analyze the blast radius of a proposed change before any code is wr
|
|
|
10
10
|
|
|
11
11
|
Find the blast radius of the proposed change before a single line is written.
|
|
12
12
|
|
|
13
|
+
## Modes
|
|
14
|
+
|
|
15
|
+
- Default: full impact analysis (dependents + affected stories + test coverage mapping)
|
|
16
|
+
- --lightweight: Fast fan-in/fan-out only (<10s). Maps callers and imports without test coverage mapping. Used by build-epic step 2 as a pre-plan gate. Risk score > 7 triggers a mandatory grill-me session before proceeding.
|
|
17
|
+
|
|
13
18
|
## Process
|
|
14
19
|
|
|
15
20
|
### 1. Identify the target
|
|
@@ -75,3 +80,12 @@ grep -rn "[symbol-name]" . --include="*.test.*" --include="*.spec.*"
|
|
|
75
80
|
→ verify: `grep "Risk:" specs/IMPACT.md`
|
|
76
81
|
|
|
77
82
|
Suggest `plan-work` once risk is understood and any test gaps are noted.
|
|
83
|
+
|
|
84
|
+
## Risk score gating
|
|
85
|
+
|
|
86
|
+
In `--lightweight` mode (used by build-epic step 2), assign a numeric risk score (1–10):
|
|
87
|
+
- Fan-in (how many callers): 0–4 points
|
|
88
|
+
- Fan-out (how many dependencies the module itself uses): 0–3 points
|
|
89
|
+
- Recent churn (git log --oneline -5 count): 0–3 points
|
|
90
|
+
|
|
91
|
+
**Risk score > 7**: Gate — require a `grill-me` session before proceeding to implementation. Document the grill-me result in the impact report at `specs/IMPACT-<epic>-<story>.md`.
|
package/build-epic/SKILL.md
CHANGED
|
@@ -30,7 +30,8 @@ Orchestrates the **build** flow for a single epic: survey → plan tasks → kic
|
|
|
30
30
|
## Process
|
|
31
31
|
|
|
32
32
|
1. Read `specs/state.yaml`, `specs/execution-status.yaml`, `specs/release-plan.yaml`, active `specs/epics/eNN-slug/epic.yaml`.
|
|
33
|
-
2. **
|
|
33
|
+
2. **Assess Impact (Step 2):** Before writing tasks, run `assess-impact --lightweight` on the proposed change. If the risk score exceeds 7, gate — require a `grill-me` session. Write the impact report to `specs/IMPACT-<epic>-<story>.md`. For net-new code with no existing dependents, skip.
|
|
34
|
+
3. **BCP Tracking (Step 2):** After `plan-work` completes, read the `bcps:` count (Business Complexity Points story size) from the epic capsule and carry it into `state.yaml` as `epic_cycle.story_bcps = N`.
|
|
34
35
|
3. If `epic_cycle.step` missing, set to `1`.
|
|
35
36
|
4. Run **only the current step** (resume mode) unless user asked for full auto-run.
|
|
36
37
|
5. After step verify passes, increment `epic_cycle.step` in `state.yaml` (or `bash scripts/bp-yaml-set.sh` if available).
|
|
@@ -44,6 +45,7 @@ After step 5 (verify-work) completes successfully, step 6 runs `audit-code` auto
|
|
|
44
45
|
2. **Pass (exit 0):** All checklist sections pass → advance to step 7 (commit-message). Record `epic_cycle.audit_result: pass` in `state.yaml`.
|
|
45
46
|
3. **Fail (exit 1):** One or more checklist sections fail → **reset `epic_cycle.current_step` to `4`** (develop-tdd) and add the failing section IDs to `completed_steps` as `"1,2,3,4,5,6(fail: ...)"`. Record `epic_cycle.audit_result: fail` in `state.yaml`. Do NOT advance past step 6 until audit passes.
|
|
46
47
|
4. **Audit artifact:** Full audit report saved to `specs/verifications/AUDIT-<epic>-<story>.md` regardless of pass/fail, for reviewer traceability.
|
|
48
|
+
5. **Enforce F.I.R.S.T:** After audit-code passes, run `enforce-first --quick` on new/modified tests. Append F.I.R.S.T violations (if any) to the audit report. Failing F.I.R.S.T criteria trigger the same loop-back to step 4.
|
|
47
49
|
|
|
48
50
|
## Handoff
|
|
49
51
|
|
package/enforce-first/SKILL.md
CHANGED
|
@@ -12,6 +12,11 @@ Apply the F.I.R.S.T rubric (Uncle Bob, Clean Code Chapter 9) to evaluate and imp
|
|
|
12
12
|
|
|
13
13
|
This skill is typically invoked internally by `develop-tdd` during the test-writing phase. It can also be run standalone on an existing test suite.
|
|
14
14
|
|
|
15
|
+
## Modes
|
|
16
|
+
|
|
17
|
+
- Default: full F.I.R.S.T audit (all 5 criteria)
|
|
18
|
+
- --quick: Check F (Fast), I (Independent), and S (Self-Validating) only. Used by build-epic step 6 as a mechanical gate after audit-code. Skips R (Repeatable) and T (Timely) which require contextual judgment.
|
|
19
|
+
|
|
15
20
|
## The F.I.R.S.T Rubric
|
|
16
21
|
|
|
17
22
|
### F — Fast
|
package/package.json
CHANGED
package/skills-lock.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"assess-impact": {
|
|
10
10
|
"description": "Analyze the blast radius of a proposed change before any code is written. Maps dependents, affected stories, and test coverage. Produces specs/IMPACT.md. Use before plan-work on any non-trivial change, when touching a shared module, or when the user asks \"what does this break?\".",
|
|
11
|
-
"sha256": "
|
|
11
|
+
"sha256": "740925970c6cf9ce",
|
|
12
12
|
"path": "assess-impact/SKILL.md"
|
|
13
13
|
},
|
|
14
14
|
"audit-code": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"build-epic": {
|
|
20
20
|
"description": "Eight-step epic build cycle — reads state.yaml, execution-status.yaml, and one epic capsule; updates status via bp-yaml-set or direct edit. Resume mode runs one step per invocation. Use instead of ad-hoc execute-plan for release work.",
|
|
21
|
-
"sha256": "
|
|
21
|
+
"sha256": "3c1707cca32b24de",
|
|
22
22
|
"path": "build-epic/SKILL.md"
|
|
23
23
|
},
|
|
24
24
|
"change-request": {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
"enforce-first": {
|
|
100
100
|
"description": "Apply the F.I.R.S.T test quality rubric (Fast, Independent, Repeatable, Self-Validating, Timely) to a test suite or individual tests. Use when develop-tdd is writing tests, when test quality needs to be checked, or when user mentions F.I.R.S.T or \"test quality\".",
|
|
101
|
-
"sha256": "
|
|
101
|
+
"sha256": "cafd0bd664a74a2d",
|
|
102
102
|
"path": "enforce-first/SKILL.md"
|
|
103
103
|
},
|
|
104
104
|
"evolve-skill": {
|