# Type Alias PipelineStageData

PipelineStageData:
| { type: "research"; text: string }
| { type: "plan"; text: string; iterations: number }
| {
type: "vote";
approved: boolean;
conditional: boolean;
conditions?: readonly string[];
caveats?: readonly string[];
iterations: number;
}
| { type: "decompose"; tasks: readonly PipelineTask[] }
| { type: "implement"; tasks: readonly PipelineTask[] }
| { type: "security"; passed: boolean }

Discriminated union of stage data.

- Defined in packages/nexus-agents/src/pipeline/pipeline-checkpoint.ts:37