@gobing-ai/spur 0.3.61 → 0.3.63

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 (87) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/config/config.global.yaml +64 -57
  3. package/config/corpus-baseline.json +601 -49
  4. package/config/plugin-scripts.json +2 -2
  5. package/config/rules/boundary/config-loading-ownership.yaml +21 -0
  6. package/config/workflows/history-anatomy.yaml +395 -0
  7. package/package.json +9 -9
  8. package/plugins/sp/README.md +19 -6
  9. package/plugins/sp/commands/dev-find-issue.md +25 -46
  10. package/plugins/sp/commands/dev-idea.md +3 -3
  11. package/plugins/sp/commands/dev-run.md +22 -3
  12. package/plugins/sp/lib/artifact-digest.generated.d.mts +7 -0
  13. package/plugins/sp/lib/artifact-digest.generated.mjs +48 -0
  14. package/plugins/sp/plugin.json +1 -1
  15. package/plugins/sp/references/environment-lens.md +66 -0
  16. package/plugins/sp/references/roles.md +5 -5
  17. package/plugins/sp/scripts/history-anatomy-cache.mjs +818 -0
  18. package/plugins/sp/scripts/history-anatomy-cache.ts +1014 -0
  19. package/plugins/sp/skills/dogfood-testing/references/report-template.md +30 -0
  20. package/plugins/sp/skills/history-anatomy/SKILL.md +67 -0
  21. package/plugins/sp/skills/history-anatomy/references/modes.md +82 -0
  22. package/plugins/sp/skills/history-anatomy/references/operations.md +80 -0
  23. package/plugins/sp/skills/history-anatomy/references/report-contract.md +183 -0
  24. package/plugins/sp/skills/spur-cli/references/agent.md +15 -6
  25. package/plugins/sp/skills/spur-cli/references/message.md +4 -2
  26. package/plugins/sp/skills/spur-dev/references/cross-cutting.md +6 -4
  27. package/plugins/sp/skills/spur-dev/references/dev-operations.md +2 -2
  28. package/plugins/sp/skills/spur-dev/references/execution-batch.md +14 -1
  29. package/plugins/sp/skills/spur-dev/references/execution-workflow.md +7 -0
  30. package/plugins/sp/skills/spur-dev/references/flag-glossary.md +25 -13
  31. package/spur.js +1958 -1133
  32. package/web/_astro/{BoardApp.CBIzcvqi.js → BoardApp.CKolAjUz.js} +102 -102
  33. package/web/_astro/BoardApp.DXD--ybM.js +1 -0
  34. package/web/_astro/{TaskDetail.D2N60cfE.js → TaskDetail.Bre7G4gC.js} +1 -1
  35. package/web/_astro/{arc.D-EfJJwf.js → arc.7luwOGiC.js} +1 -1
  36. package/web/_astro/{architectureDiagram-3BPJPVTR.CgvTTzqp.js → architectureDiagram-3BPJPVTR.F6KaHXp-.js} +1 -1
  37. package/web/_astro/{blockDiagram-GPEHLZMM.CnOohvvn.js → blockDiagram-GPEHLZMM.CCGHeRVi.js} +1 -1
  38. package/web/_astro/{c4Diagram-AAUBKEIU.BFcBGUy_.js → c4Diagram-AAUBKEIU.CpqewGmd.js} +1 -1
  39. package/web/_astro/channel.DxfOFf1l.js +1 -0
  40. package/web/_astro/{chunk-2J33WTMH.C-6MR-XY.js → chunk-2J33WTMH.CB9vKa5F.js} +1 -1
  41. package/web/_astro/{chunk-4BX2VUAB.BN4LP5AR.js → chunk-4BX2VUAB.ifGXoUA3.js} +1 -1
  42. package/web/_astro/{chunk-55IACEB6.tUJ_CTtZ.js → chunk-55IACEB6.VIaRo7l8.js} +1 -1
  43. package/web/_astro/{chunk-727SXJPM.BNCk-sxv.js → chunk-727SXJPM.DzPE41OS.js} +1 -1
  44. package/web/_astro/{chunk-AQP2D5EJ.BkpFIbNa.js → chunk-AQP2D5EJ.UF2QRXYF.js} +1 -1
  45. package/web/_astro/{chunk-FMBD7UC4.DcSZ87PN.js → chunk-FMBD7UC4.D2zXKa1R.js} +1 -1
  46. package/web/_astro/{chunk-ND2GUHAM.BkLvHFFf.js → chunk-ND2GUHAM.Cb9bDyvx.js} +1 -1
  47. package/web/_astro/{chunk-QZHKN3VN.HOdgszax.js → chunk-QZHKN3VN.nUKFBiLD.js} +1 -1
  48. package/web/_astro/{classDiagram-4FO5ZUOK.CWfRiY6b.js → classDiagram-4FO5ZUOK.DZg9K9mO.js} +1 -1
  49. package/web/_astro/{classDiagram-v2-Q7XG4LA2.CWfRiY6b.js → classDiagram-v2-Q7XG4LA2.DZg9K9mO.js} +1 -1
  50. package/web/_astro/{cose-bilkent-S5V4N54A.C6j4PxoN.js → cose-bilkent-S5V4N54A.D9STo90d.js} +1 -1
  51. package/web/_astro/{dagre-BM42HDAG.BATZG1II.js → dagre-BM42HDAG.D3IbwhHz.js} +1 -1
  52. package/web/_astro/{diagram-2AECGRRQ.B0f5yY6x.js → diagram-2AECGRRQ.BWTDxBe9.js} +1 -1
  53. package/web/_astro/{diagram-5GNKFQAL.Bewupqv0.js → diagram-5GNKFQAL.XnXlonHG.js} +1 -1
  54. package/web/_astro/{diagram-KO2AKTUF.C23r1tB2.js → diagram-KO2AKTUF.CywOngCO.js} +1 -1
  55. package/web/_astro/{diagram-LMA3HP47.DUErdBOR.js → diagram-LMA3HP47.DY1D21Iu.js} +1 -1
  56. package/web/_astro/{diagram-OG6HWLK6.BubmwAjb.js → diagram-OG6HWLK6.DQxb59KA.js} +1 -1
  57. package/web/_astro/{erDiagram-TEJ5UH35.BE_Qs5mv.js → erDiagram-TEJ5UH35.CF2U-pQZ.js} +1 -1
  58. package/web/_astro/{flowDiagram-I6XJVG4X.COWdbzon.js → flowDiagram-I6XJVG4X.BJK4M3in.js} +1 -1
  59. package/web/_astro/{ganttDiagram-6RSMTGT7.5EGYC4MK.js → ganttDiagram-6RSMTGT7.BSniMzdB.js} +1 -1
  60. package/web/_astro/{gitGraphDiagram-PVQCEYII.bUUV7iEw.js → gitGraphDiagram-PVQCEYII.Dxg-yRov.js} +1 -1
  61. package/web/_astro/index.BVXdIsZV.css +1 -0
  62. package/web/_astro/{infoDiagram-5YYISTIA.CbiInFvz.js → infoDiagram-5YYISTIA.BY4CgO_n.js} +1 -1
  63. package/web/_astro/{ishikawaDiagram-YF4QCWOH.CB7lrSsJ.js → ishikawaDiagram-YF4QCWOH.BmWDZtwF.js} +1 -1
  64. package/web/_astro/{journeyDiagram-JHISSGLW.rhGZgWt8.js → journeyDiagram-JHISSGLW.CpB1YWDP.js} +1 -1
  65. package/web/_astro/{kanban-definition-UN3LZRKU.DPeZD_lP.js → kanban-definition-UN3LZRKU.k-fukQX9.js} +1 -1
  66. package/web/_astro/{linear.l60Nyp5b.js → linear.BNNCobvI.js} +1 -1
  67. package/web/_astro/{mermaid.core.DmtMJcmL.js → mermaid.core.DnpzzuPU.js} +4 -4
  68. package/web/_astro/{mindmap-definition-RKZ34NQL.Cc47AcCn.js → mindmap-definition-RKZ34NQL.D9NnlLBu.js} +1 -1
  69. package/web/_astro/{pieDiagram-4H26LBE5.B8cN-S9g.js → pieDiagram-4H26LBE5.CKhoMiyC.js} +1 -1
  70. package/web/_astro/{quadrantDiagram-W4KKPZXB.DY1FN89L.js → quadrantDiagram-W4KKPZXB.BkAygRlm.js} +1 -1
  71. package/web/_astro/{requirementDiagram-4Y6WPE33.CnM6VbV8.js → requirementDiagram-4Y6WPE33.CX8ibmwc.js} +1 -1
  72. package/web/_astro/{sankeyDiagram-5OEKKPKP.B9DcGfNV.js → sankeyDiagram-5OEKKPKP.Dvurpa0Y.js} +1 -1
  73. package/web/_astro/{sequenceDiagram-3UESZ5HK.ymxaNlAY.js → sequenceDiagram-3UESZ5HK.veO8c2tk.js} +1 -1
  74. package/web/_astro/{stateDiagram-AJRCARHV.DDOJ3d8P.js → stateDiagram-AJRCARHV.DpMr4CO3.js} +1 -1
  75. package/web/_astro/{stateDiagram-v2-BHNVJYJU.Ck0Nb_KY.js → stateDiagram-v2-BHNVJYJU.CKjso86_.js} +1 -1
  76. package/web/_astro/{timeline-definition-PNZ67QCA.BNOvZwAN.js → timeline-definition-PNZ67QCA.DayoPp_2.js} +1 -1
  77. package/web/_astro/{vennDiagram-CIIHVFJN.D3k5ivSF.js → vennDiagram-CIIHVFJN.XNHf04O9.js} +1 -1
  78. package/web/_astro/{wardley-L42UT6IY.BylaxVqn.js → wardley-L42UT6IY.CpM_031g.js} +1 -1
  79. package/web/_astro/{wardleyDiagram-YWT4CUSO.HLNtFUm9.js → wardleyDiagram-YWT4CUSO.lIAjSkZJ.js} +1 -1
  80. package/web/_astro/{xychartDiagram-2RQKCTM6.B-WooKSU.js → xychartDiagram-2RQKCTM6.D8_2K6U1.js} +1 -1
  81. package/web/index.html +2 -2
  82. package/plugins/sp/commands/dev-history-load.md +0 -63
  83. package/plugins/sp/scripts/history-load.mjs +0 -268
  84. package/plugins/sp/scripts/history-load.ts +0 -400
  85. package/web/_astro/BoardApp.BtRfVADq.js +0 -1
  86. package/web/_astro/channel.kIu33Gui.js +0 -1
  87. package/web/_astro/index.Cestp9nh.css +0 -1
