# Interface ObserverRoutingDecision

Captured routing decision for audit and analysis.

interface ObserverRoutingDecision {
timestamp: string;
taskId: string;
taskDescription: string;
selectedCli: "claude" | "gemini" | "codex" | "opencode";
confidence: number;
reason: string;
alternatives: readonly ("claude" | "gemini" | "codex" | "opencode")[];
stagesExecuted: readonly string[];
decisionTimeMs: number;
withinBudget?: boolean;
topsisScore?: number;
ucbScore?: number;
}

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:47

##### Index

### Properties

timestamp
taskId
taskDescription
selectedCli
confidence
reason
alternatives
stagesExecuted
decisionTimeMs
withinBudget?
topsisScore?
ucbScore?

## Properties

### `Readonly` timestamp

timestamp: string

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:48

### `Readonly` taskId

taskId: string

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:49

### `Readonly` taskDescription

taskDescription: string

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

### `Readonly` selectedCli

selectedCli: "claude" | "gemini" | "codex" | "opencode"

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

### `Readonly` confidence

confidence: number

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

### `Readonly` reason

reason: string

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:53

### `Readonly` alternatives

alternatives: readonly ("claude" | "gemini" | "codex" | "opencode")[]

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

### `Readonly` stagesExecuted

stagesExecuted: readonly string[]

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:55

### `Readonly` decisionTimeMs

decisionTimeMs: number

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:56

### `Optional` `Readonly` withinBudget

withinBudget?: boolean

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:57

### `Optional` `Readonly` topsisScore

topsisScore?: number

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:58

### `Optional` `Readonly` ucbScore

ucbScore?: number

- Defined in packages/nexus-agents/src/agents/observability/orchestration-observer-types.ts:59