bigpowers 2.86.3 → 2.86.5

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.
Files changed (170) hide show
  1. package/.agents/skills/craft-skill/SKILL.md +2 -2
  2. package/.agents/skills/define-success/SKILL.md +6 -59
  3. package/.agents/skills/deploy/SKILL.md +1 -1
  4. package/.agents/skills/elaborate-spec/SKILL.md +1 -1
  5. package/.agents/skills/harden-vps/SKILL.md +63 -60
  6. package/.agents/skills/investigate-bug/SKILL.md +2 -2
  7. package/.agents/skills/orchestrate-project/SKILL.md +1 -1
  8. package/.agents/skills/plan-refactor/SKILL.md +2 -2
  9. package/.agents/skills/plan-release/SKILL.md +2 -2
  10. package/.agents/skills/plan-work/SKILL.md +1 -1
  11. package/.agents/skills/using-bigpowers/SKILL.md +2 -2
  12. package/.agents/skills/wire-ci/SKILL.md +11 -14
  13. package/.codebuddy/skills/craft-skill/SKILL.md +2 -2
  14. package/.codebuddy/skills/define-success/SKILL.md +6 -59
  15. package/.codebuddy/skills/deploy/SKILL.md +1 -1
  16. package/.codebuddy/skills/elaborate-spec/SKILL.md +1 -1
  17. package/.codebuddy/skills/harden-vps/SKILL.md +63 -60
  18. package/.codebuddy/skills/investigate-bug/SKILL.md +2 -2
  19. package/.codebuddy/skills/orchestrate-project/SKILL.md +1 -1
  20. package/.codebuddy/skills/plan-refactor/SKILL.md +2 -2
  21. package/.codebuddy/skills/plan-release/SKILL.md +2 -2
  22. package/.codebuddy/skills/plan-work/SKILL.md +1 -1
  23. package/.codebuddy/skills/using-bigpowers/SKILL.md +2 -2
  24. package/.codebuddy/skills/wire-ci/SKILL.md +11 -14
  25. package/.codex/skills/craft-skill/SKILL.md +2 -2
  26. package/.codex/skills/define-success/SKILL.md +6 -59
  27. package/.codex/skills/deploy/SKILL.md +1 -1
  28. package/.codex/skills/elaborate-spec/SKILL.md +1 -1
  29. package/.codex/skills/harden-vps/SKILL.md +63 -60
  30. package/.codex/skills/investigate-bug/SKILL.md +2 -2
  31. package/.codex/skills/orchestrate-project/SKILL.md +1 -1
  32. package/.codex/skills/plan-refactor/SKILL.md +2 -2
  33. package/.codex/skills/plan-release/SKILL.md +2 -2
  34. package/.codex/skills/plan-work/SKILL.md +1 -1
  35. package/.codex/skills/using-bigpowers/SKILL.md +2 -2
  36. package/.codex/skills/wire-ci/SKILL.md +11 -14
  37. package/.hermes/skills/craft-skill/SKILL.md +2 -2
  38. package/.hermes/skills/define-success/SKILL.md +6 -59
  39. package/.hermes/skills/deploy/SKILL.md +1 -1
  40. package/.hermes/skills/elaborate-spec/SKILL.md +1 -1
  41. package/.hermes/skills/harden-vps/SKILL.md +63 -60
  42. package/.hermes/skills/investigate-bug/SKILL.md +2 -2
  43. package/.hermes/skills/orchestrate-project/SKILL.md +1 -1
  44. package/.hermes/skills/plan-refactor/SKILL.md +2 -2
  45. package/.hermes/skills/plan-release/SKILL.md +2 -2
  46. package/.hermes/skills/plan-work/SKILL.md +1 -1
  47. package/.hermes/skills/using-bigpowers/SKILL.md +2 -2
  48. package/.hermes/skills/wire-ci/SKILL.md +11 -14
  49. package/.kilocode/rules/craft-skill.md +2 -2
  50. package/.kilocode/rules/define-success.md +6 -59
  51. package/.kilocode/rules/deploy.md +1 -1
  52. package/.kilocode/rules/elaborate-spec.md +1 -1
  53. package/.kilocode/rules/harden-vps.md +63 -60
  54. package/.kilocode/rules/investigate-bug.md +2 -2
  55. package/.kilocode/rules/orchestrate-project.md +1 -1
  56. package/.kilocode/rules/plan-refactor.md +2 -2
  57. package/.kilocode/rules/plan-release.md +2 -2
  58. package/.kilocode/rules/plan-work.md +1 -1
  59. package/.kilocode/rules/using-bigpowers.md +2 -2
  60. package/.kilocode/rules/wire-ci.md +11 -14
  61. package/.mimocode/skills/craft-skill/SKILL.md +2 -2
  62. package/.mimocode/skills/define-success/SKILL.md +6 -59
  63. package/.mimocode/skills/deploy/SKILL.md +1 -1
  64. package/.mimocode/skills/elaborate-spec/SKILL.md +1 -1
  65. package/.mimocode/skills/harden-vps/SKILL.md +63 -60
  66. package/.mimocode/skills/investigate-bug/SKILL.md +2 -2
  67. package/.mimocode/skills/orchestrate-project/SKILL.md +1 -1
  68. package/.mimocode/skills/plan-refactor/SKILL.md +2 -2
  69. package/.mimocode/skills/plan-release/SKILL.md +2 -2
  70. package/.mimocode/skills/plan-work/SKILL.md +1 -1
  71. package/.mimocode/skills/using-bigpowers/SKILL.md +2 -2
  72. package/.mimocode/skills/wire-ci/SKILL.md +11 -14
  73. package/.pi/package.json +1 -1
  74. package/.pi/prompts/craft-skill.md +2 -2
  75. package/.pi/prompts/define-success.md +5 -58
  76. package/.pi/prompts/deploy.md +1 -1
  77. package/.pi/prompts/elaborate-spec.md +1 -1
  78. package/.pi/prompts/harden-vps.md +63 -60
  79. package/.pi/prompts/investigate-bug.md +2 -2
  80. package/.pi/prompts/orchestrate-project.md +1 -1
  81. package/.pi/prompts/plan-refactor.md +2 -2
  82. package/.pi/prompts/plan-release.md +2 -2
  83. package/.pi/prompts/plan-work.md +1 -1
  84. package/.pi/prompts/using-bigpowers.md +2 -2
  85. package/.pi/prompts/wire-ci.md +11 -14
  86. package/.pi/skills/craft-skill/SKILL.md +2 -2
  87. package/.pi/skills/define-success/SKILL.md +6 -59
  88. package/.pi/skills/deploy/SKILL.md +1 -1
  89. package/.pi/skills/elaborate-spec/SKILL.md +1 -1
  90. package/.pi/skills/harden-vps/SKILL.md +63 -60
  91. package/.pi/skills/investigate-bug/SKILL.md +2 -2
  92. package/.pi/skills/orchestrate-project/SKILL.md +1 -1
  93. package/.pi/skills/plan-refactor/SKILL.md +2 -2
  94. package/.pi/skills/plan-release/SKILL.md +2 -2
  95. package/.pi/skills/plan-work/SKILL.md +1 -1
  96. package/.pi/skills/using-bigpowers/SKILL.md +2 -2
  97. package/.pi/skills/wire-ci/SKILL.md +11 -14
  98. package/.trae/skills/craft-skill/SKILL.md +2 -2
  99. package/.trae/skills/define-success/SKILL.md +6 -59
  100. package/.trae/skills/deploy/SKILL.md +1 -1
  101. package/.trae/skills/elaborate-spec/SKILL.md +1 -1
  102. package/.trae/skills/harden-vps/SKILL.md +63 -60
  103. package/.trae/skills/investigate-bug/SKILL.md +2 -2
  104. package/.trae/skills/orchestrate-project/SKILL.md +1 -1
  105. package/.trae/skills/plan-refactor/SKILL.md +2 -2
  106. package/.trae/skills/plan-release/SKILL.md +2 -2
  107. package/.trae/skills/plan-work/SKILL.md +1 -1
  108. package/.trae/skills/using-bigpowers/SKILL.md +2 -2
  109. package/.trae/skills/wire-ci/SKILL.md +11 -14
  110. package/.windsurf/rules/craft-skill.md +2 -2
  111. package/.windsurf/rules/define-success.md +6 -59
  112. package/.windsurf/rules/deploy.md +1 -1
  113. package/.windsurf/rules/elaborate-spec.md +1 -1
  114. package/.windsurf/rules/harden-vps.md +63 -60
  115. package/.windsurf/rules/investigate-bug.md +2 -2
  116. package/.windsurf/rules/orchestrate-project.md +1 -1
  117. package/.windsurf/rules/plan-refactor.md +2 -2
  118. package/.windsurf/rules/plan-release.md +2 -2
  119. package/.windsurf/rules/plan-work.md +1 -1
  120. package/.windsurf/rules/using-bigpowers.md +2 -2
  121. package/.windsurf/rules/wire-ci.md +11 -14
  122. package/.zcode/skills/craft-skill/SKILL.md +2 -2
  123. package/.zcode/skills/define-success/SKILL.md +6 -59
  124. package/.zcode/skills/deploy/SKILL.md +1 -1
  125. package/.zcode/skills/elaborate-spec/SKILL.md +1 -1
  126. package/.zcode/skills/harden-vps/SKILL.md +63 -60
  127. package/.zcode/skills/investigate-bug/SKILL.md +2 -2
  128. package/.zcode/skills/orchestrate-project/SKILL.md +1 -1
  129. package/.zcode/skills/plan-refactor/SKILL.md +2 -2
  130. package/.zcode/skills/plan-release/SKILL.md +2 -2
  131. package/.zcode/skills/plan-work/SKILL.md +1 -1
  132. package/.zcode/skills/using-bigpowers/SKILL.md +2 -2
  133. package/.zcode/skills/wire-ci/SKILL.md +11 -14
  134. package/CHANGELOG.md +14 -0
  135. package/SKILL-INDEX.md +2 -2
  136. package/package.json +1 -1
  137. package/scripts/check-skill-links.py +35 -0
  138. package/scripts/golden-g12-status-consistency.sh +232 -0
  139. package/scripts/land-branch.sh +9 -3
  140. package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
  141. package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
  142. package/scripts/lib/golden-suite-gates.sh +9 -0
  143. package/scripts/lib/target-contracts.sh +37 -1
  144. package/scripts/sync-status-from-epics.sh +8 -0
  145. package/scripts/test-target-contracts.sh +73 -0
  146. package/scripts/tombstone-skill.sh +6 -0
  147. package/skills/craft-skill/SKILL.md +2 -2
  148. package/skills/define-success/SKILL.md +7 -61
  149. package/skills/deploy/SKILL.md +1 -1
  150. package/skills/elaborate-spec/SKILL.md +1 -1
  151. package/skills/harden-vps/REFERENCE.md +39 -36
  152. package/skills/harden-vps/SKILL.md +24 -24
  153. package/skills/investigate-bug/SKILL.md +2 -2
  154. package/skills/orchestrate-project/REFERENCE.md +1 -1
  155. package/skills/plan-refactor/SKILL.md +2 -2
  156. package/skills/plan-release/SKILL.md +2 -2
  157. package/skills/plan-work/SKILL.md +1 -1
  158. package/skills/security-review/fixtures/CWE-639-idor-negative.go +1 -1
  159. package/skills/security-review/fixtures/CWE-639-idor-positive.go +1 -1
  160. package/skills/using-bigpowers/SKILL.md +2 -2
  161. package/skills/wire-ci/REFERENCE.md +11 -14
  162. package/skills-lock.json +12 -12
  163. package/.fix_regex.sh +0 -16
  164. package/.hermes-verify-sed-fix.py +0 -53
  165. package/_test_e28s01.sh +0 -2
  166. package/audit-independent-unwaived-2026-07-06.md +0 -49
  167. package/hermes-verify-sed-fix.py +0 -30
  168. package/instructions +0 -1
  169. package/scripts/hermes-verify-e39s02.sh +0 -28
  170. package/test_figlet.py +0 -17
