@lifeaitools/rdc-skills 0.26.0 → 0.26.2

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.
@@ -155,6 +155,22 @@ _COOLIFY=$(curl -s http://127.0.0.1:52437/v/coolify-api)
155
155
  curl -s -H "Authorization: Bearer $_COOLIFY" "$DEPLOY_API_BASE/api/v1/applications"
156
156
  ```
157
157
 
158
+ **Triggering the actual deploy is different — use the wrapper, not raw curl.**
159
+ `hooks/lib/guard-rules.mjs`'s `coolify-direct` rule blocks a raw curl (or any command whose
160
+ TEXT contains the literal URL) to `/api/v1/deploy` — the deploy-trigger endpoint — on
161
+ purpose, so a production deploy is never one arbitrary curl an agent can fire silently. This
162
+ is NOT a bug to route around with SSH or a differently-worded command
163
+ (`.rdc/lessons/2026-08-07-deploy-coolify-direct-blocks-own-documented-step.md`). The
164
+ sanctioned way to actually trigger a deploy for Mode 1's "Deploy triggered" step is:
165
+
166
+ ```bash
167
+ python3 scripts/coolify-deployments.py deploy <application-uuid>
168
+ ```
169
+
170
+ Run from the regen-root repo root. Poll `status <deployment-uuid>` (the same script) or
171
+ `GET /api/v1/deployments/<deployment-uuid>` (read-only, not blocked) until `status` is
172
+ `finished`/`failed`/`cancelled` before moving to the gate checks.
173
+
158
174
  If clauth daemon is not responding:
159
175
  ```
160
176
  BLOCKED: clauth daemon not responding. Run scripts\restart-clauth.bat, unlock at http://127.0.0.1:52437
package/git-sha.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "sha": "77862e606f1a235f41025233d6159eec5f5346d3"
2
+ "sha": "e634f9ffc42be06bccedfa3d6ab4e85bf79b5c70"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifeaitools/rdc-skills",
3
- "version": "0.26.0",
3
+ "version": "0.26.2",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code - plan, build, review, overnight builds",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -207,7 +207,17 @@ Severity rules:
207
207
 
208
208
  Promote a **verified `develop` change** for one app to production. This is the sanctioned production-patch fast path — one command instead of fighting branch protection, the main-push hook, and a flaky Coolify webhook by hand.
209
209
 
210
- **Authorization:** production promote requires explicit user go-ahead ("promote", "patch prod", "push live", "go"). A dev deploy does NOT. If the user has not given it for THIS promote, stop and ask first.
210
+ **Authorization:** production promote requires explicit user go-ahead, in either form:
211
+ - **Per-promote:** a direct go word for THIS call ("promote", "patch prod", "push live", "go").
212
+ - **Standing opt-in:** the user names one slug and grants it for the current session only ("auto-promote <slug> whenever dev is green", "standing go-ahead for <slug> this session"). Scope rules:
213
+ - One named slug per opt-in — never blanket ("auto-promote everything").
214
+ - Expires with the session. A new session/conversation needs a fresh opt-in; never infer one from a prior session's transcript or memory.
215
+ - Does not skip any other gate below — metadata-audit block, content-level verify, mandatory code review block on critical/high, scope guard, and back-merge all still run in full. The opt-in only removes the "stop and ask" step.
216
+ - Before EACH promote under a standing opt-in, re-verify dev is green with a **fresh** check (the content-level check further down this checklist) — "dev is green" means checked now for this call, not remembered from earlier in the session.
217
+
218
+ A dev deploy requires neither form. If the user has not given either form of go-ahead for THIS promote, stop and ask first.
219
+
220
+ Approved: option-2 — standing per-slug/session opt-in. Interview: 2026-07-31 (Dave), regen-root session.
211
221
 
212
222
  ```
213
223
  rdc:deploy promote: <slug> → <prod-domain>
@@ -17,7 +17,7 @@ description: "Usage `rdc:release <repo> [version|--patch|--minor|--major|--dry-r
17
17
  - A package or app needs versioning plus verification.
18
18
  - A repo provides release metadata in `package.json`, `.rdc/release.json`, README release instructions, or CI config.
19
19
 
20
- Never release without explicit user authorization.
20
+ Never release without explicit user authorization — either a direct go-ahead for THIS release, or a standing opt-in for one named repo scoped to the current session only (same contract as `rdc:deploy` Mode 5's standing opt-in: one repo, expires with the session, does not skip the code-review block or any other gate below, requires a fresh dev-green check before each release under the opt-in). Approved: option-2 — standing per-slug/session opt-in. Interview: 2026-07-31 (Dave), regen-root session.
21
21
 
22
22
  ## Inputs
23
23