@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rdc",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": "lifeai.plugin.v1",
3
3
  "id": "rdc-skills",
4
- "version": "0.38.0",
4
+ "version": "0.38.1",
5
5
  "publisher": "LIFEAI",
6
6
  "core": false,
7
7
  "documentation": {
package/git-sha.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "sha": "bbbd79996feafdb0aae6bf5c1f8bbebed904db74"
2
+ "sha": "597fd36853cf0e514b5b8729ac1de893ea026b00"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifeaitools/rdc-skills",
3
- "version": "0.38.0",
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.0",
22
+ "version": "0.38.1",
23
23
  "commands": "commands/"
24
24
  },
25
25
  "bin": {
@@ -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 starts a detached worker that lands what is **already
27
- committed** and writes an unclean record for the rest. The next session in that lane is told what was left. So close
28
- properly; the hook is a safety net, not the plan.
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` lands anything committed, runs `clauth scrub`, re-checks, and
54
- writes the session marker. Exit 0 means closed. Exit 1 prints the failing checks: go back to step 2.
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.