bigpowers 2.86.4 → 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 (168) 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 +7 -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/land-branch.sh +9 -3
  139. package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
  140. package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
  141. package/scripts/lib/golden-suite-gates.sh +4 -0
  142. package/scripts/lib/target-contracts.sh +37 -1
  143. package/scripts/test-target-contracts.sh +73 -0
  144. package/scripts/tombstone-skill.sh +6 -0
  145. package/skills/craft-skill/SKILL.md +2 -2
  146. package/skills/define-success/SKILL.md +7 -61
  147. package/skills/deploy/SKILL.md +1 -1
  148. package/skills/elaborate-spec/SKILL.md +1 -1
  149. package/skills/harden-vps/REFERENCE.md +39 -36
  150. package/skills/harden-vps/SKILL.md +24 -24
  151. package/skills/investigate-bug/SKILL.md +2 -2
  152. package/skills/orchestrate-project/REFERENCE.md +1 -1
  153. package/skills/plan-refactor/SKILL.md +2 -2
  154. package/skills/plan-release/SKILL.md +2 -2
  155. package/skills/plan-work/SKILL.md +1 -1
  156. package/skills/security-review/fixtures/CWE-639-idor-negative.go +1 -1
  157. package/skills/security-review/fixtures/CWE-639-idor-positive.go +1 -1
  158. package/skills/using-bigpowers/SKILL.md +2 -2
  159. package/skills/wire-ci/REFERENCE.md +11 -14
  160. package/skills-lock.json +12 -12
  161. package/.fix_regex.sh +0 -16
  162. package/.hermes-verify-sed-fix.py +0 -53
  163. package/_test_e28s01.sh +0 -2
  164. package/audit-independent-unwaived-2026-07-06.md +0 -49
  165. package/hermes-verify-sed-fix.py +0 -30
  166. package/instructions +0 -1
  167. package/scripts/hermes-verify-e39s02.sh +0 -28
  168. package/test_figlet.py +0 -17
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  name: harden-vps
3
- 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."
3
+ 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."
4
4
  ---
5
5
 
6
6
  # Harden VPS
7
7
 
8
- 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.
8
+ 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.
9
9
 
10
10
  ## Quick start
11
11
 
12
- SSH as root into the VPS. Find credentials in the Contabo Customer Control Panel.
12
+ SSH as root into the VPS. Find credentials in the your VPS provider Customer Control Panel.
13
13
 
14
14
  > **HARD GATE** — Run `ufw status` first. No firewall = layer 1 takes priority over everything.
15
15
 
@@ -34,21 +34,21 @@ apt install -y unattended-upgrades && dpkg-reconfigure -plow unattended-upgrades
34
34
  # SSH: PermitRootLogin no, PasswordAuthentication no, PubkeyAuthentication yes
35
35
  # → verify: sshd -T | grep -E 'permitrootlogin no|passwordauthentication no'
36
36
 
37
- # Deploy healthcheck.sh → /opt/bigbase/scripts/healthcheck.sh
38
- # Crontab: */5 * * * * /opt/bigbase/scripts/healthcheck.sh
37
+ # Deploy healthcheck.sh → /opt/your-app/scripts/healthcheck.sh
38
+ # Crontab: */5 * * * * /opt/your-app/scripts/healthcheck.sh
39
39
  ```
40
40
 
41
- ## Layer 2 — BigBase application
41
+ ## Layer 2 — applicationlication
42
42
 
43
43
  ```bash
44
- # systemd: User=bigbase, NoNewPrivileges=yes, ProtectSystem=full,
44
+ # systemd: User=your-app, NoNewPrivileges=yes, ProtectSystem=full,
45
45
  # ProtectKernelTunables=yes, ProtectKernelModules=yes,
46
46
  # ProtectControlGroups=yes, RestrictAddressFamilies=AF_INET AF_INET6,
47
47
  # RestrictRealtime=yes, PrivateTmp=yes, LimitNOFILE=65536
48
- # → verify: systemctl show bigbase -p NoNewPrivileges -p ProtectSystem -p User
48
+ # → verify: systemctl show your-app -p NoNewPrivileges -p ProtectSystem -p User
49
49
 
