# Interface DevPipelineStages

Pluggable stage implementations — inject real or mock agents.

interface DevPipelineStages {
research(task: string): Promise<string>;
plan(
task: string,
research: string,
priorFeedback?: string,
): Promise<string>;
vote(plan: string): Promise<VoteResult>;
decompose(plan: string): Promise<PipelineTask[]>;
implement(task: PipelineTask): Promise<string>;
qaReview(
task: PipelineTask,
implementation: string,
): Promise<QaReviewResult>;
securityScan(): Promise<{ passed: boolean; feedback: string }>;
}

- Defined in packages/nexus-agents/src/pipeline/dev-pipeline.ts:122

##### Index

### Methods

research
plan
vote
decompose
implement
qaReview
securityScan

## Methods

### research

- research(task: string): Promise<string>

  Research expert gathers context for the task.

  #### Parameters

  - task: string

  #### Returns Promise<string>

  - Defined in packages/nexus-agents/src/pipeline/dev-pipeline.ts:124

### plan

- plan(task: string, research: string, priorFeedback?: string): Promise<string>

  Architect creates a plan from research + task.

  #### Parameters

  - task: string
  - research: string
  - `Optional` priorFeedback: string

  #### Returns Promise<string>

  - Defined in packages/nexus-agents/src/pipeline/dev-pipeline.ts:126

### vote

- vote(plan: string): Promise<VoteResult>

  Consensus vote on the plan. Returns approval + feedback.

  #### Parameters

  - plan: string

  #### Returns Promise<VoteResult>

  - Defined in packages/nexus-agents/src/pipeline/dev-pipeline.ts:128

### decompose

- decompose(plan: string): Promise<PipelineTask[]>

  PM decomposes approved plan into tasks.

  #### Parameters

  - plan: string

  #### Returns Promise<PipelineTask[]>

  - Defined in packages/nexus-agents/src/pipeline/dev-pipeline.ts:130

### implement

- implement(task: PipelineTask): Promise<string>

  Code expert implements a task. Returns the work product.

  #### Parameters

  - task: PipelineTask

  #### Returns Promise<string>

  - Defined in packages/nexus-agents/src/pipeline/dev-pipeline.ts:132

### qaReview

- qaReview(task: PipelineTask, implementation: string): Promise<QaReviewResult>

  QA expert reviews implementation.

  #### Parameters

  - task: PipelineTask
  - implementation: string

  #### Returns Promise<QaReviewResult>

  - Defined in packages/nexus-agents/src/pipeline/dev-pipeline.ts:134

### securityScan

- securityScan(): Promise<{ passed: boolean; feedback: string }>

  Security scan. Returns true if passed.

  #### Returns Promise<{ passed: boolean; feedback: string }>

  - Defined in packages/nexus-agents/src/pipeline/dev-pipeline.ts:136