bigpowers 2.84.0 → 2.85.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/.agents/skills/audit-code/SKILL.md +4 -7
- package/.agents/skills/craft-skill/SKILL.md +21 -4
- package/.agents/skills/grill-me/SKILL.md +12 -0
- package/.agents/skills/grill-with-docs/SKILL.md +12 -0
- package/.agents/skills/request-review/SKILL.md +1 -0
- package/.agents/skills/seed-conventions/SKILL.md +21 -4
- package/.agents/skills/stocktake-skills/SKILL.md +2 -0
- package/.agents/skills/wire-ci/SKILL.md +164 -181
- package/.codebuddy/skills/audit-code/SKILL.md +4 -7
- package/.codebuddy/skills/craft-skill/SKILL.md +21 -4
- package/.codebuddy/skills/grill-me/SKILL.md +12 -0
- package/.codebuddy/skills/grill-with-docs/SKILL.md +12 -0
- package/.codebuddy/skills/request-review/SKILL.md +1 -0
- package/.codebuddy/skills/seed-conventions/SKILL.md +21 -4
- package/.codebuddy/skills/stocktake-skills/SKILL.md +2 -0
- package/.codebuddy/skills/wire-ci/SKILL.md +164 -181
- package/.codex/skills/audit-code/SKILL.md +4 -7
- package/.codex/skills/craft-skill/SKILL.md +21 -4
- package/.codex/skills/grill-me/SKILL.md +12 -0
- package/.codex/skills/grill-with-docs/SKILL.md +12 -0
- package/.codex/skills/request-review/SKILL.md +1 -0
- package/.codex/skills/seed-conventions/SKILL.md +21 -4
- package/.codex/skills/stocktake-skills/SKILL.md +2 -0
- package/.codex/skills/wire-ci/SKILL.md +164 -181
- package/.hermes/skills/audit-code/SKILL.md +4 -7
- package/.hermes/skills/craft-skill/SKILL.md +21 -4
- package/.hermes/skills/grill-me/SKILL.md +12 -0
- package/.hermes/skills/grill-with-docs/SKILL.md +12 -0
- package/.hermes/skills/request-review/SKILL.md +1 -0
- package/.hermes/skills/seed-conventions/SKILL.md +21 -4
- package/.hermes/skills/stocktake-skills/SKILL.md +2 -0
- package/.hermes/skills/wire-ci/SKILL.md +164 -181
- package/.kilocode/rules/audit-code.md +4 -7
- package/.kilocode/rules/craft-skill.md +21 -4
- package/.kilocode/rules/grill-me.md +12 -0
- package/.kilocode/rules/grill-with-docs.md +12 -0
- package/.kilocode/rules/request-review.md +1 -0
- package/.kilocode/rules/seed-conventions.md +21 -4
- package/.kilocode/rules/stocktake-skills.md +2 -0
- package/.kilocode/rules/wire-ci.md +164 -181
- package/.mimocode/skills/audit-code/SKILL.md +4 -7
- package/.mimocode/skills/craft-skill/SKILL.md +21 -4
- package/.mimocode/skills/grill-me/SKILL.md +12 -0
- package/.mimocode/skills/grill-with-docs/SKILL.md +12 -0
- package/.mimocode/skills/request-review/SKILL.md +1 -0
- package/.mimocode/skills/seed-conventions/SKILL.md +21 -4
- package/.mimocode/skills/stocktake-skills/SKILL.md +2 -0
- package/.mimocode/skills/wire-ci/SKILL.md +164 -181
- package/.pi/package.json +1 -1
- package/.pi/prompts/audit-code.md +4 -7
- package/.pi/prompts/craft-skill.md +21 -4
- package/.pi/prompts/grill-me.md +12 -0
- package/.pi/prompts/grill-with-docs.md +12 -0
- package/.pi/prompts/request-review.md +1 -0
- package/.pi/prompts/seed-conventions.md +21 -4
- package/.pi/prompts/stocktake-skills.md +2 -0
- package/.pi/prompts/wire-ci.md +164 -181
- package/.pi/skills/audit-code/SKILL.md +4 -7
- package/.pi/skills/craft-skill/SKILL.md +21 -4
- package/.pi/skills/grill-me/SKILL.md +12 -0
- package/.pi/skills/grill-with-docs/SKILL.md +12 -0
- package/.pi/skills/request-review/SKILL.md +1 -0
- package/.pi/skills/seed-conventions/SKILL.md +21 -4
- package/.pi/skills/stocktake-skills/SKILL.md +2 -0
- package/.pi/skills/wire-ci/SKILL.md +164 -181
- package/.trae/skills/audit-code/SKILL.md +4 -7
- package/.trae/skills/craft-skill/SKILL.md +21 -4
- package/.trae/skills/grill-me/SKILL.md +12 -0
- package/.trae/skills/grill-with-docs/SKILL.md +12 -0
- package/.trae/skills/request-review/SKILL.md +1 -0
- package/.trae/skills/seed-conventions/SKILL.md +21 -4
- package/.trae/skills/stocktake-skills/SKILL.md +2 -0
- package/.trae/skills/wire-ci/SKILL.md +164 -181
- package/.windsurf/rules/audit-code.md +4 -7
- package/.windsurf/rules/craft-skill.md +21 -4
- package/.windsurf/rules/grill-me.md +12 -0
- package/.windsurf/rules/grill-with-docs.md +12 -0
- package/.windsurf/rules/request-review.md +1 -0
- package/.windsurf/rules/seed-conventions.md +21 -4
- package/.windsurf/rules/stocktake-skills.md +2 -0
- package/.windsurf/rules/wire-ci.md +164 -181
- package/.zcode/skills/audit-code/SKILL.md +4 -7
- package/.zcode/skills/craft-skill/SKILL.md +21 -4
- package/.zcode/skills/grill-me/SKILL.md +12 -0
- package/.zcode/skills/grill-with-docs/SKILL.md +12 -0
- package/.zcode/skills/request-review/SKILL.md +1 -0
- package/.zcode/skills/seed-conventions/SKILL.md +21 -4
- package/.zcode/skills/stocktake-skills/SKILL.md +2 -0
- package/.zcode/skills/wire-ci/SKILL.md +164 -181
- package/CHANGELOG.md +19 -0
- package/README.md +14 -1
- package/SKILL-INDEX.md +84 -76
- package/package.json +1 -1
- package/scripts/generate-skill-index.sh +20 -4
- package/scripts/golden-g04-selftest.sh +19 -0
- package/scripts/land-branch.sh +22 -9
- 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/land-branch-push.sh +106 -0
- package/scripts/validate-agentic-ste.sh +229 -0
- package/skills/audit-code/SKILL.md +4 -7
- package/skills/craft-skill/SKILL.md +22 -4
- package/skills/grill-me/SKILL.md +12 -0
- package/skills/grill-with-docs/SKILL.md +12 -0
- package/skills/request-review/SKILL.md +1 -0
- package/skills/seed-conventions/SKILL.md +21 -4
- package/skills/stocktake-skills/SKILL.md +2 -0
- package/skills/visual-dashboard/scripts/frame-template.html +1 -39
- package/skills/wire-ci/REFERENCE.md +137 -152
- package/skills/wire-ci/SKILL.md +28 -30
- package/skills-lock.json +8 -8
- package/tests/test-land-branch-protected.sh +222 -0
|
@@ -9,6 +9,7 @@ description: "Generate CLAUDE.md and CONVENTIONS.md for a brand-new project thro
|
|
|
9
9
|
# story: e10s02
|
|
10
10
|
# story: e51s02
|
|
11
11
|
# story: e45s21
|
|
12
|
+
# story: e79s03
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
# Seed Conventions
|
|
@@ -32,13 +33,25 @@ Ask the user these questions (one at a time, wait for each answer):
|
|
|
32
33
|
2. **Stack** — "What language, framework, and runtime? (e.g. TypeScript / Next.js / Node 22)"
|
|
33
34
|
2b. **Stack profile (optional)** — Offer: `swift`, `typescript-vue`, `node-service`, or none. If chosen, merge the matching fragment from `profiles/<name>.md` into generated `CONVENTIONS.md`.
|
|
34
35
|
3. **Commands** — "What commands do you use for: run, test, build, lint?"
|
|
35
|
-
3b. **Preflight (optional)** — "What
|
|
36
|
+
3b. **Preflight (optional)** — "What command runs test, lint, and build together? If none, chain Test + Lint + Build into one **Preflight** row."
|
|
36
37
|
4. **Architecture** — "Key modules and relationships in 1–2 sentences."
|
|
37
38
|
5. **Conventions** — "Any naming, file organization, or patterns all agents must follow?"
|
|
38
39
|
6. **Never-do list** — "What are the hard stops? Things an agent must never touch?"
|
|
39
40
|
7. **Defensive code categories** — "Which apply? (Rate limit / Retry / Circuit breaker / Timeout / Graceful degradation)"
|
|
40
41
|
8. **Local tool wiring (optional)** — "Wire bigpowers for project-local tools? (Cursor, OpenCode, Cline, Aider, Codex CLI)" If yes, generate AGENTS.md spine artifacts per [REFERENCE.md](REFERENCE.md) §Local tool wiring and §AGENTS.md spine. If no, skip — standard seed output unchanged (no AGENTS.md spine unless opted in).
|
|
41
42
|
|
|
43
|
+
## Agentic STE for generated prose (e79s03)
|
|
44
|
+
|
|
45
|
+
When writing instructional lines in `CLAUDE.md`, `AGENTS.md`, or `CONVENTIONS.md`, follow [AGENTIC-STE.md](../../docs/AGENTIC-STE.md):
|
|
46
|
+
|
|
47
|
+
- Use directive vocabulary: MUST, MUST NOT, NEVER, ALWAYS, DO, DO NOT
|
|
48
|
+
- Do NOT use hedge modals listed in AGENTIC-STE.md Rule 3
|
|
49
|
+
- Cap each instruction sentence at 20 words
|
|
50
|
+
- Write imperative, active-voice lines — one instruction per line
|
|
51
|
+
- Do NOT apply Agentic STE to `terse-mode` (output compression is out of scope)
|
|
52
|
+
|
|
53
|
+
After generation, run `bash scripts/validate-agentic-ste.sh --strict CLAUDE.md CONVENTIONS.md` when those files exist in the target project.
|
|
54
|
+
|
|
42
55
|
## Generate files
|
|
43
56
|
|
|
44
57
|
After the interview, generate each file using the templates in [REFERENCE.md](REFERENCE.md):
|
|
@@ -65,9 +78,11 @@ echo "# Specs\n\nAll planning documents for this project." > specs/README.md
|
|
|
65
78
|
|
|
66
79
|
**Note:** `specs/state.yaml.lock` is NOT pre-created — acquired/released dynamically.
|
|
67
80
|
|
|
68
|
-
`specs/state.yaml` carries
|
|
81
|
+
`specs/state.yaml` carries top-level `workflow_mode` (`team-pr` | `solo-git`, default `solo-git`).
|
|
82
|
+
This is the **canonical integrate-mode signal** for all skills.
|
|
83
|
+
Set it once here. Skills such as `release-branch` read this file instead of sniffing profiles.
|
|
69
84
|
|
|
70
|
-
When generating `CLAUDE.md`,
|
|
85
|
+
When generating `CLAUDE.md`, chain Test + Lint + Build into one **Preflight** row if the user named no Preflight command.
|
|
71
86
|
|
|
72
87
|
### Self-installing fenced markers (e45s21)
|
|
73
88
|
|
|
@@ -79,7 +94,9 @@ Skills that write into `CLAUDE.md` or `AGENTS.md` MUST use **fenced HTML comment
|
|
|
79
94
|
<!-- END bigpowers:section-id -->
|
|
80
95
|
```
|
|
81
96
|
|
|
82
|
-
**Merge rule:** On update, replace only
|
|
97
|
+
**Merge rule:** On update, replace only content between matching `BEGIN`/`END` pairs.
|
|
98
|
+
If a marker pair is missing, append a new fenced block at file end.
|
|
99
|
+
Never rewrite the whole file.
|
|
83
100
|
|
|
84
101
|
**Standard marker IDs** for seeded projects (see [REFERENCE.md](REFERENCE.md) § Fenced markers):
|
|
85
102
|
|
|
@@ -6,6 +6,7 @@ description: "Sequential subagent batch audit of the bigpowers skill catalog —
|
|
|
6
6
|
|
|
7
7
|
# story: e09s01
|
|
8
8
|
<!-- story: e45s12 -->
|
|
9
|
+
<!-- story: e79s04 -->
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
# Stocktake Skills
|
|
@@ -25,6 +26,7 @@ Audit SKILL.md catalog for drift, stale triggers, missing HARD GATEs, and INDEX
|
|
|
25
26
|
## Process
|
|
26
27
|
|
|
27
28
|
0. **Catalog validator (code-enforced)** — run `bash scripts/validate-skill-catalog.sh`. Any FAIL is a critical finding before manual review. Add `--archive` to list zero-usage skills from `metrics.skill_timings` for auto-archiving candidates (move to `specs/epics/archive/` or delete after user confirms).
|
|
29
|
+
0b. **Agentic STE audit (e79s04)** — run `bash scripts/validate-agentic-ste.sh --audit skills/`. Flag hedge words and sentences over 20 words per [AGENTIC-STE.md](../../docs/AGENTIC-STE.md). Record WARN lines in the stocktake report as **STE debt** — do NOT rewrite the full catalog in one pass. Route critical repeat offenders to `evolve-skill`.
|
|
28
30
|
1. Run `bash scripts/audit-catalog.sh` to verify pi/skills ↔ source SKILL.md sync. Mismatch is a critical finding.
|
|
29
31
|
2. Run mode; for each skill check: exists, verb-noun, <300 lines total, HARD GATE present, INDEX row matches.
|
|
30
32
|
3. Write `specs/STOCKTAKE-<date>.md` with findings table (skill, issue, severity).
|
|
@@ -10,12 +10,12 @@ description: "CI pipeline setup with pre-built templates and local validation. G
|
|
|
10
10
|
>
|
|
11
11
|
> **HARD GATE** — CI that is untestable locally will break every cycle. Always run `--validate` after generating workflows and `--dry-run` before pushing.
|
|
12
12
|
|
|
13
|
-
Generate, validate, and test CI workflows. Detects your project type,
|
|
13
|
+
Generate, validate, and test CI workflows. Detects your project type, copies org templates from `danielvm-git/.github/workflow-templates/`, and provides local verification to catch auth, permissions, and syntax issues before they reach CI.
|
|
14
14
|
|
|
15
15
|
## What this sets up
|
|
16
16
|
|
|
17
|
-
1. **
|
|
18
|
-
2. **
|
|
17
|
+
1. **Test Build Release workflow** — `.github/workflows/test-build-release.yml` with lint → test → build → release (single pipeline, `needs:` chain)
|
|
18
|
+
2. **Deploy workflow** — `.github/workflows/deploy.yml` triggered via `workflow_run` (BigBase/Pages stacks only; CLI/library repos omit this)
|
|
19
19
|
3. **`--validate` mode** — checks YAML syntax, workflow permissions, required secrets, and common pitfalls
|
|
20
20
|
4. **`--dry-run` mode** — runs workflows locally via `act` or `gh workflow run` to prove correctness before push
|
|
21
21
|
5. **Failure pattern documentation** — common CI failure categories and their fixes
|
|
@@ -24,45 +24,41 @@ Generate, validate, and test CI workflows. Detects your project type, produces p
|
|
|
24
24
|
|
|
25
25
|
### 1. Detect project type
|
|
26
26
|
|
|
27
|
-
Read the project root for manifest files to determine which template to
|
|
27
|
+
Read the project root for manifest files to determine which template pair to copy:
|
|
28
28
|
|
|
29
|
-
| Manifest | Type | Template |
|
|
30
|
-
|
|
31
|
-
| `Cargo.toml` | Rust |
|
|
32
|
-
| `package.json` | Node |
|
|
33
|
-
| `setup.py` / `pyproject.toml` | Python |
|
|
34
|
-
| `go.mod` | Go |
|
|
35
|
-
|
|
|
36
|
-
|
|
|
29
|
+
| Manifest | Type | Template pair (from `.github` repo) |
|
|
30
|
+
|----------|------|-------------------------------------|
|
|
31
|
+
| `Cargo.toml` | Rust | `test-build-release-monorepo.yml` + `deploy-monorepo.yml` (or monorepo subset) |
|
|
32
|
+
| `package.json` | Node | `test-build-release-node.yml` + `deploy-node.yml` |
|
|
33
|
+
| `setup.py` / `pyproject.toml` | Python | `test-build-release-python.yml` + `deploy-python.yml` |
|
|
34
|
+
| `go.mod` | Go | `test-build-release-go.yml` + `deploy-go.yml` |
|
|
35
|
+
| Static site (no server) | Static | `test-build-release-static.yml` + `deploy-static.yml` |
|
|
36
|
+
| `Package.swift` | Swift | `test-build-release-swift.yml` only (no deploy yet) |
|
|
37
|
+
| Multiple detected | Polyglot | `test-build-release-monorepo.yml` + `deploy-monorepo.yml` |
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
**CLI/library repos** (no hosted target): copy only `test-build-release-<stack>.yml` → `test-build-release.yml`. The `release` job is terminal; skip `deploy.yml`. See `docs/how-to/migrate-ci-cd/migration-plan.md` § CLI and library repos.
|
|
39
40
|
|
|
40
|
-
|
|
41
|
+
If no manifest is found, prompt the user to specify the type or pass `--type <rust|node|python|go|static|swift>`.
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
### 2. Copy test-build-release template
|
|
43
44
|
|
|
44
|
-
|
|
45
|
-
See [REFERENCE.md](REFERENCE.md)
|
|
46
|
-
|
|
47
|
-
**Node template (`package.json`):**
|
|
48
|
-
See [REFERENCE.md](REFERENCE.md)
|
|
45
|
+
Copy the matching template from `~/Developer/.github/workflow-templates/` to `.github/workflows/test-build-release.yml`. **Do not rename the workflow `name:` field** — deploy listens for `"Test Build Release"`.
|
|
49
46
|
|
|
50
|
-
|
|
51
|
-
See [REFERENCE.md](REFERENCE.md)
|
|
47
|
+
Edit placeholders: `APP_TYPE`, `SITE_URL`, language versions.
|
|
52
48
|
|
|
53
|
-
|
|
54
|
-
See [REFERENCE.md](REFERENCE.md)
|
|
49
|
+
See [REFERENCE.md](REFERENCE.md) for stack-specific job shapes.
|
|
55
50
|
|
|
56
|
-
|
|
57
|
-
See [REFERENCE.md](REFERENCE.md)
|
|
51
|
+
### 3. Copy deploy template (hosted stacks only)
|
|
58
52
|
|
|
59
|
-
|
|
53
|
+
If the project deploys to BigBase or GitHub Pages:
|
|
60
54
|
|
|
61
|
-
|
|
55
|
+
```bash
|
|
56
|
+
cp ~/Developer/.github/workflow-templates/deploy-${STACK}.yml .github/workflows/deploy.yml
|
|
57
|
+
```
|
|
62
58
|
|
|
63
|
-
|
|
59
|
+
Configure `BIGBASE_SITE_ID`, `BIGBASE_DEPLOY_TOKEN`, and matching `SITE_URL`. Deploy runs via `workflow_run` after TBR succeeds on `main` with `cancel-in-progress: false`.
|
|
64
60
|
|
|
65
|
-
|
|
61
|
+
Skip this step for CLI/library repos.
|
|
66
62
|
|
|
67
63
|
### 4. Validate workflows (`--validate`)
|
|
68
64
|
|
|
@@ -97,6 +93,8 @@ Add the following to the project's documentation or CLAUDE.md after setup:
|
|
|
97
93
|
| `cargo clippy` errors | New lints in Rust nightly | `cargo clippy --fix` or allow specific lints |
|
|
98
94
|
| `act` not found | Docker not running or act not installed | `brew install act` / `docker ps` to verify Docker |
|
|
99
95
|
| Hardcoded Node version stale | `.nvmrc` exists but workflow uses hardcoded version | Use `node-version-file: .nvmrc` instead |
|
|
96
|
+
| Deploy never runs | TBR workflow renamed | Keep `name: Test Build Release` in test-build-release.yml |
|
|
97
|
+
| Release rebuilds binary | Artifact not downloaded | `release` job must `download-artifact` from `build` |
|
|
100
98
|
|
|
101
99
|
## Verify
|
|
102
100
|
|
|
@@ -120,26 +118,24 @@ Add the following to the project's documentation or CLAUDE.md after setup:
|
|
|
120
118
|
|
|
121
119
|
## Examples
|
|
122
120
|
|
|
123
|
-
### Create CI for a
|
|
121
|
+
### Create CI for a Go project (TBR + optional deploy)
|
|
124
122
|
|
|
125
123
|
```bash
|
|
126
|
-
#
|
|
127
|
-
|
|
124
|
+
# Copy org templates
|
|
125
|
+
cp ~/Developer/.github/workflow-templates/test-build-release-go.yml .github/workflows/test-build-release.yml
|
|
126
|
+
cp ~/Developer/.github/workflow-templates/deploy-go.yml .github/workflows/deploy.yml
|
|
128
127
|
|
|
129
|
-
# Validate generated workflows
|
|
130
128
|
wire-ci --validate
|
|
131
|
-
|
|
132
|
-
# Run locally with act
|
|
133
129
|
wire-ci --dry-run
|
|
134
130
|
```
|
|
135
131
|
|
|
136
|
-
### Create CI for a
|
|
132
|
+
### Create CI for a CLI tool (TBR only, no deploy)
|
|
137
133
|
|
|
138
134
|
```bash
|
|
139
|
-
|
|
135
|
+
cp ~/Developer/.github/workflow-templates/test-build-release-go.yml .github/workflows/test-build-release.yml
|
|
136
|
+
# Edit release job to download build artifact — see big-release dogfood
|
|
137
|
+
|
|
140
138
|
wire-ci --validate
|
|
141
|
-
# Expect warning: "npm publish step found but no NPM_TOKEN in secrets"
|
|
142
|
-
# Fix: add NPM_TOKEN to repo secrets
|
|
143
139
|
```
|
|
144
140
|
|
|
145
141
|
### Validate existing workflows (no generation)
|
|
@@ -148,7 +144,6 @@ wire-ci --validate
|
|
|
148
144
|
wire-ci --validate --check-only
|
|
149
145
|
```
|
|
150
146
|
|
|
151
|
-
|
|
152
147
|
---
|
|
153
148
|
|
|
154
149
|
## Options
|
|
@@ -160,8 +155,7 @@ wire-ci --validate --check-only
|
|
|
160
155
|
| `--check-only` | Only validate, do not generate new files |
|
|
161
156
|
| `--type <type>` | Force project type (skip auto-detection) |
|
|
162
157
|
| `--force` | Overwrite existing workflow files |
|
|
163
|
-
| `--no-
|
|
164
|
-
|
|
158
|
+
| `--no-deploy` | Skip deploy.yml even for hosted stacks |
|
|
165
159
|
|
|
166
160
|
---
|
|
167
161
|
|
|
@@ -174,202 +168,191 @@ When `wire-ci` is used as part of `build-epic`:
|
|
|
174
168
|
|
|
175
169
|
---
|
|
176
170
|
|
|
177
|
-
## Reference block 1
|
|
171
|
+
## Reference block 1 — test-build-release.yml (Go, excerpt)
|
|
178
172
|
|
|
179
173
|
```yaml
|
|
180
|
-
name:
|
|
181
|
-
on:
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
- uses: actions/checkout@v4
|
|
187
|
-
- uses: actions-rust/toolchain@v1
|
|
188
|
-
with:
|
|
189
|
-
toolchain: stable
|
|
190
|
-
components: clippy, rustfmt
|
|
191
|
-
- run: cargo fmt --all -- --check
|
|
192
|
-
- run: cargo clippy -- -D warnings
|
|
193
|
-
- run: cargo test
|
|
194
|
-
- run: cargo build --release
|
|
195
|
-
```
|
|
174
|
+
name: Test Build Release
|
|
175
|
+
on:
|
|
176
|
+
push:
|
|
177
|
+
branches: [main]
|
|
178
|
+
pull_request:
|
|
179
|
+
branches: [main]
|
|
196
180
|
|
|
197
|
-
|
|
181
|
+
permissions:
|
|
182
|
+
contents: read
|
|
198
183
|
|
|
199
|
-
|
|
184
|
+
concurrency:
|
|
185
|
+
group: pipeline-${{ github.workflow }}-${{ github.ref }}
|
|
186
|
+
cancel-in-progress: true
|
|
200
187
|
|
|
201
|
-
```yaml
|
|
202
|
-
name: CI
|
|
203
|
-
on: [push, pull_request]
|
|
204
188
|
jobs:
|
|
205
|
-
|
|
206
|
-
runs-on: ubuntu-
|
|
189
|
+
lint:
|
|
190
|
+
runs-on: ubuntu-22.04
|
|
191
|
+
timeout-minutes: 10
|
|
207
192
|
steps:
|
|
208
|
-
- uses: actions/checkout@
|
|
209
|
-
- uses: actions/setup-
|
|
193
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
194
|
+
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
|
210
195
|
with:
|
|
211
|
-
|
|
212
|
-
cache:
|
|
213
|
-
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
- run: npm run typecheck 2>/dev/null || true
|
|
217
|
-
- run: npm run build 2>/dev/null || true
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
---
|
|
221
|
-
|
|
222
|
-
## Reference block 3
|
|
196
|
+
go-version: '1.22'
|
|
197
|
+
cache: true
|
|
198
|
+
- uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
|
|
199
|
+
with:
|
|
200
|
+
version: v1.64.8
|
|
223
201
|
|
|
224
|
-
```yaml
|
|
225
|
-
name: CI
|
|
226
|
-
on: [push, pull_request]
|
|
227
|
-
jobs:
|
|
228
202
|
test:
|
|
229
|
-
|
|
203
|
+
needs: [lint]
|
|
204
|
+
runs-on: ubuntu-22.04
|
|
230
205
|
steps:
|
|
231
|
-
- uses: actions/checkout@
|
|
232
|
-
- uses: actions/setup-
|
|
206
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
207
|
+
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
|
233
208
|
with:
|
|
234
|
-
|
|
235
|
-
cache:
|
|
236
|
-
- run:
|
|
237
|
-
- run:
|
|
238
|
-
- run: ruff check .
|
|
239
|
-
- run: mypy . 2>/dev/null || true
|
|
240
|
-
- run: pytest
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
---
|
|
244
|
-
|
|
245
|
-
## Reference block 4
|
|
209
|
+
go-version: '1.22'
|
|
210
|
+
cache: true
|
|
211
|
+
- run: go vet ./...
|
|
212
|
+
- run: go test ./... -count=1
|
|
246
213
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
on:
|
|
250
|
-
jobs:
|
|
251
|
-
test:
|
|
252
|
-
runs-on: ubuntu-latest
|
|
214
|
+
build:
|
|
215
|
+
needs: [test]
|
|
216
|
+
runs-on: ubuntu-22.04
|
|
253
217
|
steps:
|
|
254
|
-
- uses: actions/checkout@
|
|
255
|
-
- uses: actions/setup-go@
|
|
218
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
219
|
+
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
|
256
220
|
with:
|
|
257
|
-
go-version:
|
|
221
|
+
go-version: '1.22'
|
|
258
222
|
cache: true
|
|
259
|
-
- run: go vet ./...
|
|
260
|
-
- run: go test ./...
|
|
261
223
|
- run: go build ./...
|
|
224
|
+
- run: jq -n --arg sha "${{ github.sha }}" '{sha: $sha}' > deploy-meta.json
|
|
225
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
226
|
+
with:
|
|
227
|
+
name: deploy-meta
|
|
228
|
+
path: deploy-meta.json
|
|
229
|
+
|
|
230
|
+
release:
|
|
231
|
+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
|
232
|
+
needs: [build]
|
|
233
|
+
permissions:
|
|
234
|
+
contents: write
|
|
235
|
+
steps:
|
|
236
|
+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
237
|
+
with:
|
|
238
|
+
fetch-depth: 0
|
|
239
|
+
- run: npx semantic-release
|
|
240
|
+
env:
|
|
241
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
262
242
|
```
|
|
263
243
|
|
|
264
244
|
---
|
|
265
245
|
|
|
266
|
-
## Reference block
|
|
246
|
+
## Reference block 2 — deploy.yml (BigBase, excerpt)
|
|
267
247
|
|
|
268
248
|
```yaml
|
|
269
|
-
name:
|
|
270
|
-
on:
|
|
249
|
+
name: Deploy
|
|
250
|
+
on:
|
|
251
|
+
workflow_run:
|
|
252
|
+
workflows: ["Test Build Release"]
|
|
253
|
+
types: [completed]
|
|
254
|
+
|
|
255
|
+
permissions:
|
|
256
|
+
contents: read
|
|
257
|
+
actions: read
|
|
258
|
+
|
|
259
|
+
concurrency:
|
|
260
|
+
group: deploy-production
|
|
261
|
+
cancel-in-progress: false
|
|
262
|
+
|
|
263
|
+
env:
|
|
264
|
+
SITE_URL: "https://CHANGE-ME.bigbase.click"
|
|
265
|
+
|
|
271
266
|
jobs:
|
|
272
|
-
|
|
273
|
-
|
|
267
|
+
deploy:
|
|
268
|
+
if: >
|
|
269
|
+
github.event.workflow_run.conclusion == 'success' &&
|
|
270
|
+
github.event.workflow_run.head_branch == 'main'
|
|
271
|
+
runs-on: ubuntu-22.04
|
|
272
|
+
environment: production
|
|
274
273
|
steps:
|
|
275
|
-
- uses: actions/
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
274
|
+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
275
|
+
with:
|
|
276
|
+
name: deploy-meta
|
|
277
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
278
|
+
run-id: ${{ github.event.workflow_run.id }}
|
|
279
|
+
path: deploy-meta
|
|
280
|
+
- uses: danielvm-git/.github/actions/bigbase-deploy@9c56ac10c629f3baa110ddb19136579e3c90d690 # v1
|
|
281
|
+
with:
|
|
282
|
+
site_id: ${{ secrets.BIGBASE_SITE_ID }}
|
|
283
|
+
app_type: go
|
|
284
|
+
site_url: ${{ env.SITE_URL }}
|
|
285
|
+
deploy_token: ${{ secrets.BIGBASE_DEPLOY_TOKEN }}
|
|
286
|
+
ref: ${{ steps.meta.outputs.ref }}
|
|
287
|
+
skip_health_check: true
|
|
288
|
+
- name: Health check
|
|
289
|
+
run: |
|
|
290
|
+
curl -sf "${{ env.SITE_URL }}" || exit 1
|
|
279
291
|
```
|
|
280
292
|
|
|
281
293
|
---
|
|
282
294
|
|
|
283
|
-
## Reference block
|
|
295
|
+
## Reference block 3 — CLI dogfood (big-release pattern)
|
|
284
296
|
|
|
285
297
|
```yaml
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
push:
|
|
289
|
-
branches: [main]
|
|
290
|
-
jobs:
|
|
291
|
-
release:
|
|
292
|
-
runs-on: ubuntu-latest
|
|
293
|
-
permissions:
|
|
294
|
-
contents: write
|
|
295
|
-
issues: write
|
|
296
|
-
pull-requests: write
|
|
297
|
-
id-token: write
|
|
298
|
+
build:
|
|
299
|
+
needs: [test]
|
|
298
300
|
steps:
|
|
299
|
-
-
|
|
301
|
+
- run: make build
|
|
302
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
300
303
|
with:
|
|
301
|
-
|
|
302
|
-
|
|
304
|
+
name: big-release-${{ github.sha }}
|
|
305
|
+
path: bin/big-release
|
|
306
|
+
|
|
307
|
+
release:
|
|
308
|
+
needs: [build]
|
|
309
|
+
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
|
310
|
+
steps:
|
|
311
|
+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
303
312
|
with:
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
- run:
|
|
307
|
-
- run:
|
|
308
|
-
- run: npx semantic-release
|
|
309
|
-
env:
|
|
310
|
-
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
|
|
311
|
-
NPM_TOKEN: \${{ secrets.NPM_TOKEN }}
|
|
313
|
+
name: big-release-${{ github.sha }}
|
|
314
|
+
path: bin
|
|
315
|
+
- run: make release # cross-compile assets only; host binary from artifact
|
|
316
|
+
- run: big-release release --verbose
|
|
312
317
|
```
|
|
313
318
|
|
|
319
|
+
No `deploy.yml` — CLI publishes via the release job.
|
|
320
|
+
|
|
314
321
|
---
|
|
315
322
|
|
|
316
|
-
## Reference block
|
|
323
|
+
## Reference block 4 — validate script
|
|
317
324
|
|
|
318
325
|
```bash
|
|
319
|
-
|
|
320
|
-
|
|
326
|
+
for f in .github/workflows/*.yml .github/workflows/*.yaml; do
|
|
327
|
+
[ -f "$f" ] || continue
|
|
321
328
|
python3 -c "import yaml; yaml.safe_load(open('$f'))" || echo "FAIL: $f has YAML syntax errors"
|
|
322
329
|
done
|
|
323
330
|
|
|
324
|
-
|
|
325
|
-
for f in .github/workflows/*.yaml; do
|
|
331
|
+
for f in .github/workflows/test-build-release.yml; do
|
|
326
332
|
if grep -q "permissions:" "$f"; then
|
|
327
333
|
echo "OK: $f has permissions block"
|
|
328
334
|
else
|
|
329
|
-
echo "WARNING: $f missing permissions block
|
|
330
|
-
fi
|
|
331
|
-
done
|
|
332
|
-
|
|
333
|
-
# Check for npm publish without NPM_TOKEN
|
|
334
|
-
for f in .github/workflows/*.yaml; do
|
|
335
|
-
if grep -q "npm publish\|npx semantic-release" "$f"; then
|
|
336
|
-
if ! grep -q "NPM_TOKEN" "$f"; then
|
|
337
|
-
echo "WARNING: $f has npm publish/semantic-release but no NPM_TOKEN secret"
|
|
338
|
-
fi
|
|
335
|
+
echo "WARNING: $f missing permissions block"
|
|
339
336
|
fi
|
|
340
337
|
done
|
|
341
338
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
echo "NOTE: $f has hardcoded Node version — consider using .nvmrc instead"
|
|
339
|
+
if grep -q 'workflows: \["Test Build Release"\]' .github/workflows/deploy.yml 2>/dev/null; then
|
|
340
|
+
if ! grep -q 'name: Test Build Release' .github/workflows/test-build-release.yml; then
|
|
341
|
+
echo "WARNING: deploy.yml listens for Test Build Release but TBR name may differ"
|
|
346
342
|
fi
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
# Check for common secrets reference errors
|
|
350
|
-
for f in .github/workflows/*.yaml; do
|
|
351
|
-
# Secrets referencing something that doesn't exist in the workflow
|
|
352
|
-
grep -oP 'secrets\.\w+' "$f" | sort -u | while read -r secret; do
|
|
353
|
-
echo "REF: $f references $secret"
|
|
354
|
-
done
|
|
355
|
-
done
|
|
343
|
+
fi
|
|
356
344
|
```
|
|
357
345
|
|
|
358
346
|
---
|
|
359
347
|
|
|
360
|
-
## Reference block
|
|
348
|
+
## Reference block 5 — dry-run
|
|
361
349
|
|
|
362
350
|
```bash
|
|
363
|
-
# Option A: Use act (recommended)
|
|
364
351
|
if command -v act &>/dev/null; then
|
|
365
|
-
act push --dry-run
|
|
366
|
-
echo "OK: act dry-run completed"
|
|
352
|
+
act push --dry-run -W .github/workflows/test-build-release.yml
|
|
367
353
|
elif command -v gh &>/dev/null; then
|
|
368
|
-
|
|
369
|
-
gh workflow run ci.yaml --ref "$(git branch --show-current)"
|
|
370
|
-
echo "OK: CI workflow dispatched. Check status: gh run list"
|
|
354
|
+
gh workflow run test-build-release.yml --ref "$(git branch --show-current)"
|
|
371
355
|
else
|
|
372
|
-
echo "
|
|
373
|
-
echo " Install gh CLI for remote dry-run"
|
|
356
|
+
echo "Install act or gh for dry-run"
|
|
374
357
|
fi
|
|
375
358
|
```
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# [2.85.0](https://github.com/danielvm-git/bigpowers/compare/v2.84.1...v2.85.0) (2026-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **land-branch:** fallback to PR when default branch push is protected ([#93](https://github.com/danielvm-git/bigpowers/issues/93)) ([d7f14d4](https://github.com/danielvm-git/bigpowers/commit/d7f14d4372c133547429ed79fe665e87bf069095)), closes [#92](https://github.com/danielvm-git/bigpowers/issues/92)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **skills:** adopt Agentic STE controlled English for instructional prose ([#94](https://github.com/danielvm-git/bigpowers/issues/94)) ([79fca7f](https://github.com/danielvm-git/bigpowers/commit/79fca7feb77485ec29214ebccd889b4ee0d6db60))
|
|
12
|
+
|
|
13
|
+
## [2.84.1](https://github.com/danielvm-git/bigpowers/compare/v2.84.0...v2.84.1) (2026-07-25)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* close all open bugs and issues — consolidated fix session ([b02c7b9](https://github.com/danielvm-git/bigpowers/commit/b02c7b995b7baf8662a515f47350412a1add598b))
|
|
19
|
+
|
|
1
20
|
# [2.84.0](https://github.com/danielvm-git/bigpowers/compare/v2.83.4...v2.84.0) (2026-07-24)
|
|
2
21
|
|
|
3
22
|
|
package/README.md
CHANGED
|
@@ -52,6 +52,19 @@ npx bigpowers setup
|
|
|
52
52
|
|
|
53
53
|
Both commands sync skill artifacts and link them to Claude Code, Gemini CLI, and Cursor (see [Prerequisites](#-prerequisites)).
|
|
54
54
|
|
|
55
|
+
### Interactive Installer
|
|
56
|
+
|
|
57
|
+
The `npx bigpowers setup` command launches an interactive menu where you can:
|
|
58
|
+
|
|
59
|
+
1. **Choose install mode**: Setup/Update or Uninstall
|
|
60
|
+
2. **Select location**: Global (available everywhere) or Local (current project only)
|
|
61
|
+
3. **Pick tools**: Select which AI tools to install skills for (Claude Code, Cursor, Gemini, pi, etc.)
|
|
62
|
+
4. **Confirm**: Review and confirm the installation
|
|
63
|
+
|
|
64
|
+
Use **arrow keys** to navigate, **space** to select, and **Enter** to confirm.
|
|
65
|
+
|
|
66
|
+

|
|
67
|
+
|
|
55
68
|
### From source (contributors)
|
|
56
69
|
|
|
57
70
|
```bash
|
|
@@ -173,7 +186,7 @@ Run `npm run compliance` to audit all features. Score < 94% = hard stop.
|
|
|
173
186
|
|
|
174
187
|
## 📁 Project Structure
|
|
175
188
|
|
|
176
|
-
- `skills/[skill-name]/`: Source files for each of the
|
|
189
|
+
- `skills/[skill-name]/`: Source files for each of the 80 skills.
|
|
177
190
|
- `scripts/`: Installation, syncing, and compliance tools.
|
|
178
191
|
- `specs/`: YAML cockpit — `state.yaml`, `release-plan.yaml`, `epics/`, `execution-status.yaml`, `requirements/`.
|
|
179
192
|
- `specs/metrics/`: Cycle-time ledger (`cycle-times.yaml`) — per-story BCPs, timestamps, BCP/hr (v2.0.0).
|