@@ -1,16 +1,16 @@
1
1
  ---
2
2
  name: harden-vps
3
3
  model: haiku
4
- description: "Harden a production Linux VPS for BigBase across three layers — BigBase app (systemd hardening, monitoring alerts, backup automation), Ubuntu OS (UFW firewall, fail2ban SSH, unattended-upgrades, SSH hardening), and Contabo VPS (health checks, daily backups, monthly snapshots). Use when the user wants to secure a production server, harden a VPS, audit server security, or mentions production hardening, VPS security, or harden the server."
4
+ description: "Harden a production Linux VPS for your application across three layers — application (systemd hardening, monitoring alerts, backup automation), Ubuntu OS (UFW firewall, fail2ban SSH, unattended-upgrades, SSH hardening), and VPS provider (health checks, daily backups, monthly snapshots). Use when the user wants to secure a production server, harden a VPS, audit server security, or mentions production hardening, VPS security, or harden the server."
5
5
  ---
6
6
 
7
7
  # Harden VPS
8
8
 
9
- Three-layer production hardening for BigBase on Contabo VPS. Each layer independently verifiable. Apply OS first (firewall blocks attacks immediately), then BigBase (alerts + backups), then Contabo (snapshots). See [REFERENCE.md](REFERENCE.md) for full script bodies, systemd unit template, and gotchas.
9
+ Three-layer production hardening for a self-hosted app on any VPS. Each layer independently verifiable. Apply OS first (firewall blocks attacks immediately), then your application (alerts + backups), then your VPS provider (snapshots). See [REFERENCE.md](REFERENCE.md) for full script bodies, systemd unit template, and gotchas.
10
10
 
