bigpowers 2.88.4 → 2.88.6

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigpowers",
3
- "version": "2.88.4",
3
+ "version": "2.88.6",
4
4
  "description": "81 skills — 73 agent skills synthesizing 17 years of software engineering discipline into a prescriptive methodology for solo developers",
5
5
  "keywords": [
6
6
  "gemini-extension"
package/.pi/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigpowers",
3
- "version": "2.88.4",
3
+ "version": "2.88.6",
4
4
  "description": "81 skills — 73 agent skills synthesizing 17 years of software engineering discipline into a prescriptive methodology for solo developers",
5
5
  "keywords": [
6
6
  "pi-package"
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [2.88.6](https://github.com/danielvm-git/bigpowers/compare/v2.88.5...v2.88.6) (2026-09-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **ci:** install website deps before docs-base-path gate ([4a94f72](https://github.com/danielvm-git/bigpowers/commit/4a94f720bb5ca1b158f1196b43c39a890812093a))
7
+
8
+ ## [2.88.5](https://github.com/danielvm-git/bigpowers/compare/v2.88.4...v2.88.5) (2026-09-13)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **docs:** prefix generated site links with base path ([#127](https://github.com/danielvm-git/bigpowers/issues/127)) ([c24ffd4](https://github.com/danielvm-git/bigpowers/commit/c24ffd43d7237d6e8be57f702389bce0e2bad690))
14
+
1
15
  ## [2.88.4](https://github.com/danielvm-git/bigpowers/compare/v2.88.3...v2.88.4) (2026-09-13)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigpowers",
3
- "version": "2.88.4",
3
+ "version": "2.88.6",
4
4
  "description": "73 agent skills synthesizing 17 years of software engineering discipline into a prescriptive methodology for solo developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -67,6 +67,7 @@ GOLDEN_GATES=(
67
67
  "project-runtime:bash scripts/test-project-runtime.sh:false"
68
68
  "omp-extension:bash scripts/validate-omp-extension.sh:false"
69
69
  "mcp-package:bash scripts/validate-mcp-package.sh:false"
70
+ "docs-base-path:bash scripts/validate-docs-base-path.sh:false"
70
71
  "import-boundaries:bash scripts/check-import-boundaries.sh:false"
71
72
  "skill-catalog:bash scripts/validate-skill-catalog.sh:false"
72
73
  "specs-parse:bash scripts/validate-specs-yaml.sh:false"
@@ -0,0 +1,88 @@
1
+ #!/usr/bin/env bash
2
+ # story: e33s02
3
+ # Docs site base-path guard — generated content must include /bigpowers prefix
4
+ # for GitHub Pages (see BUG-2026-09-13, #127).
5
+ set -euo pipefail
6
+
7
+ REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
8
+ WEBSITE="$REPO_ROOT/website"
9
+ SITE_BASE="/bigpowers"
10
+ ERRORS=0
11
+
12
+ fail() {
13
+ echo "FAIL: $*"
14
+ ERRORS=$((ERRORS + 1))
15
+ }
16
+
17
+ pass() {
18
+ echo "ok : $*"
19
+ }
20
+
21
+ ensure_website_deps() {
22
+ if [[ -d "$WEBSITE/node_modules/astro" ]]; then
23
+ return 0
24
+ fi
25
+ if ! command -v npm >/dev/null 2>&1; then
26
+ fail "npm unavailable and website/node_modules missing — cannot run build check"
27
+ return 1
28
+ fi
29
+ echo "info: installing website deps (golden-suite only installs repo root npm ci)"
30
+ if ! (cd "$WEBSITE" && npm ci >/dev/null 2>&1); then
31
+ fail "website npm ci failed — cannot run build check"
32
+ return 1
33
+ fi
34
+ pass "website deps installed for build check"
35
+ }
36
+
37
+ INDEX_MDX="$WEBSITE/src/content/docs/index.mdx"
38
+ LLMS_TXT="$WEBSITE/public/llms.txt"
39
+
40
+ echo "--- [docs] generated landing hero link ---"
41
+ if [[ ! -f "$INDEX_MDX" ]]; then
42
+ fail "missing $INDEX_MDX — run cd website && npm run generate"
43
+ elif grep -q "link: ${SITE_BASE}/skills/" "$INDEX_MDX"; then
44
+ pass "hero Browse skills link includes SITE_BASE"
45
+ else
46
+ fail "hero link missing ${SITE_BASE}/skills/ prefix in index.mdx"
47
+ fi
48
+
49
+ echo "--- [docs] no root-absolute skill links in landing page ---"
50
+ if [[ -f "$INDEX_MDX" ]] && grep -E '\]\(/skills/' "$INDEX_MDX" >/dev/null 2>&1; then
51
+ fail "index.mdx still contains root-absolute /skills/ links"
52
+ else
53
+ pass "index.mdx skill links are base-prefixed or absent"
54
+ fi
55
+
56
+ echo "--- [docs] llms.txt URL shape ---"
57
+ if [[ ! -f "$LLMS_TXT" ]]; then
58
+ fail "missing $LLMS_TXT — run cd website && npm run generate"
59
+ elif grep -q '/bigpowers/bigpowers/' "$LLMS_TXT"; then
60
+ fail "llms.txt double-prefixes SITE_BASE in URLs"
61
+ else
62
+ pass "llms.txt has no /bigpowers/bigpowers/ double prefix"
63
+ fi
64
+
65
+ echo "--- [docs] production build hero href ---"
66
+ if ! command -v npm >/dev/null 2>&1; then
67
+ echo "warn: npm unavailable — skipping dist/index.html check"
68
+ elif ensure_website_deps; then
69
+ BUILD_ERR=$(mktemp)
70
+ if (cd "$WEBSITE" && npm run build >/dev/null 2>"$BUILD_ERR"); then
71
+ if grep -q 'href="/bigpowers/skills/"' "$WEBSITE/dist/index.html" 2>/dev/null; then
72
+ pass "dist/index.html hero href includes /bigpowers/skills/"
73
+ else
74
+ fail "dist/index.html missing href=\"/bigpowers/skills/\" for Browse skills"
75
+ fi
76
+ else
77
+ fail "website build failed — $(head -3 "$BUILD_ERR" 2>/dev/null | tr '\n' ' ')"
78
+ fi
79
+ rm -f "$BUILD_ERR"
80
+ fi
81
+
82
+ echo "---"
83
+ if [[ "$ERRORS" -eq 0 ]]; then
84
+ echo "Docs base-path validation passed"
85
+ else
86
+ echo "Docs base-path validation FAILED ($ERRORS error(s))"
87
+ exit 1
88
+ fi