@@ -200,16 +200,25 @@ restrictor. On `dev-refineall` it is instead one of a required pair — supply e
200
200
 
201
201
  Select an execution mode: `full|implement` on `dev-run` (full pipeline vs implement-only),
202
202
  `sequential|parallel` on `dev-runall` (serial vs fanned-out-independent-subset),
203
- `fan-out|review-panel|investigation` on `dev-parallel`, and the reconstruction depth
204
- `briefing|structure|architecture|design|full` on `dev-reverse`. Mode selection is explicit and orthogonal
203
+ `fan-out|review-panel|investigation` on `dev-parallel`, the reconstruction depth
204
+ `briefing|structure|architecture|design|full` on `dev-reverse`, and `daily|ad-hoc` on
205
+ `dev-find-issue` (the history-anatomy report mode). Mode selection is explicit and orthogonal
205
206
  to `--next`.
206
207
 
208
+ ### `--date <YYYY-MM-DD>` — local calendar day selection
209
+
210
+ **Anchor:** `#flag-date`.
211
+
212
+ Select a local calendar day on `dev-find-issue` (daily mode) and `dev-daily` (report date). DST-aware:
213
+ `--date <that-date>` spans the full local calendar day including any daylight-saving shift, never a
214
+ fixed 24-hour offset.
215
+
207
216
  ### `--task <wbs>` — task work or task narrowing
