accept
免费Accept HQ membership invites from a magic link or raw token.
中文简介正在准备中。当前显示原文说明。
Multi-project pipeline orchestrator — triage, execute, PR, review, deploy with safety gates
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Orchestrate multiple PRD projects through the full lifecycle: triage, build, PR, review, merge, deploy, canary, done. Wraps core/scripts/run-pipeline.sh — the bash backbone does all heavy lifting. This command provides the intelligent UI: triage presentation, gate interaction, progress display, and dynamic reordering.
Arguments: $ARGUMENTS
Parse $ARGUMENTS into:
company — company slug (first positional arg)prd_paths — one or more PRD paths (remaining positional args)--dry-run, --resume <id>, --status, plus any passthrough flagsRouting:
Usage: /run-pipeline <company> <prd1> [prd2...] [flags]
/run-pipeline --resume <pipeline-id>
/run-pipeline --status
Flags: --dry-run, --model MODEL, --timeout N, --verbose,
--auto-merge-all, --gate-all-merges, --skip-canary,
--skip-failed-projects, --auto-sst-deploy
--status → jump to Status Display (below)--resume <id> → jump to Step 9 — ResumeStandard policy loading protocol:
companies/{company}/policies/ (skip example-policy.md)core/policies/Display: Loaded N policies (H hard, S soft)
Run triage via the bash script in dry-run mode:
bash core/scripts/run-pipeline.sh {company} {prd1} [prd2...] --dry-run
Display the triage table output to the user. This shows: project sequence, risk levels, story counts, repo grouping, dependency order.
Ask user to confirm or reorder the sequence using AskUserQuestion:
If --dry-run was in the original args: stop after showing triage (do not launch).
Run the bash script in background:
nohup bash core/scripts/run-pipeline.sh {company} {prd1} [prd2...] {passthrough_flags} \
> workspace/orchestrator/_pipeline/{pipeline_id}/claude-session.log 2>&1 &
echo "PID:$!"
Note: The script creates the pipeline ID and state dir itself. To get the ID after launch:
workspace/orchestrator/_pipeline/ matching the company slugpipeline-state.json from that dir to confirm pipeline_id and PIDDisplay:
Pipeline launched: {pipeline_id} (PID: {pid}) Monitoring progress... (poll every 30s)
Poll workspace/orchestrator/_pipeline/{pipeline_id}/pipeline-state.json every 30 seconds.
Each poll iteration:
jq '.' pipeline-state.jsonkill -0 {pid} 2>/dev/null && echo "ALIVE" || echo "DEAD"Pipeline Progress: {pipeline_id}
project-a ████████████████ done
project-b ██████████░░░░░░ reviewing (PR #42)
project-c ░░░░░░░░░░░░░░░░ queued
Progress: 1/3 done | 1 in progress | 1 queued
Phase-to-bar mapping (16 chars):
queued = all emptybuilding = 4 filledpr_open / ci_wait = 6 filledcodex_review / reviewing = 8 filledmerging = 10 filleddeploying / canary = 12 filleddone = 16 filledfailed = show X markerpending_gate is non-null → Step 6 — Gate Handlingcompleted or failed → Step 8 — CompletionPoll ceiling: After 4 hours (480 cycles), warn user and offer to detach. Script keeps running — reattach with /run-pipeline --status.
When pending_gate is detected in pipeline-state.json:
Display gate details:
SAFETY GATE: {gate_name}
Project: {project}
Message: {message}
Requested at: {requested_at}
Present options via AskUserQuestion with choices:
Write resolution to pipeline-state.json:
jq '.pending_gate.resolution = "{choice}"' \
workspace/orchestrator/_pipeline/{pipeline_id}/pipeline-state.json > /tmp/ps-tmp.json && \
mv /tmp/ps-tmp.json workspace/orchestrator/_pipeline/{pipeline_id}/pipeline-state.json
Where {choice} is approve, reject, or skip.
Resume poll loop (Step 5). The bash script detects the resolution and continues.
After each project completes (phase transitions to done or failed), check if multiple projects remain queued. If so:
.sequence[].order values in pipeline-state.json via jq, then continue pollingOnly offer reorder when 2+ projects remain. Skip for single remaining project.
When pipeline status is completed or failed:
Pipeline Complete: {pipeline_id}
Duration: {duration}
Project Phase PR Status
─────────────────────────────────────────────
project-a done #41 deployed
project-b done #42 deployed
project-c failed — build error
Summary: 2 done | 1 failed | 0 skipped
error fieldworkspace/orchestrator/_pipeline/{pipeline_id}/When --resume <pipeline_id> is provided:
workspace/orchestrator/_pipeline/{pipeline_id}/pipeline-state.jsoncompletedin_progress → offer to relaunch:
nohup bash core/scripts/run-pipeline.sh --resume {pipeline_id} \
> workspace/orchestrator/_pipeline/{pipeline_id}/claude-session.log 2>&1 &
paused/failed → display error context, ask user for next actionWhen --status is provided:
bash core/scripts/run-pipeline.sh --status
Display the formatted output and stop.
pending_gate.resolution and sequence[].orderpre_deploy_prod and canary_failure gates are always gated — cannot be overridden even in autonomous modecore/scripts/run-pipeline.sh verbatimcore/settings/pipeline.yaml controls gate defaults, polling intervals, deploy behavior. The bash script reads it; this command does not need to parse it directlyworkspace/orchestrator/_pipeline/{pipeline_id}/ contains pipeline-state.json and logs还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Accept HQ membership invites from a magic link or raw token.
中文简介正在准备中。当前显示原文说明。
Capture qualifying architecture decisions as ADRs in the right HQ or repo location.
中文简介正在准备中。当前显示原文说明。
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
中文简介正在准备中。当前显示原文说明。
Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.
中文简介正在准备中。当前显示原文说明。
Generate dark ASCII banner graphics for HQ and social launch assets.
中文简介正在准备中。当前显示原文说明。
Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.
中文简介正在准备中。当前显示原文说明。