# Interface StageContext

Runtime context passed to plugins during stage execution. Plugins communicate only via artifacts and events.

interface StageContext {
signal: AbortSignal;
task: Readonly<TaskContract>;
config: Record<string, unknown>;
}

- Defined in packages/nexus-agents/src/pipeline/plugin-types.ts:71

##### Index

### Properties

signal
task
config

## Properties

### `Readonly` signal

signal: AbortSignal

Abort signal for cancellation.

- Defined in packages/nexus-agents/src/pipeline/plugin-types.ts:73

### `Readonly` task

task: Readonly<TaskContract>

Task contract for reference (read-only).

- Defined in packages/nexus-agents/src/pipeline/plugin-types.ts:75

### `Readonly` config

config: Record<string, unknown>

Stage configuration from the plan.

- Defined in packages/nexus-agents/src/pipeline/plugin-types.ts:77