refactor(lanes): drop the workflow skills and Superpowers link; pipelines go dormant

The plugin stops shipping its workflow layer:
- skills/ship-feature and skills/ship-feature-lane, the 18 stage/ship slash
  commands (plugin.json keeps agenthub-doctor/update/open), and all four
  agents/ (qc-local, senior-gate-reviewer, backend-reviewer, frontend-reviewer).
- CLI `agenthub skills install`, `agenthub lanes agents install`,
  `agenthub ship-full|ship-quick`; routes POST /api/skills/install and
  POST /api/lanes/:id/agents/install; the Settings button, the lane Tools
  menu item and the Add-lane setup step that called them.
- The Superpowers auto-install: server/lib/skill-plugins.js, the bootstrap's
  autoInstallSkillPlugins / skillPluginsSettled gate and the doctor row.

Pipelines are kept but dormant: server/data/pipelines/ is deleted, so no
template ships. `default` resolves to EMPTY_PIPELINE (no nodes, progress 0),
createLane still accepts it, POST /api/lanes/:id/stage answers 400
ENOPIPELINE, and the Workspace hides the stage timer, pickers, PipelineMap
and strip stage chip for a lane with no nodes. A template dropped into
DASHBOARD_PIPELINES_DIR turns it all back on. The server suite loads its
templates from server/__tests__/fixtures/pipelines/.

