@gobing-ai/spur 0.3.21 → 0.3.23

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.
Files changed (58) hide show
  1. package/config/workflows/task-pipeline.yaml +6 -2
  2. package/config/workflows/wrapup-pipeline.yaml +4 -7
  3. package/package.json +1 -1
  4. package/schemas/spur-config.schema.json +13 -0
  5. package/spur.js +7804 -6771
  6. package/web/_astro/BoardApp.LygxZgOy.js +1 -0
  7. package/web/_astro/{BoardApp.DfUXxULJ.js → BoardApp.b8HvN_Uy.js} +82 -82
  8. package/web/_astro/{TaskDetail.CWHJA-V_.js → TaskDetail.BRr8ebLd.js} +1 -1
  9. package/web/_astro/{arc.B64JH2Yw.js → arc.D9I3ghf3.js} +1 -1
  10. package/web/_astro/{architectureDiagram-3BPJPVTR.CNsf8RqK.js → architectureDiagram-3BPJPVTR.B60VjZ82.js} +1 -1
  11. package/web/_astro/{blockDiagram-GPEHLZMM.B5L6Sdtp.js → blockDiagram-GPEHLZMM.B8xiXsGb.js} +1 -1
  12. package/web/_astro/{c4Diagram-AAUBKEIU.D2LUWzto.js → c4Diagram-AAUBKEIU.D8Q9jRJZ.js} +1 -1
  13. package/web/_astro/channel.BToTp7Lu.js +1 -0
  14. package/web/_astro/{chunk-2J33WTMH.BDCK4a2A.js → chunk-2J33WTMH.BVcogAuP.js} +1 -1
  15. package/web/_astro/{chunk-4BX2VUAB.DRG-P5ln.js → chunk-4BX2VUAB.pDodeppW.js} +1 -1
  16. package/web/_astro/{chunk-55IACEB6.BF6dAaDw.js → chunk-55IACEB6.5dYLJxJn.js} +1 -1
  17. package/web/_astro/{chunk-727SXJPM.GT8NEsK6.js → chunk-727SXJPM.C6GTI_n6.js} +1 -1
  18. package/web/_astro/{chunk-AQP2D5EJ.C6g9Ixyp.js → chunk-AQP2D5EJ.kgDX41bQ.js} +1 -1
  19. package/web/_astro/{chunk-FMBD7UC4.37t3ZahP.js → chunk-FMBD7UC4.CSnAi74r.js} +1 -1
  20. package/web/_astro/{chunk-ND2GUHAM.CIMe94Tp.js → chunk-ND2GUHAM.qQ8ldUUT.js} +1 -1
  21. package/web/_astro/{chunk-QZHKN3VN.BDk4vBSo.js → chunk-QZHKN3VN.PzPFlVri.js} +1 -1
  22. package/web/_astro/{classDiagram-4FO5ZUOK.BkZHAH5J.js → classDiagram-4FO5ZUOK.C7RulRYW.js} +1 -1
  23. package/web/_astro/{classDiagram-v2-Q7XG4LA2.BkZHAH5J.js → classDiagram-v2-Q7XG4LA2.C7RulRYW.js} +1 -1
  24. package/web/_astro/{cose-bilkent-S5V4N54A.-vmutMeo.js → cose-bilkent-S5V4N54A.Dw4HZHnT.js} +1 -1
  25. package/web/_astro/{dagre-BM42HDAG.YTN__ph-.js → dagre-BM42HDAG.MmGbZWM_.js} +1 -1
  26. package/web/_astro/{diagram-2AECGRRQ.CpwYXr6h.js → diagram-2AECGRRQ.DugWYvZC.js} +1 -1
  27. package/web/_astro/{diagram-5GNKFQAL.BLW_nNiA.js → diagram-5GNKFQAL.BL7D0BMi.js} +1 -1
  28. package/web/_astro/{diagram-KO2AKTUF.BTFC9CYM.js → diagram-KO2AKTUF.B9GQMjwM.js} +1 -1
  29. package/web/_astro/{diagram-LMA3HP47.CWXHZTYF.js → diagram-LMA3HP47.CbHPvhbu.js} +1 -1
  30. package/web/_astro/{diagram-OG6HWLK6.4DO1knJK.js → diagram-OG6HWLK6.Bx6GcKpw.js} +1 -1
  31. package/web/_astro/{erDiagram-TEJ5UH35.eWFFCa1s.js → erDiagram-TEJ5UH35._sHJgXD7.js} +1 -1
  32. package/web/_astro/{flowDiagram-I6XJVG4X.Qnt78_UD.js → flowDiagram-I6XJVG4X.D305L8m4.js} +1 -1
  33. package/web/_astro/{ganttDiagram-6RSMTGT7.CMqioE2G.js → ganttDiagram-6RSMTGT7.qjJ4kX00.js} +1 -1
  34. package/web/_astro/{gitGraphDiagram-PVQCEYII.DIHrO_gc.js → gitGraphDiagram-PVQCEYII.D-t4MzVO.js} +1 -1
  35. package/web/_astro/index.CmVh0AUD.css +1 -0
  36. package/web/_astro/{infoDiagram-5YYISTIA.DbzNXZsX.js → infoDiagram-5YYISTIA.WwSNIljZ.js} +1 -1
  37. package/web/_astro/{ishikawaDiagram-YF4QCWOH.C34rBvEh.js → ishikawaDiagram-YF4QCWOH.EWsUYdpd.js} +1 -1
  38. package/web/_astro/{journeyDiagram-JHISSGLW.B4Y56hm8.js → journeyDiagram-JHISSGLW.CqKE9hNP.js} +1 -1
  39. package/web/_astro/{kanban-definition-UN3LZRKU.CbkLbGD-.js → kanban-definition-UN3LZRKU.BDCCufoa.js} +1 -1
  40. package/web/_astro/{linear.CJu-zQ8Y.js → linear.CyHEakPy.js} +1 -1
  41. package/web/_astro/{mermaid.core.Cg8FpcnS.js → mermaid.core.B-9P_KDH.js} +4 -4
  42. package/web/_astro/{mindmap-definition-RKZ34NQL.CUS8uIx4.js → mindmap-definition-RKZ34NQL.bCxpjW2r.js} +1 -1
  43. package/web/_astro/{pieDiagram-4H26LBE5.DLoKfxBO.js → pieDiagram-4H26LBE5.x_CRiGMu.js} +1 -1
  44. package/web/_astro/{quadrantDiagram-W4KKPZXB.C4gJNQom.js → quadrantDiagram-W4KKPZXB.CnbQkwo7.js} +1 -1
  45. package/web/_astro/{requirementDiagram-4Y6WPE33.BsiW5Ob5.js → requirementDiagram-4Y6WPE33.CfeJKVEP.js} +1 -1
  46. package/web/_astro/{sankeyDiagram-5OEKKPKP.k6qljwMr.js → sankeyDiagram-5OEKKPKP.COYpTQlG.js} +1 -1
  47. package/web/_astro/{sequenceDiagram-3UESZ5HK.Bx0G-FfT.js → sequenceDiagram-3UESZ5HK.DVzoeimO.js} +1 -1
  48. package/web/_astro/{stateDiagram-AJRCARHV.CRbr10-B.js → stateDiagram-AJRCARHV.BVL5te9q.js} +1 -1
  49. package/web/_astro/{stateDiagram-v2-BHNVJYJU.iDwcqAkR.js → stateDiagram-v2-BHNVJYJU.C_x1GbV0.js} +1 -1
  50. package/web/_astro/{timeline-definition-PNZ67QCA.p4S9tDNI.js → timeline-definition-PNZ67QCA.DtZPbOJL.js} +1 -1
  51. package/web/_astro/{vennDiagram-CIIHVFJN.DgzRFt8Y.js → vennDiagram-CIIHVFJN.pexoUOut.js} +1 -1
  52. package/web/_astro/{wardley-L42UT6IY.DUFfR4J1.js → wardley-L42UT6IY.DLG5pKRN.js} +1 -1
  53. package/web/_astro/{wardleyDiagram-YWT4CUSO.BgE4haqE.js → wardleyDiagram-YWT4CUSO.CnYrM4tH.js} +1 -1
  54. package/web/_astro/{xychartDiagram-2RQKCTM6.BnitKCz8.js → xychartDiagram-2RQKCTM6.kBrlce_Y.js} +1 -1
  55. package/web/index.html +2 -2
  56. package/web/_astro/BoardApp.Bwxdbc0J.js +0 -1
  57. package/web/_astro/channel.DTWaHQwD.js +0 -1
  58. package/web/_astro/index.Bg28MlvM.css +0 -1