208
217
 
209
218
  **Anchor:** `#flag-task`.
210
219
 
211
220
  Connect the current command's result to task work, or narrow a history analysis to one task
212
- (`dev-brainstorm`, `dev-debug`, `dev-dogfood`, `dev-find-next`, `dev-history-load`). The value and
221
+ (`dev-brainstorm`, `dev-debug`, `dev-dogfood`, `dev-find-next`). The value and
213
222
  the effect are per-command — this flag is a family, not one behavior:
214
223
 
215
224
  - `dev-brainstorm` `[<feature-id>]` — **creates** one task from the chosen approach, landing at
@@ -221,7 +230,6 @@ the effect are per-command — this flag is a family, not one behavior:
221
230
  id names the target instead of offering rank 1.
222
231
  - `dev-debug` `[<wbs>]` — **attaches** findings to an existing task. Optional WBS names it.
223
232
  - `dev-dogfood` (no value) — **records** run outcomes against the task under test.
224
- - `dev-history-load` `<wbs>` — narrows the `analyze` step to that task's messages.
225
233
 
226
234
  ### `--since <ref>` — lower bound on a range
227
235
 
@@ -250,10 +258,10 @@ Upper bound on a range: a git ref on `dev-changelog` (defaults to `HEAD`), or an
250
258
 
