@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.
- package/commands/deploy.md +16 -0
- package/git-sha.json +1 -1
- package/package.json +1 -1
- package/skills/deploy/SKILL.md +11 -1
- package/skills/release/SKILL.md +1 -1
package/commands/deploy.md
CHANGED
|
@@ -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
package/package.json
CHANGED
package/skills/deploy/SKILL.md
CHANGED
|
@@ -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
|
|
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>
|
package/skills/release/SKILL.md
CHANGED
|
@@ -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
|
|