AgentSkillsCN

run-pipeline

为Q-Bio Watchtower流水线定义执行顺序与工件交接流程。在编排或恢复完整流水线序列时使用此技能。

SKILL.md
--- frontmatter
name: run-pipeline
description: Defines the execution order and artifact handoffs for the Q-Bio Watchtower pipeline. Use this skill when orchestrating or resuming the full pipeline sequence.

Pipeline Execution Order

The Watchtower pipeline runs in the following strict sequence. Each step must complete successfully before the next begins.

StepAgent / ScriptInputOutput
1arxiv-ingest (python3 scripts/fetch_papers.py)arXiv APIdata/papers.json
2code-reviewerdata/papers.jsonPASS / FAIL
2bpython3 scripts/validate_artifacts.pydata/papers.jsonexit 0 / 1
3paper-analyzerdata/papers.jsondata/analysis.json
4code-reviewerdata/analysis.jsonPASS / FAIL
5report-visualizerdata/analysis.jsondocs/index.html
6code-reviewerdocs/index.htmlPASS / FAIL
7python3 scripts/validate_artifacts.pyall three artifactsexit 0 / 1
7bcode-reviewer (gate)all three artifactsPASS / FAIL
8pages-deployerdocs/index.html + data filesGitHub Pages live

Artifact Handoff Rules

  • Each agent writes its output to the agreed file path listed above.
  • The orchestrator reads those paths and passes them as context when invoking the next agent.
  • If a code-reviewer step returns FAIL, the orchestrator halts immediately and does not invoke the next agent.

Resuming a Failed Run

If the pipeline halted at step N, inspect the FAIL output to fix the violation, then re-run the pipeline from step N (not from step 1), unless the ingest data is stale (oldest paper older than 3 days with no papers from the last 24 hours), in which case restart from step 1.