50
- # Alerts (BigBase requires auth; insert via SQLite)
51
- sqlite3 /opt/bigbase/data/bigbase.db "
50
+ # Alerts (your application requires auth; insert via SQLite)
51
+ sqlite3 /opt/your-app/data/your-app.db "
52
52
  INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
53
53
  VALUES ('a1','Disk >80%','disk_used_percent',80,'gt',1,300);
54
54
  INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
@@ -56,14 +56,14 @@ VALUES ('a2','CPU >90%','cpu_percent',90,'gt',1,60);
56
56
  INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
57
57
  VALUES ('a3','RAM >85%','mem_used_percent',85,'gt',1,120);
58
58
  "
59
- systemctl restart bigbase
59
+ systemctl restart your-app
60
60
 
61
61
  # Backup crontab (root):
62
- # 0 2 * * * cp /opt/bigbase/data/bigbase.db /backup/bigbase-$(date +\%Y\%m\%d).db
63
- # 0 3 * * * find /backup/ -name "bigbase-*.db" -mtime +90 -delete
62
+ # 0 2 * * * cp /opt/your-app/data/your-app.db /backup/your-app-$(date +\%Y\%m\%d).db
63
+ # 0 3 * * * find /backup/ -name "your-app-*.db" -mtime +90 -delete
64
64
  ```
65
65
 
66
- ## Layer 3 — Contabo VPS
66
+ ## Layer 3 — VPS provider
67
67
 
68
68
  ```bash
69
69
  # cntb CLI
@@ -71,14 +71,14 @@ curl -sL "$(curl -sL https://api.github.com/repos/contabo/cntb/releases/latest \
71
71
  | grep browser_download_url.*linux_amd64.tar.gz | head -1 | cut -d'"' -f4)" \
72
72
  | tar xz -C /usr/local/bin
73
73
 
74
- # Snapshot script → /opt/bigbase/scripts/contabo-snapshot.sh (reads from /opt/bigbase/.env)
75
- # Credentials as env vars in /opt/bigbase/.env (deployed by GitHub Actions):
74
+ # Snapshot script → /opt/your-app/scripts/contabo-snapshot.sh (reads from /opt/your-app/.env)
75
+ # Credentials as env vars in /opt/your-app/.env (deployed by GitHub Actions):
76
76
  # CONTABO_CLIENT_ID, CONTABO_CLIENT_SECRET, CONTABO_API_USER, CONTABO_API_PASSWORD
77
- # Crontab: 0 4 1 * * /opt/bigbase/scripts/contabo-snapshot.sh
77
+ # Crontab: 0 4 1 * * /opt/your-app/scripts/contabo-snapshot.sh
78
78
 
79
79
  # > HARD GATE — Snapshot cron silently fails until env vars are set in .env.
80
- # Credentials source: Contabo Customer Panel → API Details.
81
- # Local dev: add to .envrc. Production: GitHub Secrets → deploy → /opt/bigbase/.env
80
+ # Credentials source: your VPS provider Customer Panel → API Details.
81
+ # Local dev: add to .envrc. Production: GitHub Secrets → deploy → /opt/your-app/.env
82
82
  ```
83
83
 
84
84
  ## CRITICAL GOTCHAS
@@ -86,7 +86,7 @@ curl -sL "$(curl -sL https://api.github.com/repos/contabo/cntb/releases/latest \
86
86
  1. **Shell escaping in Orca terminals:** `$VAR`, `$(…)`, and `%` get eaten by the local shell. Always use base64: `echo '<base64>' | base64 -d > script.sh`
87
87
  2. **Crontab `%`:** cron interprets `%` as newline. Escape as `\%` in `$(date +\%Y\%m\%d)`
88
88
  3. **fail2ban exit 255:** means a jail references a missing log file. Remove the broken jail, restart.
89
- 4. **BigBase alerts need auth:** POST to `/api/monitoring/alerts` requires Bearer token. Workaround: insert directly into SQLite, then restart BigBase.
89
+ 4. **your application alerts need auth:** POST to `/api/monitoring/alerts` requires Bearer token. Workaround: insert directly into SQLite, then restart your application.
90
90
 
91
91
  ## Verify all 8 gates
92
92
 
@@ -95,10 +95,10 @@ ufw status|grep -q active||echo FAIL:ufw
95
95
  fail2ban-client status sshd>/dev/null 2>&1||echo FAIL:fail2ban
96
96
  systemctl is-active unattended-upgrades|grep -q active||echo FAIL:unattended
97
97
  sshd -T|grep -q 'permitrootlogin no'||echo FAIL:sshd
98
- systemctl show bigbase -p NoNewPrivileges|grep -q yes||echo FAIL:systemd
99
- systemctl is-active bigbase|grep -q active||echo FAIL:bigbase
100
- sqlite3 /opt/bigbase/data/bigbase.db "SELECT count(*) FROM monitoring_alerts"|grep -q 3||echo FAIL:alerts
101
- crontab -l|grep -q healthcheck&&crontab -l|grep -q bigbase.db&&crontab -l|grep -q contabo-snapshot||echo FAIL:crontab
98
+ systemctl show your-app -p NoNewPrivileges|grep -q yes||echo FAIL:systemd
99
+ systemctl is-active your-app|grep -q active||echo FAIL:your-app
100
+ sqlite3 /opt/your-app/data/your-app.db "SELECT count(*) FROM monitoring_alerts"|grep -q 3||echo FAIL:alerts
101
+ crontab -l|grep -q healthcheck&&crontab -l|grep -q your-app.db&&crontab -l|grep -q contabo-snapshot||echo FAIL:crontab
102
102
  echo ALL 8 GATES PASSED
103
103
  ```
