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:
2026-08-21 16:20:34 +07:00
parent 7c2992fdc8
commit 937c63361b
4 changed files with 77 additions and 24 deletions
+17 -2
View File
@@ -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",