# Interface PreferenceSignal

Explicit preference signal from human or AI feedback.

interface PreferenceSignal {
source: "human" | "ai" | "implicit";
preferred: "claude" | "gemini" | "codex" | "opencode";
rejected?: "claude" | "gemini" | "codex" | "opencode";
reason?: string;
confidence: number;
}

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:115

##### Index

### Properties

source
preferred
rejected?
reason?
confidence

## Properties

### `Readonly` source

source: "human" | "ai" | "implicit"

Source of the preference

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:117

### `Readonly` preferred

preferred: "claude" | "gemini" | "codex" | "opencode"

Preferred CLI for this task type

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:119

### `Optional` `Readonly` rejected

rejected?: "claude" | "gemini" | "codex" | "opencode"

Rejected CLI (if comparative preference)

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:121

### `Optional` `Readonly` reason

reason?: string

Optional reasoning

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:123

### `Readonly` confidence

confidence: number

Confidence in the preference (0-1)

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:125