@@ -164,12 +164,16 @@ states:
164
164
  description: >
165
165
  Record pipeline results into the task file via `spur task record` —
166
166
  Testing/Review from the verdict, Solution backfilled from git diff as a
167
- safety net, optional transition to testing. A single verb replaces the
168
- previous ~50 lines of embedded shell (0108; ADR-022).
167
+ safety net, optional transition to testing. Post-record step conditionally syncs
168
+ feature status if `feature_id` is present, or appends an orphan link proposal
169
+ to the run report if absent (task 0328 / ADR-0322).
169
170
  onEnter:
170
171
  - kind: shell
171
172
  options:
172
173
  command: "${vars.spurBin} task record ${vars.wbs} --solution-from-diff --transition testing"
174
+ - kind: shell
175
+ options:
176
+ command: 'FID=$(${vars.spurBin} task show ${vars.wbs} --json 2>/dev/null | jq -r ".feature_id // .frontmatter.feature_id // empty"); if [ -n "$FID" ]; then ${vars.spurBin} feature sync "$FID" --json; else echo "Orphan task ${vars.wbs} — no feature_id linked; proposal: consider linking to a parent feature." >> .spur/run/${vars.wbs}-report.txt; fi'
173
177
 
174
178
  - id: done
175
179
  description: >