251
259
  **Anchor:** `#flag-source`.
252
260
 
253
- Scope the operation to one agent source (`dev-find-issue`, `dev-history-load`): one of
254
- `pi|claude|codex|gemini|opencode|antigravity|openclaw|omp|grok|agy` (or `all`). On
255
- `dev-history-load` the value is forwarded to **both** `spur history import` and
256
- `spur history analyze`; on `dev-find-issue` it narrows the report scan to that source's sessions.
261
+ _(Removed 2026-08-24, HA-S1 0661.)_ The only two commands that consumed this flag;
262
+ `dev-find-issue` (now a `sp:history-anatomy` forwarder) and `dev-history-load` (deleted) no
263
+ longer declare it, so the entry is dead and removed. The underlying `spur history` surfaces
264
+ retain their own `--source` handling.
257
265
 
258
266
  ### `--status <s>` — filter by task status
259
267
 
@@ -280,7 +288,8 @@ Omit the design package (system-design satellite + task `### Design`) on plannin
280
288
 
281
289
  **Anchor:** `#flag-output`.
282
290
 
283
- Write the command's result to a file path (`dev-daily`, `dev-reverse`) instead of stdout.
291
+ Write the command's result to a file path (`dev-daily`, `dev-find-issue`, `dev-reverse`) instead of
292
+ stdout. On `dev-find-issue` (ad-hoc mode) an explicit path replaces the default run-directory write.
284
293
 
285
294
  ### `--merge` — trigger branch cleanup
286
295
 
@@ -359,8 +368,9 @@ flag sets both.
359
368
 
360
369
  **Anchor:** `#flag-worktree`.
361
370
 
362
- Batch commands only (`dev-refineall`, `dev-runall`, `dev-verifyall`): run the entire driver loop
363
- inside an isolated git worktree instead of the operator's working directory. One flag, two modes:
371
+ Batch commands plus single-task `dev-run` (`dev-refineall`, `dev-runall`, `dev-verifyall`,
372
+ `dev-run`): run the entire driver loop inside an isolated git worktree instead of the operator's
373
+ working directory. One flag, two modes:
364
374
 
365
375
  - **Create mode** — bare `--worktree` (no value). Cut a fresh branch from the current HEAD's ref,
366
376
  create a sibling worktree with a derived name, run the batch there. On a fully successful batch
@@ -385,8 +395,10 @@ merges but never removes. This keeps the continue-the-work loop stable — after
385
395
  **Value binding.** The following token is consumed as `<name>` **only when it does not begin with
386
396
  `-`**, so `--worktree --auto` is the bare create form and `--agent`/`--feature`/etc. are never
387
397
  swallowed as the name. `--worktree=<name>` is the unambiguous spelling. `/sp:dev-next` does not get
388
- the flag (single step; not worth the worktree cost), and `--worktree --mode parallel` is rejected
389
- (per-task parallel isolation stays task 0142). The full lifecycle — name resolution, dirty-tree
398
+ the flag (single *step*; not worth the worktree cost unlike `dev-run`, which isolates a whole
399
+ task pipeline), `--worktree --mode parallel` is rejected (per-task parallel isolation stays task
400
+ 0142), and `--worktree --mode implement` is rejected on `dev-run` (that mode *is* the pipeline's
401
+ implement stage and runs in the driver's tree). The full lifecycle — name resolution, dirty-tree
390
402
  precheck, creation or adoption, crash-safe marker, merge-or-retain, and `--continue` re-entry — is
391
403
  specified in [execution-batch.md § Worktree isolation](execution-batch.md#worktree-isolation---worktree-name).
392
404
  Portable `git worktree` commands only; the git mechanics are reused from