Docs: CLAUDE.md (marker, retired rules), README(.vi), INSTALL, ARCHITECTURE,
docs/LANES|PLUGINS|CLI|API, agenthub-introduction.html.
This commit is contained in:
2026-09-28 17:44:27 +07:00
parent 3c238bc5c4
commit 2b8f83d2dd
72 changed files with 325 additions and 3305 deletions
-191
View File
@@ -1,191 +0,0 @@
{
"id": "default",
"name": "Default feature pipeline",
"skill": "/agenthub:ship-feature",
"nodes": [
{
"id": "intake",
"label": "Intake",
"icon": "📝",
"gate": false,
"command": "/superpowers:brainstorming",
"aliases": [
"assigned",
"claimed",
"start"
],
"detect": [
{
"tool": "Agent",
"match": "^Explore$"
},
{
"tool": "Skill",
"match": "brainstorming"
}
]
},
{
"id": "plan",
"label": "Plan",
"icon": "🧭",
"gate": false,
"command": "/superpowers:writing-plans",
"aliases": [
"planning",
"brainstorm",
"design"
],
"detect": [
{
"tool": "Skill",
"match": "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,
"command": "/superpowers:test-driven-development",
"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,
"command": "npm test",
"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,
"command": "/code-review",
"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,
"command": "/superpowers:verification-before-completion",
"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,
"command": "/superpowers:finishing-a-development-branch",
"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,
"command": "agenthub stage done",
"aliases": [
"complete",
"completed",
"merged"
]
}
]
}
-294
View File
@@ -1,294 +0,0 @@
{
"id": "ship-feature",
"name": "Ship feature (lane pipeline)",
"skill": "/agenthub:ship-feature-lane",
"nodes": [
{
"id": "intake",
"label": "Intake",
"icon": "📝",
"gate": false,
"command": "/superpowers:brainstorming",
"aliases": [
"assigned",
"claimed",
"start",
"bootstrapping"
],
"detect": [
{
"tool": "Skill",
"match": "brainstorming"
},
{
"tool": "Bash",
"match": "\\bagenthub\\b[^;&|]*\\bfeature activate\\b"
},
{
"tool": "Agent",
"match": "^Explore$"
}
]
},
{
"id": "plan",
"label": "Plan",
"icon": "🧭",
"gate": false,
"command": "/superpowers:writing-plans",
"aliases": [
"planning",
"brainstorm",
"design"
],
"detect": [
{
"tool": "Skill",
"match": "writing-plans"
},
{
"tool": "Write",
"match": "docs/superpowers/specs/lane-.*\\.md"
},
{
"tool": "Agent",
"match": "^Plan$|Software Architect"
},
{
"tool": "TaskCreate"
}
]
},
{
"id": "implementing",
"label": "Implement (TDD)",
"icon": "🛠",
"gate": false,
"command": "/superpowers:test-driven-development",
"aliases": [
"implement",
"coding",
"build"
],
"detect": [
{
"tool": "Skill",
"match": "test-driven-development|executing-plans|subagent-driven-development|systematic-debugging"
},
{
"tool": "Edit",
"match": "^(?!.*docs/superpowers/specs/)"
},
{
"tool": "Write",
"match": "^(?!.*(?:^|/)docs/)"
}
]
},
{
"id": "gates",
"label": "CI gates + preflight",
"icon": "🧪",
"gate": true,
"command": "agenthub lanes hook ci-gate",
"aliases": [
"pre-push-gate",
"tests",
"migration-collision",
"sync-conflict"
],
"detect": [
{
"tool": "Bash",
"match": "\\bagenthub\\b[^;&|]*(\\bhook ci-gate\\b|\\bsync-base --check\\b)"
},
{
"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"
}
]
},
{
"id": "e2e-feature",
"label": "E2e on feature branch",
"icon": "🧪",
"gate": false,
"command": "agenthub lanes up --qc",
"aliases": [
"e2e",
"e2e-scoped",
"booting",
"live"
],
"detect": [
{
"tool": "Bash",
"match": "\\bagenthub\\b[^;&|]*(\\bup --qc\\b|\\bhook e2e\\b)"
}
]
},
{
"id": "e2e-feature-passed",
"label": "E2e passed",
"icon": "🧪",
"gate": true,
"command": "agenthub stage e2e-feature-passed",
"aliases": [
"e2e-passed"
]
},
{
"id": "review",
"label": "Code review",
"icon": "👀",
"gate": true,
"command": "/code-review",
"aliases": [
"reviewing",
"code-review",
"self-review"
],
"detect": [
{
"tool": "Skill",
"match": "code-review|requesting-code-review|receiving-code-review"
},
{
"tool": "Agent",
"match": "(?<!senior-gate-)[Rr]eviewer"
}
]
},
{
"id": "qc-plan",
"label": "QC plan",
"icon": "📋",
"gate": false,
"command": "agenthub stage qc-plan",
"aliases": []
},
{
"id": "qc",
"label": "Browser QC",
"icon": "🔍",
"gate": true,
"command": "agenthub lanes proof-link",
"aliases": [],
"detect": [
{
"tool": "Agent",
"match": "qc-local|Evidence Collector|Accessibility Auditor"
},
{
"tool": "Bash",
"match": "\\bagenthub\\b[^;&|]*\\blanes proof-link\\b"
}
]
},
{
"id": "gate",
"label": "Senior GO/NO-GO gate",
"icon": "🚦",
"gate": true,
"command": "/superpowers:verification-before-completion",
"aliases": [
"sr-gate",
"verify",
"verification",
"gate-blocked"
],
"detect": [
{
"tool": "Agent",
"match": "senior-gate-reviewer|Reality Checker"
},
{
"tool": "Skill",
"match": "verification-before-completion"
}
]
},
{
"id": "publishing",
"label": "Publish PR",
"icon": "🔀",
"gate": false,
"command": "/superpowers:finishing-a-development-branch",
"aliases": [
"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"
}
]
},
{
"id": "pr-open",
"label": "PR open",
"icon": "🔀",
"gate": false,
"command": "gh pr create --base development",
"aliases": [
"ship",
"pr",
"push-conflict",
"push-revalidate"
],
"detect": [
{
"tool": "Bash",
"match": "\\bgh\\b[^;&|]*\\bpr create\\b"
}
]
},
{
"id": "reported",
"label": "Reported",
"icon": "📣",
"gate": false,
"command": "agenthub stage reported",
"aliases": []
},
{
"id": "watching-pr",
"label": "Watching PR",
"icon": "👁",
"gate": false,
"command": "agenthub lanes ci status",
"aliases": [
"pr-comment-fix"
],
"detect": [
{
"tool": "Bash",
"match": "\\bgh\\b[^;&|]*\\bpr view\\b"
}
]
},
{
"id": "merged",
"label": "Merged — post-verify",
"icon": "🔗",
"gate": false,
"command": "agenthub stage merged",
"aliases": []
},
{
"id": "done",
"label": "Done",
"icon": "✅",
"gate": false,
"command": "agenthub stage done",
"aliases": [
"complete",
"completed"
]
}
]
}