@skitterbyte/skitterspec 22.4.0 → 23.0.0
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/MIGRATION.md +42 -0
- package/README.md +3 -2
- package/assets/commands/spec-remote-review.md +24 -9
- package/assets/core/env.config.md +37 -15
- package/assets/hooks/main-guard.cjs +20 -3
- package/assets/rules/spec-planning.md +11 -4
- package/assets/skills/no-spec/SKILL.md +28 -4
- package/assets/skills/spec/SKILL.md +12 -4
- package/assets/skills/spec-bug/SKILL.md +12 -3
- package/assets/skills/spec-complete/SKILL.md +29 -7
- package/assets/skills/spec-diff/SKILL.md +14 -10
- package/assets/skills/spec-hotfix/SKILL.md +12 -2
- package/assets/skills/spec-start/SKILL.md +19 -8
- package/assets/skills/spec-to-main/SKILL.md +17 -2
- package/package.json +1 -1
- package/src/cli.js +360 -108
- package/src/env/bootstrap.js +188 -0
- package/src/env/config.js +15 -0
- package/src/env/hotfix.js +8 -2
- package/src/env/integrate.js +28 -8
- package/src/env/mainguard.js +64 -5
- package/src/env/provision.js +86 -168
- package/src/env/review.js +51 -1
- package/src/env/serve.js +4 -1
|
@@ -87,6 +87,16 @@ nothing else.
|
|
|
87
87
|
On a **no-op** ("already landed on `<base>` — nothing to integrate"), just say so
|
|
88
88
|
and continue — the branch has no commits base doesn't already have.
|
|
89
89
|
|
|
90
|
+
**Then run the after-land commands.** Where the plan ends with a
|
|
91
|
+
`then, in the primary checkout (<path>), run:` section — the project's
|
|
92
|
+
`afterLand`, such as a data migration — run those commands in that directory,
|
|
93
|
+
in order, after the fast-forward and **before** the re-test below, which may
|
|
94
|
+
need them. Run them on the no-op too: the engine prints them there because a
|
|
95
|
+
land made elsewhere leaves them pending here.
|
|
96
|
+
**Stop at the first non-zero exit**, and carry on with §5: a failure makes the run `⚠️`, naming the command
|
|
97
|
+
that failed and the ones that did not run, and it **never undoes the land**.
|
|
98
|
+
No section, nothing to run, and nothing to say about it.
|
|
99
|
+
|
|
90
100
|
## 5. Re-test on base, then report
|
|
91
101
|
|
|
92
102
|
- Run the project's test command **from the primary checkout** — base must be
|
|
@@ -111,12 +121,17 @@ the shape; this section carries only what is specific here.
|
|
|
111
121
|
**Verdicts**
|
|
112
122
|
|
|
113
123
|
- `✅` — the branch is on the base and the base is green.
|
|
114
|
-
- `⚠️` — landed, with something worth knowing
|
|
124
|
+
- `⚠️` — landed, with something worth knowing — an after-land command that
|
|
125
|
+
failed, for one.
|
|
115
126
|
- `❌` — the rebase conflicted, or the base went red after the fast-forward.
|
|
116
127
|
Quote it; the repo is mid-something and that is what the reader needs.
|
|
117
128
|
- `⏸` — a dirty worktree, red tests, or no spec to land. Nothing moved.
|
|
118
129
|
|
|
119
|
-
**Fields:** `Branch` · `Tests` · `Landed` · `Follow-ups` · `Next`
|
|
130
|
+
**Fields:** `Branch` · `Tests` · `Notes` · `Landed` · `Follow-ups` · `Next`
|
|
131
|
+
|
|
132
|
+
`Notes` carries the after-land commands §4 ran, and where — or the one that
|
|
133
|
+
failed and the ones that did not run. Nothing about it when none are
|
|
134
|
+
configured.
|
|
120
135
|
|
|
121
136
|
**No `Spec` field, deliberately.** This skill changes no status and moves no
|
|
122
137
|
folder, and a `Spec` line here would read as though it had. The spec stays
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skitterbyte/skitterspec",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0",
|
|
4
4
|
"description": "Spec-driven development for Claude Code \u2014 a tracker-free filesystem workflow: lifecycle skills and per-spec isolation. For Linear sync, install @skitterbyte/skitterspec-linear instead.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|