11
11
  ## Quick start
12
12
 
13
- SSH as root into the VPS. Find credentials in the Contabo Customer Control Panel.
13
+ SSH as root into the VPS. Find credentials in the your VPS provider Customer Control Panel.
14
14
 
15
15
  > **HARD GATE** — Run `ufw status` first. No firewall = layer 1 takes priority over everything.
16
16
 
@@ -35,21 +35,21 @@ apt install -y unattended-upgrades && dpkg-reconfigure -plow unattended-upgrades
35
35
  # SSH: PermitRootLogin no, PasswordAuthentication no, PubkeyAuthentication yes
36
36
  # → verify: sshd -T | grep -E 'permitrootlogin no|passwordauthentication no'
37
37
 
38
- # Deploy healthcheck.sh → /opt/bigbase/scripts/healthcheck.sh
39
- # Crontab: */5 * * * * /opt/bigbase/scripts/healthcheck.sh
38
+ # Deploy healthcheck.sh → /opt/your-app/scripts/healthcheck.sh
39
+ # Crontab: */5 * * * * /opt/your-app/scripts/healthcheck.sh
40
40
  ```
41
41
 
42
- ## Layer 2 — BigBase application
42
+ ## Layer 2 — applicationlication
43
43
 
44
44
  ```bash
45
- # systemd: User=bigbase, NoNewPrivileges=yes, ProtectSystem=full,
45
+ # systemd: User=your-app, NoNewPrivileges=yes, ProtectSystem=full,
46
46
  # ProtectKernelTunables=yes, ProtectKernelModules=yes,
47
47
  # ProtectControlGroups=yes, RestrictAddressFamilies=AF_INET AF_INET6,
48
48
  # RestrictRealtime=yes, PrivateTmp=yes, LimitNOFILE=65536
49
- # → verify: systemctl show bigbase -p NoNewPrivileges -p ProtectSystem -p User
49
+ # → verify: systemctl show your-app -p NoNewPrivileges -p ProtectSystem -p User
50
50
 
51
- # Alerts (BigBase requires auth; insert via SQLite)
52
- sqlite3 /opt/bigbase/data/bigbase.db "
51
+ # Alerts (your application requires auth; insert via SQLite)
52
+ sqlite3 /opt/your-app/data/your-app.db "
53
53
  INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
54
54
  VALUES ('a1','Disk >80%','disk_used_percent',80,'gt',1,300);
55
55
  INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
@@ -57,14 +57,14 @@ VALUES ('a2','CPU >90%','cpu_percent',90,'gt',1,60);
57
57
  INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
58
58
  VALUES ('a3','RAM >85%','mem_used_percent',85,'gt',1,120);
59
59
  "
60
- systemctl restart bigbase
60
+ systemctl restart your-app
61
61
 
62
62
  # Backup crontab (root):
63
- # 0 2 * * * cp /opt/bigbase/data/bigbase.db /backup/bigbase-$(date +\%Y\%m\%d).db
64
- # 0 3 * * * find /backup/ -name "bigbase-*.db" -mtime +90 -delete
63
+ # 0 2 * * * cp /opt/your-app/data/your-app.db /backup/your-app-$(date +\%Y\%m\%d).db
64
+ # 0 3 * * * find /backup/ -name "your-app-*.db" -mtime +90 -delete
65
65
  ```
66
66
 
67
- ## Layer 3 — Contabo VPS
67
+ ## Layer 3 — VPS provider
68
68
 
69
69
  ```bash
