# Interface PolicyContext

Context provided to policy rules for evaluation.

interface PolicyContext {
taskId: string;
stageId: string;
stageType: string;
pipelineState: Readonly<Record<string, unknown>>;
}

- Defined in packages/nexus-agents/src/pipeline/policy-engine.ts:30

##### Index

### Properties

taskId
stageId
stageType
pipelineState

## Properties

### `Readonly` taskId

taskId: string

- Defined in packages/nexus-agents/src/pipeline/policy-engine.ts:31

### `Readonly` stageId

stageId: string

- Defined in packages/nexus-agents/src/pipeline/policy-engine.ts:32

### `Readonly` stageType

stageType: string

- Defined in packages/nexus-agents/src/pipeline/policy-engine.ts:33

### `Readonly` pipelineState

pipelineState: Readonly<Record<string, unknown>>

- Defined in packages/nexus-agents/src/pipeline/policy-engine.ts:34