9f13769fb4
Adopting the main repo as its own lane now gets stage detection (cwd matches, same as any other lane), and its card lists every managed-worktree lane provisioned from it with a jump-to link. Also add the two missing Skill-tool detect rules (implement, ship) so detection covers all four Superpowers workflow phases, not just plan/review.
148 lines
2.8 KiB
JSON
148 lines
2.8 KiB
JSON
{
|
|
"id": "default",
|
|
"name": "Default feature pipeline",
|
|
"nodes": [
|
|
{
|
|
"id": "intake",
|
|
"label": "intake",
|
|
"icon": "📝",
|
|
"gate": false,
|
|
"aliases": [
|
|
"assigned",
|
|
"claimed",
|
|
"start"
|
|
]
|
|
},
|
|
{
|
|
"id": "plan",
|
|
"label": "plan",
|
|
"icon": "🧭",
|
|
"gate": false,
|
|
"aliases": [
|
|
"planning",
|
|
"brainstorm",
|
|
"design"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Skill",
|
|
"match": "brainstorming|writing-plans"
|
|
},
|
|
{
|
|
"tool": "Write",
|
|
"match": "docs/.*plan.*\\.md"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "implement",
|
|
"label": "implement",
|
|
"icon": "🛠",
|
|
"gate": false,
|
|
"aliases": [
|
|
"implementing",
|
|
"coding",
|
|
"build"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Skill",
|
|
"match": "executing-plans|subagent-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)\\b"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "review",
|
|
"label": "review",
|
|
"icon": "👀",
|
|
"gate": true,
|
|
"aliases": [
|
|
"reviewing",
|
|
"code-review",
|
|
"self-review"
|
|
],
|
|
"detect": [
|
|
{
|
|
"tool": "Skill",
|
|
"match": "code-review|requesting-code-review"
|
|
},
|
|
{
|
|
"tool": "Bash",
|
|
"match": "\\bgh\\b[^;&|]*\\bpr diff\\b"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "gate",
|
|
"label": "gate",
|
|
"icon": "🚦",
|
|
"gate": true,
|
|
"aliases": [
|
|
"verify",
|
|
"verification",
|
|
"sr-gate",
|
|
"gate-blocked"
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
}
|