104
104
 
@@ -110,47 +110,47 @@ echo ALL 8 GATES PASSED
110
110
 
111
111
  ## Health check script
112
112
 
113
- Deploy to `/opt/bigbase/scripts/healthcheck.sh`:
113
+ Deploy to `/opt/your-app/scripts/healthcheck.sh`:
114
114
 
115
115
  ```bash
116
116
  #!/bin/bash
117
- LOG=/var/log/bigbase/health.log
118
- mkdir -p /var/log/bigbase
117
+ LOG=/var/log/your-app/health.log
118
+ mkdir -p /var/log/your-app
119
119
  DISK=$(df / | awk 'NR==2 {print $5}' | tr -d '%')
120
120
  RAM=$(free | awk '/Mem:/ {printf "%.0f", $3/$2*100}')
121
121
  NOW=$(date -Iseconds)
122
122
  [ "$DISK" -gt 85 ] && echo "$NOW ALERT: Disk ${DISK}%" >> "$LOG"
123
123
  [ "$RAM" -gt 90 ] && echo "$NOW ALERT: RAM ${RAM}%" >> "$LOG"
124
- systemctl is-active --quiet bigbase || { echo "$NOW ALERT: BigBase DOWN" >> "$LOG"; systemctl restart bigbase; }
124
+ systemctl is-active --quiet your-app || { echo "$NOW ALERT: your application DOWN" >> "$LOG"; systemctl restart your-app; }
125
125
  [ -f /var/run/reboot-required ] && echo "$NOW WARN: kernel reboot pending" >> "$LOG"
126
126
  ```
127
127
 
128
- Make executable: `chmod +x /opt/bigbase/scripts/healthcheck.sh`
128
+ Make executable: `chmod +x /opt/your-app/scripts/healthcheck.sh`
129
129
 
130
- ## BigBase systemd unit
130
+ ## your application systemd unit
131
131
 
132
- Full hardened unit at `/etc/systemd/system/bigbase.service`:
132
+ Full hardened unit at `/etc/systemd/system/your-app.service`:
133
133
 
