2103dde889
A pipeline template may now declare the slash command that drives it (`skill`), so the choice of pipeline is the choice of workflow rather than just a picture on the dashboard: - `ccam ship-full "<req>"` runs the 16-node `ship-feature` template's skill (`/ccam:ship-feature-lane`) — through gates, QC and the senior gate to a published PR, watched until a human merges it. - `ccam ship-quick "<req>"` runs the 8-node `default` template's skill (`/ccam:ship-feature`) — in-repo feature work that stops at the gate. Each command puts the lane on its own template before spawning, so the dashboard renders the right node count from the first stage instead of after the skill self-corrects. `--print` shows the command, switches nothing and runs nothing. The prompt reaches `claude` as one argv element, never through a shell. The same field feeds the Workspace run console, which pre-fills its prompt with the lane's driving skill and never overwrites a prompt the user has already edited.
180 lines
3.7 KiB
JSON
180 lines
3.7 KiB
JSON
{
|
|
"id": "default",
|
|
"name": "Default feature pipeline",
|
|
"skill": "/ccam:ship-feature",
|
|
"nodes": [
|
|
{
|
|
"id": "intake",
|
|
"label": "intake",
|
|
"icon": "📝",
|
|
"gate": false,
|
|
"aliases": [
|
|
"assigned",
|
|
"claimed",
|
|
"start"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Agent",
|
|
"match": "^Explore$"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "plan",
|
|
"label": "plan",
|
|
"icon": "🧭",
|
|
"gate": false,
|
|
"aliases": [
|
|
"planning",
|
|
"brainstorm",
|
|
"design"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Skill",
|
|
"match": "brainstorming|writing-plans"
|
|
},
|
|
{
|
|
"tool": "Write",
|
|
"match": "docs/.*plan.*\\.md"
|
|
},
|
|
{
|
|
"tool": "Agent",
|
|
"match": "^Plan$|Software Architect|Backend Architect|UX Architect"
|
|
},
|
|
{
|
|
"tool": "TaskCreate"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "implement",
|
|
"label": "implement",
|
|
"icon": "🛠",
|
|
"gate": false,
|
|
"aliases": [
|
|
"implementing",
|
|
"coding",
|
|
"build"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Skill",
|
|
"match": "executing-plans|subagent-driven-development|test-driven-development"
|
|
},
|
|
{
|
|
"tool": "Edit"
|
|
},
|
|
{
|
|
"tool": "Write",
|
|
"match": "^(?!.*(?:^|/)(?:docs|\\.superpowers)/)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "tests",
|
|
"label": "tests",
|
|
"icon": "🧪",
|
|
"gate": true,
|
|
"aliases": [
|
|
"testing",
|
|
"unit",
|
|
"gates",
|
|
"pre-push-gate"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Bash",
|
|
"match": "\\b(npm (run )?test|pytest|vitest|jest|go test|cargo test|node\\s+--test|rspec|phpunit|dotnet test|mvn test|gradle test)\\b"
|
|
},
|
|
{
|
|
"tool": "Agent",
|
|
"match": "Test Results Analyzer|API Tester|Performance Benchmarker"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "review",
|
|
"label": "review",
|
|
"icon": "👀",
|
|
"gate": true,
|
|
"aliases": [
|
|
"reviewing",
|
|
"code-review",
|
|
"self-review"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Skill",
|
|
"match": "code-review|requesting-code-review|receiving-code-review"
|
|
},
|
|
{
|
|
"tool": "Bash",
|
|
"match": "\\bgh\\b[^;&|]*\\bpr diff\\b"
|
|
},
|
|
{
|
|
"tool": "Agent",
|
|
"match": "(?<!senior-gate-)[Rr]eviewer|Evidence Collector|Accessibility Auditor"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "gate",
|
|
"label": "gate",
|
|
"icon": "🚦",
|
|
"gate": true,
|
|
"aliases": [
|
|
"verify",
|
|
"verification",
|
|
"sr-gate",
|
|
"gate-blocked"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Skill",
|
|
"match": "verification-before-completion"
|
|
},
|
|
{
|
|
"tool": "Agent",
|
|
"match": "senior-gate-reviewer|Reality Checker"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ship",
|
|
"label": "ship",
|
|
"icon": "🔀",
|
|
"gate": false,
|
|
"aliases": [
|
|
"pr",
|
|
"pr-open",
|
|
"publishing",
|
|
"commit",
|
|
"push"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Skill",
|
|
"match": "finishing-a-development-branch"
|
|
},
|
|
{
|
|
"tool": "Bash",
|
|
"match": "\\bgit\\b(?:\\s+-c\\s+[\\w.-]+=(?:'[^']*'|\\\"[^\\\"]*\\\"|\\S+)|\\s+-{1,2}[\\w.-]+(?:=(?:'[^']*'|\\\"[^\\\"]*\\\"|\\S+))?)*\\s+push\\b|\\bgh\\b[^;&|]*\\bpr create\\b"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "done",
|
|
"label": "done",
|
|
"icon": "✅",
|
|
"gate": false,
|
|
"aliases": [
|
|
"complete",
|
|
"completed",
|
|
"merged"
|
|
]
|
|
}
|
|
]
|
|
}
|