# Interface DistillerConfig

Configuration for the strategy distiller.

interface DistillerConfig {
triggerThreshold: number;
minObservationsForDraft: number;
minObservationsForActive: number;
promotionConfidence: number;
failureRateThreshold: number;
successRateThreshold: number;
latencyRatioThreshold: number;
maxRules: number;
ruleExpiryMs: number;
}

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:58

##### Index

### Properties

triggerThreshold
minObservationsForDraft
minObservationsForActive
promotionConfidence
failureRateThreshold
successRateThreshold
latencyRatioThreshold
maxRules
ruleExpiryMs

## Properties

### `Readonly` triggerThreshold

triggerThreshold: number

Distill every N outcomes (default: 50)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:60

### `Readonly` minObservationsForDraft

minObservationsForDraft: number

Minimum observations before creating a draft rule (default: 3)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:62

### `Readonly` minObservationsForActive

minObservationsForActive: number

Minimum observations before activating a rule (default: 5)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:64

### `Readonly` promotionConfidence

promotionConfidence: number

Confidence threshold for promotion to RoutingMemory (default: 0.7)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:66

### `Readonly` failureRateThreshold

failureRateThreshold: number

Failure rate above which a failure pattern is detected (default: 0.6)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:68

### `Readonly` successRateThreshold

successRateThreshold: number

Success rate above which a success pattern is detected (default: 0.8)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:70

### `Readonly` latencyRatioThreshold

latencyRatioThreshold: number

p90/median ratio above which a latency spike is detected (default: 2.0)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:72

### `Readonly` maxRules

maxRules: number

Maximum number of rules to store (default: 90)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:74

### `Readonly` ruleExpiryMs

ruleExpiryMs: number

Rule expiry time in ms (default: 24h)

- Defined in packages/nexus-agents/src/learning/strategy-distiller-types.ts:76