70
70
  # cntb CLI
@@ -72,14 +72,14 @@ curl -sL "$(curl -sL https://api.github.com/repos/contabo/cntb/releases/latest \
72
72
  | grep browser_download_url.*linux_amd64.tar.gz | head -1 | cut -d'"' -f4)" \
73
73
  | tar xz -C /usr/local/bin
74
74
 
75
- # Snapshot script → /opt/bigbase/scripts/contabo-snapshot.sh (reads from /opt/bigbase/.env)
76
- # Credentials as env vars in /opt/bigbase/.env (deployed by GitHub Actions):
75
+ # Snapshot script → /opt/your-app/scripts/contabo-snapshot.sh (reads from /opt/your-app/.env)
76
+ # Credentials as env vars in /opt/your-app/.env (deployed by GitHub Actions):
77
77
  # CONTABO_CLIENT_ID, CONTABO_CLIENT_SECRET, CONTABO_API_USER, CONTABO_API_PASSWORD
78
- # Crontab: 0 4 1 * * /opt/bigbase/scripts/contabo-snapshot.sh
78
+ # Crontab: 0 4 1 * * /opt/your-app/scripts/contabo-snapshot.sh
79
79
 
80
80
  # > HARD GATE — Snapshot cron silently fails until env vars are set in .env.
81
- # Credentials source: Contabo Customer Panel → API Details.
82
- # Local dev: add to .envrc. Production: GitHub Secrets → deploy → /opt/bigbase/.env
81
+ # Credentials source: your VPS provider Customer Panel → API Details.
82
+ # Local dev: add to .envrc. Production: GitHub Secrets → deploy → /opt/your-app/.env
83
83
  ```
84
84
 
85
85
  ## CRITICAL GOTCHAS
@@ -87,7 +87,7 @@ curl -sL "$(curl -sL https://api.github.com/repos/contabo/cntb/releases/latest \
87
87
  1. **Shell escaping in Orca terminals:** `$VAR`, `$(…)`, and `%` get eaten by the local shell. Always use base64: `echo '<base64>' | base64 -d > script.sh`
88
88
  2. **Crontab `%`:** cron interprets `%` as newline. Escape as `\%` in `$(date +\%Y\%m\%d)`
89
89
  3. **fail2ban exit 255:** means a jail references a missing log file. Remove the broken jail, restart.
90
- 4. **BigBase alerts need auth:** POST to `/api/monitoring/alerts` requires Bearer token. Workaround: insert directly into SQLite, then restart BigBase.
90
+ 4. **your application alerts need auth:** POST to `/api/monitoring/alerts` requires Bearer token. Workaround: insert directly into SQLite, then restart your application.
91
91
 
92
92
  ## Verify all 8 gates
93
93
 
@@ -96,10 +96,10 @@ ufw status|grep -q active||echo FAIL:ufw
96
96
  fail2ban-client status sshd>/dev/null 2>&1||echo FAIL:fail2ban
97
97
  systemctl is-active unattended-upgrades|grep -q active||echo FAIL:unattended
98
98
  sshd -T|grep -q 'permitrootlogin no'||echo FAIL:sshd
99
- systemctl show bigbase -p NoNewPrivileges|grep -q yes||echo FAIL:systemd
100
- systemctl is-active bigbase|grep -q active||echo FAIL:bigbase
101
- sqlite3 /opt/bigbase/data/bigbase.db "SELECT count(*) FROM monitoring_alerts"|grep -q 3||echo FAIL:alerts
102
- crontab -l|grep -q healthcheck&&crontab -l|grep -q bigbase.db&&crontab -l|grep -q contabo-snapshot||echo FAIL:crontab
99
+ systemctl show your-app -p NoNewPrivileges|grep -q yes||echo FAIL:systemd
100
+ systemctl is-active your-app|grep -q active||echo FAIL:your-app
101
+ sqlite3 /opt/your-app/data/your-app.db "SELECT count(*) FROM monitoring_alerts"|grep -q 3||echo FAIL:alerts
102
+ crontab -l|grep -q healthcheck&&crontab -l|grep -q your-app.db&&crontab -l|grep -q contabo-snapshot||echo FAIL:crontab
103
103
  echo ALL 8 GATES PASSED
104
104
  ```
105
105
 
@@ -111,47 +111,47 @@ echo ALL 8 GATES PASSED
111
111
 
112
112
  ## Health check script
113
113
 
114
- Deploy to `/opt/bigbase/scripts/healthcheck.sh`:
114
+ Deploy to `/opt/your-app/scripts/healthcheck.sh`:
115
115
 
116
116
  ```bash
117
117
  #!/bin/bash
118
- LOG=/var/log/bigbase/health.log
119
- mkdir -p /var/log/bigbase
118
+ LOG=/var/log/your-app/health.log
119
+ mkdir -p /var/log/your-app
120
120
  DISK=$(df / | awk 'NR==2 {print $5}' | tr -d '%')
121
121
  RAM=$(free | awk '/Mem:/ {printf "%.0f", $3/$2*100}')
122
122
  NOW=$(date -Iseconds)
123
123
  [ "$DISK" -gt 85 ] && echo "$NOW ALERT: Disk ${DISK}%" >> "$LOG"
124
124
  [ "$RAM" -gt 90 ] && echo "$NOW ALERT: RAM ${RAM}%" >> "$LOG"
125
- systemctl is-active --quiet bigbase || { echo "$NOW ALERT: BigBase DOWN" >> "$LOG"; systemctl restart bigbase; }
125
+ systemctl is-active --quiet your-app || { echo "$NOW ALERT: your application DOWN" >> "$LOG"; systemctl restart your-app; }
126
126
  [ -f /var/run/reboot-required ] && echo "$NOW WARN: kernel reboot pending" >> "$LOG"
127
127
  ```
