@lifeaitools/rdc-skills 0.9.1 → 0.9.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifeaitools/rdc-skills",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code — plan, build, review, overnight builds",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -19,7 +19,7 @@
19
19
  "type": "plugin",
20
20
  "skills": "skills/",
21
21
  "guides": "guides/",
22
- "version": "0.9.1",
22
+ "version": "0.9.3",
23
23
  "commands": "commands/"
24
24
  },
25
25
  "scripts": {
@@ -58,20 +58,29 @@ rdc:deploy: <slug> → <domain>
58
58
 
59
59
  ### Mode 2 — new <slug>
60
60
 
61
+ **MANDATORY:** All new apps are created from `docs/runbooks/coolify-app-templates.json`. Read that file first — pick the right template, substitute the required vars, POST the exact payload. No manual field configuration. No improvisation. The template encodes all learned lessons (base_directory, build_pack, watch_paths, health_check, ports). Deviating from it breaks things.
62
+
63
+ Template selection:
64
+ - `nextjs-app` — for `apps/<name>/` (Dockerfile, turbo filter, port 3000)
65
+ - `static-site` — for `sites/<name>/` (nixpacks, publish_directory=out, no packages)
66
+ - `mcp-server` — for `mcp-servers/<name>/` (Dockerfile, health check enabled, custom port)
67
+
61
68
  ```
62
69
  rdc:deploy new: <slug>
63
- [ ] Registry entry loaded (or interactive create)
70
+ [ ] .dockerignore present at regen-root root (ls C:/Dev/regen-root/.dockerignore — STOP if missing)
71
+ [ ] Template loaded from docs/runbooks/coolify-app-templates.json (pick nextjs-app / static-site / mcp-server)
72
+ [ ] Required vars substituted: NAME, APP_PATH, DOMAIN, BRANCH, PROJECT_UUID, ENVIRONMENT_UUID [+ TURBO_FILTER / PORT]
64
73
  [ ] DNS path chosen (A: *.dev.place.fund B: apex C: other zone)
65
74
  [ ] DNS record verified or wildcard confirmed
66
75
  [ ] Cloudflare proxy setting correct for DNS path
67
- [ ] server_uuid, project_uuid, environment_uuid, github_app_uuid resolved
68
- [ ] Build type chosen (Next.js / Vite / static / standalone)
69
- [ ] Type-specific fields filled (ports, build cmd, install cmd, start cmd)
70
- [ ] Application created via /applications/private-github-app
71
- [ ] watch_paths set and verified
72
- [ ] Env vars set in Coolify
76
+ [ ] Application created via POST /applications/private-github-app (template payload)
77
+ [ ] UUID recorded from response
78
+ [ ] watch_paths verified via GET /api/v1/applications/<uuid> must match template
79
+ [ ] Env vars set in Coolify (from deployment_registry.env_vars_needed)
73
80
  [ ] First deploy triggered
74
- [ ] Gate passed (5 checks)
81
+ [ ] Deployment reached "finished" state
82
+ [ ] Gate: HTTP 200 on <domain>
83
+ [ ] Gate: TLS valid
75
84
  [ ] deployment_registry row inserted
76
85
  ✅ rdc:deploy new: <slug> live at <domain>
77
86
  ```
@@ -95,3 +95,4 @@ choose the most conservative/reversible approach and document the decision.
95
95
  - Include test requirements in every work package
96
96
  - Reference affected CLAUDE.md files in each work package description
97
97
  - Reference the relevant guide file from `.rdc/guides/` (fallback: `.rdc/guides/`) for agent context
98
+ - **If a work package involves creating a new deployed app:** the task description MUST say "Use `rdc:deploy new <slug>` — do NOT create the Coolify app manually. Read `docs/runbooks/coolify-app-templates.json` first." Assign it to an `infra` agent. This is a hard rule — manually created apps have consistently been misconfigured.