Files
AgentHub/server/__tests__/fixtures/pipelines/ship-feature.json
T
nntrivi2001 8546748759 chore: maintenance — dependency majors, rename step 4, member Claude config, OpenAPI coverage
Dependencies
- Security: body-parser and multer DoS advisories fixed (npm audit: 0).
- Server: Express 5 (query parser kept "extended", req.body defaults to {},
  SPA catch-all /{*splat}, send-file helper restores Express 4's dot-folder
  rule for sendFile/download, alerts ack route without inline regex),
  better-sqlite3 13, js-yaml 5 (server/lib/yaml.js keeps js-yaml 4's default
  schema), uuid dropped for crypto.randomUUID, node-pty beta.18, multer 2.5.
- Client: React 19, xterm 6 (WebGL renderer replaces the removed canvas one,
  DOM fallback on context loss; Alt+arrow word moves re-mapped), lucide-react 1,
  TypeScript 7, i18next/react-i18next/codemirror minors.

Workspace rename step 4
- `agenthub lanes` and `--lane` exit 1 with "renamed: use …"; client api.ts,
  the CLI and the MCP server call /api/workspaces; /api/lanes stays mounted.

Server mode (S3): members manage their own Claude Code config
- server/lib/cc-target.js resolves whose config a /cc-config request touches
  and gates the router by allowlist; /profiles* and /plugins/update-all stay
  admin-only. Member writes go through write-as, CLI calls through sudo as the
  member (never -y), reads through openSafe; cc_config_changed reaches only
  its owner. Not verified live on an S3 install yet.

Other
- Chat: an HTML file is an artifact only when written whole and not a project
  page (index.html, or under src/, public/, templates/, …).
- OpenAPI covers every /api route; openapi-coverage.test.js guards it.
- read-pool test keeps its event loop alive (its worker is unref'd).
- Docs: plan statuses, checklists, CLI.md, LANES.md, SERVER-MODE.md, API.md.
2026-10-26 14:22:41 +07:00

249 lines
6.1 KiB
JSON

{
"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 workspace 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 workspace 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 workspace proof-link",
"aliases": [],
"detect": [
{
"tool": "Agent",
"match": "qc-local|Evidence Collector|Accessibility Auditor"
},
{
"tool": "Bash",
"match": "\\bagenthub\\b[^;&|]*\\b(?:lanes|workspace) 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 workspace 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"]
}
]
}