134
134
  ```ini
135
135
  [Unit]
136
- Description=BigBase BaaS Platform
137
- Documentation=https://github.com/danielvm-git/bigbase
136
+ Description=your application BaaS Platform
137
+ Documentation=https://github.com/example-org/example-app
138
138
  After=network.target caddy.service
139
139
  Wants=caddy.service
140
140
 
141
141
  [Service]
142
142
  Type=simple
143
- User=bigbase
144
- Group=bigbase
145
- WorkingDirectory=/opt/bigbase
146
- ExecStart=/opt/bigbase/bin/bigbase serve \
143
+ User=your-app
144
+ Group=your-app
145
+ WorkingDirectory=/opt/your-app
146
+ ExecStart=/opt/your-app/bin/your-app serve \
147
147
  --port 8080 \
148
- --db /opt/bigbase/data/bigbase.db \
148
+ --db /opt/your-app/data/your-app.db \
149
149
  --sites-domain <your-domain.example.com>
150
- EnvironmentFile=-/opt/bigbase/.env
151
- Environment=BIGBASE_HOME=/opt/bigbase
152
- Environment=HOME=/opt/bigbase
153
- Environment=NPM_CONFIG_CACHE=/opt/bigbase/.npm
150
+ EnvironmentFile=-/opt/your-app/.env
151
+ Environment=APP_HOME=/opt/your-app
152
+ Environment=HOME=/opt/your-app
153
+ Environment=NPM_CONFIG_CACHE=/opt/your-app/.npm
154
154
  Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
155
155
  Restart=always
156
156
  RestartSec=5
@@ -167,11 +167,11 @@ ProtectKernelModules=yes
167
167
  ProtectControlGroups=yes
168
168
  RestrictAddressFamilies=AF_INET AF_INET6
169
169
  RestrictRealtime=yes
170
- ReadWritePaths=/opt/bigbase/data
171
- ReadWritePaths=/opt/bigbase/backups
172
- ReadWritePaths=/opt/bigbase/secrets
173
- ReadWritePaths=/opt/bigbase/.npm
174
- ReadWritePaths=/opt/bigbase/logs
170
+ ReadWritePaths=/opt/your-app/data
171
+ ReadWritePaths=/opt/your-app/backups
172
+ ReadWritePaths=/opt/your-app/secrets
173
+ ReadWritePaths=/opt/your-app/.npm
174
+ ReadWritePaths=/opt/your-app/logs
175
175
  LimitNOFILE=65536
176
176
 
177
177
  [Install]
@@ -191,17 +191,20 @@ bantime = 3600
191
191
  findtime = 600
192
192
  ```
193
193
 
194
- Note: BigBase auth jail deferred — BigBase logs to journald, not a file. To enable, use `backend = systemd` with a journald filter.
194
+ Note: your application auth jail deferred — your application logs to journald, not a file. To enable, use `backend = systemd` with a journald filter.
195
195
 
196
- ## contabo-snapshot.sh
196
+ ## provider-snapshot.sh — worked example (Contabo API)
197
197
 
198
- Deploy to `/opt/bigbase/scripts/contabo-snapshot.sh`. Reads credentials from `/opt/bigbase/.env` (same file used by BigBase systemd unit):
198
+ > Snapshot APIs are provider-specific. This is one worked example, not a
199
+ > bigpowers default; swap the auth and endpoint calls for your own provider.
200
+
201
+ Deploy to `/opt/your-app/scripts/contabo-snapshot.sh`. Reads credentials from `/opt/your-app/.env` (same file used by your application systemd unit):
199
202
 
200
203
  ```bash
201
204
  #!/bin/bash
202
205
  set -e
203
- LOG=/var/log/bigbase/snapshot.log
204
- ENVFILE=/opt/bigbase/.env
206
+ LOG=/var/log/your-app/snapshot.log
207
+ ENVFILE=/opt/your-app/.env
205
208
  INSTANCE_ID=<your-contabo-instance-id>
206
209
 
207
210
  [ -f "$ENVFILE" ] || { echo "$(date -Iseconds) ERROR: $ENVFILE missing" >> "$LOG"; exit 1; }
@@ -230,9 +233,9 @@ echo >> "$LOG"
230
233
  echo "$(date -Iseconds) Snapshot requested for $INSTANCE_ID" >> "$LOG"
231
234
  ```
232
235
 
233
- ## Contabo credentials
236
+ ## your VPS provider credentials
234
237
 
235
- Add to `/opt/bigbase/.env` (same file used by BigBase systemd unit, deployed by GitHub Actions):
238
+ Add to `/opt/your-app/.env` (same file used by your application systemd unit, deployed by GitHub Actions):
236
239
 
237
240
  ```
238
241
  CONTABO_CLIENT_ID=
@@ -241,13 +244,13 @@ CONTABO_API_USER=
241
244
  CONTABO_API_PASSWORD=
242
245
  ```
243
246
 
244
- 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.
247
+ 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.
245
248
 