128
128
 
129
- Make executable: `chmod +x /opt/bigbase/scripts/healthcheck.sh`
129
+ Make executable: `chmod +x /opt/your-app/scripts/healthcheck.sh`
130
130
 
131
- ## BigBase systemd unit
131
+ ## your application systemd unit
132
132
 
133
- Full hardened unit at `/etc/systemd/system/bigbase.service`:
133
+ Full hardened unit at `/etc/systemd/system/your-app.service`:
134
134
 
135
135
  ```ini
136
136
  [Unit]
137
- Description=BigBase BaaS Platform
138
- Documentation=https://github.com/danielvm-git/bigbase
137
+ Description=your application BaaS Platform
138
+ Documentation=https://github.com/example-org/example-app
139
139
  After=network.target caddy.service
140
140
  Wants=caddy.service
141
141
 
142
142
  [Service]
143
143
  Type=simple
144
- User=bigbase
145
- Group=bigbase
146
- WorkingDirectory=/opt/bigbase
147
- ExecStart=/opt/bigbase/bin/bigbase serve \
144
+ User=your-app
145
+ Group=your-app
146
+ WorkingDirectory=/opt/your-app
147
+ ExecStart=/opt/your-app/bin/your-app serve \
148
148
  --port 8080 \
149
- --db /opt/bigbase/data/bigbase.db \
149
+ --db /opt/your-app/data/your-app.db \
150
150
  --sites-domain <your-domain.example.com>
151
- EnvironmentFile=-/opt/bigbase/.env
152
- Environment=BIGBASE_HOME=/opt/bigbase
153
- Environment=HOME=/opt/bigbase
154
- Environment=NPM_CONFIG_CACHE=/opt/bigbase/.npm
151
+ EnvironmentFile=-/opt/your-app/.env
152
+ Environment=APP_HOME=/opt/your-app
153
+ Environment=HOME=/opt/your-app
154
+ Environment=NPM_CONFIG_CACHE=/opt/your-app/.npm
155
155
  Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
156
156
  Restart=always
157
157
  RestartSec=5
@@ -168,11 +168,11 @@ ProtectKernelModules=yes
168
168
  ProtectControlGroups=yes
169
169
  RestrictAddressFamilies=AF_INET AF_INET6
170
170
  RestrictRealtime=yes
171
- ReadWritePaths=/opt/bigbase/data
172
- ReadWritePaths=/opt/bigbase/backups
173
- ReadWritePaths=/opt/bigbase/secrets
174
- ReadWritePaths=/opt/bigbase/.npm
175
- ReadWritePaths=/opt/bigbase/logs
171
+ ReadWritePaths=/opt/your-app/data
172
+ ReadWritePaths=/opt/your-app/backups
173
+ ReadWritePaths=/opt/your-app/secrets
174
+ ReadWritePaths=/opt/your-app/.npm
175
+ ReadWritePaths=/opt/your-app/logs
176
176
  LimitNOFILE=65536
177
177
 
178
178
  [Install]
@@ -192,17 +192,20 @@ bantime = 3600
192
192
  findtime = 600
193
193
  ```
194
194
 
195
- Note: BigBase auth jail deferred — BigBase logs to journald, not a file. To enable, use `backend = systemd` with a journald filter.
195
+ Note: your application auth jail deferred — your application logs to journald, not a file. To enable, use `backend = systemd` with a journald filter.
196
196
 
197
- ## contabo-snapshot.sh
197
+ ## provider-snapshot.sh — worked example (Contabo API)
198
198
 
199
- Deploy to `/opt/bigbase/scripts/contabo-snapshot.sh`. Reads credentials from `/opt/bigbase/.env` (same file used by BigBase systemd unit):
199
+ > Snapshot APIs are provider-specific. This is one worked example, not a
200
+ > bigpowers default; swap the auth and endpoint calls for your own provider.
201
+
202
+ Deploy to `/opt/your-app/scripts/contabo-snapshot.sh`. Reads credentials from `/opt/your-app/.env` (same file used by your application systemd unit):
200
203
 
201
204
  ```bash
202
205
  #!/bin/bash
203
206
  set -e
204
- LOG=/var/log/bigbase/snapshot.log
205
- ENVFILE=/opt/bigbase/.env
207
+ LOG=/var/log/your-app/snapshot.log
208
+ ENVFILE=/opt/your-app/.env
206
209
  INSTANCE_ID=<your-contabo-instance-id>
207
210
 
208
211
  [ -f "$ENVFILE" ] || { echo "$(date -Iseconds) ERROR: $ENVFILE missing" >> "$LOG"; exit 1; }
@@ -231,9 +234,9 @@ echo >> "$LOG"
231
234
  echo "$(date -Iseconds) Snapshot requested for $INSTANCE_ID" >> "$LOG"
232
235
  ```
233
236
 
234
- ## Contabo credentials
237
+ ## your VPS provider credentials
235
238
 
236
- Add to `/opt/bigbase/.env` (same file used by BigBase systemd unit, deployed by GitHub Actions):
239
+ Add to `/opt/your-app/.env` (same file used by your application systemd unit, deployed by GitHub Actions):
237
240
 
238
241
  ```
239
242
  CONTABO_CLIENT_ID=
@@ -242,13 +245,13 @@ CONTABO_API_USER=
242
245
  CONTABO_API_PASSWORD=
243
246
  ```
