@gobing-ai/spur 0.3.51 → 0.3.53
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/.claude-plugin/marketplace.json +1 -1
- package/config/corpus-baseline.json +8 -8
- package/config/tasks/section-matrix.yaml +7 -2
- package/config/workflows/task-lifecycle.yaml +7 -6
- package/config/workflows/task-pipeline2.yaml +778 -0
- package/package.json +1 -1
- package/plugins/sp/agents/super-planner.md +3 -2
- package/plugins/sp/agents/super-reviewer.md +5 -0
- package/plugins/sp/commands/dev-review.md +1 -1
- package/plugins/sp/plugin.json +1 -1
- package/plugins/sp/scripts/pr-reviewing.ts +22 -4
- package/plugins/sp/scripts/stage-registry-adapter.ts +40 -25
- package/plugins/sp/skills/code-improvement/SKILL.md +5 -3
- package/plugins/sp/skills/code-verification/SKILL.md +28 -31
- package/plugins/sp/skills/code-verification/references/verdict-schema.md +47 -0
- package/plugins/sp/skills/functional-review/SKILL.md +16 -15
- package/plugins/sp/skills/spec-decomposition/references/decomposition.md +13 -14
- package/plugins/sp/skills/spur-cli/references/tasks/l3-guard-cheatsheet.md +7 -3
- package/plugins/sp/skills/spur-cli/references/tasks/section-editing.md +22 -13
- package/plugins/sp/skills/spur-cli/references/tasks/verbs.md +22 -11
- package/plugins/sp/skills/spur-cli/references/tasks.md +16 -10
- package/plugins/sp/skills/spur-dev/SKILL.md +10 -5
- package/plugins/sp/skills/spur-dev/references/dev-operations.md +5 -5
- package/plugins/sp/skills/spur-dev/references/execution-workflow.md +11 -4
- package/plugins/sp/skills/spur-dev/references/gate-checklists.md +5 -3
- package/plugins/sp/skills/spur-dev/references/inline-pipeline-driver.md +10 -1
- package/plugins/sp/skills/spur-dev/references/section-batching.md +29 -13
- package/spur.js +337 -226
|
@@ -239,14 +239,6 @@
|
|
|
239
239
|
"reason": "BDD step-order advisory (\"When\" after \"Then\") — see note § L3.ac-bdd-warning.",
|
|
240
240
|
"since": "2026-08-17"
|
|
241
241
|
},
|
|
242
|
-
{
|
|
243
|
-
"kind": "feature",
|
|
244
|
-
"id": "I",
|
|
245
|
-
"code": "L4.orphan-scenarios",
|
|
246
|
-
"severity": "warning",
|
|
247
|
-
"reason": "Feature AC scenarios have no linked task (orphan scenarios) — see note § L4.orphan-scenarios.",
|
|
248
|
-
"since": "2026-08-17"
|
|
249
|
-
},
|
|
250
242
|
{
|
|
251
243
|
"kind": "feature",
|
|
252
244
|
"id": "I1",
|
|
@@ -271,6 +263,14 @@
|
|
|
271
263
|
"reason": "Linked task lacks a PASS verdict with MET requirement — verification pending, see note § L4.scenario-unverified.",
|
|
272
264
|
"since": "2026-08-17"
|
|
273
265
|
},
|
|
266
|
+
{
|
|
267
|
+
"kind": "feature",
|
|
268
|
+
"id": "I",
|
|
269
|
+
"code": "L4.uncovered-feature-scenario",
|
|
270
|
+
"severity": "warning",
|
|
271
|
+
"reason": "Feature I (sp plugin) ownership scenarios (\"Plugin work has one active root\", \"Runtime execution remains separate\", \"Legacy H does not receive new work\") are planning/ownership assertions not covered by any linked task AC. Task 0600 links feature I (superskill-entrypoint alignment) but its AC do not route ownership; the link changed the report from L4.orphan-scenarios to uncovered-feature-scenario (DD-09). Cover by a future feature-I ownership task.",
|
|
272
|
+
"since": "2026-08-19"
|
|
273
|
+
},
|
|
274
274
|
{
|
|
275
275
|
"kind": "feature",
|
|
276
276
|
"id": "J",
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# Section-Status-Matrix: which sections are required/optional/forbidden per task status.
|
|
2
|
-
# Design §3.2 —
|
|
2
|
+
# Design §3.2 — the SOLE semantic authority for task section layout (F92 R1):
|
|
3
|
+
# * VALIDATION (`spur task check`, incl. target-aware `--as <status>` lifecycle guard)
|
|
4
|
+
# * CREATION (`spur task create` / `spur task batch-create` -> `buildTaskSkeleton`)
|
|
5
|
+
# There is NO hand-maintained creation or matrix fallback — packaged/compiled
|
|
6
|
+
# execution loads data copied/generated from THIS canonical file and fails loudly
|
|
7
|
+
# if no asset is reachable. Template files supply section BODY content + guidance
|
|
8
|
+
# only; they never own the heading list (which comes from this matrix).
|
|
3
9
|
#
|
|
4
10
|
# Each VARIANT (the unified template axis — TASK_VARIANTS) maps status →
|
|
5
11
|
# { required, optional, forbidden } section lists. Sections reference the canonical
|
|
6
12
|
# section vocabulary (§2.1). `gate: true` on a status makes L2 violations hard errors.
|
|
7
13
|
#
|
|
8
14
|
# The variant is selected by a task's `template:` frontmatter (default: `standard`).
|
|
9
|
-
# It drives BOTH validation (`spur task check`) AND creation (`buildTaskSkeleton`).
|
|
10
15
|
$schema: "@gobing-ai/spur/schemas/section-matrix.schema.json"
|
|
11
16
|
|
|
12
17
|
variants:
|
|
@@ -12,15 +12,16 @@ name: task-lifecycle
|
|
|
12
12
|
description: >
|
|
13
13
|
Task lifecycle FSM (design §2.3, §5.1). States are the canonical TaskStatus
|
|
14
14
|
vocabulary (DD-01); transitions encode the §2.3 graph; guards invoke
|
|
15
|
-
`${vars.spurBin} task check
|
|
15
|
+
`${vars.spurBin} task check --as <target>` at the wip→testing and testing→done
|
|
16
|
+
placements (F92 R3): each guard evaluates the task AS the transition target so
|
|
17
|
+
testing→done checks the `done` row instead of the current `testing` row.
|
|
16
18
|
`done` is re-enterable (reopen with a warning); `cancelled` is terminal.
|
|
17
|
-
Guard commands reference the check verb (0051)
|
|
18
|
-
today, behavioral wiring activates as the verb ships. Unconditional transitions
|
|
19
|
+
Guard commands reference the check verb (0051). Unconditional transitions
|
|
19
20
|
use the `always` guard (externally-driven via `requestTransition`, not
|
|
20
21
|
auto-advance).
|
|
21
22
|
|
|
22
23
|
Two-layer done gate (task 0292): this workflow's testing→done guard
|
|
23
|
-
(`spur task check --
|
|
24
|
+
(`spur task check --as done`, F92 R3 — target-aware) is the FIRST gate. The CLI verdict guard
|
|
24
25
|
(`packages/app/src/services/done-transition-guard.ts`) is the SECOND gate,
|
|
25
26
|
invoked by `apps/cli/src/commands/task.ts` for every `spur task update <wbs>
|
|
26
27
|
done` call — it reads `.spur/run/<wbs>-verdict.json` and blocks non-PASS
|
|
@@ -69,14 +70,14 @@ transitions:
|
|
|
69
70
|
guard:
|
|
70
71
|
kind: shell
|
|
71
72
|
options:
|
|
72
|
-
command: '$spurBin task check $wbs'
|
|
73
|
+
command: '$spurBin task check $wbs --as testing'
|
|
73
74
|
- from: testing
|
|
74
75
|
to: done
|
|
75
76
|
description: Testing passed — task complete
|
|
76
77
|
guard:
|
|
77
78
|
kind: shell
|
|
78
79
|
options:
|
|
79
|
-
command: '$spurBin task check $wbs --
|
|
80
|
+
command: '$spurBin task check $wbs --as done'
|
|
80
81
|
|
|
81
82
|
# Reopen: done → wip (warned, mandatory History entry)
|
|
82
83
|
- from: done
|