246
- **Pipeline:** GitHub Secrets → deploy workflow → `/opt/bigbase/.env` on VPS. For local dev (`cntb get instances`), add to `.envrc`.
249
+ **Pipeline:** GitHub Secrets → deploy workflow → `/opt/your-app/.env` on VPS. For local dev (`cntb get instances`), add to `.envrc`.
247
250
 
248
- ## Contabo instance info template
251
+ ## your VPS provider instance info template
249
252
 
250
- Fill in your instance details from the Contabo Customer Control Panel:
253
+ Fill in your instance details from the your VPS provider Customer Control Panel:
251
254
 
252
255
  ```
253
256
  IP: <your-instance-ip>
@@ -259,7 +262,7 @@ Default user: root
259
262
  Customer ID: <your-customer-id>
260
263
  ```
261
264
 
262
- ## BigBase monitoring alert SQL
265
+ ## your application monitoring alert SQL
263
266
 
264
267
  ```sql
265
268
  INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, duration_seconds)
@@ -272,7 +275,7 @@ INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, d
272
275
  VALUES ('alert-003', 'VPS RAM above 85%', 'mem_used_percent', 85, 'gt', 1, 120);
273
276
  ```
274
277
 
275
- Alerts are loaded at BigBase startup. Restart with `systemctl restart bigbase` after inserting.
278
+ Alerts are loaded at your application startup. Restart with `systemctl restart your-app` after inserting.
276
279
 
277
280
  ## Base64 encoding workaround
278
281
 
@@ -122,5 +122,5 @@ After writing the bug file, print a one-line summary of the root cause and sugge
122
122
 
123
123
  <!-- story: e35s10 -->
124
124
 
