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.
This commit is contained in:
@@ -11,6 +11,12 @@
|
||||
"assigned",
|
||||
"claimed",
|
||||
"start"
|
||||
],
|
||||
"detect": [
|
||||
{
|
||||
"tool": "Agent",
|
||||
"match": "^Explore$"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -31,6 +37,13 @@
|
||||
{
|
||||
"tool": "Write",
|
||||
"match": "docs/.*plan.*\\.md"
|
||||
},
|
||||
{
|
||||
"tool": "Agent",
|
||||
"match": "^Plan$|Software Architect|Backend Architect|UX Architect"
|
||||
},
|
||||
{
|
||||
"tool": "TaskCreate"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -47,7 +60,7 @@
|
||||
"detect": [
|
||||
{
|
||||
"tool": "Skill",
|
||||
"match": "executing-plans|subagent-driven-development"
|
||||
"match": "executing-plans|subagent-driven-development|test-driven-development"
|
||||
},
|
||||
{
|
||||
"tool": "Edit"
|
||||
@@ -72,7 +85,11 @@
|
||||
"detect": [
|
||||
{
|
||||
"tool": "Bash",
|
||||
"match": "\\b(npm (run )?test|pytest|vitest|jest|go test|cargo test|node\\s+--test)\\b"
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -89,11 +106,15 @@
|
||||
"detect": [
|
||||
{
|
||||
"tool": "Skill",
|
||||
"match": "code-review|requesting-code-review"
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -107,6 +128,16 @@
|
||||
"verification",
|
||||
"sr-gate",
|
||||
"gate-blocked"
|
||||
],
|
||||
"detect": [
|
||||
{
|
||||
"tool": "Skill",
|
||||
"match": "verification-before-completion"
|
||||
},
|
||||
{
|
||||
"tool": "Agent",
|
||||
"match": "senior-gate-reviewer|Reality Checker"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
{
|
||||
"tool": "Bash",
|
||||
"match": "\\bccam\\b[^;&|]*\\bfeature activate\\b"
|
||||
},
|
||||
{
|
||||
"tool": "Agent",
|
||||
"match": "^Explore$"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -42,6 +46,13 @@
|
||||
{
|
||||
"tool": "Write",
|
||||
"match": "docs/superpowers/specs/lane-.*\\.md"
|
||||
},
|
||||
{
|
||||
"tool": "Agent",
|
||||
"match": "^Plan$|Software Architect"
|
||||
},
|
||||
{
|
||||
"tool": "TaskCreate"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -129,6 +140,10 @@
|
||||
{
|
||||
"tool": "Skill",
|
||||
"match": "code-review|requesting-code-review|receiving-code-review"
|
||||
},
|
||||
{
|
||||
"tool": "Agent",
|
||||
"match": "(?<!senior-gate-)[Rr]eviewer"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -148,7 +163,7 @@
|
||||
"detect": [
|
||||
{
|
||||
"tool": "Agent",
|
||||
"match": "qc-local"
|
||||
"match": "qc-local|Evidence Collector|Accessibility Auditor"
|
||||
},
|
||||
{
|
||||
"tool": "Bash",
|
||||
@@ -170,7 +185,7 @@
|
||||
"detect": [
|
||||
{
|
||||
"tool": "Agent",
|
||||
"match": "senior-gate-reviewer"
|
||||
"match": "senior-gate-reviewer|Reality Checker"
|
||||
},
|
||||
{
|
||||
"tool": "Skill",
|
||||
|
||||
Reference in New Issue
Block a user