# Interface PreconditionConfig

Configuration for a precondition hook. Preconditions run before node execution. If a required precondition fails, the node is skipped.

interface PreconditionConfig {
name: string;
hook: NodeHook;
required?: boolean;
}

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:50

##### Index

### Properties

name
hook
required?

## Properties

### `Readonly` name

name: string

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:51

### `Readonly` hook

hook: NodeHook

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:52

### `Optional` `Readonly` required

required?: boolean

If true (default), failure prevents node execution.

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:54