Files
AgentHub/server/data/pipelines/default.json
T
nntrivi2001 937c63361b feat(lanes): widen stage auto-detection, fix terminal UTF-8 decode
Add detect rules for plan/review/gate/tests/intake nodes (Agent subagent
matches, TaskCreate, broader test-runner regex) so more of the pipeline
lights up without an explicit ccam stage call, and fix a review/gate
detect overlap where senior-gate-reviewer also matched the generic
reviewer pattern. Also fix TerminalView's TextDecoder dropping the
`stream: true` flag, which corrupted multi-byte UTF-8 chars split across
WebSocket frames.
2026-08-21 16:20:34 +07:00

179 lines
3.7 KiB
JSON

{
"id": "default",
"name": "Default feature pipeline",
"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"
]
}
]
}