244
247
 
245
- Source: Contabo Customer Control Panel → API Details. ClientId and ClientSecret are generated there. API User is your email. API Password is set separately in the panel.
248
+ Source: your VPS provider Customer Control Panel → API Details. ClientId and ClientSecret are generated there. API User is your email. API Password is set separately in the panel.
246
249
 
247
- **Pipeline:** GitHub Secrets → deploy workflow → `/opt/bigbase/.env` on VPS. For local dev (`cntb get instances`), add to `.envrc`.
250
+ **Pipeline:** GitHub Secrets → deploy workflow → `/opt/your-app/.env` on VPS. For local dev (`cntb get instances`), add to `.envrc`.
248
251
 
249
- ## Contabo instance info template
252
+ ## your VPS provider instance info template
250
253
 
251
- Fill in your instance details from the Contabo Customer Control Panel:
254
+ Fill in your instance details from the your VPS provider Customer Control Panel:
252
255
 
253
256
  ```
254
257
  IP: <your-instance-ip>
@@ -260,7 +263,7 @@ Default user: root
260
263
  Customer ID: <your-customer-id>
261
264
  ```
262
265
 
263
- ## BigBase monitoring alert SQL
266
+ ## your application monitoring alert SQL
264
267
 
265
268
  ```sql
266
269
  INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, duration_seconds)
@@ -273,7 +276,7 @@ INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, d
273
276
  VALUES ('alert-003', 'VPS RAM above 85%', 'mem_used_percent', 85, 'gt', 1, 120);
274
277
  ```
275
278
 
276
- Alerts are loaded at BigBase startup. Restart with `systemctl restart bigbase` after inserting.
279
+ Alerts are loaded at your application startup. Restart with `systemctl restart your-app` after inserting.
277
280
 
278
281
  ## Base64 encoding workaround
279
282
 
@@ -123,5 +123,5 @@ After writing the bug file, print a one-line summary of the root cause and sugge
123
123
 
124
124
  <!-- story: e35s10 -->
125
125
 
