pipeline

GitHub

OMX 的可配置流水线编排器,通过统一接口顺序执行需求澄清、规划、执行、代码审查及 QA 等阶段。支持状态持久化与断点续跑,默认集成 Autopilot 流程,用于自动化软件交付链路。

skills/pipeline/SKILL.md Yeachan-Heo/oh-my-codex

Trigger Scenarios

需要按固定流程执行多阶段任务 要求对开发流程进行编排和状态管理 执行包含代码审查和质量检查的完整流水线

Install

npx skills add Yeachan-Heo/oh-my-codex --skill pipeline -g -y
More Options

Use without installing

npx skills use Yeachan-Heo/oh-my-codex@pipeline

指定 Agent (Claude Code)

npx skills add Yeachan-Heo/oh-my-codex --skill pipeline -a claude-code -g -y

安装 repo 全部 skill

npx skills add Yeachan-Heo/oh-my-codex --all -g -y

预览 repo 内 skill

npx skills add Yeachan-Heo/oh-my-codex --list

SKILL.md

Frontmatter
{
    "name": "pipeline",
    "description": "Configurable pipeline orchestrator for sequencing stages"
}

Pipeline Skill

$pipeline is the configurable pipeline orchestrator for OMX. It sequences stages through a uniform PipelineStage interface, with state persistence and resume support.

Default Autopilot Pipeline

The default Autopilot pipeline sequences:

deep-interview -> ralplan -> ultragoal (+ team if needed) -> code-review -> ultraqa

$team is conditional: use it only inside an active Ultragoal story when independent lanes or broad verification make coordinated parallel execution useful. Explicit legacy Ralph pipelines remain available through custom stages, but Ralph is not the advertised default Autopilot loop.

Configuration

Pipeline parameters are configurable per run:

Parameter Default Description
maxRalphIterations 10 Quality-gate retry ceiling; legacy option name retained for compatibility
workerCount 2 Number of Codex CLI team workers
agentType executor Agent type for team workers

Stage Interface

Every stage implements the PipelineStage interface:

interface PipelineStage {
  readonly name: string;
  run(ctx: StageContext): Promise<StageResult>;
  canSkip?(ctx: StageContext): boolean;
}

Stages receive a StageContext with accumulated artifacts from prior stages and return a StageResult with status, artifacts, and duration.

Built-in Stages

  • deep-interview: Requirements clarification and ambiguity gate.
  • ralplan: Consensus planning (planner + architect + critic). Skips only when both prd-*.md and test-spec-*.md planning artifacts already exist and durable consensus evidence records Architect approval followed by Critic approval. Plan/test-spec files alone are not consensus evidence. If either review is missing, blocked, out of order, or non-approving, the stage remains in ralplan or fails with an explicit blocker/max-iteration outcome instead of progressing to execution. Carries any deep-interview-*.md spec paths forward for traceability.
  • ultragoal: Durable goal-mode execution with .omx/ultragoal ledgers. Launch $team only from inside an Ultragoal story when parallel lanes are warranted.
  • code-review: Merge-readiness review gate.
  • ultraqa: Adversarial QA gate after a clean review; docs-only/trivially non-runtime changes may record an explicit skip reason.
  • team-exec and ralph-verify: Legacy/custom pipeline adapters retained for explicit non-default pipelines.

State Management

Pipeline state persists via the ModeState system at .omx/state/pipeline-state.json. The HUD renders pipeline phase automatically. Resume is supported from the last incomplete stage.

  • On start: omx state write --input '{"mode":"pipeline","active":true,"current_phase":"stage:ralplan"}' --json
  • On stage transitions: omx state write --input '{"mode":"pipeline","current_phase":"stage:<name>"}' --json
  • On completion: omx state write --input '{"mode":"pipeline","active":false,"current_phase":"complete"}' --json

API

import {
  runPipeline,
  createAutopilotPipelineConfig,
  createDeepInterviewStage,
  createRalplanStage,
  createUltragoalStage,
  createCodeReviewStage,
  createUltraqaStage,
} from './pipeline/index.js';

const config = createAutopilotPipelineConfig('build feature X', {
  stages: [
    createDeepInterviewStage(),
    createRalplanStage(),
    createUltragoalStage(),
    createCodeReviewStage(),
    createUltraqaStage(),
  ],
});

const result = await runPipeline(config);

Relationship to Other Modes

  • autopilot: Autopilot can use pipeline as its execution engine (v0.8+)
  • team: Pipeline delegates execution to team mode (Codex CLI workers)
  • ultragoal: Autopilot delegates durable execution to Ultragoal by default
  • team: Optional execution engine inside an Ultragoal story when parallel lanes are needed
  • ralph: Available only for explicit legacy/custom pipelines
  • ralplan: Pipeline planning runs RALPLAN consensus planning

Version History

  • e94437f Current 2026-08-20 07:19

Same Skill Collection

plugins/oh-my-codex/skills/analyze/SKILL.md
plugins/oh-my-codex/skills/ask/SKILL.md
plugins/oh-my-codex/skills/autopilot/SKILL.md
plugins/oh-my-codex/skills/autoresearch-goal/SKILL.md
plugins/oh-my-codex/skills/autoresearch/SKILL.md
plugins/oh-my-codex/skills/best-practice-research/SKILL.md
plugins/oh-my-codex/skills/cancel/SKILL.md
plugins/oh-my-codex/skills/configure-notifications/SKILL.md
plugins/oh-my-codex/skills/deep-interview/SKILL.md
plugins/oh-my-codex/skills/design/SKILL.md
plugins/oh-my-codex/skills/hud/SKILL.md
plugins/oh-my-codex/skills/omx-setup/SKILL.md
plugins/oh-my-codex/skills/performance-goal/SKILL.md
plugins/oh-my-codex/skills/pipeline/SKILL.md
plugins/oh-my-codex/skills/plan/SKILL.md
plugins/oh-my-codex/skills/prometheus-strict/SKILL.md
plugins/oh-my-codex/skills/ralph/SKILL.md
plugins/oh-my-codex/skills/skill/SKILL.md
plugins/oh-my-codex/skills/team/SKILL.md
plugins/oh-my-codex/skills/ultragoal/SKILL.md
plugins/oh-my-codex/skills/ultraqa/SKILL.md
plugins/oh-my-codex/skills/ultrawork/SKILL.md
plugins/oh-my-codex/skills/visual-ralph/SKILL.md
plugins/oh-my-codex/skills/wiki/SKILL.md
plugins/oh-my-codex/skills/worker/SKILL.md
skills/analyze/SKILL.md
skills/ask-claude/SKILL.md
skills/ask-gemini/SKILL.md
skills/ask/SKILL.md
skills/autopilot/SKILL.md
skills/autoresearch-goal/SKILL.md
skills/autoresearch/SKILL.md
skills/best-practice-research/SKILL.md
skills/cancel/SKILL.md
skills/configure-notifications/SKILL.md
skills/deep-interview/SKILL.md
skills/design/SKILL.md
skills/frontend-ui-ux/SKILL.md
skills/git-master/SKILL.md
skills/hud/SKILL.md
skills/omx-setup/SKILL.md
skills/performance-goal/SKILL.md
skills/plan/SKILL.md
skills/prometheus-strict/SKILL.md
skills/ralph/SKILL.md
skills/skill/SKILL.md
skills/team/SKILL.md
skills/ultragoal/SKILL.md
skills/ultraqa/SKILL.md

Metadata

Files
0
Version
e94437f
Hash
f23018b6
Indexed
2026-08-20 07:19

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 05:16
浙ICP备14020137号-1 $Гость$