# Type Alias NodeState

NodeState: "pending" | "active" | "completed" | "pruned" | "error"

State of a reasoning node in its lifecycle.

- `pending`: Node created but not yet processed
- `active`: Node currently being explored/evaluated
- `completed`: Node exploration finished successfully
- `pruned`: Node was pruned due to low score or depth limit
- `error`: Node exploration failed with an error

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:45