@lifeaitools/rdc-skills 0.38.0 → 0.38.1
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/.claude-plugin/plugin.json +1 -1
- package/clauth-plugin.json +1 -1
- package/git-sha.json +1 -1
- package/package.json +2 -2
- package/skills/close/SKILL.md +18 -6
package/clauth-plugin.json
CHANGED
package/git-sha.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifeaitools/rdc-skills",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.1",
|
|
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.38.
|
|
22
|
+
"version": "0.38.1",
|
|
23
23
|
"commands": "commands/"
|
|
24
24
|
},
|
|
25
25
|
"bin": {
|
package/skills/close/SKILL.md
CHANGED
|
@@ -23,9 +23,10 @@ description: rdc:close () — decide whether this session can exit, fix what is
|
|
|
23
23
|
judgment layer on top: it fixes what the engine reports. The engine never commits, edits or deploys; those need a
|
|
24
24
|
decision, and the decision is yours.
|
|
25
25
|
|
|
26
|
-
If a session ends without a close, a SessionEnd hook
|
|
27
|
-
committed** and writes an unclean record for the rest.
|
|
28
|
-
|
|
26
|
+
If a session ends without a close, a SessionEnd hook (`rdc-close --hook --detach`, used by the harness and not by
|
|
27
|
+
you) starts a detached worker that lands what is **already committed** and writes an unclean record for the rest.
|
|
28
|
+
The next session in that lane is told what was left, and is also told when a lane starts with uncommitted paths even
|
|
29
|
+
though no exit ran (a crash fires no SessionEnd). So close properly; the hook is a safety net, not the plan.
|
|
29
30
|
|
|
30
31
|
## Procedure
|
|
31
32
|
|
|
@@ -50,8 +51,18 @@ properly; the hook is a safety net, not the plan.
|
|
|
50
51
|
- `/rdc:report` when the work contract's tier asks for a session report.
|
|
51
52
|
- Finalize the CodeFlow session (`codeflow_finalize`).
|
|
52
53
|
|
|
53
|
-
4. **Close.** `node "$LIFEAI_ENV/bin/rdc-close.mjs" run
|
|
54
|
-
|
|
54
|
+
4. **Close.** `node "$LIFEAI_ENV/bin/rdc-close.mjs" run`:
|
|
55
|
+
- runs every check, even when a marker already exists (the marker covers HEAD and the tree, not stash, other
|
|
56
|
+
repositories, deploy or the contract);
|
|
57
|
+
- if the lane is clean and a commit is not yet on `origin/<integration>`, lands it through the contract's ship
|
|
58
|
+
route. In lifeai-env that route publishes the package by default, so `run` uses it land-only
|
|
59
|
+
(`--existing --no-publish`): no publish and no global install. Releasing stays a deliberate `/rdc:release`;
|
|
60
|
+
- runs `clauth scrub`;
|
|
61
|
+
- writes the session marker only when every check is clear. Otherwise it writes an unclean record and retires
|
|
62
|
+
any marker.
|
|
63
|
+
|
|
64
|
+
Exit 0 means closed. Exit 1 prints the failing checks: go back to step 2. `rdc-close status` says whether this
|
|
65
|
+
session's marker is current (exit 0) or not (exit 1). Exit 2 is a usage error.
|
|
55
66
|
|
|
56
67
|
5. **Report one line.** Closed (marker current, with the commit it names), or the blockers that remain and the one
|
|
57
68
|
decision that clears them.
|
|
@@ -59,7 +70,8 @@ properly; the hook is a safety net, not the plan.
|
|
|
59
70
|
## Rules
|
|
60
71
|
|
|
61
72
|
- Never say "closed" without `rdc-close run` exiting 0 **in this turn**. A marker goes stale on any later commit or
|
|
62
|
-
edit, so a close claimed earlier does not carry.
|
|
73
|
+
edit, so a close claimed earlier does not carry. A stash or a dirty second repository does not change the marker,
|
|
74
|
+
which is why `run` checks them every time.
|
|
63
75
|
- Never commit, reset or delete another session's work. A dirty sibling worktree is preserved, not cleaned.
|
|
64
76
|
- Deploy only when the engine says a deployable changed. `deploy: na` is the answer for a docs-only or tooling-only
|
|
65
77
|
session; do not run `/rdc:deploy` for the sake of it.
|