@skitterbyte/skitterspec 23.3.2 → 23.3.3
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 +141 -1
- package/assets/rules/spec-planning.md +13 -3
- package/package.json +1 -1
package/MIGRATION.md
CHANGED
|
@@ -1,5 +1,104 @@
|
|
|
1
1
|
# Migration guide
|
|
2
2
|
|
|
3
|
+
## `@skitterbyte/skitterspec-github` v1 → v2 (tell, don't track)
|
|
4
|
+
|
|
5
|
+
Skitterspec now tells GitHub about **its own** transitions and nothing
|
|
6
|
+
else. It writes nothing about releases or deployments, and it never reads a
|
|
7
|
+
ticket's state back.
|
|
8
|
+
|
|
9
|
+
### Breaking change 1 — The `release create|deployed|complete|reconcile` verbs are removed
|
|
10
|
+
|
|
11
|
+
They exit 1 with one line naming `spec-sync released <range> --json`. A pipeline
|
|
12
|
+
still calling them goes red rather than silently believing it mirrors
|
|
13
|
+
anything. **To migrate**, replace the step with your own script over the
|
|
14
|
+
release's ticket list:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
skitterspec-github spec-sync released "<previous-tag>..<tag>" --json
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Each ticket row now carries `spec` and `url` (both `null` for a ref no spec has
|
|
21
|
+
linked), so the script needs no second lookup. Set whatever GitHub field,
|
|
22
|
+
state or release object your process uses from that list. The checkout needs
|
|
23
|
+
`fetch-depth: 0` so the previous tag is visible.
|
|
24
|
+
|
|
25
|
+
### Breaking change 2 — The `releases` block (`deployedField`, `series`) and `release.stages` are retired
|
|
26
|
+
|
|
27
|
+
The keys are ignored, like any unknown key, so a config carrying them still
|
|
28
|
+
loads. `spec-sync doctor` names them as unused config (a `warn`, never a
|
|
29
|
+
failure). Delete them when you remove the CI step.
|
|
30
|
+
|
|
31
|
+
### Breaking change 3 — no state drift
|
|
32
|
+
|
|
33
|
+
`spec-sync status --remote` and `/spec-status` no longer compare the tracker's
|
|
34
|
+
state with the spec's. A ticket someone moved on GitHub is not reported, and
|
|
35
|
+
push still resends state only when the spec itself moves. The edited-description
|
|
36
|
+
warning is unchanged.
|
|
37
|
+
|
|
38
|
+
## `@skitterbyte/skitterspec-azure-boards` v1 → v2 (tell, don't track)
|
|
39
|
+
|
|
40
|
+
Skitterspec now tells Azure Boards about **its own** transitions and nothing
|
|
41
|
+
else. It writes nothing about releases or deployments, and it never reads a
|
|
42
|
+
ticket's state back.
|
|
43
|
+
|
|
44
|
+
### Breaking change 1 — The `release create|deployed|complete` verbs are removed
|
|
45
|
+
|
|
46
|
+
They exit 1 with one line naming `spec-sync released <range> --json`. A pipeline
|
|
47
|
+
still calling them goes red rather than silently believing it mirrors
|
|
48
|
+
anything. **To migrate**, replace the step with your own script over the
|
|
49
|
+
release's ticket list:
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
skitterspec-azure-boards spec-sync released "<previous-tag>..<tag>" --json
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Each ticket row now carries `spec` and `url` (both `null` for a ref no spec has
|
|
56
|
+
linked), so the script needs no second lookup. Set whatever Azure Boards field,
|
|
57
|
+
state or release object your process uses from that list. The checkout needs
|
|
58
|
+
`fetch-depth: 0` so the previous tag is visible.
|
|
59
|
+
|
|
60
|
+
### Breaking change 2 — The `releases` block (`workItemType`, `series`, `ticketTag`, `deployedField`) and `release.stages` are retired
|
|
61
|
+
|
|
62
|
+
The keys are ignored, like any unknown key, so a config carrying them still
|
|
63
|
+
loads. `spec-sync doctor` names them as unused config (a `warn`, never a
|
|
64
|
+
failure). Delete them when you remove the CI step.
|
|
65
|
+
|
|
66
|
+
### Breaking change 3 — no state drift
|
|
67
|
+
|
|
68
|
+
`spec-sync status --remote` and `/spec-status` no longer compare the tracker's
|
|
69
|
+
state with the spec's. A ticket someone moved on Azure Boards is not reported, and
|
|
70
|
+
push still resends state only when the spec itself moves. The edited-description
|
|
71
|
+
warning is unchanged.
|
|
72
|
+
|
|
73
|
+
## `@skitterbyte/skitterspec-jira` v1 → v2 (tell, don't track)
|
|
74
|
+
|
|
75
|
+
Skitterspec now tells Jira about **its own** transitions and nothing else. It
|
|
76
|
+
writes nothing about releases or deployments, and it never reads an issue's
|
|
77
|
+
status back.
|
|
78
|
+
|
|
79
|
+
### Breaking change 1 — no status drift
|
|
80
|
+
|
|
81
|
+
`spec-sync status --remote` and `/spec-status` no longer compare Jira's status
|
|
82
|
+
with the spec's. An issue someone moved on Jira is not reported, and push still
|
|
83
|
+
transitions it only when the spec itself moves. The edited-description warning
|
|
84
|
+
is unchanged.
|
|
85
|
+
|
|
86
|
+
### Breaking change 2 — `release.stages` retired
|
|
87
|
+
|
|
88
|
+
It was accepted and validated before, and never acted on. It is now ignored
|
|
89
|
+
like any unknown key, and `spec-sync doctor` names it as unused config (a
|
|
90
|
+
`warn`, never a failure). Delete it.
|
|
91
|
+
|
|
92
|
+
### Also — `released --json` names the spec
|
|
93
|
+
|
|
94
|
+
Each ticket row now carries `spec` and `url` (both `null` for a ref no spec has
|
|
95
|
+
linked), so CI can record a release, for example as a fix version, without a
|
|
96
|
+
second lookup:
|
|
97
|
+
|
|
98
|
+
```sh
|
|
99
|
+
skitterspec-jira spec-sync released "<previous-tag>..<tag>" --json
|
|
100
|
+
```
|
|
101
|
+
|
|
3
102
|
## `@skitterbyte/skitterspec` v23 → v24 (hotfix land runs the release itself)
|
|
4
103
|
|
|
5
104
|
### Breaking change 1 — `spec-env hotfix land` runs its steps, and holds before the carry
|
|
@@ -275,7 +374,48 @@ can run it.
|
|
|
275
374
|
committed file, so it changes for everyone who pulls and leaves that tree dirty.
|
|
276
375
|
The engine says so when it does.
|
|
277
376
|
|
|
278
|
-
## `@skitterbyte/skitterspec-linear` v18 → v19 (hotfix land runs the release itself)
|
|
377
|
+
## `@skitterbyte/skitterspec-linear` v18 → v19 (tell, don't track; hotfix land runs the release itself)
|
|
378
|
+
|
|
379
|
+
Skitterspec now tells Linear about **its own** transitions and nothing
|
|
380
|
+
else. It writes nothing about releases or deployments, and it never reads a
|
|
381
|
+
ticket's state back.
|
|
382
|
+
|
|
383
|
+
### Breaking change 1 — The `spec-sync stage` verb is removed
|
|
384
|
+
|
|
385
|
+
It exits 1 with one line naming `spec-sync released <range> --json`. A pipeline
|
|
386
|
+
still calling it goes red rather than silently believing it mirrors
|
|
387
|
+
anything. **To migrate**, replace the step with your own script over the
|
|
388
|
+
release's ticket list:
|
|
389
|
+
|
|
390
|
+
```sh
|
|
391
|
+
skitterspec-linear spec-sync released "<previous-tag>..<tag>" --json
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
Each ticket row now carries `spec` and `url` (both `null` for a ref no spec has
|
|
395
|
+
linked), so the script needs no second lookup. Set whatever Linear field,
|
|
396
|
+
state or release object your process uses from that list. The checkout needs
|
|
397
|
+
`fetch-depth: 0` so the previous tag is visible.
|
|
398
|
+
|
|
399
|
+
### Breaking change 2 — `release.stages` (the deployment ladder) is retired
|
|
400
|
+
|
|
401
|
+
The keys are ignored, like any unknown key, so a config carrying them still
|
|
402
|
+
loads. `spec-sync doctor` names them as unused config (a `warn`, never a
|
|
403
|
+
failure). Delete them when you remove the CI step.
|
|
404
|
+
|
|
405
|
+
### Breaking change 3 — no state drift
|
|
406
|
+
|
|
407
|
+
`spec-sync status --remote` and `/spec-status` no longer compare the tracker's
|
|
408
|
+
state with the spec's. A ticket someone moved on Linear is not reported, and
|
|
409
|
+
push still resends state only when the spec itself moves. The edited-description
|
|
410
|
+
warning is unchanged.
|
|
411
|
+
|
|
412
|
+
**A ladder rung no longer reads as `complete`.** Where a state was a
|
|
413
|
+
`release.stages` rung, the live `spec-sync list` now shows it as unmapped. To
|
|
414
|
+
keep it reading as finished, list it as an alias:
|
|
415
|
+
`"complete": ["Done", "On Test"]`. `init-config --stage` is gone too, and is
|
|
416
|
+
refused as an unknown flag.
|
|
417
|
+
|
|
418
|
+
### Also — hotfix land runs the release itself
|
|
279
419
|
|
|
280
420
|
The same change as `@skitterbyte/skitterspec` v23 → v24 above — this
|
|
281
421
|
distribution composes the same engine. Read that entry; nothing here is
|
|
@@ -492,9 +492,19 @@ missing alias.
|
|
|
492
492
|
Sync is **one-way**: the repo is the source of truth and the tracker is a
|
|
493
493
|
**generated mirror**. It ships `/spec-push` (repo→tracker; computes a create/update plan
|
|
494
494
|
against a committed last-pushed snapshot and applies it) and `/spec-status`
|
|
495
|
-
(read-only
|
|
496
|
-
|
|
497
|
-
|
|
495
|
+
(read-only — what would push, and whether someone edited a description there),
|
|
496
|
+
backed by a `spec-sync` CLI. There is no content pull — the tracker is never
|
|
497
|
+
read back or merged.
|
|
498
|
+
|
|
499
|
+
**It tells, it doesn't track.** Skitterspec sends the tracker its own
|
|
500
|
+
transitions — a spec starting, a phase finishing, a spec completing or being
|
|
501
|
+
cancelled — and nothing else. A status someone changes on the tracker is
|
|
502
|
+
theirs to have changed: it is never read back, never reported, and only
|
|
503
|
+
overwritten when the spec itself next moves. Releases and deployments are the
|
|
504
|
+
host project's to record. The one release question skitterspec answers is which
|
|
505
|
+
tickets a commit range contains (`spec-sync released <range> --json`, each row
|
|
506
|
+
with its spec and url), because only the `Refs:` trailers know. What the
|
|
507
|
+
project's CI does with that list is its own business.
|
|
498
508
|
|
|
499
509
|
**One-way means the repo wins, and it now wins *loudly*.** Those are different
|
|
500
510
|
claims and only the first was ever in doubt. A ticket's description is generated
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skitterbyte/skitterspec",
|
|
3
|
-
"version": "23.3.
|
|
3
|
+
"version": "23.3.3",
|
|
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",
|