@lifeaitools/rdc-skills 0.35.22 → 0.35.23
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rdc",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.23",
|
|
4
4
|
"description": "RDC typed-agent dispatch skill suite for Claude Code — plan, build, review, overnight unattended builds with work-item tracking and TDD enforcement.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "LIFEAI",
|
|
@@ -137,7 +137,7 @@ target's own declared build gates, or deploy to dev-PM2/npm-registry, you
|
|
|
137
137
|
MUST use the real, tested `rdc-harness` CLI instead of hand-rolled bash/curl:
|
|
138
138
|
|
|
139
139
|
```bash
|
|
140
|
-
npx --package=@lifeai/rdc-harness rdc-harness <create|open|edit|build|deploy> <slug> --monorepo-root <your own worktree, never the shared checkout>
|
|
140
|
+
npx -y --package=@lifeai/rdc-harness rdc-harness <create|open|edit|build|deploy> <slug> --monorepo-root <your own worktree, never the shared checkout>
|
|
141
141
|
```
|
|
142
142
|
|
|
143
143
|
`rdc-harness` is distributed as `@lifeai/rdc-harness` on **GitHub Packages**,
|
|
@@ -146,7 +146,11 @@ not npmjs (a different registry than `@lifeaitools/rdc-skills`). This needs
|
|
|
146
146
|
PAT (clauth `github` service — repo/workflow/org scopes) as the registry auth
|
|
147
147
|
token; check whether that mapping is already present (a machine that has
|
|
148
148
|
already published or installed an `@lifeai` package usually has it globally)
|
|
149
|
-
before assuming it needs to be created.
|
|
149
|
+
before assuming it needs to be created. An `npm` 404 on the package IS that
|
|
150
|
+
missing mapping — do not read it as "the harness is unpublished". Keep the
|
|
151
|
+
`-y`: without it a TTY-attached run stops on npx's `Ok to proceed?` prompt,
|
|
152
|
+
which is the same one-off-published-package form `skills/convert/SKILL.md`
|
|
153
|
+
already documents. Only if you are actively developing
|
|
150
154
|
the harness itself does `node bin/rdc-harness.mjs ...` from inside a
|
|
151
155
|
`C:/Dev/rdc-harness` checkout apply — never hardcode that path as a skill's
|
|
152
156
|
default invocation; it exists on exactly one machine and defeats the point of
|
package/package.json
CHANGED
package/skills/deploy/SKILL.md
CHANGED
|
@@ -7,6 +7,13 @@ description: rdc:deploy (slug, [action]) — run one command; exit 0 means shipp
|
|
|
7
7
|
> One command, then one line: the URL on exit 0, or the `DEPLOY-FAILED` block on
|
|
8
8
|
> non-zero. No tool-call narration, no raw JSON dumps, no progress commentary.
|
|
9
9
|
|
|
10
|
+
> **Sandbox contract:** This skill honors `RDC_TEST=1` per
|
|
11
|
+
> `.rdc/guides/agent-bootstrap.md` § RDC_TEST Sandbox Contract. Under the flag
|
|
12
|
+
> the run stays read-only — registry read plus health probe — and every
|
|
13
|
+
> mutating step short-circuits: no deploy triggered, no Cloudflare cache purge,
|
|
14
|
+
> no DNS write, no promote to main. `skills/tests/rdc-deploy.test.json` asserts
|
|
15
|
+
> exactly those four absences, so this is an enforced contract, not a promise.
|
|
16
|
+
|
|
10
17
|
# rdc:deploy — run the program, read the exit code
|
|
11
18
|
|
|
12
19
|
**This skill is not a procedure. It is one command.**
|
package/skills/edit/SKILL.md
CHANGED
|
@@ -17,8 +17,10 @@ description: rdc:edit (target) — open the local website editor for a target
|
|
|
17
17
|
**This skill is the designated handler `rdc-harness` dispatches to.**
|
|
18
18
|
`packages/work/src/editors.mjs`'s `BY_CLASS` table maps `site-html`/`site-ts`
|
|
19
19
|
product classes to editor id `'rdc:edit'` — when an agent calls
|
|
20
|
-
`npx --package=@lifeai/rdc-harness rdc-harness edit <slug>` (
|
|
21
|
-
|
|
20
|
+
`npx -y --package=@lifeai/rdc-harness rdc-harness edit <slug>` (published on
|
|
21
|
+
GitHub Packages — needs `@lifeai:registry=https://npm.pkg.github.com` in
|
|
22
|
+
`.npmrc`; an `npm` 404 means that mapping is missing. Full setup:
|
|
23
|
+
`{PROJECT_ROOT}/.rdc/guides/agent-bootstrap.md`) against a website
|
|
22
24
|
target, its receipt names `editorId: 'rdc:edit'` and an `editableBoundary`.
|
|
23
25
|
This skill IS that handler: resolve the same target, launch/reuse the editor
|
|
24
26
|
host, use the harness's `editableBoundary` as the save boundary if the call
|
package/skills/open/SKILL.md
CHANGED
|
@@ -12,12 +12,14 @@ description: rdc:open ([slug]) — orient before working; answers where you are
|
|
|
12
12
|
## Run the script. Do not re-derive this by hand.
|
|
13
13
|
|
|
14
14
|
`rdc-harness` ships as a published package — `@lifeai/rdc-harness` on GitHub
|
|
15
|
-
Packages, not npmjs
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
Packages, not npmjs. That needs `@lifeai:registry=https://npm.pkg.github.com`
|
|
16
|
+
in `.npmrc`; if `npm` 404s on the package, that mapping is what is missing
|
|
17
|
+
(auth token: the clauth `github` PAT — full setup in
|
|
18
|
+
`.rdc/guides/agent-bootstrap.md`). Invoke it through the installed `bin`,
|
|
19
|
+
never a machine-specific checkout path:
|
|
18
20
|
|
|
19
21
|
```bash
|
|
20
|
-
npx --package=@lifeai/rdc-harness rdc-harness open <slug>
|
|
22
|
+
npx -y --package=@lifeai/rdc-harness rdc-harness open <slug>
|
|
21
23
|
```
|
|
22
24
|
|
|
23
25
|
Only if you are actively developing the harness itself (working ON
|
|
@@ -143,9 +145,10 @@ Downstream verbs re-resolve from the registry by slug.
|
|
|
143
145
|
|
|
144
146
|
## Steps
|
|
145
147
|
|
|
146
|
-
0. **Call `rdc-harness open <slug>`.**
|
|
147
|
-
|
|
148
|
-
unavailable, and say so
|
|
148
|
+
0. **Call `npx -y --package=@lifeai/rdc-harness rdc-harness open <slug>`.**
|
|
149
|
+
Steps 1–2 are what it returns, not a procedure to perform. Only
|
|
150
|
+
hand-resolve if the harness is genuinely unavailable, and say so
|
|
151
|
+
explicitly when you do.
|
|
149
152
|
1. **Position.** Read `sourceBoundary` and `boundaryNote` from the result — they
|
|
150
153
|
already account for pooled repos and lanes. Relative paths from there are
|
|
151
154
|
correct by construction; a hardcoded `C:/Dev/regen-root/...` from a lane
|
package/skills/release/SKILL.md
CHANGED
|
@@ -94,11 +94,13 @@ monorepo subtree, not a standalone repo like this one),
|
|
|
94
94
|
"Tests/self-test passed" through "Local install/update executed" rows safely:
|
|
95
95
|
real `npm pack`, isolated-prefix install (never the real global store), real
|
|
96
96
|
verify, and `--live` explicitly gating the actual publish. Where applicable,
|
|
97
|
-
`npx --package=@lifeai/rdc-harness rdc-harness deploy <slug> [--live]`
|
|
98
|
-
published
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
`npx -y --package=@lifeai/rdc-harness rdc-harness deploy <slug> [--live]`
|
|
98
|
+
(published on GitHub Packages — needs
|
|
99
|
+
`@lifeai:registry=https://npm.pkg.github.com` in `.npmrc`; an `npm` 404 means
|
|
100
|
+
that mapping is missing. Full setup:
|
|
101
|
+
`{PROJECT_ROOT}/.rdc/guides/agent-bootstrap.md`) can supply that evidence
|
|
102
|
+
directly instead of hand-rolling the same pack/install/verify cycle. It does
|
|
103
|
+
**not** replace version bump, tag or push — the harness CLI does none of those.
|
|
102
104
|
|
|
103
105
|
## Resolution Order
|
|
104
106
|
|