Skip to content

RoutePlan

RoutePlan = object

Deterministic shared-core Mode-1 route planning result.

[property: string]: unknown

candidates: Candidate[]

Eligible candidates in deterministic order.


explanation: Explanation

Human-readable selection or failure explanation suitable for telemetry/debugging.


optional failureCode?: FailureCode

Normalized routing failure class when no provider is selected.


fallbackProviderIds: string[]

Fallback provider IDs ordered after the primary selection.


rejectedProviders: RejectedProvider[]

Providers filtered out during planning together with machine-readable reasons.


optional selectedProviderId?: string

Chosen primary provider ID, if any.