125
- - [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
126
- - [Fowler's Code Smells](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/fowler.md) — identifying structural problems by smell before investigating
125
+ - [Feathers' Seams & Characterization Tests](../../docs/references/feathers.md) — seam types, characterization tests, and the legacy code change algorithm
126
+ - [Fowler's Code Smells](../../docs/references/fowler.md) — identifying structural problems by smell before investigating
@@ -93,7 +93,7 @@ Detailed documentation for the `orchestrate-project` meta-skill.
93
93
  ### PHASE 3: PLAN
94
94
  - **Goal**: Write a verifiable implementation plan with success criteria.
95
95
  - **Deliverables**: `release-plan.yaml`, `epics/eNN-*.yaml` with `verify:` per task.
96
- - **Skills**: `scope-work`, `slice-tasks`, `define-success`, `plan-work`.
96
+ - **Skills**: `scope-work`, `slice-tasks`, `plan-work`.
97
97
  - **Gate**: Quality (request-review ≥94%) + slopcheck [SUS]/[SLOP].
98
98
 
99
99
  ### PHASE 4: BUILD
@@ -80,7 +80,7 @@ After writing `specs/REFACTOR_LATEST.md`, suggest running `kickoff-branch` next
80
80
 
81
81
  <!-- story: e35s10 -->
82
82
 
83
- - [Fowler's Refactoring Catalog](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
84
- - [Beck's Tidy First?](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/kent-beck.md) — structural change before behavioral change
83
+ - [Fowler's Refactoring Catalog](../../docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
84
+ - [Beck's Tidy First?](../../docs/references/kent-beck.md) — structural change before behavioral change
85
85
 
86
86
  ## Verify
@@ -16,7 +16,7 @@ Synthesize the conversation context into `specs/release-plan.yaml` (index) and s
16
16
  |------|---------|
17
17
  | `specs/release-plan.yaml` | `release.version`, semver bump hint, WSJF-ordered epic list with `id`, `capsule_dir`, `wsjf`, `bcps` — **no story status** |
18
18
  | `specs/epics/eNN-<slug>/epic.yaml` | Epic manifest: `id`, `title`, `wsjf`, `total_bcps`, `status`, `stories[]` list |
19
- | `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 |
19
+ | `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 |
20
20
  | `specs/epics/eNN-<slug>/eNNsYY-tasks.yaml` | Decoupled task checklist with `verify:` commands per task |
21
21
  | `specs/execution-status.yaml` | Flat key-value store for story status (`eNNsYY: todo`) |
22
22
 
@@ -101,7 +101,7 @@ stories:
101
101
  ```
102
102
  ### 6. Save story specs (countable-story-format .md)
103
103
 
104
- 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.
104
+ 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.
105
105
  ### 7. Save decoupled task files (`-tasks.yaml`)
106
106
 
107
107
  Each story has a decoupled `-tasks.yaml` with implementation steps:
@@ -11,7 +11,7 @@ description: "PLANNING SPINE STEP 3 of 3 — Plan the work: write detailed imple
11
11
 
12
12
  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.
13
13
 
14
- > **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.
14
+ > **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.
15
15
  >
16
16
  > **RECURSIVE DISCIPLINE** — This lifecycle applies to EVERY task, including updating these skills. Never skip planning because a task is "meta" or "just documentation."
17
17
 
@@ -7,7 +7,7 @@ description: "One-time bootstrap that introduces the bigpowers skills system, th
7
7
  > **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.
8
8
 
9
9
 
10
- Welcome to **bigpowers** — a lifecycle of **70** agent skills for production-ready, TDD-driven software by solo developers.
10
+ 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.
11
11
 
12
12
  ## Install
13
13
 
@@ -36,7 +36,7 @@ DISCOVER survey-context → research-first → elaborate-spec
36
36
  ↓
37
37
  DESIGN model-domain / define-language / grill-me / deepen-architecture / design-interface
38
38
  ↓
39
- PLAN scope-work → slice-tasks → define-success → plan-work / plan-refactor
39
+ PLAN scope-work → slice-tasks → plan-work / plan-refactor
40
40
  ↓
41
41
  INITIATE kickoff-branch → guard-git / hook-commits / seed-conventions
42
42
  ↓
@@ -257,7 +257,7 @@ jobs:
257
257
 
258
258
  ---
259
259
 
260
- ## Reference block 2 — deploy.yml (BigBase, excerpt)
260
+ ## Reference block 2 — deploy.yml (generic web app, excerpt)
261
261
 
262
262
  ```yaml
263
263
  name: Deploy
@@ -275,7 +275,7 @@ concurrency:
275
275
  cancel-in-progress: false
276
276
 
277
277
  env:
278
- SITE_URL: "https://CHANGE-ME.bigbase.click"
278
+ SITE_URL: "https://CHANGE-ME.example.com"
279
279
 
280
280
  jobs:
281
281
  deploy:
@@ -291,18 +291,15 @@ jobs:
291
291
  github-token: ${{ secrets.GITHUB_TOKEN }}
292
292
  run-id: ${{ github.event.workflow_run.id }}
293
293
  path: deploy-meta
294
- # BigBase-specific composite action, not a bigpowers default: this deploy
295
- # example targets the author's own hosting stack. Replace it with your
296
- # platform's deploy step (or drop the deploy job entirely for CLI and
297
- # library repos). bigpowers itself ships no deploy templates. (GH #104)
298
- - uses: danielvm-git/.github/actions/bigbase-deploy@9c56ac10c629f3baa110ddb19136579e3c90d690 # v1
299
- with:
300
- site_id: ${{ secrets.BIGBASE_SITE_ID }}
301
- app_type: go
302
- site_url: ${{ env.SITE_URL }}
303
- deploy_token: ${{ secrets.BIGBASE_DEPLOY_TOKEN }}
304
- ref: ${{ steps.meta.outputs.ref }}
305
- skip_health_check: true
294
+ # Placeholder deploy step — bigpowers ships no deploy templates and pins
295
+ # no third-party action. Substitute your platform's own step here, or drop
296
+ # the deploy job entirely for CLI and library repos. Pin whatever action
297
+ # you choose to a full commit SHA rather than a tag. (GH #104)
298
+ - name: Deploy
299
+ run: |
300
+ echo "Replace this step with your platform's deploy command."
301
+ echo "commit=$(jq -r .sha deploy-meta/deploy-meta.json)"
302
+ exit 1
306
303
  - name: Health check
307
304
  run: |
308
305
  curl -sf "${{ env.SITE_URL }}" || exit 1
@@ -44,7 +44,7 @@ Skill-body instructional prose MUST follow [AGENTIC-STE.md](../../../docs/AGENTI
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/AGENTI
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)