@@ -117,16 +117,13 @@ states:
117
117
 
118
118
  - id: feature-transition
119
119
  description: >
120
- If vars.feature is set, advance the feature through the legal forward path of
121
- the feature-lifecycle FSM via `spur feature advance` (task 0180 F9c / ADR-029).
122
- The verb walks backlog active verifying done idempotently, verifying the
123
- observed status after every hop, and returns a per-hop trail. Replaces the prior
124
- ~20-line inline shell ladder; the verb now owns the multi-hop walk + legal-edge
125
- enforcement. Task statuses are NOT mutated.
120
+ If vars.feature is set, derive and sync feature status with linked task states via
121
+ `spur feature sync` (task 0328 / ADR-0322).
122
+ Replaces prior unconditional `spur feature advance` with conservative status sync.
126
123
  onEnter:
127
124
  - kind: shell
128
125
  options:
129
- command: '${vars.spurBin} feature advance ${vars.feature} --json'
126
+ command: '${vars.spurBin} feature sync ${vars.feature} --json'
130
127
 
131
128
  - id: branch-cleanup
132
129
  description: >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobing-ai/spur",
3
- "version": "0.3.21",
3
+ "version": "0.3.23",
4
4
  "description": "Spur CLI — local-first harness for mainstream coding agents: constraint checking, workflow orchestration, agent health, and history analytics. Bun-native; exposes the `spur` command.",
5
5
  "keywords": [
6
6
  "spur",
@@ -126,6 +126,11 @@
126
126
  "type": "string",
127
127
  "minLength": 1,
128
128
  "description": "Opaque model override passed straight to the agent (e.g. zai//glm-5.2). Applied only when the user passes no explicit --model."
129
+ },
130
+ "tier": {
131
+ "type": "string",
132
+ "enum": ["cheap", "standard", "capable"],
133
+ "description": "Capability tier for stage-registry adaptive model routing (ADR-033). A stage starts on the cheapest eligible executor meeting its model_policy min_tier and escalates along the fallback chain on objective signals."
129
134
  }
130
135
  }
131
136
  }
@@ -257,6 +262,14 @@
257
262
  "active": {
258
263
  "type": "string",
259
264
  "description": "Default folder for `spur task create`. Default: docs/tasks."
265
+ },
266
+ "severity": {
267
+ "type": "object",
268
+ "description": "Rule severity overrides map by code (error | warning | off).",
269
+ "additionalProperties": {
270
+ "type": "string",
271
+ "enum": ["error", "warning", "off"]
272
+ }
260
273
  }
261
274
  }
262
275
  },