@skitterbyte/skitterspec-azure-boards 3.2.2 → 3.2.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.
@@ -1997,6 +1997,10 @@ a.ticket:hover { border-color: var(--accent); }
1997
1997
  // because `Commit & Continue` names a next phase a spec with no phase files
1998
1998
  // does not have. Same three buttons as `refresh`, a different subject.
1999
1999
  fix: ['commit', 'changes', 'discuss'],
2000
+ // A PHASE STOPPED AT ITS MANUAL STEPS: the code half commits so it can go
2001
+ // live and be tested; the steps come next, so there is nothing to Continue
2002
+ // into. `/spec-next` §3 renders it, and arms nothing.
2003
+ manual: ['commit', 'changes', 'discuss'],
2000
2004
  // A KEPT PHASE of an autonomous run: the run committed it and carried on,
2001
2005
  // so there is nothing to decide here — it is read, not answered.
2002
2006
  snapshot: [],
@@ -354,28 +354,55 @@ Then build it, following the project rules in `.claude/rules/*.md` and `CLAUDE.m
354
354
  - Never hardcode dates in tests; never run destructive commands against a real
355
355
  database — use the project's test database only.
356
356
 
357
- ### Manual steps — list them, then ask
357
+ ### Manual steps — list them, end the turn, ask when they come back
358
358
 
359
359
  Some tasks are a person's to do: every task in an **Issue** spec, and any task
360
360
  you cannot perform yourself — operate a UI, check a device, confirm something
361
361
  on a board, run a manual test pass. That is a **judgment**, not a marker: there
362
362
  is no `(manual)` tag to look for, and a spec written before this rule has none.
363
363
 
364
- Build the tasks before the first manual one as usual. Then **stop at it** and
365
- print **every remaining manual step of this phase, verbatim and numbered**, as a
366
- plain markdown list in the conversation — never fenced, and
367
- **never only the phase file's path**. A pointer to the file sends the reader
368
- out of the terminal to find out what to do, which is the failure this exists to
369
- fix; the steps themselves are what they act on.
364
+ Build the tasks before the first manual one as usual, to green.
365
+ Then **stop at it** and print
366
+ **every remaining manual step of this phase, verbatim and numbered** —
367
+ never fenced, and **never only the phase file's path**. A pointer to the file
368
+ sends the reader out of the terminal to find out what to do, which is the
369
+ failure this exists to fix; the steps themselves are what they act on.
370
370
 
371
371
  **Steps you had to write are saved first.** When the phase file holds only a
372
372
  vague manual task — "check it on the running host" — and you wrote the steps
373
373
  yourself, add them under that task as numbered sub-checkboxes **before** you
374
- ask. The conversation does not survive a `/clear`, and a later run that makes
375
- up its own set lists different steps from the ones the reader was shown. A
376
- phase whose manual steps are already tasks is left as it is.
377
-
378
- Then ask one question, with three answers:
374
+ list them. The conversation does not survive a `/clear`, and a later run that
375
+ makes up its own set lists different steps from the ones the reader was shown.
376
+ A phase whose manual steps are already tasks is left as it is.
377
+
378
+ **The first listing ends the turn, and asks no question.** Asking in the same
379
+ turn fails twice over (ereqs, 2026-11-24): the harness's question dialog can
380
+ cover the text before it, so the reader sees "how did it go?" with no steps;
381
+ and the work is not reachable yet — uncommitted in this worktree, not live, not
382
+ on the base branch — so nothing could have been tested. The stop is a report:
383
+
384
+ 1. **Render the page for the code built so far**, only where the project has
385
+ isolation: `skitterspec spec-env review <spec> --buttons manual`. The
386
+ `manual` set offers `Commit` and drops `Commit & Continue`: the code half
387
+ commits so `/spec-live` can take a clean tree, and what follows is a
388
+ person's testing, not a build. It **does not arm** the gate — the phase did
389
+ not end. Committing part of a phase is deliberate here, unlike a `midrun`
390
+ page: the manual steps test this code, and it cannot be reached until it is
391
+ committed. Wait for the verdict as §5 does, under its banner; a `Commit`
392
+ runs through `/spec-diff` §2a.
393
+ 2. **End `⚠️`**, `Why` the phase stopped at its manual steps. `Next` first
394
+ names how to reach the work — `/commit`, then `/spec-live`; or
395
+ `/commit`, then `/spec-to-main` where live refuses the branch (it touches
396
+ migrations, which would change the shared database) or a step needs it on
397
+ the base branch — then the steps a row each, then a closing row: *tell me
398
+ how it went, or `/spec-next`*. The rows follow
399
+ `.claude/rules/spec-reports.md`, *Open manual steps are rows*.
400
+
401
+ **The operator's next message is the answer** — "all done", "step 5 failed:
402
+ …" — read as one of the three below. Or a later `/spec-next` finds the steps
403
+ still unticked: re-list them, and now that the operator has come back, ask.
404
+ A picker carries the steps **inside the question text**,
405
+ never only in the text before it. The three answers:
379
406
 
380
407
  - **All done** — tick those steps and carry on to the end of the phase.
381
408
  - **Some failed** — the picker cannot list the steps (it holds four options and
@@ -385,16 +412,10 @@ Then ask one question, with three answers:
385
412
  never switch.
386
413
  - **Not yet** — tick nothing.
387
414
 
388
- This is the mid-run question `.claude/rules/spec-reports.md` already allows —
389
- whether a person did something is a question you cannot answer yourself — so it
390
- needs no new shape in the report.
391
-
392
- **Some failed or Not yet leaves the phase `🔄`, and stops the run there.** Code
393
- tasks after an unconfirmed step are not built past it, and the phase did not
394
- end: **skip §4's done-marking and §5 entirely** — no page, no arm, no wait.
395
- End `⚠️` and name `/spec-next` in `Next`; it re-lists the same unticked steps.
396
- Its `Next` lists the open steps a row each, copied from the phase file —
397
- `.claude/rules/spec-reports.md`, *Open manual steps are rows*.
415
+ **The stop, Some failed and Not yet leave the phase `🔄`, and stop the run there.** Code tasks after an unconfirmed step are not built past it, and the
416
+ phase did not end: **skip §4's done-marking and §5's committing render** — on
417
+ an answer, no page, no arm, no wait. End `⚠️` and name `/spec-next` in `Next`;
418
+ it re-lists the same unticked steps, a row each, copied from the phase file.
398
419
 
399
420
  ## 4. Record progress
400
421
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skitterbyte/skitterspec-azure-boards",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
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",
package/src/cli.js CHANGED
@@ -8143,6 +8143,17 @@ function liveRebaseTarget(dir, config, base) {
8143
8143
 
8144
8144
  // Take the running instance: rebase the spec's branch onto base, free it from its
8145
8145
  // worktree, and check it out in the primary checkout so the dev server reloads it.
8146
+ // A TAKE THAT DID NOT HAPPEN SAYS SO FIRST. Every outcome used to open
8147
+ // `spec-env live take: …`, so a one-line refusal read like the success line,
8148
+ // and an operator (ereqs, 2026-11-24) went to test a feature that was never
8149
+ // switched in. The marker leads, the consequence follows, the reason after.
8150
+ function notLive(folder, why) {
8151
+ return (
8152
+ `✖ NOT LIVE — spec-env live take refused ${folder}; nothing switched, ` +
8153
+ `the running instance is unchanged.\n\n ${why}\n`
8154
+ )
8155
+ }
8156
+
8146
8157
  async function specEnvLiveTake(dir, config, specArg, flags = {}) {
8147
8158
  const spec = resolveSpecWithWorktree(dir, config, specArg)
8148
8159
 
@@ -8230,7 +8241,7 @@ async function specEnvLiveTake(dir, config, specArg, flags = {}) {
8230
8241
  // entitled to the same way out — so the refusal prints what it would have
8231
8242
  // offered rather than making a harness the only route to it.
8232
8243
  process.stdout.write(
8233
- `spec-env live take: blocked — ${plan.reason}.\n` +
8244
+ notLive(spec.folder, `blocked — ${plan.reason}.`) +
8234
8245
  (plan.offer ? ` ${plan.offer.label}: ${plan.offer.command}\n` : ''),
8235
8246
  )
8236
8247
  return
@@ -8247,17 +8258,20 @@ async function specEnvLiveTake(dir, config, specArg, flags = {}) {
8247
8258
  const started = runGit(spec.worktreePath, ['rebase', '--show-current-patch']).ok
8248
8259
  if (started) runGit(spec.worktreePath, ['rebase', '--abort'])
8249
8260
  process.stdout.write(
8250
- started
8251
- ? `spec-env live take: rebase of ${spec.branch} onto ${onto} hit conflicts — ` +
8252
- `resolve them in ${spec.worktreePath}, then retry.\n`
8253
- : `spec-env live take: rebase of ${spec.branch} onto ${onto} could not start — ` +
8254
- `git said:\n ${reb.err.split('\n').join('\n ')}\n`,
8261
+ notLive(
8262
+ spec.folder,
8263
+ started
8264
+ ? `rebase of ${spec.branch} onto ${onto} hit conflicts — ` +
8265
+ `resolve them in ${spec.worktreePath}, then retry.`
8266
+ : `rebase of ${spec.branch} onto ${onto} could not start — ` +
8267
+ `git said:\n ${reb.err.split('\n').join('\n ')}`,
8268
+ ),
8255
8269
  )
8256
8270
  return
8257
8271
  }
8258
8272
  const det = runGit(spec.worktreePath, ['switch', '--detach'])
8259
8273
  if (!det.ok) {
8260
- process.stdout.write(`spec-env live take: could not detach the worktree — ${det.err}\n`)
8274
+ process.stdout.write(notLive(spec.folder, `could not detach the worktree — ${det.err}`))
8261
8275
  return
8262
8276
  }
8263
8277
  const co = runGit(dir, ['checkout', spec.branch])
@@ -8265,8 +8279,7 @@ async function specEnvLiveTake(dir, config, specArg, flags = {}) {
8265
8279
  // Roll the detach back so the worktree keeps its branch.
8266
8280
  runGit(spec.worktreePath, ['switch', spec.branch])
8267
8281
  process.stdout.write(
8268
- `spec-env live take: could not check out ${spec.branch} in the primary ` +
8269
- `checkout — ${co.err}\n`,
8282
+ notLive(spec.folder, `could not check out ${spec.branch} in the primary checkout — ${co.err}`),
8270
8283
  )
8271
8284
  return
8272
8285
  }
package/src/env/review.js CHANGED
@@ -984,7 +984,10 @@ const COMMITTING = ['commit', 'commit-continue', 'commit-start', 'commit-land',
984
984
  // at all, because the run committed that phase and carried on. `final` is the
985
985
  // page an autonomous run ends on under `pause`: `complete`, `push`, `pr`, plus
986
986
  // `changes` and `discuss`.
987
- const BUTTON_SETS = ['committing', 'midrun', 'authoring', 'refresh', 'nospec', 'fix', 'snapshot', 'final']
987
+ // `manual` is a phase stopped at its manual steps: its code half is green and
988
+ // must be committed before `/spec-live` will take it, and what follows is a
989
+ // person's testing, not a build — so `Commit`, never `Commit & Continue`.
990
+ const BUTTON_SETS = ['committing', 'midrun', 'authoring', 'refresh', 'nospec', 'fix', 'manual', 'snapshot', 'final']
988
991
  const DEFAULT_BUTTON_SET = 'committing'
989
992
 
990
993
  /**
package/src/env/serve.js CHANGED
@@ -531,7 +531,9 @@ function receivePass(dir, config, spec, blob) {
531
531
  */
532
532
  // `final` too: the run's last render declared it, and a served re-render
533
533
  // must keep offering the ending rather than fall back to `Commit`.
534
- const NARROWING_SETS = ['midrun', 'refresh', 'fix', 'final']
534
+ // `manual` narrows the same way `fix` does: a served re-render of a phase
535
+ // stopped at its manual steps must not hand back `Commit & Continue`.
536
+ const NARROWING_SETS = ['midrun', 'refresh', 'fix', 'manual', 'final']
535
537
 
536
538
  function buttonsForView(viewKind, spec, recorded) {
537
539
  if (NARROWING_SETS.includes(recorded)) return recorded