@lifeaitools/rdc-skills 0.9.2 → 0.9.4
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/plan/SKILL.md +1 -0
- package/skills/release/SKILL.md +24 -12
|
@@ -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.4",
|
|
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.4",
|
|
23
23
|
"commands": "commands/"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -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.
|
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)
|
|
@@ -143,23 +143,35 @@ git push && git push --tags
|
|
|
143
143
|
```
|
|
144
144
|
Never `--no-verify`. Never `--force`. Fix pre-commit hook failures at root cause.
|
|
145
145
|
|
|
146
|
-
#### 3. CI
|
|
146
|
+
#### 3. Wait for CI via clauth channel (rdc-skills and clauth)
|
|
147
|
+
|
|
148
|
+
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:
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
# Check clauth channel for the completion event:
|
|
152
|
+
mcp__claude_ai_clauth__channel_list (since: <tag-push-timestamp>)
|
|
153
|
+
# Wait for event with text containing "vA.B.C" and status "success" or "failure"
|
|
154
|
+
# If no event after 10 min → fallback: gh run list --repo LIFEAI/<repo> --limit 3
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
If the channel event shows failure, pull the run logs before proceeding:
|
|
147
158
|
```bash
|
|
148
|
-
gh run
|
|
149
|
-
# Poll every 20s until conclusion ∈ {success, failure, cancelled} — 10min timeout
|
|
159
|
+
gh run view <databaseId> --repo LIFEAI/<repo> --log-failed
|
|
150
160
|
```
|
|
151
161
|
|
|
152
|
-
#### 4. npm
|
|
162
|
+
#### 4. Verify npm registry
|
|
163
|
+
|
|
153
164
|
```bash
|
|
154
|
-
npm view @lifeaitools
|
|
155
|
-
# Poll every 15s until new version appears — 3min timeout
|
|
165
|
+
npm view @lifeaitools/<repo> version # must equal vA.B.C
|
|
156
166
|
```
|
|
157
167
|
|
|
168
|
+
Only run this after the channel event confirms success — don't poll npm independently.
|
|
169
|
+
|
|
158
170
|
#### 5. Install
|
|
159
171
|
- **clauth:** `npm install -g @lifeaitools/clauth@latest`
|
|
160
|
-
- **rdc-skills:** `
|
|
161
|
-
- If
|
|
162
|
-
`cp C:/Dev/rdc-skills/skills
|
|
172
|
+
- **rdc-skills:** `node C:/Dev/rdc-skills/scripts/install-rdc-skills.js`
|
|
173
|
+
- If install script fails, fall back:
|
|
174
|
+
`cp -r C:/Dev/rdc-skills/skills/* ~/.claude/plugins/cache/rdc-skills/rdc-skills/latest/skills/`
|
|
163
175
|
|
|
164
176
|
#### 6. Verify
|
|
165
177
|
- **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
|