@lifeaitools/rdc-skills 0.9.3 → 0.9.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.
- package/.github/workflows/publish.yml +9 -0
- package/package.json +2 -2
- package/skills/release/SKILL.md +44 -16
|
@@ -23,3 +23,12 @@ jobs:
|
|
|
23
23
|
run: npm publish --access public
|
|
24
24
|
env:
|
|
25
25
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
26
|
+
|
|
27
|
+
- name: Notify clauth channel
|
|
28
|
+
if: always()
|
|
29
|
+
run: |
|
|
30
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
31
|
+
STATUS="${{ job.status }}"
|
|
32
|
+
curl -s -X POST "${{ secrets.CLAUTH_CHANNEL_URL }}" \
|
|
33
|
+
-H "Content-Type: application/json" \
|
|
34
|
+
-d "{\"text\":\"rdc-skills v${VERSION} npm publish: ${STATUS}\",\"source\":\"github-actions\"}"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifeaitools/rdc-skills",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
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.
|
|
22
|
+
"version": "0.9.5",
|
|
23
23
|
"commands": "commands/"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
package/skills/release/SKILL.md
CHANGED
|
@@ -69,9 +69,9 @@ rdc:release: <repo> vX.Y.Z → vA.B.C
|
|
|
69
69
|
[ ] package.json bumped
|
|
70
70
|
[ ] Commit created
|
|
71
71
|
[ ] Tag vA.B.C created + pushed
|
|
72
|
-
[ ] CI
|
|
73
|
-
[ ] CI
|
|
74
|
-
[ ] npm registry shows vA.B.C (
|
|
72
|
+
[ ] CI completion event received via clauth channel (mcp__claude_ai_clauth__channel_list)
|
|
73
|
+
[ ] CI concluded successfully (failure → pull logs via gh run view --log-failed)
|
|
74
|
+
[ ] npm registry shows vA.B.C (npm view @lifeaitools/<repo> version)
|
|
75
75
|
[ ] Local install executed
|
|
76
76
|
[ ] Installed version verified
|
|
77
77
|
[ ] Post-install action (daemon restart if clauth)
|
|
@@ -126,6 +126,10 @@ rdc:release: regen-root — develop → main
|
|
|
126
126
|
|
|
127
127
|
## Execution Details
|
|
128
128
|
|
|
129
|
+
> **Notification paths by repo type:**
|
|
130
|
+
> - **Public repos** (rdc-skills, clauth): GitHub Actions POSTs to clauth channel on publish — wait for `mcp__claude_ai_clauth__channel_list` event, not a polling loop
|
|
131
|
+
> - **Private repos** (regen-root): Coolify webhook is wired to Supabase — check `deployment_registry` for deploy completion, not the clauth channel
|
|
132
|
+
|
|
129
133
|
### Package repos (clauth, rdc-skills)
|
|
130
134
|
|
|
131
135
|
#### 1. Version bump
|
|
@@ -143,23 +147,35 @@ git push && git push --tags
|
|
|
143
147
|
```
|
|
144
148
|
Never `--no-verify`. Never `--force`. Fix pre-commit hook failures at root cause.
|
|
145
149
|
|
|
146
|
-
#### 3. CI
|
|
150
|
+
#### 3. Wait for CI via clauth channel (rdc-skills and clauth)
|
|
151
|
+
|
|
152
|
+
Both repos have a GitHub Actions workflow that POSTs to `https://clauth.prtrust.fund/channel` on publish completion. **Do not poll `gh run list` in a loop.** Use the Monitor tool or check the channel:
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
# Check clauth channel for the completion event:
|
|
156
|
+
mcp__claude_ai_clauth__channel_list (since: <tag-push-timestamp>)
|
|
157
|
+
# Wait for event with text containing "vA.B.C" and status "success" or "failure"
|
|
158
|
+
# If no event after 10 min → fallback: gh run list --repo LIFEAI/<repo> --limit 3
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
If the channel event shows failure, pull the run logs before proceeding:
|
|
147
162
|
```bash
|
|
148
|
-
gh run
|
|
149
|
-
# Poll every 20s until conclusion ∈ {success, failure, cancelled} — 10min timeout
|
|
163
|
+
gh run view <databaseId> --repo LIFEAI/<repo> --log-failed
|
|
150
164
|
```
|
|
151
165
|
|
|
152
|
-
#### 4. npm
|
|
166
|
+
#### 4. Verify npm registry
|
|
167
|
+
|
|
153
168
|
```bash
|
|
154
|
-
npm view @lifeaitools
|
|
155
|
-
# Poll every 15s until new version appears — 3min timeout
|
|
169
|
+
npm view @lifeaitools/<repo> version # must equal vA.B.C
|
|
156
170
|
```
|
|
157
171
|
|
|
172
|
+
Only run this after the channel event confirms success — don't poll npm independently.
|
|
173
|
+
|
|
158
174
|
#### 5. Install
|
|
159
175
|
- **clauth:** `npm install -g @lifeaitools/clauth@latest`
|
|
160
|
-
- **rdc-skills:** `
|
|
161
|
-
- If
|
|
162
|
-
`cp C:/Dev/rdc-skills/skills
|
|
176
|
+
- **rdc-skills:** `node C:/Dev/rdc-skills/scripts/install-rdc-skills.js`
|
|
177
|
+
- If install script fails, fall back:
|
|
178
|
+
`cp -r C:/Dev/rdc-skills/skills/* ~/.claude/plugins/cache/rdc-skills/rdc-skills/latest/skills/`
|
|
163
179
|
|
|
164
180
|
#### 6. Verify
|
|
165
181
|
- **clauth:** `curl -s http://127.0.0.1:52437/ping | python3 -c "import sys,json; print(json.load(sys.stdin)['app_version'])"` — must match vA.B.C
|
|
@@ -265,10 +281,22 @@ git push origin develop
|
|
|
265
281
|
- Merge via `mcp__claude_ai_Github_Proxy_MCP__merge_pull_request` with `merge_method: merge`
|
|
266
282
|
|
|
267
283
|
#### 4. Confirm Coolify auto-deploy
|
|
268
|
-
|
|
269
|
-
-
|
|
270
|
-
|
|
271
|
-
|
|
284
|
+
|
|
285
|
+
regen-root is a **private repo**. Coolify's webhook is wired to Supabase — deployment events land there automatically. Do NOT poll the Coolify REST API in a loop. Check Supabase:
|
|
286
|
+
|
|
287
|
+
```sql
|
|
288
|
+
-- Wait for the affected app's deployment to show status = 'finished'
|
|
289
|
+
SELECT slug, last_deploy_at, status, notes
|
|
290
|
+
FROM deployment_registry
|
|
291
|
+
WHERE slug IN (<affected slugs>)
|
|
292
|
+
ORDER BY last_deploy_at DESC;
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
If the registry hasn't updated within 2 minutes of the PR merge, check Coolify directly:
|
|
296
|
+
```bash
|
|
297
|
+
curl -s -H "Authorization: Bearer $(curl -s http://127.0.0.1:52437/v/coolify-api)" \
|
|
298
|
+
"https://deploy.regendevcorp.com/api/v1/applications/<uuid>/deployments?per_page=1"
|
|
299
|
+
```
|
|
272
300
|
|
|
273
301
|
#### 5. Gate checks
|
|
274
302
|
For each affected app, verify: HTTP 200, TLS valid, container running.
|