@lifeaitools/rdc-skills 0.9.3 → 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.
@@ -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",
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.3",
22
+ "version": "0.9.4",
23
23
  "commands": "commands/"
24
24
  },
25
25
  "scripts": {
@@ -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 run located (gh run list)
73
- [ ] CI completed successfully (poll 20s, 10min timeout)
74
- [ ] npm registry shows vA.B.C (if npm poll 15s, 3min timeout)
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 poll (clauth only GitHub Actions publishes to npm)
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 list --repo LIFEAI/clauth --limit 5 --json status,conclusion,headBranch,databaseId
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 poll (clauth only)
162
+ #### 4. Verify npm registry
163
+
153
164
  ```bash
154
- npm view @lifeaitools/clauth version
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:** `bash C:/Dev/rdc-skills/scripts/install.sh`
161
- - If only 1 file copied (known installer bug), fall back:
162
- `cp C:/Dev/rdc-skills/skills/**/*.md ~/.claude/skills/user/ && cp C:/Dev/rdc-skills/skills/**/*.md C:/Dev/regen-root/.claude/skills/user/`
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