@ericrisco/rsc 0.1.31 → 0.1.33
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/README.md +4 -4
- package/manifest.json +24 -5
- package/package.json +1 -1
- package/scripts/lib/domains.js +1 -1
- package/skills/analyze/SKILL.md +1 -0
- package/skills/author-skill/SKILL.md +20 -0
- package/skills/author-skill/references/description-recipe.md +2 -0
- package/skills/debug/SKILL.md +1 -1
- package/skills/implement/SKILL.md +72 -2
- package/skills/implement/references/per-task-review.md +46 -0
- package/skills/implement/scripts/review-package +59 -0
- package/skills/implement/scripts/sdd-workspace +47 -0
- package/skills/implement/scripts/task-brief +77 -0
- package/skills/parallel/SKILL.md +29 -0
- package/skills/plan/references/plan-template.md +18 -0
- package/skills/roast-me/SKILL.md +124 -0
- package/skills/roast-me/evals/README.md +76 -0
- package/skills/roast-me/evals/cases.yaml +75 -0
- package/skills/roast-me/prompts/analyze.md +90 -0
- package/skills/roast-me/prompts/compute.md +100 -0
- package/skills/roast-me/prompts/roast.md +181 -0
- package/skills/roast-me/tools/adapters/__init__.py +1 -0
- package/skills/roast-me/tools/adapters/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/base.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/claude.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/codex.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/gemini.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/registry.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/base.py +53 -0
- package/skills/roast-me/tools/adapters/claude.py +140 -0
- package/skills/roast-me/tools/adapters/codex.py +113 -0
- package/skills/roast-me/tools/adapters/gemini.py +121 -0
- package/skills/roast-me/tools/adapters/registry.py +68 -0
- package/skills/roast-me/tools/extract_prompts.py +520 -0
- package/skills/sdd/SKILL.md +23 -0
- package/skills/ship/SKILL.md +9 -1
- package/skills/specify/SKILL.md +26 -1
- package/skills/suggest/SKILL.md +1 -1
- package/skills/tasks/SKILL.md +25 -0
- package/skills/worktrees/SKILL.md +25 -0
|
@@ -115,6 +115,31 @@ Either way, the contract is identical: **after this step, the cwd is an isolated
|
|
|
115
115
|
base, and the default-branch checkout is exactly as it was.** Confirm that out loud (at the dial's
|
|
116
116
|
level) before handing to `implement`.
|
|
117
117
|
|
|
118
|
+
### Provenance-aware cleanup (don't remove a workspace you didn't create)
|
|
119
|
+
|
|
120
|
+
Removing the wrong worktree leaves phantom state and can destroy someone else's in-progress work.
|
|
121
|
+
Before any `git worktree remove`, clear these guards:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
# 1) Are we even inside a linked worktree? (GIT_DIR != GIT_COMMON_DIR ⇒ yes)
|
|
125
|
+
[ "$(git rev-parse --git-dir)" != "$(git rev-parse --git-common-dir)" ] && echo "linked worktree"
|
|
126
|
+
# 2) Submodule false-positive guard — never treat a submodule as a worktree to remove
|
|
127
|
+
git rev-parse --show-superproject-working-tree # non-empty ⇒ this is a submodule; STOP
|
|
128
|
+
# 3) cd to the MAIN working tree before removing (you cannot remove the worktree you stand in)
|
|
129
|
+
cd "$(git rev-parse --git-common-dir)/.."
|
|
130
|
+
git worktree remove <path>
|
|
131
|
+
git worktree prune # self-heal stale administrative entries
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
- **Only remove worktrees rsc/you created** — those under `.worktrees/` or `worktrees/`, or the
|
|
135
|
+
`../<repo>-<slug>` this skill made. A worktree the user or a native tool owns is **not yours to
|
|
136
|
+
delete**; leave it and say so.
|
|
137
|
+
- **Native tool owns its own lifecycle.** If you isolated via a native `EnterWorktree`-style tool,
|
|
138
|
+
exit through that tool's `remove`/`keep` — do **not** hand-run `git worktree remove` on a workspace
|
|
139
|
+
the native tool created; let it clean up so its tracking stays consistent.
|
|
140
|
+
- **`git worktree prune`** after a remove clears stale metadata when a directory vanished out from
|
|
141
|
+
under git — cheap self-healing, safe to run.
|
|
142
|
+
|
|
118
143
|
## Native vs. git fallback — which you're using
|
|
119
144
|
|
|
120
145
|
| You have… | Create | Leave intact | Discard |
|