@gobing-ai/spur 0.3.63 → 0.3.64

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 (36) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/config/corpus-baseline.json +3326 -3886
  3. package/config/workflows/history-anatomy.yaml +2 -2
  4. package/package.json +9 -9
  5. package/plugins/sp/README.md +6 -3
  6. package/plugins/sp/agents/expert-spur.md +20 -4
  7. package/plugins/sp/commands/dev-find-issue.md +1 -1
  8. package/plugins/sp/commands/dev-gitmsg.md +12 -6
  9. package/plugins/sp/commands/dev-gtd.md +8 -19
  10. package/plugins/sp/commands/dev-idea.md +1 -1
  11. package/plugins/sp/commands/dev-plan.md +1 -1
  12. package/plugins/sp/commands/dev-run.md +2 -2
  13. package/plugins/sp/commands/dev-runall.md +2 -2
  14. package/plugins/sp/commands/dev-wrap.md +5 -6
  15. package/plugins/sp/commands/dev-wrapall.md +5 -7
  16. package/plugins/sp/plugin.json +1 -1
  17. package/plugins/sp/scripts/history-anatomy-cache.mjs +3 -2
  18. package/plugins/sp/scripts/history-anatomy-cache.ts +7 -2
  19. package/plugins/sp/skills/dogfood-testing/SKILL.md +14 -1
  20. package/plugins/sp/skills/history-anatomy/references/report-contract.md +8 -0
  21. package/plugins/sp/skills/next-router/SKILL.md +4 -4
  22. package/plugins/sp/skills/pr-reviewing/SKILL.md +2 -3
  23. package/plugins/sp/skills/redesign-web-ui/SKILL.md +184 -0
  24. package/plugins/sp/skills/redesign-web-ui/references/audit-checklist.md +121 -0
  25. package/plugins/sp/skills/redesign-web-ui/references/upgrade-techniques.md +66 -0
  26. package/plugins/sp/skills/spur-cli/references/agent.md +1 -1
  27. package/plugins/sp/skills/spur-cli/references/workflows/authoring-workflows.md +5 -0
  28. package/plugins/sp/skills/spur-cli/references/workflows/operations.md +20 -5
  29. package/plugins/sp/skills/spur-cli/references/workflows/workflow-fit-and-tuning.md +230 -0
  30. package/plugins/sp/skills/spur-cli/references/workflows.md +26 -4
  31. package/plugins/sp/skills/spur-dev/references/cross-cutting.md +22 -30
  32. package/plugins/sp/skills/spur-dev/references/dev-operations.md +62 -20
  33. package/plugins/sp/skills/spur-dev/references/execution-workflow.md +1 -1
  34. package/plugins/sp/skills/spur-dev/references/flag-glossary.md +18 -8
  35. package/plugins/sp/skills/spur-dev/references/inline-pipeline-driver.md +7 -6
  36. package/spur.js +297 -214
