@gobing-ai/spur 0.3.41 → 0.3.43
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 +15 -0
- package/README.md +15 -1
- package/config/templates/AGENTS.md +5 -3
- package/config/workflows/task-pipeline.yaml +113 -12
- package/package.json +15 -12
- package/plugins/README.md +655 -0
- package/plugins/sp/README.md +621 -0
- package/plugins/sp/agents/expert-spur.md +109 -0
- package/plugins/sp/agents/super-coder.md +126 -0
- package/plugins/sp/agents/super-planner.md +283 -0
- package/plugins/sp/agents/super-reviewer.md +154 -0
- package/plugins/sp/commands/dev-arch.md +30 -0
- package/plugins/sp/commands/dev-brainstorm.md +40 -0
- package/plugins/sp/commands/dev-changelog.md +28 -0
- package/plugins/sp/commands/dev-daily.md +29 -0
- package/plugins/sp/commands/dev-debug.md +29 -0
- package/plugins/sp/commands/dev-dogfood.md +33 -0
- package/plugins/sp/commands/dev-featurechange.md +130 -0
- package/plugins/sp/commands/dev-find-conflict.md +51 -0
- package/plugins/sp/commands/dev-find-issue.md +76 -0
- package/plugins/sp/commands/dev-find-next.md +60 -0
- package/plugins/sp/commands/dev-fixall.md +33 -0
- package/plugins/sp/commands/dev-gitmsg.md +28 -0
- package/plugins/sp/commands/dev-gtd.md +97 -0
- package/plugins/sp/commands/dev-handover.md +26 -0
- package/plugins/sp/commands/dev-idea.md +50 -0
- package/plugins/sp/commands/dev-next.md +31 -0
- package/plugins/sp/commands/dev-parallel.md +30 -0
- package/plugins/sp/commands/dev-plan.md +46 -0
- package/plugins/sp/commands/dev-refine.md +48 -0
- package/plugins/sp/commands/dev-refineall.md +65 -0
- package/plugins/sp/commands/dev-refresh.md +32 -0
- package/plugins/sp/commands/dev-reverse.md +32 -0
- package/plugins/sp/commands/dev-review.md +31 -0
- package/plugins/sp/commands/dev-run.md +63 -0
- package/plugins/sp/commands/dev-runall.md +83 -0
- package/plugins/sp/commands/dev-simplify.md +39 -0
- package/plugins/sp/commands/dev-unit.md +29 -0
- package/plugins/sp/commands/dev-verify.md +48 -0
- package/plugins/sp/commands/dev-verifyall.md +72 -0
- package/plugins/sp/commands/dev-wrap.md +48 -0
- package/plugins/sp/commands/dev-wrapall.md +51 -0
- package/plugins/sp/commands/rule-add.md +18 -0
- package/plugins/sp/commands/rule-refine.md +18 -0
- package/plugins/sp/commands/rule-scan.md +18 -0
- package/plugins/sp/commands/spur-init.md +22 -0
- package/plugins/sp/commands/workflow-add.md +18 -0
- package/plugins/sp/commands/workflow-refine.md +18 -0
- package/plugins/sp/hooks/agent-hint.ts +60 -0
- package/plugins/sp/hooks/careful-guard.ts +147 -0
- package/plugins/sp/hooks/context-post-tool.ts +325 -0
- package/plugins/sp/hooks/context-session-start.ts +182 -0
- package/plugins/sp/hooks/context-session-stop.ts +95 -0
- package/plugins/sp/hooks/hooks.json +51 -0
- package/plugins/sp/hooks/pi/guard-extension.ts +341 -0
- package/plugins/sp/hooks/task-write-guard.ts +84 -0
- package/plugins/sp/plugin.json +8 -0
- package/plugins/sp/scripts/batch-preflight.ts +204 -0
- package/plugins/sp/scripts/daily-summary/daily-summary.ts +606 -0
- package/plugins/sp/scripts/daily-summary/logger.ts +28 -0
- package/plugins/sp/scripts/dogfood-testing/detect-pipeline-driving.ts +363 -0
- package/plugins/sp/scripts/dogfood-testing/validate-report.ts +168 -0
- package/plugins/sp/scripts/feature-sync-bounded.ts +451 -0
- package/plugins/sp/scripts/stage-registry-adapter.ts +1341 -0
- package/plugins/sp/scripts/task-size-precheck.ts +202 -0
- package/plugins/sp/scripts/validate-commands.ts +651 -0
- package/plugins/sp/scripts/validate-flag-contracts.ts +875 -0
- package/plugins/sp/skills/brainstorm/SKILL.md +361 -0
- package/plugins/sp/skills/brainstorm/agents/openai.yaml +14 -0
- package/plugins/sp/skills/brainstorm/examples/ideation-example.md +209 -0
- package/plugins/sp/skills/brainstorm/metadata.openclaw +7 -0
- package/plugins/sp/skills/brainstorm/references/grilling-interview.md +68 -0
- package/plugins/sp/skills/brainstorm/references/workflows.md +255 -0
- package/plugins/sp/skills/branch-workflow/SKILL.md +109 -0
- package/plugins/sp/skills/branch-workflow/references/branch-lifecycle.md +69 -0
- package/plugins/sp/skills/branch-workflow/references/worktree-patterns.md +100 -0
- package/plugins/sp/skills/code-implementation/SKILL.md +203 -0
- package/plugins/sp/skills/code-implementation/references/debugging.md +64 -0
- package/plugins/sp/skills/code-implementation/references/implementation-patterns.md +113 -0
- package/plugins/sp/skills/code-improvement/SKILL.md +231 -0
- package/plugins/sp/skills/code-improvement/references/deepening-signals.md +205 -0
- package/plugins/sp/skills/code-review/SKILL.md +112 -0
- package/plugins/sp/skills/code-review/references/receiving-code-review.md +70 -0
- package/plugins/sp/skills/code-review/references/review-lenses.md +117 -0
- package/plugins/sp/skills/code-review/references/self-review-checklist.md +53 -0
- package/plugins/sp/skills/code-review/references/verification-before-completion.md +68 -0
- package/plugins/sp/skills/code-simplification/SKILL.md +225 -0
- package/plugins/sp/skills/code-testing/SKILL.md +108 -0
- package/plugins/sp/skills/code-testing/references/stacks/bun-ts.md +165 -0
- package/plugins/sp/skills/code-testing/references/stacks/go.md +88 -0
- package/plugins/sp/skills/code-testing/references/stacks/python.md +117 -0
- package/plugins/sp/skills/code-testing/references/test-loop-breaker.md +37 -0
- package/plugins/sp/skills/code-testing/references/test-output-discipline.md +52 -0
- package/plugins/sp/skills/code-testing/references/unit-testing.md +212 -0
- package/plugins/sp/skills/code-verification/SKILL.md +535 -0
- package/plugins/sp/skills/code-verification/references/code-improvement.md +39 -0
- package/plugins/sp/skills/code-verification/references/secu-review.md +94 -0
- package/plugins/sp/skills/code-verification/references/verdict-schema.md +141 -0
- package/plugins/sp/skills/conflict-finding/SKILL.md +254 -0
- package/plugins/sp/skills/conflict-finding/references/authority-resolution.md +258 -0
- package/plugins/sp/skills/conflict-finding/references/comparison-protocol.md +277 -0
- package/plugins/sp/skills/conflict-finding/references/finding-contract.md +346 -0
- package/plugins/sp/skills/conflict-finding/references/remediation-routing.md +276 -0
- package/plugins/sp/skills/daily-summary/SKILL.md +171 -0
- package/plugins/sp/skills/daily-summary/agents/openai.yaml +13 -0
- package/plugins/sp/skills/doc-evolve/SKILL.md +175 -0
- package/plugins/sp/skills/doc-evolve/references/operations.md +93 -0
- package/plugins/sp/skills/dogfood-testing/SKILL.md +608 -0
- package/plugins/sp/skills/dogfood-testing/references/monitor-ledger.md +211 -0
- package/plugins/sp/skills/dogfood-testing/references/report-template.md +351 -0
- package/plugins/sp/skills/doubt-driven-development/SKILL.md +136 -0
- package/plugins/sp/skills/functional-review/SKILL.md +364 -0
- package/plugins/sp/skills/functional-review/references/verdict-schema.md +133 -0
- package/plugins/sp/skills/indexed-context/SKILL.md +164 -0
- package/plugins/sp/skills/issue-finding/SKILL.md +442 -0
- package/plugins/sp/skills/issue-finding/agents/openai.yaml +15 -0
- package/plugins/sp/skills/issue-finding/examples/expected-findings.json +27 -0
- package/plugins/sp/skills/issue-finding/examples/session-test-loop.jsonl +23 -0
- package/plugins/sp/skills/issue-finding/references/session-formats.md +151 -0
- package/plugins/sp/skills/next-feature/SKILL.md +125 -0
- package/plugins/sp/skills/next-feature/references/handoff-routing.md +92 -0
- package/plugins/sp/skills/next-feature/references/proposal-contract.md +49 -0
- package/plugins/sp/skills/next-feature/references/ranking-rubric.md +52 -0
- package/plugins/sp/skills/next-feature/references/signal-derivation.md +67 -0
- package/plugins/sp/skills/next-router/SKILL.md +181 -0
- package/plugins/sp/skills/next-router/references/messages.md +90 -0
- package/plugins/sp/skills/next-router/references/routing-table.md +216 -0
- package/plugins/sp/skills/parallel-execution/SKILL.md +148 -0
- package/plugins/sp/skills/parallel-execution/references/dispatch-surface.md +109 -0
- package/plugins/sp/skills/parallel-execution/references/fan-out-patterns.md +101 -0
- package/plugins/sp/skills/parallel-execution/references/result-synthesis.md +94 -0
- package/plugins/sp/skills/reverse-engineering/SKILL.md +375 -0
- package/plugins/sp/skills/reverse-engineering/agents/openai.yaml +18 -0
- package/plugins/sp/skills/source-driven-development/SKILL.md +124 -0
- package/plugins/sp/skills/spec-decomposition/SKILL.md +117 -0
- package/plugins/sp/skills/spec-decomposition/references/decomposition.md +539 -0
- package/plugins/sp/skills/spur-cli/SKILL.md +133 -0
- package/plugins/sp/skills/spur-cli/references/agent.md +179 -0
- package/plugins/sp/skills/spur-cli/references/features/acceptance-criteria.md +82 -0
- package/plugins/sp/skills/spur-cli/references/features/hierarchy-mece.md +177 -0
- package/plugins/sp/skills/spur-cli/references/features/roadmap-priority.md +84 -0
- package/plugins/sp/skills/spur-cli/references/features/verbs.md +122 -0
- package/plugins/sp/skills/spur-cli/references/features.md +234 -0
- package/plugins/sp/skills/spur-cli/references/init.md +119 -0
- package/plugins/sp/skills/spur-cli/references/message.md +98 -0
- package/plugins/sp/skills/spur-cli/references/rules/authoring-rules.md +212 -0
- package/plugins/sp/skills/spur-cli/references/rules/fine-tuning.md +148 -0
- package/plugins/sp/skills/spur-cli/references/rules/operations.md +228 -0
- package/plugins/sp/skills/spur-cli/references/rules/validation-and-extension.md +129 -0
- package/plugins/sp/skills/spur-cli/references/rules.md +209 -0
- package/plugins/sp/skills/spur-cli/references/serve.md +58 -0
- package/plugins/sp/skills/spur-cli/references/tasks/l3-guard-cheatsheet.md +98 -0
- package/plugins/sp/skills/spur-cli/references/tasks/section-editing.md +95 -0
- package/plugins/sp/skills/spur-cli/references/tasks/verbs.md +361 -0
- package/plugins/sp/skills/spur-cli/references/tasks.md +280 -0
- package/plugins/sp/skills/spur-cli/references/team.md +133 -0
- package/plugins/sp/skills/spur-cli/references/workflows/authoring-workflows.md +226 -0
- package/plugins/sp/skills/spur-cli/references/workflows/operations.md +211 -0
- package/plugins/sp/skills/spur-cli/references/workflows/validation-and-extension.md +129 -0
- package/plugins/sp/skills/spur-cli/references/workflows.md +355 -0
- package/plugins/sp/skills/spur-dev/SKILL.md +224 -0
- package/plugins/sp/skills/spur-dev/references/ac-style-guide.md +196 -0
- package/plugins/sp/skills/spur-dev/references/cross-cutting.md +680 -0
- package/plugins/sp/skills/spur-dev/references/decision-brief.md +80 -0
- package/plugins/sp/skills/spur-dev/references/dev-operations.md +546 -0
- package/plugins/sp/skills/spur-dev/references/done-housekeeping.md +164 -0
- package/plugins/sp/skills/spur-dev/references/execution-batch.md +790 -0
- package/plugins/sp/skills/spur-dev/references/execution-workflow.md +352 -0
- package/plugins/sp/skills/spur-dev/references/feature-link-helper.md +191 -0
- package/plugins/sp/skills/spur-dev/references/flag-glossary.md +417 -0
- package/plugins/sp/skills/spur-dev/references/gate-checklists.md +171 -0
- package/plugins/sp/skills/spur-dev/references/glossary.md +95 -0
- package/plugins/sp/skills/spur-dev/references/idea-evaluation.md +80 -0
- package/plugins/sp/skills/spur-dev/references/inline-pipeline-driver.md +120 -0
- package/plugins/sp/skills/spur-dev/references/planning-workflow.md +302 -0
- package/plugins/sp/skills/spur-dev/references/product-planning.md +206 -0
- package/plugins/sp/skills/spur-dev/references/section-batching.md +24 -0
- package/plugins/sp/skills/sys-architecture/SKILL.md +155 -0
- package/plugins/sp/skills/sys-architecture/references/decision-method.md +137 -0
- package/plugins/sp/skills/sys-architecture/references/upkeep-survey.md +75 -0
- package/plugins/sp/skills/sys-debugging/SKILL.md +228 -0
- package/plugins/sp/skills/sys-debugging/references/debugging-protocol.md +62 -0
- package/plugins/sp/skills/test-driven-development/SKILL.md +248 -0
- package/plugins/sp/skills/wayfinder/SKILL.md +292 -0
- package/spur.js +6035 -4963
|
@@ -0,0 +1,655 @@
|
|
|
1
|
+
# Plugin `sp`
|
|
2
|
+
|
|
3
|
+
> **Spur** — a local-first harness engineering toolkit that wraps mainstream coding agents (Claude Code, Codex, Gemini CLI, pi, omp, OpenCode, Antigravity, OpenClaw, Hermes, Grok) with constraint checking, workflow orchestration, history analytics, and operational visibility.
|
|
4
|
+
|
|
5
|
+
The `sp` plugin is the Claude Code plugin surface for the Spur toolkit. It provides a full planning-to-execution pipeline — convert a vague feature description into a CLI-validated feature file with BDD acceptance criteria, decompose it into a task batch, run those tasks through execution workflows with human-in-the-loop gating — plus constraint-rule and dual-mode workflow engines, daily analytics, and document-drift enforcement. Every write to the task/feature corpus goes through a `spur` CLI verb that validates before writing; the plugin entities contain zero validation logic of their own.
|
|
6
|
+
|
|
7
|
+
- **Marketplace entry:** `name: "sp"`, `version: "0.2.12"`, `source: "./plugins/sp"` (`plugin.json`, kept in sync with `.claude-plugin/marketplace.json`)
|
|
8
|
+
- **Owner:** Robin Min
|
|
9
|
+
|
|
10
|
+
## Directory Layout
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
plugins/sp/
|
|
14
|
+
├── skills/ # Domain knowledge + workflow documentation (16 skills)
|
|
15
|
+
│ ├── branch-workflow/ # Branch lifecycle + worktree patterns (v1.0)
|
|
16
|
+
│ │ └── references/
|
|
17
|
+
│ │ ├── branch-lifecycle.md
|
|
18
|
+
│ │ └── worktree-patterns.md
|
|
19
|
+
│ ├── brainstorm/ # Structured ideation workflow (v1.0.0)
|
|
20
|
+
│ │ ├── agents/openai.yaml
|
|
21
|
+
│ │ ├── examples/ideation-example.md
|
|
22
|
+
│ │ └── references/workflows.md
|
|
23
|
+
│ ├── code-implementation/ # Implementation competency (v1.0)
|
|
24
|
+
│ │ └── references/
|
|
25
|
+
│ │ ├── debugging.md
|
|
26
|
+
│ │ └── implementation-patterns.md
|
|
27
|
+
│ ├── code-testing/ # Testing / coverage competency (v1.0)
|
|
28
|
+
│ │ └── references/
|
|
29
|
+
│ │ ├── unit-testing.md
|
|
30
|
+
│ │ └── stacks/
|
|
31
|
+
│ │ ├── bun-ts.md
|
|
32
|
+
│ │ ├── go.md
|
|
33
|
+
│ │ └── python.md
|
|
34
|
+
│ ├── code-verification/ # Verify + SECUA review (v1.0)
|
|
35
|
+
│ │ └── references/
|
|
36
|
+
│ │ ├── code-improvement.md
|
|
37
|
+
│ │ ├── secu-review.md
|
|
38
|
+
│ │ └── verdict-schema.md
|
|
39
|
+
│ ├── daily-summary/ # Daily summary report generator (v1.0.0)
|
|
40
|
+
│ │ ├── agents/openai.yaml
|
|
41
|
+
│ │ ├── scripts/daily-summary.ts
|
|
42
|
+
│ │ ├── scripts/logger.ts
|
|
43
|
+
│ │ └── tests/daily-summary.test.ts
|
|
44
|
+
│ ├── doc-evolve/ # Key-document evolution per constitution (v1.0)
|
|
45
|
+
│ │ └── references/operations.md
|
|
46
|
+
│ ├── dogfood-testing/ # Dogfood backbone — 4-phase protocol + report (v1.0)
|
|
47
|
+
│ │ └── references/
|
|
48
|
+
│ │ ├── monitor-ledger.md
|
|
49
|
+
│ │ └── report-template.md
|
|
50
|
+
│ ├── parallel-execution/ # Fan-out decision framework + patterns (v1.0)
|
|
51
|
+
│ │ └── references/
|
|
52
|
+
│ │ ├── fan-out-patterns.md
|
|
53
|
+
│ │ └── result-synthesis.md
|
|
54
|
+
│ ├── spec-decomposition/ # Feature/spec → task-batch competency (v1.0)
|
|
55
|
+
│ │ └── references/decomposition.md
|
|
56
|
+
│ ├── spur-cli/ # CLI facade: one reference per `spur` noun (v1.0)
|
|
57
|
+
│ │ └── references/
|
|
58
|
+
│ │ ├── tasks.md
|
|
59
|
+
│ │ ├── features.md
|
|
60
|
+
│ │ ├── rules.md
|
|
61
|
+
│ │ ├── workflows.md
|
|
62
|
+
│ │ ├── tasks/verbs.md
|
|
63
|
+
│ │ ├── tasks/section-editing.md
|
|
64
|
+
│ │ ├── features/verbs.md
|
|
65
|
+
│ │ ├── features/acceptance-criteria.md
|
|
66
|
+
│ │ ├── features/roadmap-priority.md
|
|
67
|
+
│ │ ├── rules/operations.md
|
|
68
|
+
│ │ ├── rules/authoring-rules.md
|
|
69
|
+
│ │ ├── workflows/operations.md
|
|
70
|
+
│ │ ├── workflows/authoring-workflows.md
|
|
71
|
+
│ │ └── workflows/validation-and-extension.md
|
|
72
|
+
│ ├── spur-dev/ # Thin planning→execution orchestration spine (v1.1)
|
|
73
|
+
│ │ └── references/
|
|
74
|
+
│ │ ├── dev-operations.md
|
|
75
|
+
│ │ ├── execution-batch.md
|
|
76
|
+
│ │ ├── feature-link-helper.md
|
|
77
|
+
│ │ ├── product-planning.md
|
|
78
|
+
│ │ ├── cross-cutting.md
|
|
79
|
+
│ │ ├── ac-style-guide.md
|
|
80
|
+
│ │ ├── execution-workflow.md
|
|
81
|
+
│ │ ├── gate-checklists.md
|
|
82
|
+
│ │ └── planning-workflow.md
|
|
83
|
+
│ ├── test-driven-development/ # TDD workflow companion (v1.0.0)
|
|
84
|
+
│ └── sys-architecture/ # Architecture / ADR judgment competency (v1.0)
|
|
85
|
+
│ └── references/decision-method.md
|
|
86
|
+
├── commands/ # Slash command definitions (23)
|
|
87
|
+
├── agents/ # Specialist subagent definitions (2)
|
|
88
|
+
├── hooks/ # Hook definitions + guard scripts
|
|
89
|
+
│ ├── hooks.json
|
|
90
|
+
│ ├── task-write-guard.ts # PreToolUse guard — task-corpus write protection
|
|
91
|
+
│ └── task-write-guard.test.ts # Unit tests for the guard
|
|
92
|
+
├── tests/ # Plugin-structure tests
|
|
93
|
+
│ └── skill-structure.test.ts
|
|
94
|
+
├── plugin.json # Marketplace entry
|
|
95
|
+
└── README.md # This file (lives at plugins/README.md)
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Entity Design Purposes
|
|
99
|
+
|
|
100
|
+
### 1. Skills (`skills/`)
|
|
101
|
+
|
|
102
|
+
**Purpose:** The single source of truth for domain knowledge and workflow documentation. Each skill is a self-contained knowledge module that teaches the agent how to operate one slice of the Spur CLI surface or run one workflow.
|
|
103
|
+
|
|
104
|
+
| Skill | Version | Platforms | Domain |
|
|
105
|
+
| --------------------- | ------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
106
|
+
| `spur-dev` | 1.1 | claude-code, codex, openclaw, opencode, antigravity | Thin orchestration spine — drives planning→execution, gates, HITL, and dispatches competencies; never inlines implementation/testing/decomposition/review |
|
|
107
|
+
| `spur-cli` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | CLI facade — one reference per `spur` noun (`task`, `feature`, `rule`, `workflow`), each with verb tables, flag guides, `--json` shapes, and write-contract rules |
|
|
108
|
+
| `sys-architecture` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Architecture / ADR judgment — module boundaries, data flow, transport/storage/auth choices, build-vs-extend decisions |
|
|
109
|
+
| `spec-decomposition` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Feature/spec → validated task-batch decomposition — scenario-to-task mapping, variant selection, granularity sizing, batch-JSON production |
|
|
110
|
+
| `code-implementation` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Implementation competency — task-driven code changes, stack-pattern selection, root-cause debugging, and Solution change-map production |
|
|
111
|
+
| `code-testing` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Testing competency — run tests, measure coverage, categorize gaps, extend targeted tests with per-stack adapters (Bun/TS, Go, Python) |
|
|
112
|
+
| `code-verification` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Requirements-traceability verdict (PASS/PARTIAL/FAIL) + SECUA code review (Security, Efficiency, Correctness, Usability, Architecture) — backs `/sp:dev-verify` and `/sp:dev-review`; links broader code-improvement candidates out of review findings |
|
|
113
|
+
| `dogfood-testing` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Dogfood backbone — drives a testee end-to-end with bounded auto-fix, a live monitor ledger, and a structured report; backs `/sp:dev-dogfood` |
|
|
114
|
+
| `parallel-execution` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Fan-out decision framework — when to parallelize, four proven fan-out patterns (N-way investigation, competency-lens review, independent-task batch, adversarial panel), and result synthesis; backs `/sp:dev-parallel` |
|
|
115
|
+
| `sys-debugging` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Structured debugging protocol — reproduce→isolate→root cause→fix→regression test; "ask the debugger before the LLM" principle, 15-minute escalation rule |
|
|
116
|
+
| `code-review` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Code review workflow — pre-commit self-review checklist (6 categories, catches 60-80% of issues), structured review requests with SECUA lenses, findings processing |
|
|
117
|
+
| `branch-workflow` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Branch-lifecycle discipline — create→worktree→commit→self-review→merge→cleanup; git worktree patterns for parallel branches |
|
|
118
|
+
| `test-driven-development` | 1.0.0 | claude-code, codex, antigravity, opencode, openclaw | TDD workflow companion — red-green-refactor cycle, behavior-first test design, AAA structure, data builders, and mock-at-boundary anti-patterns |
|
|
119
|
+
| `brainstorm` | 1.0.0 | claude-code, codex, antigravity, opencode, openclaw | Structured ideation workflow — generate solution options with trade-offs, confidence scoring; delegates verification to `cc:anti-hallucination` |
|
|
120
|
+
| `daily-summary` | 1.0.0 | claude-code, codex, antigravity, opencode, openclaw | Daily summary report generator — orchestrates ccusage CLI + git history into structured markdown summaries |
|
|
121
|
+
| `doc-evolve` | 1.0 | claude-code, codex, openclaw, opencode, antigravity | Key-document evolution per `docs/99_PROJECT_CONSTITUTION.md` — drift audits, same-commit sync checks, frontmatter-contract verification, and machine-appended lessons |
|
|
122
|
+
|
|
123
|
+
Each skill directory contains:
|
|
124
|
+
|
|
125
|
+
- `SKILL.md` — Main documentation with YAML frontmatter (`name`, `description`, `metadata.version`, `metadata.platforms`, `metadata.interactions`, `openclaw.emoji`, etc.)
|
|
126
|
+
- `references/` — Deep-dive docs where the skill warrants them (e.g. `spur-cli` ships one reference per CLI noun plus per-noun sub-references for verbs, authoring, and operations; `spur-dev` carries BDD, planning, execution, and batch references; `code-testing` ships per-stack adapters)
|
|
127
|
+
- Some skills (`daily-summary`) ship executable TypeScript under `scripts/` for data-collection
|
|
128
|
+
- Some skills (`brainstorm`, `daily-summary`) carry `agents/openai.yaml` for multi-model dispatch
|
|
129
|
+
|
|
130
|
+
**Design principle:** Skills are **knowledge, not execution**. They describe _what to do and why_; the `spur` CLI performs every deterministic, corpus-mutating operation and validates before writing. Skills contain zero validation logic — the CLI is the gate.
|
|
131
|
+
|
|
132
|
+
### 2. Commands (`commands/`)
|
|
133
|
+
|
|
134
|
+
**Purpose:** Thin slash-command wrappers that parse user arguments and delegate to the corresponding skill. Each command is a user-facing entry point that bridges natural language to skill invocation.
|
|
135
|
+
|
|
136
|
+
There are **23 commands**, organized by the CLI surface they wrap:
|
|
137
|
+
|
|
138
|
+
| Prefix | Count | Delegates To | Purpose |
|
|
139
|
+
| ------------ | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
140
|
+
| `dev-*` | 18 | `sp:spur-dev`, `sp:code-implementation`, `sp:code-testing`, `sp:code-verification`, `sp:brainstorm`, `sp:dogfood-testing`, `sp:parallel-execution`, inline | The dev-workflow surface — `dev-run full` mode → spine; `dev-plan` → spine planning half; `dev-refine` → spine refine op; `dev-runall` → spine batch driver; `dev-verifyall` → batch verification with summary; `dev-idea` → idea-to-feature pipeline; `dev-wrap`/`dev-wrapall` → post-execution wrap-up; `dev-parallel` → parallel-execution; `dev-review`/`dev-verify` → verification; `dev-unit` → testing; `dev-brainstorm` → brainstorm; `dev-dogfood` → dogfood-testing; `dev-fixall`/`dev-gitmsg`/`dev-changelog`/`dev-handover` → inline procedures |
|
|
141
|
+
| `rule-*` | 3 | `sp:spur-cli` | The rule surface — `rule-add`, `rule-refine`, `rule-scan` |
|
|
142
|
+
| `workflow-*` | 2 | `sp:spur-cli` | The workflow surface — `workflow-add`, `workflow-refine` |
|
|
143
|
+
| `spur-init` | 1 | `sp:doc-evolve` | Project bootstrap (`spur init`) with doc-evolve integration |
|
|
144
|
+
|
|
145
|
+
Each command file contains:
|
|
146
|
+
|
|
147
|
+
- YAML frontmatter (`description`, `argument-hint`, `allowed-tools`)
|
|
148
|
+
- A delegation block: `Skill(skill="sp:<skill-name>", args="<operation> $ARGUMENTS")`
|
|
149
|
+
- A CLI fallback (`spur <verb> $ARGUMENTS`) for non-Claude platforms
|
|
150
|
+
|
|
151
|
+
**Design principle:** Commands are **pass-through routers**. They contain zero domain logic — they parse `$ARGUMENTS` and forward to the skill, which owns the workflow knowledge.
|
|
152
|
+
|
|
153
|
+
### 3. Agents (`agents/`)
|
|
154
|
+
|
|
155
|
+
**Purpose:** Specialist subagents that run in isolated context windows. Two shapes: **expert agents** route a request to the single skill they own; **`super-planner`** drives one task end-to-end or a dependency-ordered task batch through the `sp:spur-dev` pipeline.
|
|
156
|
+
|
|
157
|
+
| Agent | Shape | Delegates To | Color | Trigger Examples |
|
|
158
|
+
| ------------- | ------------ | ------------------------------------ | ----- | ---------------------------------------------------------------------------------------------- |
|
|
159
|
+
| `expert-spur` | expert | `sp:spur-cli` | green | "create tasks", "feature lifecycle", "add a rule", "author a workflow" |
|
|
160
|
+
| `super-planner` | orchestrator | `sp:spur-dev` + `sp:dogfood-testing` | green | "run this task end to end", "run all tasks", "run the batch", "execute the todo set", "runall" |
|
|
161
|
+
|
|
162
|
+
Each agent has:
|
|
163
|
+
|
|
164
|
+
- `skills: [sp:<skill-name>]` — bound to one skill (`expert-spur`) or two (`sp:spur-dev` + `sp:dogfood-testing` for `super-planner`)
|
|
165
|
+
- `model: inherit` — inherits the parent session's model
|
|
166
|
+
- `color` — roster display accent
|
|
167
|
+
- `tools` — allowed tool set (`Read`, `Grep`, `Glob`, `Bash`, `Skill`)
|
|
168
|
+
|
|
169
|
+
**Design principle:** Agents are **delegates, not implementors**. They never contain domain logic. `expert-spur` routes CLI corpus work to `sp:spur-cli`; `super-planner` drives the single-task/batch loop (the algorithm lives in `sp:spur-dev/references/execution-batch.md`) without reaching into individual pipeline steps. For a single well-scoped operation, the matching `/sp:*` command is lighter; for work spanning multiple phases or a batch, the agent provides an isolated context window.
|
|
170
|
+
|
|
171
|
+
### 4. Hooks (`hooks/`)
|
|
172
|
+
|
|
173
|
+
**Purpose:** Event-driven enforcement that runs automatically without user invocation. The `hooks.json` file registers hook handlers for Claude Code lifecycle events.
|
|
174
|
+
|
|
175
|
+
Currently registered:
|
|
176
|
+
|
|
177
|
+
| Event | Matcher | Handler | Timeout |
|
|
178
|
+
| ------------ | ------------- | ----------------------------------------- | ------- |
|
|
179
|
+
| `PreToolUse` | `Write\|Edit` | `superskill hook run sp task-write-guard` | 10s |
|
|
180
|
+
|
|
181
|
+
The hook fires on every `Write`/`Edit` tool call and checks whether the target path is **owned by a task** (i.e. it is a file in the task corpus under `docs/tasks/`). If so, the write is denied — task files are mutated through the `spur task` CLI only, never by hand. The hook is **pure delegation**: it asks `spur task resolve <path>` whether the path is owned and decides the exit code alone; it contains zero validation logic of its own.
|
|
182
|
+
|
|
183
|
+
**Escape hatch:** `SPUR_WRITE_GUARD=off` short-circuits the guard before any subprocess.
|
|
184
|
+
|
|
185
|
+
**Design principle:** Hooks provide **automatic enforcement** of the corpus boundary. The skills teach _how_ to edit tasks through the CLI; the hook _enforces_ that direct file writes to the corpus are blocked.
|
|
186
|
+
|
|
187
|
+
### 5. Scripts (`hooks/`)
|
|
188
|
+
|
|
189
|
+
**Purpose:** Executable TypeScript that implements hook enforcement logic. Scripts are the runtime layer — they run as processes, not as LLM context.
|
|
190
|
+
|
|
191
|
+
| Script | Role |
|
|
192
|
+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
193
|
+
| `task-write-guard.ts` | Compatibility shim for older installs that still execute the script path directly. It forwards stdin to the stable PATH command `superskill hook run sp task-write-guard`, mirrors parseable PreToolUse decisions, and fails open if the runtime is unavailable. It performs no source-tree CLI lookup. |
|
|
194
|
+
| `task-write-guard.test.ts` | Unit tests for the guard |
|
|
195
|
+
|
|
196
|
+
**Design principle:** Scripts are **deterministic enforcement**. Unlike skills (which are advisory knowledge consumed by the LLM), scripts run as code and make binary allow/deny decisions. They are the hard gate that the soft skill cannot enforce on its own.
|
|
197
|
+
|
|
198
|
+
## Relationship Diagram
|
|
199
|
+
|
|
200
|
+
```mermaid
|
|
201
|
+
graph TB
|
|
202
|
+
subgraph "User Entry Points"
|
|
203
|
+
CMD["Commands<br/>23 slash commands<br/>/sp:dev-plan, /sp:dev-runall, /sp:rule-add, ..."]
|
|
204
|
+
AGENT["Agents<br/>2 subagents<br/>expert-spur, super-coder"]
|
|
205
|
+
HOOK["PreToolUse Hook<br/>Write|Edit matcher"]
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
subgraph "Knowledge Layer"
|
|
209
|
+
SKILL_DEV["spur-dev<br/>Thin orchestration spine"]
|
|
210
|
+
SKILL_CLI["spur-cli<br/>CLI noun facade"]
|
|
211
|
+
SKILL_IMPL["code-implementation<br/>Implementation competency"]
|
|
212
|
+
SKILL_TEST["code-testing<br/>Testing competency"]
|
|
213
|
+
SKILL_VERIFY["code-verification<br/>Review + verify competency"]
|
|
214
|
+
SKILL_DECOMP["spec-decomposition<br/>Feature/spec decomposition"]
|
|
215
|
+
SKILL_ARCH["sys-architecture<br/>Architecture judgment"]
|
|
216
|
+
SKILL_BS["brainstorm<br/>Structured ideation"]
|
|
217
|
+
SKILL_DS["daily-summary<br/>Daily report generator"]
|
|
218
|
+
SKILL_DOC["doc-evolve<br/>Document drift + sync"]
|
|
219
|
+
SKILL_DOG["dogfood-testing<br/>Dogfood protocol + report"]
|
|
220
|
+
SKILL_TDD["test-driven-development<br/>TDD workflow companion"]
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
subgraph "Execution Layer"
|
|
224
|
+
CLI["spur CLI<br/>task · feature · rule · workflow<br/>· agent · history · team · message"]
|
|
225
|
+
SCRIPT["hooks/task-write-guard.ts"]
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
subgraph "Corpus Layer"
|
|
229
|
+
CORPUS["docs/tasks/ + docs/features/<br/>Markdown planning corpus"]
|
|
230
|
+
RULES[".spur/rules/<br/>YAML constraint rules"]
|
|
231
|
+
WFS[".spur/workflows/<br/>YAML workflow definitions"]
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
%% Command → Skill delegations
|
|
235
|
+
CMD -->|"Skill(sp:spur-dev, ...)"| SKILL_DEV
|
|
236
|
+
CMD -->|"Skill(sp:code-implementation, ...)"| SKILL_IMPL
|
|
237
|
+
CMD -->|"Skill(sp:code-testing, ...)"| SKILL_TEST
|
|
238
|
+
CMD -->|"Skill(sp:code-verification, ...)"| SKILL_VERIFY
|
|
239
|
+
CMD -->|"Skill(sp:spur-cli, ...)"| SKILL_CLI
|
|
240
|
+
CMD -->|"Skill(sp:doc-evolve, ...)"| SKILL_DOC
|
|
241
|
+
CMD -->|"Skill(sp:brainstorm, ...)"| SKILL_BS
|
|
242
|
+
CMD -->|"Skill(sp:dogfood-testing, ...)"| SKILL_DOG
|
|
243
|
+
|
|
244
|
+
%% Agent → Skill bindings
|
|
245
|
+
AGENT -->|"skills: [sp:spur-cli]"| SKILL_CLI
|
|
246
|
+
AGENT -->|"skills: [sp:spur-dev, sp:dogfood-testing]"| SKILL_DEV
|
|
247
|
+
|
|
248
|
+
%% Hook → Script
|
|
249
|
+
HOOK -->|"superskill hook run"| SCRIPT
|
|
250
|
+
|
|
251
|
+
%% Script → CLI resolve
|
|
252
|
+
SCRIPT -->|"spur task resolve"| CLI
|
|
253
|
+
|
|
254
|
+
%% Skill → CLI delegations
|
|
255
|
+
SKILL_DEV -->|"spur task/feature/workflow"| CLI
|
|
256
|
+
SKILL_CLI -->|"spur task/feature/rule/workflow"| CLI
|
|
257
|
+
SKILL_IMPL -->|"spur task update --section"| CLI
|
|
258
|
+
SKILL_VERIFY -->|"spur task check/verdict/record"| CLI
|
|
259
|
+
SKILL_TDD -->|"spur task"| CLI
|
|
260
|
+
SKILL_DOG -->|"spur workflow run"| CLI
|
|
261
|
+
SKILL_DOC -->|"spur task/feature"| CLI
|
|
262
|
+
|
|
263
|
+
%% CLI → Corpus
|
|
264
|
+
CLI -->|"reads + validates + writes"| CORPUS
|
|
265
|
+
CLI -->|"reads + runs"| RULES
|
|
266
|
+
CLI -->|"reads + runs"| WFS
|
|
267
|
+
|
|
268
|
+
%% Styling
|
|
269
|
+
classDef entry fill:#4a9eff,color:#fff,stroke:#2563eb
|
|
270
|
+
classDef knowledge fill:#8b5cf6,color:#fff,stroke:#7c3aed
|
|
271
|
+
classDef execution fill:#10b981,color:#fff,stroke:#059669
|
|
272
|
+
classDef corpus fill:#f59e0b,color:#fff,stroke:#d97706
|
|
273
|
+
|
|
274
|
+
class CMD,AGENT,HOOK entry
|
|
275
|
+
class SKILL_DEV,SKILL_CLI,SKILL_IMPL,SKILL_TEST,SKILL_VERIFY,SKILL_DECOMP,SKILL_ARCH,SKILL_BS,SKILL_DS,SKILL_DOC,SKILL_DOG,SKILL_TDD knowledge
|
|
276
|
+
class CLI,SCRIPT execution
|
|
277
|
+
class CORPUS,RULES,WFS corpus
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
## Delegation Flow
|
|
281
|
+
|
|
282
|
+
The plugin follows a strict **three-tier delegation** pattern — each tier has a single responsibility and delegates to the next:
|
|
283
|
+
|
|
284
|
+
```
|
|
285
|
+
Tier 1 — Entry Points (Commands / Agents / Hooks)
|
|
286
|
+
│ Parse user input, route to the correct skill
|
|
287
|
+
│ Contains ZERO domain logic
|
|
288
|
+
▼
|
|
289
|
+
Tier 2 — Knowledge Layer (Skills)
|
|
290
|
+
│ Provide domain knowledge, workflows, and patterns
|
|
291
|
+
│ Delegate every deterministic, corpus-mutating operation to the CLI
|
|
292
|
+
│ Contains ZERO validation logic
|
|
293
|
+
▼
|
|
294
|
+
Tier 3 — Execution Layer (spur CLI + Guard Scripts)
|
|
295
|
+
│ Perform deterministic operations (create, update, check, resolve, run)
|
|
296
|
+
│ Validate before writing — the CLI is the gate
|
|
297
|
+
│ Enforce hard gates (PreToolUse guard)
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### Example: Planning a Feature End-to-End
|
|
301
|
+
|
|
302
|
+
1. User types `/sp:dev-plan "add task body write API"`
|
|
303
|
+
2. **Command** (`dev-plan.md`) parses `$ARGUMENTS` and calls `Skill(skill="sp:spur-dev", args="plan $ARGUMENTS")`
|
|
304
|
+
3. **Skill** (`spur-dev/SKILL.md`) drives the planning half: intake → `spur feature create` → AC generation → `spur feature check` gate → decomposition → `spur task batch-create`
|
|
305
|
+
4. **CLI** validates each step before writing — feature IDs are race-safe, WBS allocation is atomic, `check` is the readiness matrix
|
|
306
|
+
5. Result: validated feature file + decomposed task batch in `docs/features/` and `docs/tasks/`
|
|
307
|
+
|
|
308
|
+
### Example: Running a Task Through the Pipeline
|
|
309
|
+
|
|
310
|
+
1. User types `/sp:dev-run 0090`
|
|
311
|
+
2. **Command** delegates to `sp:spur-dev` skill (execution half)
|
|
312
|
+
3. **Skill** reads the task, loads `.spur/workflows/task-pipeline.yaml`, and runs `spur workflow run` with HITL surfacing
|
|
313
|
+
4. **CLI** executes the workflow engine (`@gobing-ai/ts-dual-workflow-engine`), pauses at HITL gates, persists run state
|
|
314
|
+
5. Result: task driven through implement → check → fix → verify lifecycle
|
|
315
|
+
|
|
316
|
+
### Example: Task-Corpus Write Protection
|
|
317
|
+
|
|
318
|
+
1. The agent attempts a raw `Write`/`Edit` to a file under `docs/tasks/`
|
|
319
|
+
2. **PreToolUse Hook** (`hooks.json`) fires, executing `superskill hook run sp task-write-guard`
|
|
320
|
+
3. **Runtime** reads the tool payload from stdin and resolves task ownership through the installed hook runtime
|
|
321
|
+
4. If the path is owned by a task → emit `permissionDecision: deny` with a system message directing to `spur task update --section`
|
|
322
|
+
5. If not owned → emit `permissionDecision: allow`; the tool call proceeds
|
|
323
|
+
|
|
324
|
+
## Platform Compatibility
|
|
325
|
+
|
|
326
|
+
The `sp` plugin is authored in Claude Code native format. On other platforms (Codex, Gemini CLI, Antigravity, pi, omp, OpenCode, OpenClaw, Hermes, Grok), translation scripts adapt plugin entities to platform-native locations where those adapters exist. OpenClaw is implicitly supported — it reads skills from `~/.agents/skills/`, the same root codex/opencode use in global mode. Grok is a first-class **runtime** agent via `spur agent run --agent grok` (`ts-ai-runner` 0.4.8+); plugin-entity emit for Grok follows the same Skills 2.0 path as other non–Claude Code agents when an adapter is configured.
|
|
327
|
+
|
|
328
|
+
| Plugin Entity | Claude Code | Other Platforms |
|
|
329
|
+
| ------------------ | ---------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
|
330
|
+
| `skills/*.md` | `~/.claude/skills/` | Adapted as Skills 2.0 skill directories — all platforms receive skills uniformly |
|
|
331
|
+
| `commands/*.md` | `~/.claude/commands/` | Adapted as Skills 2.0 skill entries (`disable-model-invocation: true`) |
|
|
332
|
+
| `agents/*.md` | `~/.claude/agents/` | Adapted as Skills 2.0 skill entries (model-invocable); Pi additionally gets native agent format |
|
|
333
|
+
| `hooks/hooks.json` | `~/.claude/hooks/` | Converted to target-native format (pi-hooks shim for pi/omp, HOOK.yaml for hermes) |
|
|
334
|
+
| `hooks/*.ts` | plugin hook runtime / compatibility copy | Copied alongside platform output only for environments that still invoke script paths directly |
|
|
335
|
+
|
|
336
|
+
Each skill declares its own platform support in `metadata.platforms` frontmatter. All `sp` skills currently target the same five platforms: `claude-code`, `codex`, `antigravity`, `opencode`, `openclaw`.
|
|
337
|
+
|
|
338
|
+
## Lifecycle Operations
|
|
339
|
+
|
|
340
|
+
All planning entities (tasks and features) share a common lifecycle, managed by the `spur` CLI:
|
|
341
|
+
|
|
342
|
+
| Operation | Task Verb | Feature Verb | Quality Gate |
|
|
343
|
+
| ----------- | ----------------------------------- | ----------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
344
|
+
| **create** | `spur task create` / `batch-create` | `spur feature create` | Structural validation (WBS race-safe, ID hierarchical) |
|
|
345
|
+
| **check** | `spur task check` | `spur feature check` | 4-layer readiness matrix (schema, sections, traceability, AC) |
|
|
346
|
+
| **update** | `spur task update <wbs> [status]` | `spur feature update <id> [status]` | Lifecycle transition or scalar field set |
|
|
347
|
+
| **record** | `spur task record <wbs>` | — | Write Testing/Review from a verify verdict; optional Solution backfill (never transitions to `done`) |
|
|
348
|
+
| **refresh** | `spur task refresh` | `spur feature refresh` | Index + feature-tree roll-up regeneration |
|
|
349
|
+
|
|
350
|
+
The **workflow** and **rule** engines have their own lifecycles (author → validate → run → trace / refine), documented in their respective `sp:spur-cli` references.
|
|
351
|
+
|
|
352
|
+
## Workflow Pipelines
|
|
353
|
+
|
|
354
|
+
The plugin ships workflow YAMLs under `.spur/workflows/`.
|
|
355
|
+
Each pipeline owns one lifecycle phase:
|
|
356
|
+
|
|
357
|
+
| Workflow | Phase | Entry command | Status |
|
|
358
|
+
| ------------------------ | --------------------------------- | --------------------------------- | ------------- |
|
|
359
|
+
| `basic.yaml` | Generic implement/check/fix | direct `spur workflow run` | existing |
|
|
360
|
+
| `feature-lifecycle.yaml` | Feature status FSM | `spur feature update` | existing |
|
|
361
|
+
| `task-lifecycle.yaml` | Task status FSM | `spur task update` | existing |
|
|
362
|
+
| `planning-pipeline.yaml` | Planning/design from known slug | `/sp:dev-plan` | existing |
|
|
363
|
+
| `task-pipeline.yaml` | Single-task execution | `/sp:dev-run` | existing |
|
|
364
|
+
| `feature-dev.yaml` | Feature umbrella execution | `/sp:dev-runall --feature <id>` | existing |
|
|
365
|
+
| `idea-pipeline.yaml` | Idea to feature + AC + task batch | `/sp:dev-idea` | new in 0.2.12 |
|
|
366
|
+
| `wrapup-pipeline.yaml` | Post-execution wrap-up | `/sp:dev-wrap`, `/sp:dev-wrapall` | new in 0.2.12 |
|
|
367
|
+
|
|
368
|
+
New commands in 0.2.12:
|
|
369
|
+
|
|
370
|
+
- `/sp:dev-idea` — unified entry from a vague idea to a feature with AC and a decomposed task batch.
|
|
371
|
+
- `/sp:dev-wrap` — single-task post-execution wrap-up (learnings, metrics, doc-sync, feature transition).
|
|
372
|
+
- `/sp:dev-wrapall` — batch post-execution wrap-up with `--since`/`--feature`/`--status` filters.
|
|
373
|
+
|
|
374
|
+
New reference: `plugins/sp/skills/spur-dev/references/gate-checklists.md` — checkbox checklists for
|
|
375
|
+
feature-check, batch-create, precheck, review, and verify gates.
|
|
376
|
+
|
|
377
|
+
## rd3 → `sp` / `cc` Migration Map
|
|
378
|
+
|
|
379
|
+
The `sp` and `cc` plugins are the two destinations for the legacy
|
|
380
|
+
`~/projects/cc-agents/plugins/rd3/` plugin. The dividing line (ADR-023):
|
|
381
|
+
|
|
382
|
+
- **`sp` (Spur)** — _software-development_ surface. Code that executes, validates, stores, or
|
|
383
|
+
coordinates moved into the Spur codebase (`apps/`, `packages/`, `@gobing-ai/ts-*`); the plugin
|
|
384
|
+
ships only **Fat Skills** (the SSOT for agent-facing behavior) plus thin command/subagent wrappers
|
|
385
|
+
that delegate to them. Every deterministic step is a `spur` CLI verb.
|
|
386
|
+
- **`cc` (Core Component)** — _meta-agent_ surface. The `cc-*` authoring lifecycle skills (scaffold
|
|
387
|
+
→ validate → evaluate → refine → evolve for skills, commands, agents, hooks, main-agent configs)
|
|
388
|
+
plus fundamental agent skills that are not dev-workflow-specific (e.g. `anti-hallucination`).
|
|
389
|
+
|
|
390
|
+
### Status legend
|
|
391
|
+
|
|
392
|
+
| Mark | Meaning |
|
|
393
|
+
| --------------- | ---------------------------------------------------------------------- |
|
|
394
|
+
| ✅ **Done** | Migrated to the destination plugin (possibly rebranded / consolidated) |
|
|
395
|
+
| 🔀 **Absorbed** | Logic folded into a broader destination entity, not a 1:1 port |
|
|
396
|
+
| ⏳ **Deferred** | Slated for a later migration batch; still live in `rd3` meanwhile |
|
|
397
|
+
| ❌ **Rejected** | Explicitly not migrated (rationale in the triage doc) |
|
|
398
|
+
| ➖ **N/A** | Was never an `rd3` entity (created fresh in the destination) |
|
|
399
|
+
|
|
400
|
+
### Skills (rd3 → destination)
|
|
401
|
+
|
|
402
|
+
The `sp` plugin consolidated **many rd3 skills into a few Fat Skills**: the planning, decomposition,
|
|
403
|
+
review, and pipeline skills collapsed into `spur-dev` + `spur-plan`; the task/feature CLI companions
|
|
404
|
+
became `spur-cli` (one skill with per-noun references). The `cc` plugin took the meta-agent authoring
|
|
405
|
+
family and the verification guard.
|
|
406
|
+
|
|
407
|
+
| rd3 skill | Destination | Status | Note |
|
|
408
|
+
| ----------------------- | ----------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
409
|
+
| `anti-hallucination` | `cc` | ✅ Done | Moved to `cc:anti-hallucination` v3.0.0; in-repo copy removed from `sp` (ADR-024, 2026-06-20) |
|
|
410
|
+
| `cc-agents` | `cc` | ✅ Done | v3.0.0 — subagent lifecycle, 6 platforms |
|
|
411
|
+
| `cc-commands` | `cc` | ✅ Done | v3.0.0 — slash command lifecycle |
|
|
412
|
+
| `cc-hooks` | `cc` | ✅ Done | v3.0.0 — multi-agent hook system |
|
|
413
|
+
| `cc-magents` | `cc` | ✅ Done | v5.0.0 — main-agent config, 15 platforms |
|
|
414
|
+
| `cc-skills` | `cc` | ✅ Done | v3.0.0 — skill lifecycle |
|
|
415
|
+
| `orchestration-v2` | `sp` | 🔀 Absorbed | Replaced by `@gobing-ai/ts-dual-workflow-engine` + `sp:spur-cli` workflow references + `spur workflow run` (D02) |
|
|
416
|
+
| `orchestration-v1` | — | ❌ Rejected | Deprecated; superseded by v2/engine (I07) |
|
|
417
|
+
| `verification-chain` | `sp` | 🔀 Absorbed | Replaced as workflow guards via the engine (I12) |
|
|
418
|
+
| `run-acp` | `sp` | 🔀 Absorbed | Replaced by `spur agent run` — single LLM execution surface (I13, M12) |
|
|
419
|
+
| `task-runner` | `sp` | 🔀 Absorbed | Into `spur-dev` execution half + `task-pipeline.yaml` (D01) |
|
|
420
|
+
| `feature-planning` | `sp` | 🔀 Absorbed | Prompt logic into the `spur-dev` planning half (I04); AC/decomposition gated by CLI |
|
|
421
|
+
| `task-decomposition` | `sp` | 🔀 Absorbed | Into `spur-dev` decomposition step (C03); output contract replaced by the new schema |
|
|
422
|
+
| `request-intake` | `sp` | 🔀 Absorbed | Into `spur-dev` intake step (C01) |
|
|
423
|
+
| `bdd-workflow` | `sp` | 🔀 Absorbed | BDD validation logic → shared BDD validator (X01); AC generation → `spur-dev` (C02) |
|
|
424
|
+
| `feature-tree` | `sp` | 🔀 Absorbed | Into `spur feature` verbs + `sp:spur-cli` feature references (B-group); in-memory tree rejected (B10) |
|
|
425
|
+
| `tasks` | `sp` | 🔀 Absorbed | Into `spur task` verbs + `sp:spur-cli` task references (A-group) |
|
|
426
|
+
| `product-management` | `sp` | 🔀 Absorbed | PM workflow mechanics are covered by `sp:spur-dev`, `sp:spur-cli`, `sp:doc-evolve`, and `spur workflow`; PM judgment is absorbed into planning/roadmap references. No `sp:super-pm` or `/sp:prd-*` surface for now. |
|
|
427
|
+
| `code-review-common` | `sp` | ⏳ Deferred | K01 — runs as `sp` skill + `spur agent run` meanwhile; extract post-stabilization |
|
|
428
|
+
| `code-verification` | `sp` | ⏳ Deferred | K02 — same |
|
|
429
|
+
| `code-improvement` | `sp` | 🔀 Partial | Folded into `sp:code-verification` as the code-improvement reference for architecture/refactoring candidates; no separate command. |
|
|
430
|
+
| `functional-review` | `sp` | ⏳ Deferred | K04 — same |
|
|
431
|
+
| `code-docs` | `sp` | 🔀 Absorbed | Prompt template → `sp:doc-evolve` (I10/I15) |
|
|
432
|
+
| `dev-verification` | — | ❌ Rejected | Empty stub (I14) — deleted entirely |
|
|
433
|
+
| `reverse-engineering` | `sp` | ⏳ Deferred | L04 — re-apply ADR-016 test at design time |
|
|
434
|
+
| `deep-research` | `sp` | ⏳ Deferred | L02 — same |
|
|
435
|
+
| `knowledge-extraction` | `sp` | ⏳ Deferred | L03 — same |
|
|
436
|
+
| `indexed-context` | `sp` | ⏳ Deferred | L01 — design agent-agnostic shape later |
|
|
437
|
+
| `sys-testing` | `sp` | ✅ Done | Ported to `sp:code-testing` (`unit-testing.md` + per-stack adapters under `references/stacks/`). |
|
|
438
|
+
| `advanced-testing` | `sp` | 🔀 Partial | Advanced techniques are folded into `sp:code-testing`; no standalone command until usage proves routing value. |
|
|
439
|
+
| `tdd-workflow` | `sp` | ✅ Done | Ported to `sp:test-driven-development` (standalone discipline); pairs with `sp:code-testing` and `sp:code-implementation`. |
|
|
440
|
+
| `sys-debugging` | `sp` | 🔀 Partial | Folded into `sp:code-implementation` as root-cause-first workflow for failed gates, runtime defects, and unclear test failures; no standalone command. |
|
|
441
|
+
| `sys-developing` | `sp` | 🔀 Partial | Selective production patterns folded into `sp:code-implementation`; broad API/Docker/DB catalogs stay deferred until a concrete need appears. |
|
|
442
|
+
| `code-implement-common` | `sp` | ✅ Done | Ported to `sp:code-implementation` as task-driven implementation discipline, progress persistence, and handoff guidance. |
|
|
443
|
+
| `backend-architect` | `sp` | ✅ Done | Ported into `sp:sys-architecture` for architecture / ADR judgment. |
|
|
444
|
+
| `backend-design` | `sp` | ⏳ Deferred | Prompt skill; same |
|
|
445
|
+
| `frontend-architect` | `sp` | ⏳ Deferred | Prompt skill; same |
|
|
446
|
+
| `frontend-design` | `sp` | ⏳ Deferred | Prompt skill; same |
|
|
447
|
+
| `ui-ux-design` | `sp` | ⏳ Deferred | Prompt skill; same |
|
|
448
|
+
| `pl-typescript` | `sp` | ⏳ Deferred | Prompt skill; same |
|
|
449
|
+
| `pl-python` | `sp` | ⏳ Deferred | Prompt skill; same |
|
|
450
|
+
| `pl-golang` | `sp` | ⏳ Deferred | Prompt skill; same |
|
|
451
|
+
| `pl-javascript` | `sp` | ⏳ Deferred | Prompt skill; same |
|
|
452
|
+
| `cli-for-ai` | `sp` | ⏳ Deferred | M04 — prompt skill; same |
|
|
453
|
+
| `token-saver` | `sp` | ⏳ Deferred | M03 — prompt skill; same |
|
|
454
|
+
| `brainstorm` | `sp` | ✅ Done | Retained as `sp:brainstorm` (I05); CLI verb rejected (C06) |
|
|
455
|
+
| `daily-summary` | `sp` | ✅ Done | Retained as `sp:daily-summary`; script stays embedded (I16) |
|
|
456
|
+
| `transfer` | `sp` | ⏳ Deferred | M01 — prompt skill |
|
|
457
|
+
| `handover` | `sp` | ⏳ Deferred | M01 — prompt skill |
|
|
458
|
+
| `quick-grep` | `sp` | 🔀 Absorbed | rg-usage guidance stays a prompt skill; CLI wrapper rejected (L05) |
|
|
459
|
+
| _— (new)_ | `sp` | ➖ N/A | `doc-evolve` created fresh (constitution-native; no rd3 ancestor) |
|
|
460
|
+
| _— (new)_ | `sp` | ➖ N/A | `spur-dev`, `spur-cli`, `sys-architecture`, `spec-decomposition`, `code-implementation`, `code-testing`, `code-verification`, `dogfood-testing`, `test-driven-development` created fresh or extracted as the Spur companion surface |
|
|
461
|
+
| `spur-plan` | `sp` | ❌ Removed | Thin stub placeholder removed 2026-06-30 — the full planning narrative lives in `sp:spur-dev` and `/sp:dev-plan` delegates to it directly. |
|
|
462
|
+
|
|
463
|
+
### Commands (rd3 → destination)
|
|
464
|
+
|
|
465
|
+
rd3 shipped 46 commands. The `sp` plugin applied the ADR-016 decision test (a command is justified
|
|
466
|
+
only when it converts non-deterministic intent into a reliable sequence the CLI cannot express) and
|
|
467
|
+
kept a **much smaller set** (19). The `cc` plugin took the meta-agent authoring commands (17).
|
|
468
|
+
|
|
469
|
+
| rd3 command | Destination | Status | Note |
|
|
470
|
+
| ------------------- | ----------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
471
|
+
| `dev-plan` | `sp` | ✅ Done | Delegates to `sp:spur-dev` (plan operation) |
|
|
472
|
+
| `dev-run` | `sp` | ✅ Done | Delegates to `sp:spur-dev` (run operation) |
|
|
473
|
+
| `dev-new-task` | `sp` | ❌ Retired | Superseded by `dev-brainstorm --skip-discovery --task` |
|
|
474
|
+
| `dev-refine` | `sp` | ✅ Done | Delegates to `sp:spur-dev` (refine operation) |
|
|
475
|
+
| `dev-review` | `sp` | ✅ Done | Delegates to `sp:code-verification` (review operation) |
|
|
476
|
+
| `dev-verify` | `sp` | ✅ Done | Delegates to `sp:code-verification` (verify operation) |
|
|
477
|
+
| `dev-verifyall` | `sp` | ✅ Done | Delegates to `sp:spur-dev` (verifyall batch operation) — supports `--tasks` / `--feature`, produces summary report |
|
|
478
|
+
| `dev-unit` | `sp` | ✅ Done | Delegates to `sp:code-testing` |
|
|
479
|
+
| `dev-fixall` | `sp` | ✅ Done | Inline procedure |
|
|
480
|
+
| `dev-gitmsg` | `sp` | ✅ Done | Inline procedure |
|
|
481
|
+
| `dev-changelog` | `sp` | ✅ Done | Inline procedure |
|
|
482
|
+
| `dev-handover` | `sp` | ✅ Done | Inline procedure |
|
|
483
|
+
| `dev-brainstorm` | `sp` | 🔀 Absorbed | Into `sp:brainstorm` skill directly (no separate command) |
|
|
484
|
+
| `dev-daily-summary` | `sp` | 🔀 Absorbed | Into `sp:daily-summary` skill directly |
|
|
485
|
+
| `dev-dogfood` | `sp` | ✅ Done | Delegates to `sp:dogfood-testing` |
|
|
486
|
+
| `dev-transfer` | `sp` | 🔀 Absorbed | Into `sp:spur-dev` (transfer operation); no standalone command |
|
|
487
|
+
| `dev-init` | `sp` | 🔀 Absorbed | Into `spur-init` command → `sp:doc-evolve` |
|
|
488
|
+
| `dev-reverse` | `sp` | ⏳ Deferred | L04 — with the `reverse-engineering` skill |
|
|
489
|
+
| `skill-add` | `cc` | ✅ Done | `cc` `skill-add` |
|
|
490
|
+
| `skill-refine` | `cc` | ✅ Done | `cc` `skill-refine` |
|
|
491
|
+
| `skill-evaluate` | `cc` | ✅ Done | `cc` `skill-evaluate` |
|
|
492
|
+
| `skill-evolve` | `cc` | ✅ Done | `cc` `skill-evolve` |
|
|
493
|
+
| `skill-migrate` | `cc` | ⏳ Deferred | M06 — not yet ported to `cc` |
|
|
494
|
+
| `skill-package` | `cc` | ⏳ Deferred | M06 — not yet ported to `cc` |
|
|
495
|
+
| `command-add` | `cc` | ✅ Done | `cc` `command-add` |
|
|
496
|
+
| `command-refine` | `cc` | ✅ Done | `cc` `command-refine` |
|
|
497
|
+
| `command-evaluate` | `cc` | ✅ Done | `cc` `command-evaluate` |
|
|
498
|
+
| `command-evolve` | `cc` | ✅ Done | `cc` `command-evolve` |
|
|
499
|
+
| `command-adapt` | `cc` | ⏳ Deferred | M07 — not yet ported to `cc` |
|
|
500
|
+
| `agent-add` | `cc` | ✅ Done | `cc` `agent-add` |
|
|
501
|
+
| `agent-refine` | `cc` | ✅ Done | `cc` `agent-refine` |
|
|
502
|
+
| `agent-evaluate` | `cc` | ✅ Done | `cc` `agent-evaluate` |
|
|
503
|
+
| `agent-evolve` | `cc` | ✅ Done | `cc` `agent-evolve` |
|
|
504
|
+
| `agent-adapt` | `cc` | ⏳ Deferred | M08 — not yet ported to `cc` |
|
|
505
|
+
| `hook-emit` | `cc` | ⏳ Deferred | M09 — not yet ported to `cc` |
|
|
506
|
+
| `hook-list` | `cc` | ⏳ Deferred | M09 — not yet ported to `cc` |
|
|
507
|
+
| `hook-setup` | `cc` | ⏳ Deferred | M09 — not yet ported to `cc` |
|
|
508
|
+
| `hook-validate` | `cc` | ⏳ Deferred | M09 — not yet ported to `cc` |
|
|
509
|
+
| `magent-add` | `cc` | ✅ Done | `cc` `magent-add` |
|
|
510
|
+
| `magent-refine` | `cc` | ✅ Done | `cc` `magent-refine` |
|
|
511
|
+
| `magent-evaluate` | `cc` | ✅ Done | `cc` `magent-evaluate` |
|
|
512
|
+
| `magent-evolve` | `cc` | ✅ Done | `cc` `magent-evolve` |
|
|
513
|
+
| `magent-adapt` | `cc` | ⏳ Deferred | M10 — not yet ported to `cc` |
|
|
514
|
+
| `prd-run` | `sp` | ❌ Rejected for now | Existing `sp:spur-dev` planning plus `spur feature`/`spur task` covers the workflow; revisit only after repeated PM flows prove a command earns its surface. |
|
|
515
|
+
| `prd-init` | `sp` | ❌ Rejected for now | Overlaps reverse-engineering/indexed-context; defer the capability, not a command wrapper. |
|
|
516
|
+
| `prd-doc` | `sp` | ❌ Rejected for now | Use `sp:doc-evolve` for PRD/doc synchronization; no separate forwarding command. |
|
|
517
|
+
| `prd-adjust` | `sp` | ❌ Rejected for now | Use `spur feature update` and the planning guidance; add a command only if a stable multi-step workflow emerges. |
|
|
518
|
+
| `dev-runall` | `sp` | ✅ Done | Delegates to `sp:spur-dev` (runall operation — batch driver) |
|
|
519
|
+
| `rule-add` | `sp` | ➖ N/A | Created fresh for the Spur rule surface (→ `sp:spur-cli`) |
|
|
520
|
+
| `rule-refine` | `sp` | ➖ N/A | Created fresh for the Spur rule surface |
|
|
521
|
+
| `rule-scan` | `sp` | ➖ N/A | Created fresh for the Spur rule surface |
|
|
522
|
+
| `workflow-add` | `sp` | ➖ N/A | Created fresh for the Spur workflow surface |
|
|
523
|
+
| `workflow-refine` | `sp` | ➖ N/A | Created fresh for the Spur workflow surface |
|
|
524
|
+
| `spur-init` | `sp` | ➖ N/A | Created fresh (→ `sp:doc-evolve`); replaces the old `dev-init` |
|
|
525
|
+
|
|
526
|
+
### Agents (rd3 → destination)
|
|
527
|
+
|
|
528
|
+
rd3 shipped 13 agents. The `sp` plugin now keeps `expert-spur` (the CLI-corpus expert) plus
|
|
529
|
+
`super-planner` (single-task and batch pipeline driver); `cc` kept 5 authoring experts. The old
|
|
530
|
+
"super-\*" orchestration roles were folded into skills/engine capabilities.
|
|
531
|
+
|
|
532
|
+
| rd3 agent | Destination | Status | Note |
|
|
533
|
+
| ------------------ | ----------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
534
|
+
| `expert-skill` | `cc` | ✅ Done | `cc` `expert-skill` |
|
|
535
|
+
| `expert-command` | `cc` | ✅ Done | `cc` `expert-command` |
|
|
536
|
+
| `expert-agent` | `cc` | ✅ Done | `cc` `expert-agent` |
|
|
537
|
+
| `expert-hook` | `cc` | ✅ Done | `cc` `expert-hook` |
|
|
538
|
+
| `expert-magent` | `cc` | ✅ Done | `cc` `expert-magent` |
|
|
539
|
+
| `super-coder` | `sp` | ✅ Done | Retained as `sp:super-coder` (build); single-task + batch pipeline driving moved to `sp:super-planner` |
|
|
540
|
+
| `super-tester` | `sp` | 🔀 Absorbed | Into `sp:code-testing` + `sp:super-coder` pipeline runs |
|
|
541
|
+
| `super-reviewer` | `sp` | 🔀 Absorbed | Into `sp:code-verification` + `sp:super-coder` pipeline runs |
|
|
542
|
+
| `super-pm` | `sp` | ❌ Rejected for now | Wrapper-on-wrapper over `sp:spur-dev`, `sp:spur-cli`, and `sp:doc-evolve`; reconsider only if PM work repeatedly needs an isolated context beyond existing experts. |
|
|
543
|
+
| `super-brain` | `sp` | 🔀 Absorbed | Into `sp:brainstorm` skill + `sp:spur-dev` planning |
|
|
544
|
+
| `jon-snow` | `sp` | 🔀 Absorbed | Into `sp:spur-dev` spine + `sp:super-coder` full runs |
|
|
545
|
+
| `knowledge-seeker` | `sp` | ⏳ Deferred | With the L-group research skills |
|
|
546
|
+
| `second-brain` | `sp` | ⏳ Deferred | L01 — with `indexed-context` |
|
|
547
|
+
| _— (new)_ | `sp` | ➖ N/A | `expert-spur` (CLI-corpus expert) and `super-planner` (single-task + batch pipeline driver) — created fresh |
|
|
548
|
+
|
|
549
|
+
### Hooks (rd3 → destination)
|
|
550
|
+
|
|
551
|
+
| rd3 hook | Destination | Status | Note |
|
|
552
|
+
| --------------------------------------- | ----------- | ------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
553
|
+
| `hooks.json` (rd3 had hook definitions) | `cc` / `sp` | ✅ Done | `cc` ships the meta-agent hook authoring system (`cc-hooks`); `sp` ships the task-write-guard `PreToolUse` hook (F04) |
|
|
554
|
+
|
|
555
|
+
### Scripts (rd3 → destination)
|
|
556
|
+
|
|
557
|
+
rd3's executable scripts (`scripts/evolution-engine.ts` 53 KB, `logger.ts` 40 KB, `best-practice-fixes.ts`
|
|
558
|
+
17 KB, `fs.ts` 12 KB, `markdown-frontmatter.ts`, etc.) are the **meta-tooling backbone** (H07–H13, M06–M10).
|
|
559
|
+
They stay live in `rd3` until the core stabilizes; deferral breaks nothing.
|
|
560
|
+
|
|
561
|
+
| rd3 script group | Destination | Status | Note |
|
|
562
|
+
| --------------------------------------- | ----------- | ----------- | ------------------------------------------------------ |
|
|
563
|
+
| `evolution-engine.ts` + contract | `cc` | ⏳ Deferred | H11 — largest shared dep; moves when M06–M10 move |
|
|
564
|
+
| `logger.ts` | `cc` | ⏳ Deferred | H07 — meta-tooling backbone |
|
|
565
|
+
| `best-practice-fixes.ts` | `cc` | ⏳ Deferred | H10 — same |
|
|
566
|
+
| `fs.ts` | `sp` | 🔀 Absorbed | H12 — superseded by `@gobing-ai/ts-runtime` FileSystem |
|
|
567
|
+
| `markdown-frontmatter.ts` | `sp` | 🔀 Absorbed | H01 — into the Spur-local frontmatter library |
|
|
568
|
+
| `grading.ts` / `validation-findings.ts` | `cc` | ⏳ Deferred | H07/H08 — meta-tooling backbone |
|
|
569
|
+
| `utils.ts` | `cc` | ⏳ Deferred | Meta-tooling backbone |
|
|
570
|
+
| `acpx-query.ts` (35 KB) | — | ❌ Rejected | I17 — archive; `spur agent run` replaces ACP |
|
|
571
|
+
|
|
572
|
+
### Summary scorecard
|
|
573
|
+
|
|
574
|
+
| Category | rd3 count | Done | Absorbed | Deferred | Rejected | Destination counts |
|
|
575
|
+
| ------------ | --------- | ---- | -------- | -------- | -------- | ------------------ |
|
|
576
|
+
| **Skills** | 50 | 8 | 12 | 28 | 2 | `sp` 12 · `cc` 6 |
|
|
577
|
+
| **Commands** | 46 | 28 | 4 | 14 | 0 | `sp` 19 · `cc` 17 |
|
|
578
|
+
| **Agents** | 13 | 5 | 5 | 3 | 0 | `sp` 2 · `cc` 5 |
|
|
579
|
+
| **Hooks** | 1 | 1 | 0 | 0 | 0 | `sp` 1 · `cc` 1 |
|
|
580
|
+
|
|
581
|
+
**Key consolidations:**
|
|
582
|
+
|
|
583
|
+
- **12 rd3 skills absorbed into `sp` Fat Skills**: the planning/decomposition/review/pipeline family
|
|
584
|
+
folded into `spur-dev`; the task/feature CLI companions became `spur-cli` (one skill
|
|
585
|
+
with per-noun references); `spur-plan` was a thin stub placeholder kept for future development
|
|
586
|
+
and removed 2026-06-30 — its planning narrative already lives in `sp:spur-dev`. Product-management
|
|
587
|
+
judgment moved into the existing planning/roadmap references; code-docs → `doc-evolve`; quick-grep
|
|
588
|
+
stays a prompt skill.
|
|
589
|
+
- **5 rd3 "super-\*" agents → 1 in `sp`**: `super-planner` owns single-task + batch pipeline driving;
|
|
590
|
+
implementation/testing/review work routes to the functional competencies.
|
|
591
|
+
- **ADR-016 command pruning**: 46 rd3 commands → 19 in `sp` (only commands that convert
|
|
592
|
+
non-deterministic intent survived; pure CLI forwarders were rejected).
|
|
593
|
+
- **Meta-agent family fully in `cc`**: the `cc-*` skills + their expert agents + the add/refine/
|
|
594
|
+
evaluate/evolve commands are all migrated; only the adapt/migrate/package/emit variants remain.
|
|
595
|
+
|
|
596
|
+
**Authoritative triage source:** `docs/plans/2026-06-10-rd3-migration-feature-list.md` (140 items, A–N
|
|
597
|
+
groups). Governing decisions: ADR-020–024 in `docs/00_ADR.md`.
|
|
598
|
+
|
|
599
|
+
### What's next for `sp`
|
|
600
|
+
|
|
601
|
+
The committed batch (ADR-023 waves 0–5) has landed. Three workstreams remain, in priority order:
|
|
602
|
+
|
|
603
|
+
1. **Wave 3 — Task Kanban board (active).** The F7 web-parity feature decomposed into tasks
|
|
604
|
+
0089–0098: restore `@dnd-kit` + `markdown-editor` deps (0089), task body write API (0090),
|
|
605
|
+
body render/edit (0091), metadata pane (0092), new-task panel (0093), action server surface
|
|
606
|
+
(0094), workflow action buttons (0095), dnd-kit migration (0096), SSE real-time sync (0097),
|
|
607
|
+
board UX polish (0098). Unblocks the **A17 cutover gate** — the operator is never boardless.
|
|
608
|
+
|
|
609
|
+
2. **Wave 6 — `rd3` cleanup.** Each `I-group` removal is gated on its verified replacement.
|
|
610
|
+
The `rd3` plugin stays executable until every caller is confirmed on `sp`.
|
|
611
|
+
|
|
612
|
+
3. **Deferred-skill extraction (later batches).** These run **today** as prompt skills driving
|
|
613
|
+
`spur agent run`; extraction is not on the critical path. Triage IDs map to the groups above:
|
|
614
|
+
|
|
615
|
+
| Batch | Skills (triage ID) | Shape when extracted |
|
|
616
|
+
| ------------------- | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
617
|
+
| Verification engine | code-review-common (K01), code-verification (K02), functional-review (K04) | `spur review` / `spur verify` verbs behind the existing skills; deterministic checks via `ts-rule-engine` evaluators. Code-improvement judgment is already partially absorbed into `sp:code-verification`. |
|
|
618
|
+
| Testing surface | remaining deterministic inspection only | K06's `unit` procedure and advanced-technique triggers live in `code-testing/references/unit-testing.md`; per-stack adapters live under `references/stacks/`. Whether deterministic measurement consolidates under a future inspection surface or stays as workflow shell guards is still **undecided**. |
|
|
619
|
+
| Context & research | indexed-context (L01), deep-research (L02), knowledge-extraction (L03), reverse-engineering (L04) | Re-apply the ADR-016 test at design time — much is prompt work that stays in skills |
|
|
620
|
+
| Coordination | transfer/handover (M01), token-saver (M03), cli-for-ai (M04) | Prompt skills; extract only if a deterministic verb survives the ADR-016 test. Sys-debugging and PM judgment are partially absorbed into existing `sp` planning/execution references. |
|
|
621
|
+
| `spur inspect` | coverage/lint/typecheck/deps (N01–N05) | Adapter-based project-state interrogation; near-term needs covered by rule presets + workflow shell guards |
|
|
622
|
+
|
|
623
|
+
**Trigger for extraction:** the `sp` core is stable and a second consumer appears, _or_ the
|
|
624
|
+
prompt-skill wrapper starts leaking behavior the CLI can enforce deterministically.
|
|
625
|
+
|
|
626
|
+
### What's next for `cc`
|
|
627
|
+
|
|
628
|
+
The six `cc-*` skills and their add/refine/evaluate/evolve commands shipped. Two workstreams remain:
|
|
629
|
+
|
|
630
|
+
1. **Complete the authoring lifecycle.** The `adapt` / `migrate` / `package` / `emit` variants are
|
|
631
|
+
still in `rd3`:
|
|
632
|
+
|
|
633
|
+
| Family | Done in `cc` | Still in `rd3` (triage ID) |
|
|
634
|
+
| ------- | ----------------------------- | --------------------------------------------------------------- |
|
|
635
|
+
| skill | add, refine, evaluate, evolve | migrate (M06), package (M06) |
|
|
636
|
+
| command | add, refine, evaluate, evolve | adapt (M07) |
|
|
637
|
+
| agent | add, refine, evaluate, evolve | adapt (M08) |
|
|
638
|
+
| hook | _(none)_ | emit, list, setup, validate (M09) — **entire hook CLI surface** |
|
|
639
|
+
| magent | add, refine, evaluate, evolve | adapt (M10) |
|
|
640
|
+
|
|
641
|
+
The **hook family** is the largest gap: `cc-hooks` skill exists but none of its four CLI verbs
|
|
642
|
+
have been ported. Porting them completes the hook authoring story.
|
|
643
|
+
|
|
644
|
+
2. **Meta-tooling backbone (H07–H13).** The shared scripts — `evolution-engine.ts` (53 KB),
|
|
645
|
+
`logger.ts` (40 KB), `best-practice-fixes.ts` (17 KB), `grading.ts`, `validation-findings.ts`,
|
|
646
|
+
`utils.ts` — underpin M06–M10. They stay live in `rd3` until the core stabilizes; deferral
|
|
647
|
+
costs nothing because nothing breaks in the meantime. They move when their consuming commands
|
|
648
|
+
(the `adapt`/`migrate`/`package`/`emit` variants) move.
|
|
649
|
+
|
|
650
|
+
**Trigger for migration:** the `cc` authoring lifecycle is daily-driver stable and the operator
|
|
651
|
+
is ready to freeze `rd3` execution entirely.
|
|
652
|
+
|
|
653
|
+
---
|
|
654
|
+
|
|
655
|
+
_This folder stores the original source for Claude Code plugins. Translation scripts adapt these entities for other coding agents. It is unrelated to `packages/plugin-sdk`._
|