@skitterbyte/skitterspec-azure-boards 2.2.0 → 2.3.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.
|
@@ -635,6 +635,56 @@ its phases. It carries `> **Severity:**` (Azure's literal values,
|
|
|
635
635
|
unfolds; `/spec-complete` writes `incident-log.md` from it and pushes the log
|
|
636
636
|
onto the tracker item as a comment.
|
|
637
637
|
|
|
638
|
+
### Kind routing — any door, the right spec
|
|
639
|
+
|
|
640
|
+
`/spec` is the default door, so the kind of work someone describes does not
|
|
641
|
+
always match the skill they typed — especially for someone new, for whom
|
|
642
|
+
"spec it" is the reflex. Every entry skill therefore
|
|
643
|
+
**watches its grill for the signals that mark the other kinds**, and proposes a
|
|
644
|
+
hand-off the moment one appears — never at the end of a grill already shaping
|
|
645
|
+
the wrong spec:
|
|
646
|
+
|
|
647
|
+
| In | Watches for | Hands to |
|
|
648
|
+
|----|-------------|----------|
|
|
649
|
+
| `/spec` | defect · defect on a released version · live outage | `/spec-bug` · `/spec-hotfix` · `/spec-incident` |
|
|
650
|
+
| `/spec-bug` | on a released version · live outage · not a defect | `/spec-hotfix` · `/spec-incident` · `/spec` |
|
|
651
|
+
| `/spec-hotfix` | live outage · not on a released version · not a defect | `/spec-incident` · `/spec-bug` · `/spec` |
|
|
652
|
+
| `/spec-incident` | no live outage to record | defect → `/spec-bug` (on a released version → `/spec-hotfix`), else `/spec` |
|
|
653
|
+
|
|
654
|
+
Feature, chore and issue all route to `/spec` — one door for the three kinds it
|
|
655
|
+
writes, where its kind proposal picks between them. Example signals, weighed in
|
|
656
|
+
context rather than matched as keywords: a **defect** is behaviour differing
|
|
657
|
+
from intended — "it's broken", a failing flow, a stack trace of a failure;
|
|
658
|
+
**on a released version** is that defect where what is deployed is named — "in
|
|
659
|
+
prod", "since v2.1"; a **live outage** is a service down or degraded
|
|
660
|
+
**right now**, users affected as we speak; **not a defect** is an ask for new or
|
|
661
|
+
changed behaviour rather than for restoring intended behaviour.
|
|
662
|
+
|
|
663
|
+
Three rules, the same in every skill:
|
|
664
|
+
|
|
665
|
+
- **Always confirm; never silently switch.** Name the signal in the user's own
|
|
666
|
+
words and propose the destination with a one-line reason; the user confirms
|
|
667
|
+
or declines. A decline ends the matter — the grill carries on where it was,
|
|
668
|
+
and the same signal is not raised again. A signal is a question, never a
|
|
669
|
+
verdict: a pasted stack trace in "handle this error nicely" is a feature
|
|
670
|
+
request, not a bug report.
|
|
671
|
+
- **Precedence: incident > hotfix > bug.** One description can carry several
|
|
672
|
+
signals; propose the most specific destination — the same reasoning the
|
|
673
|
+
intake label routing documents for hotfix-over-bug.
|
|
674
|
+
- **Hand off in-session, carrying the context.** On a confirmed switch the
|
|
675
|
+
current skill invokes the destination skill directly and seeds it with
|
|
676
|
+
everything the grilling has already established — symptom, version, impact,
|
|
677
|
+
repro material, decisions so far — so the destination grills only what it
|
|
678
|
+
still needs ("seed, don't skip, the grill", the principle issue adoption
|
|
679
|
+
already uses). Stop-and-retype is the **label** routing's shape, and right
|
|
680
|
+
there because it fires before any grilling; mid-grill it would throw away
|
|
681
|
+
the answers already given.
|
|
682
|
+
|
|
683
|
+
This is judgment, not configuration: the signals are examples, there is no
|
|
684
|
+
list to maintain, and nothing here reads a label. A ticketing provider's
|
|
685
|
+
intake label routing (`intake.bugLabels` / `intake.hotfixLabels`) is a
|
|
686
|
+
separate, earlier check and is unchanged by this.
|
|
687
|
+
|
|
638
688
|
All six types share the same lifecycle folders below — type is orthogonal to
|
|
639
689
|
status.
|
|
640
690
|
|
|
@@ -198,6 +198,39 @@ not write the spec until this is resolved.
|
|
|
198
198
|
Stop grilling when there are no unresolved branches that would change the spec.
|
|
199
199
|
Briefly play back the agreed understanding before writing.
|
|
200
200
|
|
|
201
|
+
### Watch for the other doors — bug, hotfix, incident
|
|
202
|
+
|
|
203
|
+
`/spec` is the default door, so work that belongs to another skill arrives here
|
|
204
|
+
described in the user's own words — no issue, no labels for Phase 0 to route
|
|
205
|
+
on. While grilling, watch for the signals that mark the other kinds and raise
|
|
206
|
+
the hand-off **the moment one appears**, not at the end of the grill: for a
|
|
207
|
+
live outage especially, finishing a feature grill first is actively harmful,
|
|
208
|
+
because `/spec-incident` exists to be written *during* the outage.
|
|
209
|
+
|
|
210
|
+
- **Defect** — behaviour differing from intended ("it's broken", a failing
|
|
211
|
+
flow, a stack trace of a failure) → propose **`/spec-bug`**.
|
|
212
|
+
- **Defect on a released version** — the defect is on what is deployed ("in
|
|
213
|
+
prod", "since v2.1") → propose **`/spec-hotfix`**.
|
|
214
|
+
- **Live outage** — a service down or degraded **right now**, users affected
|
|
215
|
+
as we speak → propose **`/spec-incident`**.
|
|
216
|
+
|
|
217
|
+
**Always confirm; never silently switch.** Name the signal in the user's own
|
|
218
|
+
words, propose the destination with a one-line reason, and let them decide. A
|
|
219
|
+
decline carries the grill on where it was, and the same signal is not raised
|
|
220
|
+
again. A signal is a question, never a verdict: a pasted stack trace in
|
|
221
|
+
"handle this error nicely" is a feature request. When one description carries
|
|
222
|
+
several signals, propose the most specific destination —
|
|
223
|
+
**incident > hotfix > bug**.
|
|
224
|
+
|
|
225
|
+
**On a confirmed switch, hand off in-session and carry the context.** Invoke
|
|
226
|
+
the destination skill directly and seed it with everything the grilling has
|
|
227
|
+
already established — symptom, version, impact, repro material, decisions so
|
|
228
|
+
far — so it grills only what it still needs ("seed, don't skip, the grill",
|
|
229
|
+
exactly as issue adoption does). Do not stop and tell the user to retype: that
|
|
230
|
+
shape belongs to Phase 0's label routing, which fires before any grilling has
|
|
231
|
+
happened and so has nothing to lose. The full routing matrix lives in
|
|
232
|
+
`.claude/rules/spec-planning.md`.
|
|
233
|
+
|
|
201
234
|
### Propose the kind — feature, chore or issue
|
|
202
235
|
|
|
203
236
|
This skill writes three kinds of spec, and
|
|
@@ -225,10 +258,13 @@ the point.
|
|
|
225
258
|
|
|
226
259
|
There is no `/spec-chore` or `/spec-issue` and none should be added: one entry
|
|
227
260
|
point, one grill, and the kind is an output of understanding the work rather
|
|
228
|
-
than a door the user must pick before describing it. The
|
|
229
|
-
|
|
230
|
-
needs a different grill and starts mid-flight —
|
|
231
|
-
one, hand off to **`/spec-
|
|
261
|
+
than a door the user must pick before describing it. The kinds with their own
|
|
262
|
+
doors — bug, hotfix, and the **incident**, an outage or degradation of a live
|
|
263
|
+
service that needs a different grill and starts mid-flight — are the watch's
|
|
264
|
+
business above: when the grilling uncovers one, hand off to **`/spec-bug`**,
|
|
265
|
+
**`/spec-hotfix`** or **`/spec-incident`** rather than writing it here, and it
|
|
266
|
+
is never too late to propose that — reaching this proposal with the signal
|
|
267
|
+
unraised is a missed watch, not a reason to write the wrong kind.
|
|
232
268
|
|
|
233
269
|
## Phase B — write the spec
|
|
234
270
|
|
|
@@ -160,6 +160,38 @@ Bugs are concrete — confirm, don't over-grill. Establish:
|
|
|
160
160
|
against the broken one (the bug usually lives in the differential). Do NOT
|
|
161
161
|
patch a symptom before you understand the cause.
|
|
162
162
|
|
|
163
|
+
### Watch for the other doors — hotfix, incident, or not a bug at all
|
|
164
|
+
|
|
165
|
+
The investigation above is where mis-entry shows, so watch it for the signals
|
|
166
|
+
that mark the other kinds and raise the hand-off the moment one appears —
|
|
167
|
+
before the failing test is written, while nothing is on disk
|
|
168
|
+
(`.claude/rules/spec-planning.md` carries the full routing matrix):
|
|
169
|
+
|
|
170
|
+
- **On a released version** — the defect is on what is deployed ("in prod",
|
|
171
|
+
"since v2.1") → propose **`/spec-hotfix`**. This is the escalation that must
|
|
172
|
+
not be missed: a fix built here lands on `main` and never reaches the
|
|
173
|
+
running version.
|
|
174
|
+
- **Live outage** — a service down or degraded **right now** → propose
|
|
175
|
+
**`/spec-incident`**; the record comes first, and the fix returns as a
|
|
176
|
+
linked spec.
|
|
177
|
+
- **Not a defect** — the ask is new or changed behaviour, not restoring
|
|
178
|
+
intended behaviour → propose **`/spec`**, whose kind proposal picks feature,
|
|
179
|
+
chore or issue from there.
|
|
180
|
+
|
|
181
|
+
**Always confirm; never silently switch** — name the signal in the user's own
|
|
182
|
+
words with a one-line reason, and a decline carries this skill on where it
|
|
183
|
+
was, the same signal not raised again. When several signals appear at once,
|
|
184
|
+
propose the most specific destination — incident over hotfix.
|
|
185
|
+
**On a confirmed switch, hand off in-session and carry the context**: invoke
|
|
186
|
+
the destination skill directly and seed it with what §1 established — symptom,
|
|
187
|
+
repro, root-cause notes, any version named — so it grills only what it still
|
|
188
|
+
needs.
|
|
189
|
+
|
|
190
|
+
**Once the failing test exists, the repro is evidence, not a question to re-litigate**
|
|
191
|
+
— but evidence can still escalate: a red test that also fails at
|
|
192
|
+
the released tag is the hotfix signal with proof attached, and the hand-off
|
|
193
|
+
carries the failing test across.
|
|
194
|
+
|
|
163
195
|
## 2. Isolate the fix in a worktree — when isolation is enabled
|
|
164
196
|
|
|
165
197
|
**Only when per-spec isolation is enabled** (`specs/.core/env.config.json`
|
|
@@ -187,6 +187,27 @@ Hotfixes are concrete — confirm, don't over-grill. Establish:
|
|
|
187
187
|
- **Root cause:** read the code **at the base tag** and trace it to `file:line`.
|
|
188
188
|
The fix belongs on the tag's line, so reason about that code, not `main`'s.
|
|
189
189
|
|
|
190
|
+
### Watch for the other doors — incident, bug, or not a defect
|
|
191
|
+
|
|
192
|
+
This is the most specific defect door, so most mis-entries route *down*
|
|
193
|
+
(`.claude/rules/spec-planning.md` carries the full routing matrix):
|
|
194
|
+
|
|
195
|
+
- **Live outage** — the released version is not just wrong but down or
|
|
196
|
+
degraded **right now** → propose **`/spec-incident`**; the record comes
|
|
197
|
+
first, and the fix returns here as a linked hotfix spec.
|
|
198
|
+
- **Not on a released version** — §1 cannot name a deployed tag the defect is
|
|
199
|
+
on (it exists only on `main`, or prod runs something newer that is fine) →
|
|
200
|
+
propose **`/spec-bug`**; a hotfix branch for something `main` can carry is
|
|
201
|
+
waste, not safety.
|
|
202
|
+
- **Not a defect** — the ask is new or changed behaviour, not restoring
|
|
203
|
+
intended behaviour → propose **`/spec`**.
|
|
204
|
+
|
|
205
|
+
**Always confirm; never silently switch** — name the signal in the user's own
|
|
206
|
+
words with a one-line reason; a decline carries this skill on where it was.
|
|
207
|
+
**On a confirmed switch, hand off in-session and carry the context**
|
|
208
|
+
established so far — the symptom, the repro, any version discussion — so the
|
|
209
|
+
destination grills only what it still needs.
|
|
210
|
+
|
|
190
211
|
## 3. Provision the worktree from the tag, then write in it
|
|
191
212
|
|
|
192
213
|
**Provision before you write, not after.** §1 settled the tag and the name and
|
|
@@ -37,6 +37,28 @@ Ask for exactly these, batched, with nothing speculative:
|
|
|
37
37
|
A root cause is **not** grilled: nobody has it yet, and the Timeline is where
|
|
38
38
|
the investigation lands as it happens.
|
|
39
39
|
|
|
40
|
+
### No live outage to record — route to the right door
|
|
41
|
+
|
|
42
|
+
This is the costliest door to enter wrongly — no backlog stop, no review page,
|
|
43
|
+
straight into `specs/in-progress/` — so the grill's own answers are also its
|
|
44
|
+
exit. When items 1 and 2 establish there is **no outage to record** — nothing
|
|
45
|
+
is down or degraded, it never was live, or it is a risk rather than an event —
|
|
46
|
+
propose the right door instead of writing an incident
|
|
47
|
+
(`.claude/rules/spec-planning.md` carries the full routing matrix):
|
|
48
|
+
|
|
49
|
+
- a **defect** → **`/spec-bug`**, or **`/spec-hotfix`** when it is on a
|
|
50
|
+
released version;
|
|
51
|
+
- anything else → **`/spec`**, whose kind proposal picks feature, chore or
|
|
52
|
+
issue from there.
|
|
53
|
+
|
|
54
|
+
**A past outage someone wants a record of stays an incident**: "it is over" is
|
|
55
|
+
not "it never happened" — the signal is *no outage to record*, not *no outage
|
|
56
|
+
now*. This check is the grill's existing questions read honestly, never an
|
|
57
|
+
extra round trip, and the hand-off contract is the same as everywhere else:
|
|
58
|
+
confirm first, naming the signal in the user's own words; a decline carries
|
|
59
|
+
this skill on; on a confirmed switch invoke the destination skill in-session,
|
|
60
|
+
seeded with everything already established.
|
|
61
|
+
|
|
40
62
|
## 2. Write it, in flight
|
|
41
63
|
|
|
42
64
|
Pick a short kebab name prefixed `incident-` (e.g. `incident-api-outage`).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skitterbyte/skitterspec-azure-boards",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Spec-driven development for Claude Code, with one-way Azure Boards sync — a superset of @skitterbyte/skitterspec: the base filesystem workflow plus /spec-status · /spec-push · /spec-claim and the spec-sync CLI, mirroring specs to Azure DevOps work items with parent/child hierarchy, assignment and a release work item per tag. The repo is canonical; Boards is a generated mirror. Install this OR the base OR one other superset — exactly one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|