@@ -47,8 +47,8 @@ The value table below is the C3a cross-file parity surface (kept in lockstep wit
47
47
 
48
48
  | Value | Who does the work | Derived surface |
49
49
  | ------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
50
- | `(omitted)` | The agent running this session | Host session — host-controlled; eligible model stages may use a native subagent (0508) |
51
- | `inline` | The agent running this session | Host session — hard guarantee: zero dispatch, never a subprocess, never a workflow hop; headless surfaces reject `inline` (exit 2, stable special error) |
50
+ | `(omitted)` | The agent running this session | Host session — host-controlled; eligible model stages may use a native subagent (0508). Identical to explicit `inline` (0687 R1: inline is the default selector) |
51
+ | `inline` | The agent running this session | Host session — eligible model stages may use a native subagent (0508, generalized to explicit inline by 0687 R2); on a headless dispatch surface AgentService substitutes tier resolution with a warning (0687 R3), never a rejection |
52
52
  | `auto` | The role the caller declared — this command's `role:` frontmatter or the workflow step's `role:` (Layer 1, `plugins/sp/references/roles.md`); with nothing declared, `agent.default`'s role (0542) | Subprocess |
53
53
  | `<name>` | That coding agent or configured executor | Inline when it is the current session's agent; subprocess otherwise |
54
54
 
@@ -62,10 +62,10 @@ threaded by `AgentRunActionRunner`; a pin still beats role routing permanently (
62
62
  The previous `--inline` and `--subprocess` flags (feature H82, task 0413) are collapsed into this
63
63
  selector: `--inline` → `--agent inline`, `--subprocess` → `--agent auto`. Those two flags are no
64
64
  longer part of the command surface; their anchors (`#flag-inline`, `#flag-subprocess`) are retained
65
- as stubs below so external links do not dangle. **Superseded (feature G5):** the `--inline` →
66
- `--agent inline` leg of the collapse no longer means "equivalent to omitting the flag" — explicit
67
- `inline` is the zero-dispatch host-session carve-out (see
68
- [cross-cutting.md](cross-cutting.md#inline-default-execution-surface)). Operator-layer vocabulary (task 0405): `agent` names
65
+ as stubs below so external links do not dangle. **Restored equivalence (0687 R1/R2):** the
66
+ `--inline` → `--agent inline` leg of the collapse means "equivalent to omitting the flag" again
67
+ inline is the default selector and omitted/explicit `inline` resolve identically on every surface
68
+ (see [cross-cutting.md](cross-cutting.md#inline-default-execution-surface)). Operator-layer vocabulary (task 0405): `agent` names
69
69
  the concrete coding-agent tool; `executor` remains the domain-layer role and is not a command flag.
70
70
  `inline` and `auto` are reserved values — config validation rejects an executor claiming either.
71
71
 
@@ -177,6 +177,16 @@ all dimensions.
177
177
  Limit the operation to a file or directory path (`dev-arch`, `dev-debug`, `dev-fixall`,
178
178
  `dev-gitmsg`, `dev-gtd`, `dev-simplify`) to bound the working set.
179
179
 
180
+ ### `--all` — widen the operation to everything in its domain
181
+
182
+ **Anchor:** `#flag-all`.
183
+
184
+ Drop the default narrowing and operate on the full set (`dev-gitmsg`, `dev-refresh`). On
185
+ `dev-gitmsg` the default set is the git index, and `--all` widens it to every change in the tree —
186
+ unstaged **and untracked**; on `dev-refresh` the default is one feature or task, and `--all` sweeps
187
+ every feature. An explicit `--scope <path>` still bounds the result, and always wins over
188
+ auto-discovery.
189
+
180
190
  ### `--dry-run` — print the plan without executing
181
191
 
182
192
  **Anchor:** `#flag-dry-run`.
@@ -395,9 +405,9 @@ merges but never removes. This keeps the continue-the-work loop stable — after
395
405
  **Value binding.** The following token is consumed as `<name>` **only when it does not begin with
396
406
  `-`**, so `--worktree --auto` is the bare create form and `--agent`/`--feature`/etc. are never
397
407
  swallowed as the name. `--worktree=<name>` is the unambiguous spelling. `/sp:dev-next` does not get
398
- the flag (single *step*; not worth the worktree cost — unlike `dev-run`, which isolates a whole
408
+ the flag (single _step_; not worth the worktree cost — unlike `dev-run`, which isolates a whole
399
409
  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
410
+ 0142), and `--worktree --mode implement` is rejected on `dev-run` (that mode _is_ the pipeline's
401
411
  implement stage and runs in the driver's tree). The full lifecycle — name resolution, dirty-tree
402
412
  precheck, creation or adoption, crash-safe marker, merge-or-retain, and `--continue` re-entry — is
403
413
  specified in [execution-batch.md § Worktree isolation](execution-batch.md#worktree-isolation---worktree-name).
@@ -10,9 +10,9 @@ see_also:
10
10
  # Inline Pipeline Driver
11
11
 
12
12
  This driver is the interactive control-inversion path granted by ADR-047. It applies only when an
13
- interactive `/sp:dev-run --mode full` or sequential `/sp:dev-runall` invocation omits `--agent` or
14
- passes `--agent inline`. A named executor, `--agent auto`, parallel batch mode, `spur workflow run`,
15
- and `spur agent run` keep the existing subprocess path.
13
+ interactive `/sp:dev-run --mode full` or sequential `/sp:dev-runall` invocation omits `--agent` (now
14
+ the inline default, 0687 R1) or passes `--agent inline`. A named executor, `--agent auto`, parallel
15
+ batch mode, `spur workflow run`, and `spur agent run` keep the existing subprocess path.
16
16
 
17
17
  The project runtime definition — `task-pipeline.yaml`, resolved through the two-tier
18
18
  project→bundled model (task 0648/0650, never an unbundled runtime path) — remains the sole
@@ -72,9 +72,10 @@ Action semantics come from the YAML and the workflow action contract:
72
72
  **Native-subagent dispatch (R2 eligibility, evaluated before each action):**
73
73
 
74
74
  1. The invocation is one of the two interactive inline full-pipeline surfaces (`dev-run --mode full`
75
- or sequential `dev-runall`) with the `--agent` flag **omitted**. Explicit `--agent inline` is the
76
- zero-dispatch carve-out: every model stage executes in the invoking host session the
77
- native-subagent leg below never applies to it.
75
+ or sequential `dev-runall`) and the resolved selector is inline — i.e. `--agent` **omitted**
76
+ (0687 R1 default) or `--agent inline` passed explicitly (0687 R2 generalized from omit-only).
77
+ Explicit inline and omitted resolve identically; a named executor, `auto`, parallel mode,
78
+ `spur workflow run`, and `spur agent run` keep the subprocess path.
78
79
  2. The YAML action kind is `agent.run` and its input is a pure slash command. Shell, note, file,
79
80
  guard, and operator-interaction actions remain host-executed.
80
81
  3. The current state/action has no operator-confirmation action, `pause: true`, approve/taste/ask