126
- - [Feathers' Seams & Characterization Tests](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/feathers.md) — seam types, characterization tests, and the legacy code change algorithm
127
- - [Fowler's Code Smells](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/fowler.md) — identifying structural problems by smell before investigating
126
+ - [Feathers' Seams & Characterization Tests](../../docs/references/feathers.md) — seam types, characterization tests, and the legacy code change algorithm
127
+ - [Fowler's Code Smells](../../docs/references/fowler.md) — identifying structural problems by smell before investigating
@@ -94,7 +94,7 @@ Detailed documentation for the `orchestrate-project` meta-skill.
94
94
  ### PHASE 3: PLAN
95
95
  - **Goal**: Write a verifiable implementation plan with success criteria.
96
96
  - **Deliverables**: `release-plan.yaml`, `epics/eNN-*.yaml` with `verify:` per task.
97
- - **Skills**: `scope-work`, `slice-tasks`, `define-success`, `plan-work`.
97
+ - **Skills**: `scope-work`, `slice-tasks`, `plan-work`.
98
98
  - **Gate**: Quality (request-review ≥94%) + slopcheck [SUS]/[SLOP].
99
99
 
100
100
  ### PHASE 4: BUILD
@@ -81,7 +81,7 @@ After writing `specs/REFACTOR_LATEST.md`, suggest running `kickoff-branch` next
81
81
 
82
82
  <!-- story: e35s10 -->
83
83
 
84
- - [Fowler's Refactoring Catalog](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
85
- - [Beck's Tidy First?](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/kent-beck.md) — structural change before behavioral change
84
+ - [Fowler's Refactoring Catalog](../../docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
85
+ - [Beck's Tidy First?](../../docs/references/kent-beck.md) — structural change before behavioral change
86
86
 
87
87
  ## Verify
@@ -17,7 +17,7 @@ Synthesize the conversation context into `specs/release-plan.yaml` (index) and s
17
17
  |------|---------|
18
18
  | `specs/release-plan.yaml` | `release.version`, semver bump hint, WSJF-ordered epic list with `id`, `capsule_dir`, `wsjf`, `bcps` — **no story status** |
19
19
  | `specs/epics/eNN-<slug>/epic.yaml` | Epic manifest: `id`, `title`, `wsjf`, `total_bcps`, `status`, `stories[]` list |
20
- | `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md) with 20 sections and Gherkin acceptance criteria |
20
+ | `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](../../docs/countable-story-format.md) with 20 sections and Gherkin acceptance criteria |
21
21
  | `specs/epics/eNN-<slug>/eNNsYY-tasks.yaml` | Decoupled task checklist with `verify:` commands per task |
22
22
  | `specs/execution-status.yaml` | Flat key-value store for story status (`eNNsYY: todo`) |
23
23
 
@@ -102,7 +102,7 @@ stories:
102
102
  ```
103
103
  ### 6. Save story specs (countable-story-format .md)
104
104
 
105
- Each story becomes a standalone `.md` file following [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md). Minimum: maturity 3 (Countable) with all 20 sections present. Acceptance criteria in §17 use Gherkin scenarios.
105
+ Each story becomes a standalone `.md` file following [countable-story-format.md](../../docs/countable-story-format.md). Minimum: maturity 3 (Countable) with all 20 sections present. Acceptance criteria in §17 use Gherkin scenarios.
106
106
  ### 7. Save decoupled task files (`-tasks.yaml`)
107
107
 
108
108
  Each story has a decoupled `-tasks.yaml` with implementation steps:
@@ -12,7 +12,7 @@ description: "PLANNING SPINE STEP 3 of 3 — Plan the work: write detailed imple
12
12
 
13
13
  Produce a detailed, verifiable implementation plan in the **active epic capsule directory** (`specs/epics/eNN-slug/`). Output: a story spec `.md` file (countable-story-format) and a decoupled `eNNsYY-tasks.yaml` with runnable verify commands. "I think it works" is not a step.
14
14
 
15
- > **HARD GATE** — Do NOT proceed with a plan until the task's success criteria are clear. If success is ambiguous, run `define-success` first to convert the task into "step → verify: <cmd>" pairs.
15
+ > **HARD GATE** — Do NOT proceed with a plan until the task's success criteria are clear. If success is ambiguous, convert the task into "step → verify: `<cmd>`" pairs here before writing tasks — every task ships a runnable `verify:` or the plan is not done.
16
16
  >
17
17
  > **RECURSIVE DISCIPLINE** — This lifecycle applies to EVERY task, including updating these skills. Never skip planning because a task is "meta" or "just documentation."
18
18
 
@@ -8,7 +8,7 @@ description: "One-time bootstrap that introduces the bigpowers skills system, th
8
8
  > **HARD GATE** — **HARD GATE** — This skill is the entry point. Do NOT skip it when onboarding new users or starting a new session. It establishes the bigpowers methodology, lifecycle phases, and conventions.
9
9
 
10
10
 
11
- Welcome to **bigpowers** — a lifecycle of **70** agent skills for production-ready, TDD-driven software by solo developers.
11
+ Welcome to **bigpowers** — a lifecycle of agent skills for production-ready, TDD-driven software by solo developers. The live catalog and its count are generated in [`SKILL-INDEX.md`](../../SKILL-INDEX.md); never hardcode the number here.
12
12
 
13
13
  ## Install
14
14
 
@@ -37,7 +37,7 @@ DISCOVER survey-context → research-first → elaborate-spec
37
37
  ↓
38
38
  DESIGN model-domain / define-language / grill-me / deepen-architecture / design-interface
39
39
  ↓
40
- PLAN scope-work → slice-tasks → define-success → plan-work / plan-refactor
40
+ PLAN scope-work → slice-tasks → plan-work / plan-refactor
41
41
  ↓
42
42
  INITIATE kickoff-branch → guard-git / hook-commits / seed-conventions
43
43
  ↓
@@ -258,7 +258,7 @@ jobs:
258
258
 
259
259
  ---
260
260
 
261
- ## Reference block 2 — deploy.yml (BigBase, excerpt)
261
+ ## Reference block 2 — deploy.yml (generic web app, excerpt)
262
262
 
263
263
  ```yaml
264
264
  name: Deploy
@@ -276,7 +276,7 @@ concurrency:
276
276
  cancel-in-progress: false
277
277
 
278
278
  env:
279
- SITE_URL: "https://CHANGE-ME.bigbase.click"
279
+ SITE_URL: "https://CHANGE-ME.example.com"
280
280
 
281
281
  jobs:
282
282
  deploy:
@@ -292,18 +292,15 @@ jobs:
292
292
  github-token: ${{ secrets.GITHUB_TOKEN }}
293
293
  run-id: ${{ github.event.workflow_run.id }}
294
294
  path: deploy-meta
295
- # BigBase-specific composite action, not a bigpowers default: this deploy
296
- # example targets the author's own hosting stack. Replace it with your
297
- # platform's deploy step (or drop the deploy job entirely for CLI and
298
- # library repos). bigpowers itself ships no deploy templates. (GH #104)
299
- - uses: danielvm-git/.github/actions/bigbase-deploy@9c56ac10c629f3baa110ddb19136579e3c90d690 # v1
300
- with:
301
- site_id: ${{ secrets.BIGBASE_SITE_ID }}
302
- app_type: go
303
- site_url: ${{ env.SITE_URL }}
304
- deploy_token: ${{ secrets.BIGBASE_DEPLOY_TOKEN }}
305
- ref: ${{ steps.meta.outputs.ref }}
306
- skip_health_check: true
295
+ # Placeholder deploy step — bigpowers ships no deploy templates and pins
296
+ # no third-party action. Substitute your platform's own step here, or drop
297
+ # the deploy job entirely for CLI and library repos. Pin whatever action
298
+ # you choose to a full commit SHA rather than a tag. (GH #104)
299
+ - name: Deploy
300
+ run: |
301
+ echo "Replace this step with your platform's deploy command."
302
+ echo "commit=$(jq -r .sha deploy-meta/deploy-meta.json)"
303
+ exit 1
307
304
  - name: Health check
308
305
  run: |
309
306
  curl -sf "${{ env.SITE_URL }}" || exit 1
@@ -44,7 +44,7 @@ Skill-body instructional prose MUST follow [AGENTIC-STE.md](../../docs/AGENTIC-S
44
44
  - Any reference materials to include?
45
45
  - What specs/ output does it produce (if any)?
46
46
 
47
- 2. **Verify Principles** — Ensure the skill aligns with [PRINCIPLES.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/PRINCIPLES.md):
47
+ 2. **Verify Principles** — Ensure the skill aligns with [PRINCIPLES.md](../../docs/PRINCIPLES.md):
48
48
  - Is it atomic (verb-noun)?
49
49
  - Is it "deep" (simple interface, complex internal logic)?
50
50
  - Does it include Hard Gates?
@@ -58,7 +58,7 @@ Skill-body instructional prose MUST follow [AGENTIC-STE.md](../../docs/AGENTIC-S
58
58
  **Auto-skill from library README:** When user provides a library README or API docs URL, extract triggers and HARD GATEs.
59
59
  Draft verify commands and specs/ output into SKILL.md. Do NOT invent APIs not in the source.
60
60
 
61
- 4. Add `model:` frontmatter (`haiku` | `sonnet` | `opus`) per [model-profiles.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/model-profiles.md).
61
+ 4. Add `model:` frontmatter (`haiku` | `sonnet` | `opus`) per [model-profiles.md](../../docs/references/model-profiles.md).
62
62
 
63
63
  > **STREAM CONTINUITY** — When writing file content, output in continuous chunks of ~200 lines. Do not pause. Continue immediately until complete. If you need time, emit a placeholder comment rather than going silent.
64
64
 
@@ -1,65 +1,12 @@
1
1
  ---
2
2
  name: define-success
3
- model: sonnet
4
- description: "Convert an imperative task statement into explicit \"step → verify: <cmd>\" pairs before implementation begins. Use before plan-work when success criteria are unclear, when a task lacks verifiable checkpoints, or when user says \"how will we know this is done?\"."
3
+ model: haiku
4
+ description: "TOMBSTONE — renamed/merged to plan-work. This stub resolves for one release then is removed."
5
5
  ---
6
6
 
7
- # Define Success
7
+ # define-success (tombstoned)
8
8
 
9
- Transform "do X" into "step → verify: <cmd>" pairs. This is the pre-flight check before `plan-work` or `develop-tdd` — it makes success observable and removes ambiguity about when you're done.
9
+ This skill has been renamed or merged into `plan-work`. Use `plan-work` instead.
10
10
 
11
- > **HARD GATE** — Success criteria must be testable and user-observable. "Code should be fast" is not testable. "Pageload latency < 2s" is testable.
12
-
13
- ## Why this matters
14
-
15
- "Implement user authentication" is not a plan. It has no checkpoints, no evidence requirement, and no way to know if you're done. The Karpathy principle: every step must be independently verifiable with a runnable command. If you can't verify it, you can't prove it works.
16
-
17
- ## Process
18
-
19
- ### 1. Read the task statement
20
-
21
- Take the task as stated (from conversation, or from `specs/epics/ (see slice-tasks)`, or from `specs/product/SCOPE_LATEST.yaml`).
22
-
23
- ### 2. Break into observable outcomes
24
-
25
- For each thing the task requires, identify:
26
- - The smallest unit of observable behavior that proves something works
27
- - The command that proves it
28
-
29
- Work at the level of behaviors (what the system does) not implementation steps (how you'll write the code).
30
-
31
- ### 3. Write the pairs
32
-
33
- Format each pair as:
34
- ```
35
- N. [What must be true] → verify: <runnable command>
36
- ```
37
-
38
- Examples:
39
-
40
- ```
41
- Task: "Add user registration to the API"
42
-
43
- 1. POST /users accepts {email, name} and returns {id, email, name} → verify: curl -s -X POST http://localhost:3000/users -H 'Content-Type: application/json' -d '{"email":"test@test.com","name":"Test"}' | jq .id
44
- 2. Duplicate email is rejected with 409 → verify: npm test -- user-registration.test.ts
45
- 3. Missing email is rejected with 400 and descriptive error → verify: npm test -- user-validation.test.ts
46
- 4. Password is hashed (never stored in plaintext) → verify: npm test -- user-security.test.ts
47
- 5. All existing tests still pass → verify: npm test
48
- ```
49
-
50
- ### 4. Challenge completeness
51
-
52
- Ask yourself:
53
- - Is there any behavior the task requires that isn't covered by a verify step?
54
- - Is every verify step runnable right now without additional setup?
55
- - Does the final step verify the whole thing end-to-end?
56
-
57
- Add any missing pairs.
58
-
59
- ### 5. Output
60
-
61
- Present the pairs to the user and ask: "Does this capture everything the task requires? Anything missing?"
62
-
63
- Once confirmed, these pairs become the skeleton for `plan-work`'s steps. Pass them along when calling `plan-work`.
64
-
65
- ## Verify
11
+ This stub exists for one release as a transition aid, then is removed once
12
+ `scripts/validate-tombstones.sh` flags it as expired.
@@ -72,7 +72,7 @@ Platform-agnostic — supports multiple deployment targets via environment varia
72
72
  |----------|---------|---------|
73
73
  | Vercel | `VERCEL_TOKEN`, `VERCEL_PROJECT_ID` | `vercel deploy --prod --token $VERCEL_TOKEN` |
74
74
  | Netlify | `NETLIFY_AUTH_TOKEN`, `NETLIFY_SITE_ID` | `netlify deploy --prod --auth $NETLIFY_AUTH_TOKEN --dir $ARTIFACT_DIR` |
75
- | BigBase MCP | MCP tool call | `mcp deploy` via BigBase server |
75
+ | Platform MCP | MCP tool call | `mcp deploy` via your platform MCP server |
76
76
  | rsync/SSH | `DEPLOY_SSH_USER`, `DEPLOY_SSH_HOST`, `DEPLOY_SSH_PATH` | `rsync -avz $ARTIFACT_DIR/ $DEPLOY_SSH_USER@$DEPLOY_SSH_HOST:$DEPLOY_SSH_PATH` |
77
77
  | Custom | `DEPLOY_COMMAND` | Run any deploy command string |
78
78
 
@@ -63,7 +63,7 @@ Once the user has answered the main questions, probe for assumptions:
63
63
 
64
64
  ### 4. Synthesize and confirm
65
65
 
66
- Summarize your understanding in 3–5 bullet points aligned with [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md):
66
+ Summarize your understanding in 3–5 bullet points aligned with [countable-story-format.md](../../docs/countable-story-format.md):
67
67
  - The problem (feeds into §1 Business narrative)
68
68
  - The solution and main flow (feeds into §5)
69
69
  - The key constraints and alternative flows (feeds into §6)