一键导入
jg-pipeline-artifact-io
Read/write layout for pipeline artifacts in .pipeline/. Use when any jg- agent reads upstream artifacts or writes its output.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read/write layout for pipeline artifacts in .pipeline/. Use when any jg- agent reads upstream artifacts or writes its output.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Benchmark collection and evaluation workflow for agent model assignment reviews. Use when pulling benchmarks, evaluating cost/performance, or deciding which models to use for which agents.
Benchmark collection and evaluation workflow for agent model assignment reviews. Use when pulling benchmarks, evaluating cost/performance, or deciding which models to use for which agents.
Read/write layout for pipeline artifacts in .pipeline/. Use when any jg- agent reads upstream artifacts or writes its output.
| name | jg-pipeline-artifact-io |
| description | Read/write layout for pipeline artifacts in .pipeline/. Use when any jg- agent reads upstream artifacts or writes its output. |
.pipeline/
<issue-id>/
state.yaml # Planner state (optional)
plan.json # jg-subplanner
worker-result.json # jg-worker
test-result.json # jg-tester
review-result.json # jg-reviewer
debug-diagnosis.json # jg-debugger
git-result.json # jg-git
completed/ # Archive completed runs (optional)
lessons.yaml # Optional; cross-run failure patterns (planner reads at start)
First agent that needs to write creates the directory:
mkdir -p .pipeline/<issue-id>
.pipeline/<issue-id>).json.loads() (or project equivalent) for JSON. If a file is missing, that stage has not run yet.json.dumps(data, indent=2) and a trailing newline.self_assessment object in every artifact when the project expects it: confidence (0–1), uncertainty_areas (list), recommendation (string).When writing artifacts, include these fields when applicable:
"fast", "standard", or "high". Set this on every artifact you write so the pipeline can validate tier routing.{ from_tier, to_tier, reason } to this array. Example: [{ "from_tier": "fast", "to_tier": "standard", "reason": "status: escalate due to cross-module dependencies" }].Agents must include tier_used and cost_estimate when writing artifacts so the stage-gate checker can enforce tier routing invariants (e.g. complex tasks must not use fast-tier agents).
| Agent | Reads | Writes |
|---|---|---|
| jg-subplanner | (issue) | plan.json |
| jg-worker | plan.json, debug-diagnosis.json | worker-result.json |
| jg-tester | (runs commands) | test-result.json |
| jg-reviewer | plan.json, worker-result.json | review-result.json |
| jg-debugger | test-result.json, plan.json | debug-diagnosis.json |
| jg-git | (git) | git-result.json |
| jg-planner | all (read-only) | state.yaml if used |
After jg-git finishes, optionally:
mkdir -p .pipeline/completed
mv .pipeline/<issue-id> .pipeline/completed/<issue-id>
Do not delete a run directory without archiving if you need history.
See pipeline/README.md in this bundle for required fields and JSON shapes. Validate with pipeline/schema.py: from repo root, python .cursor/pipeline/schema.py --validate .pipeline/<issue-id>/<artifact>.json.
.pipeline/<issue-id>/ without archiving when runs must be kept.Lessons file: Optional .pipeline/lessons.yaml holds cross-run failure patterns. Planner may read it at pipeline start. See templates/lessons.yaml.example in this bundle.