Routing

intelligent_route

Select an upstream cluster for an inference model or MCP tool from a validated routing snapshot. Place this filter after request classification and before load_balancer.

Praxis AI Development (bcdcfdbcf963) 20 min read

Switching projects opens that project’s default documentation release.

Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.

On this page

Select an upstream cluster for an inference model or MCP tool from a validated routing snapshot. Place this filter after request classification and before load_balancer.

The configuration producer owns candidate ordering, priority groups, admission, and any geography or load scoring. intelligent_route consumes those decisions; it does not scrape metrics, query a controller, or recompute scores while handling a request. Praxis AI registers this filter; Praxis core supplies the filter runtime and upstream transport.

Request flow

Request body / MCP message
            |
   Model extraction / MCP classification
            |
   intelligent_route
     1. Bypass management paths or preserve an existing cluster
     2. Resolve the model or tool
     3. Reuse an eligible session binding, if present
     4. Select from the first eligible producer-defined group
     5. Set the upstream cluster and routing metadata
            |
   Optional credential / provider transformation filters
            |
       load_balancer
            |
   Backend or authenticated provider gateway

The filter selects a cluster, not an endpoint within that cluster. Configure upstream addresses, TLS, connection handling, and endpoint selection in the downstream load_balancer.

Configuration sources

Choose exactly one source:

SourceRouting dataUpdatesConstraints
StaticInline candidates and local_sitePipeline reloadNonempty candidates; deterministic selection; no traffic weights
Versioned overlayContent-addressed routing-overlay.json envelopeAtomic snapshot reloadIntegrity and optional scope validation; supports groups, selection policies, and authoritative empty snapshots
Legacy overlayFlat routing-config.json payloadAtomic snapshot reloadNonempty candidates; no provider profiles; cannot satisfy expected_overlay_scope

Use a versioned envelope for controller-managed deployments. Legacy payloads remain available for compatibility.

Static configuration

This complete configuration routes the body model example-model to the first matching candidate. The second candidate is not selected merely because it is local or has a different fresh value.

listeners:
  - name: inference
    address: "0.0.0.0:8080"
    filter_chains: [inference]

filter_chains:
  - name: inference
    filters:
      - filter: model_to_header
        header: X-Model
      - filter: intelligent_route
        local_site: site-a
        model_header: X-Model
        clusters: [primary, secondary]
        candidates:
          - kind: inference_model
            name: example-model
            site: site-b
            cluster: primary
          - kind: inference_model
            name: example-model
            site: site-a
            cluster: secondary
      - filter: load_balancer
        clusters:
          - name: primary
            endpoints: ["127.0.0.1:8001"]
          - name: secondary
            endpoints: ["127.0.0.1:8002"]

insecure_options:
  allow_private_endpoints: true # Local example backends only.

model_to_header derives the model from the request body and removes a client-supplied copy of its configured header. intelligent_route itself reads the promoted header; it does not parse the body. See model extraction.

Overlay configuration

Replace the static routing filter with:

filter: intelligent_route
model_header: X-Model
overlay_file: /etc/praxis/routing/routing-overlay.json
clusters: [primary, secondary]
expected_overlay_scope:
  network: inference-grid
  gateway: consumer
  namespace: grid-system
  local_site: site-a
reload:
  enabled: true
  debounce_ms: 500

Declare every possible selected cluster in the downstream load balancer. With clusters set, the list is authoritative: pipeline validation checks its names against the load balancer, and initial or replacement snapshots referencing any other cluster are rejected. Without this list, overlay candidates are not reported to pipeline cluster validation and replacement snapshots are not checked against the upstream inventory; selection can then fail downstream for an unknown cluster. Static candidates are reported when no explicit list is supplied. management_cluster is always reported.

The complete overlay configuration example shows the surrounding pipeline.

Lookup and request outcomes

Lookup happens in this order:

  1. A matching management path bypasses capability lookup. If configured, management_cluster supplies its upstream.
  2. An upstream cluster selected by an earlier filter is preserved.
  3. If mcp.method metadata exists, MCP lookup takes precedence over the model header. Only tools/call routes; it requires a valid mcp.name.
  4. Otherwise, the filter reads model_header and matches inference_model candidates by name.

Names are matched exactly. Model and tool names must be nonblank and at most 256 bytes. A missing model header skips routing; a present invalid value rejects the request. Non-tool MCP messages skip routing even if a model header exists.

Request conditionOutcomeAction
Management pathmanagementContinue, optionally using management_cluster
Cluster already selectedpreservedContinue with that cluster
Missing model header or non-tool MCP methodskippedContinue without selecting a cluster
Invalid model header or invalid/missing MCP tool nameinvalidHTTP 400
Eligible session bindingreusedContinue with the bound candidate
Eligible fresh selectionroutedContinue with the selected candidate
Capability has no eligible candidateno_candidateHTTP 404

Skipping routing does not guarantee that a later filter can forward the request. Configure a management backend or another route where needed.

The default skip_paths are /v1/models, /v1/subscriptions, /v1/api-keys, and /health. Matching uses path segment boundaries: /v1/models matches /v1/models/x, but not /v1/models-beta. An explicit list replaces the defaults; [] disables skipping. Each entry must be an absolute path without whitespace, control characters, a query, or a fragment. See the management-path example.

Candidate selection

A candidate is one offer to serve a particular model or tool through a named upstream cluster. If three candidates all serve example-model, they are three possible destinations for requests for that model. A candidate for a different model does not take part in that selection.

There are two separate choices in the request path:

  1. intelligent_route chooses a candidate and sets its cluster name.
  2. load_balancer chooses an endpoint from that cluster’s configured addresses.

For example, three candidates may point to three clusters, each containing one endpoint. In that setup, splitting traffic between the candidates also splits traffic between those three endpoints. If one cluster contains several addresses, the candidate’s share belongs to the entire cluster. Distribution between its addresses is the responsibility of the load balancer.

Session affinity is considered before selecting a new candidate. For a new selection, the gateway uses the first producer-defined group that admits new requests, then applies the snapshot’s selection policy within that group.

Overlay selection_policy.modeSelection within the first eligible group
deterministic (default)First candidate in producer order
roundRobinRotate through the group using a process-local counter
randomUniform random selection
weightedRandomRandom selection proportional to positive traffic_weight

Without group metadata, selection uses the first admitted candidate in array order. Non-weighted policies do not redistribute ungrouped candidates. Group numbers start at zero and are contiguous and monotonic for each (kind, name). Candidates for one capability cannot mix grouped and ungrouped entries, and members of one group must share an admission state. Invalid group definitions reject the snapshot.

weightedRandom requires groups and an integer traffic_weight from 1 through 1000 on every candidate of a nonempty list. Weights apply only inside the first eligible group, never across priority groups. Static candidates cannot use weights, and overlay modes other than weightedRandom reject traffic_weight. Round-robin counters belong to a snapshot and reset on its replacement; they are not shared across gateway processes.

rank, selection_tier, fresh, and local_site describe producer decisions. They do not cause the gateway to sort or rescore the array. To move traffic in response to EPP telemetry, a producer must publish changed routing data and the gateway must accept it. A score or rank change alone is not evidence that a request selected another backend.

For example, if primary and secondary both serve example-model:

Snapshot changeExpected new-request behavior
Ungrouped candidates ordered primary, secondarySelect primary
Producer reorders them to secondary, primarySelect secondary after the new snapshot is accepted
Both candidates in group 0 with roundRobinAlternate within group 0; do not select a lower-priority group
Group 0 becomes existing_only, group 1 admits new requestsNew sessions use group 1; valid bindings may continue using group 0
Versioned snapshot withdraws all candidatesReject matching requests with HTTP 404

These decisions use the snapshot’s admission data. The filter does not probe upstream health or retry another candidate when a selected upstream fails.

Deterministic: prefer one destination

Use deterministic when the producer’s first eligible choice should receive all new selections. This is an ordered preference, not an equal traffic split. The following static filter always chooses cluster-a for example-model:

filter: intelligent_route
local_site: site-a
model_header: X-Model
clusters: [cluster-a, cluster-b, cluster-c]
candidates:
  - kind: inference_model
    name: example-model
    site: site-a
    cluster: cluster-a
  - kind: inference_model
    name: example-model
    site: site-b
    cluster: cluster-b
  - kind: inference_model
    name: example-model
    site: site-c
    cluster: cluster-c

Keeping cluster-b and cluster-c in this list does not automatically retry them if cluster-a returns an error. For static configuration, changing the preferred destination requires a pipeline reload. With an overlay, the producer can reorder candidates or change their admission groups and publish a new snapshot. An existing session may still retain its eligible bound candidate.

In a grouped overlay, set selection_policy.mode to deterministic to choose the first candidate in the first group that accepts new requests. Merely giving another candidate a smaller rank value does not move it ahead in the array.

Shared setup for equal and weighted selection

The next examples use the same three upstream destinations. Save this proxy configuration and choose one of the JSON overlays below as routing-config.json in the proxy’s working directory:

listeners:
  - name: inference
    address: "0.0.0.0:8080"
    filter_chains: [inference]

filter_chains:
  - name: inference
    filters:
      - filter: model_to_header
        header: X-Model
      - filter: intelligent_route
        model_header: X-Model
        overlay_file: ./routing-config.json
        clusters: [cluster-a, cluster-b, cluster-c]
      - filter: load_balancer
        clusters:
          - name: cluster-a
            endpoints: ["127.0.0.1:8001"]
          - name: cluster-b
            endpoints: ["127.0.0.1:8002"]
          - name: cluster-c
            endpoints: ["127.0.0.1:8003"]

insecure_options:
  allow_private_endpoints: true # Local example backends only.

These are complete flat legacy payloads so they can be edited locally without calculating envelope digests. They intentionally omit expected_overlay_scope. For a controller-managed deployment, put the same routing fields inside the versioned envelope’s overlay object, generate its digests, and configure scope validation as described in overlay integrity and reloads. Do not replace a scope-checked envelope with a flat payload.

All candidates below serve the same model and belong to selection_group: 0. That group tells the gateway that these destinations are peers for selection. Without the group fields, random and roundRobin retain first-admitted ordering rather than sharing requests; weightedRandom rejects the payload.

The examples leave affinity disabled, which is the default. Requests for example-model then make a new selection each time.

Round robin: take turns equally

Use roundRobin when each eligible destination should take a turn. With the following overlay, new selections in one gateway filter instance follow cluster-a, cluster-b, cluster-c, then repeat:

{
  "local_site": "site-a",
  "selection_policy": {"mode": "roundRobin"},
  "candidates": [
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-a",
      "cluster": "cluster-a",
      "selection_group": 0
    },
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-b",
      "cluster": "cluster-b",
      "selection_group": 0
    },
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-c",
      "cluster": "cluster-c",
      "selection_group": 0
    }
  ]
}

For six new selections from an initially unused counter, each candidate receives two. Concurrent requests may complete in a different order from their selection order. Gateway replicas maintain independent counters, so there is no global turn shared by the deployment. A replacement snapshot starts a new counter.

Random: give every destination an equal chance

Use random when every candidate in the active group should have the same chance on each new selection. Replace the round-robin overlay with:

{
  "local_site": "site-a",
  "selection_policy": {"mode": "random"},
  "candidates": [
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-a",
      "cluster": "cluster-a",
      "selection_group": 0
    },
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-b",
      "cluster": "cluster-b",
      "selection_group": 0
    },
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-c",
      "cluster": "cluster-c",
      "selection_group": 0
    }
  ]
}

Each candidate has a one-in-three chance. A sequence such as a, a, c, b, c, a is valid; random selection does not promise a turn for every destination in each batch of three. Over many independent selections, traffic should approach an equal split. Small samples can differ substantially.

Do not add traffic_weight to this mode. Equal random selection treats every candidate equally without weights.

Weighted random: give destinations different shares

Use weightedRandom when some destinations should receive a larger share of new selections. Every candidate in a nonempty weighted overlay must have a group and a positive integer weight. This overlay gives the three destinations weights of 60, 30, and 10:

{
  "local_site": "site-a",
  "selection_policy": {"mode": "weightedRandom"},
  "candidates": [
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-a",
      "cluster": "cluster-a",
      "selection_group": 0,
      "traffic_weight": 60
    },
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-b",
      "cluster": "cluster-b",
      "selection_group": 0,
      "traffic_weight": 30
    },
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-c",
      "cluster": "cluster-c",
      "selection_group": 0,
      "traffic_weight": 10
    }
  ]
}

The chance of choosing a candidate is its weight divided by the sum of the weights in the active group:

CandidateCalculationExpected share of new selections
cluster-a60 / (60 + 30 + 10)60%
cluster-b30 / (60 + 30 + 10)30%
cluster-c10 / (60 + 30 + 10)10%

Weights are relative, not required percentages: 6, 3, and 1 produce the same probabilities. Giving all three candidates weight 1 produces equal random selection, with a one-in-three chance each. Use random when equal sharing is all that is needed; use weightedRandom when the producer needs to express different shares or change them later.

The result is probabilistic. For 1000 independent selections, 600/300/100 is an expectation, not a quota or guarantee. A low-weight candidate can receive several consecutive requests. Changing weights affects new selections after the new snapshot is accepted; it does not move existing session bindings.

Weights must be from 1 through 1000. To withdraw a destination, have the producer remove it from the candidate list rather than assigning weight zero. The remaining weights are interpreted relative to their new total. If cluster-c is removed above, cluster-a and cluster-b have shares of roughly 67% and 33%.

Each example cluster contains one endpoint. If cluster-a instead contains two endpoints and its downstream load balancer shares traffic equally between them, each would receive approximately half of cluster A’s 60% share, or 30% of the total. intelligent_route does not itself enforce that endpoint-level split.

Priority groups: choose the tier before sharing traffic

Groups express preference, while the selection policy distributes traffic inside the chosen group. Suppose group 0 contains two local candidates and group 1 contains a remote fallback. As long as group 0 admits new requests, only its members participate. A large weight on the fallback does not pull traffic out of group 0.

The following is a complete two-candidate example using the shared proxy setup:

{
  "local_site": "site-a",
  "selection_policy": {"mode": "weightedRandom"},
  "candidates": [
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-a",
      "cluster": "cluster-a",
      "selection_group": 0,
      "traffic_weight": 1
    },
    {
      "kind": "inference_model",
      "name": "example-model",
      "site": "site-b",
      "cluster": "cluster-b",
      "selection_group": 1,
      "traffic_weight": 1000
    }
  ]
}

Despite its larger weight, cluster-b receives no new selections while group 0 is eligible. If the producer changes group 0 to existing_only, new sessions select cluster-b; existing bindings to cluster-a can continue. This is admission-based fallback. An HTTP error from cluster A does not by itself change the snapshot or make the filter try group 1.

Admission and draining

admission_stateNew selectionExisting bound session
new_and_existing (default)EligibleEligible
existing_onlyIneligibleEligible
noneIneligibleIneligible; resolve a replacement if possible

For example, publish existing_only to drain a candidate while preserving bound sessions. Publish none or remove the candidate to prevent its reuse. An existing-only candidate cannot be selected simply because the client sends a session key; a valid binding must already exist in this process.

A typical drain proceeds in three steps:

  1. Publish the destination’s group as existing_only and keep another group available for new sessions. Every member of a group must have the same admission state, so draining one member of an otherwise active group requires the producer to regroup the candidates.
  2. Allow bound sessions to finish or expire. Requests without a usable binding select from a group that still accepts new work.
  3. Remove the drained destination or exclude its group with none when it should stop serving existing sessions too.

Without session affinity, the gateway has no stored binding to reuse, so existing_only does not receive requests through this filter.

Session affinity

session_affinity:
  enabled: true
  store: local
  header: X-Session-ID
  cookie: session_id
  ttl_secs: 3600

At least one key source is required when affinity is enabled. The header is checked before the cookie. Bindings associate the session key and capability with a candidate’s stable ID. Reordering candidates does not move a bound session while the same candidate remains eligible. If it disappears or becomes excluded, the filter attempts a new selection and records failover. If no candidate can accept a new session, the request receives HTTP 404.

Affinity has no implicit storage default. Enabling it requires store: local, which explicitly opts into process-local lifetime and consistency semantics.

Bindings live in memory in one filter instance; they do not provide affinity across replicas or restarts. The table is bounded to 10,000 bindings and evicts expired entries when full. If no room remains, routing continues without storing a new binding. The default TTL is 3600 seconds, with a maximum of 86400 seconds.

For example, a new X-Session-ID: conversation-42 request might choose cluster-b under the 60/30/10 policy. Later requests with the same key and model reuse cluster B while the binding is valid. They do not draw from the weights again. A request for a different model is a new capability selection even if it uses that same session key.

This distinction matters when checking a traffic split. Repeating one session key measures affinity, not random distribution. To evaluate equal or weighted selection, leave affinity disabled or use a new session key for each selection. Weights describe new selections; long-lived sessions can make the share of total requests differ from the configured proportions.

Overlay integrity and reloads

A versioned envelope contains schema_version: "1.0.0", revision, content_digest, scope, provenance, and overlay. Use the checked minimal envelope fixture or multi-candidate fixture for complete valid JSON. The contract fixture manifest lists accepted and rejected cases.

Overlay files are limited to 2 MiB. The acceptance checks include:

  • SHA-256 content-addressed revision and matching content digest, each encoded as 64 lowercase hexadecimal characters.
  • RFC 8785 canonical hashing of the semantic object containing network, local_site, the ordered candidates array, and selection_policy when present. Candidate order and selection policy are part of the digest.
  • Agreement between envelope scope and the overlay’s network/local site, and between provenance.source_name and the scope network.
  • A positive provenance.source_generation, required provenance fields, and every configured expected_overlay_scope field.
  • Candidate, group, credential-reference, and optional provider-profile validation.

Any reserved envelope field selects strict envelope parsing. Malformed envelopes cannot fall back to legacy parsing. Configuring expected_overlay_scope also rejects flat legacy payloads. Unknown additive envelope, provenance, and candidate fields are accepted for forward compatibility; credential objects reject unknown fields.

Generate envelopes with the producer’s canonical serializer. Editing a candidate or selection policy without recomputing both digests causes rejection. The digest checks consistency; it does not authenticate the producer. Protect the overlay file and its delivery channel with the deployment’s access controls.

The revision lifecycle has separate boundaries:

Producer rendered -> Producer distributed -> Gateway accepted -> Gateway serving

Publication to a ConfigMap does not prove that the gateway loaded its contents. Correlate producer status with the gateway’s accepted/serving revision and a request decision.

By default, the filter watches the overlay file’s parent directory and debounces events for 500 ms. It reads, parses, and validates a replacement before atomically swapping the snapshot. Requests already using a snapshot retain it. A versioned overlay with the same semantic revision leaves the current snapshot in place. An invalid initial overlay fails filter construction; an unreadable or invalid reload retains the same-process last-known-good snapshot.

A valid versioned overlay with no candidates is authoritative: matching requests receive HTTP 404. It does not preserve withdrawn routes. Static candidates and legacy payloads must remain nonempty.

For Kubernetes projected ConfigMaps, mount the directory containing the overlay. Do not mount the overlay using subPath: that prevents projected-volume updates from reaching the watched path. Overlay reloads update routing data, not load balancer endpoints, TLS settings, or filter-chain structure. Those changes require a pipeline reload or restart.

For example, changing weights from 60/30/10 to 30/60/10 is a routing-data update. Publish a new valid overlay and wait for the serving revision to change; no endpoint change is required. Adding cluster-d, however, requires its cluster and endpoint configuration to exist in the pipeline and its name to be allowed by clusters before the overlay can select it.

A rejected reload and an intentional withdrawal have different effects. A bad digest keeps the previous valid routes serving. A valid empty versioned overlay withdraws every candidate and makes matching requests return HTTP 404. Neither case should be diagnosed solely from the producer’s published revision; check what the gateway accepted and is actually serving.

Credentials and provider gateways

Candidates may carry a credential reference with strategy (bearer_token or apikey) and secretRef (namespace, name, and key). The overlay carries references, never credential values. intelligent_route publishes the selected reference as in-process metadata; credential injection resolves and applies it later. Newly selected credentials must already be available through the configured resolver and mounts.

A trusted versioned overlay can also supply an inference provider profile: api_format, path, and target_model. Profiles require a stable ID and all three fields; static candidates and legacy payloads cannot provide them. They describe the selected provider request contract for downstream processing. Supported formats are openai-chat and messages; a messages profile also requires an apikey credential reference. The filter publishes the profile as metadata, and downstream adapters such as the Anthropic request converter perform the transformation.

For routing through another Praxis gateway, list only the clusters that terminate the authenticated provider-hop protocol in provider_hop_clusters. The filter removes client-supplied routing-context headers on every request. For an allowlisted selected cluster, it sets:

HeaderValue
x-ai-routing-candidateSelected candidate stable ID
x-ai-routing-request-idGenerated provider-hop request ID
x-ai-routing-revisionServing revision for a versioned envelope

These headers carry no credential reference or value. Authenticate the provider hop with mTLS and run peer_identity_trust before provider routing at the provider gateway. Keep direct API and backend clusters outside the allowlist. The filter does not itself establish mTLS or emit universal backend-attribution response headers.

Configuration reference

The configuration rejects unknown fields.

FieldDefaultContract
candidatesUnsetStatic candidate array; mutually exclusive with overlay_file
local_siteUnsetRequired in static mode; overlay supplies it in overlay mode
model_headerX-ModelPromoted request header containing the inference model
clustersUnsetAuthoritative allowlist of downstream load-balancer cluster names
overlay_fileUnsetOverlay file path; mutually exclusive with candidates
expected_overlay_scopeUnsetOptional expected network, gateway, namespace, and local_site; requires envelope mode
reload.enabledtrueWatch the overlay for changes; requires overlay mode
reload.debounce_ms500Filesystem-event debounce window; requires overlay mode
skip_pathsSee lookup sectionManagement path prefixes; an explicit list replaces defaults
management_clusterUnsetUpstream for skipped paths; requires nonempty skip_paths
provider_hop_clusters[]Clusters using the authenticated provider-hop protocol
session_affinity.enabledfalseEnable session bindings
session_affinity.storeUnsetStorage backend; required when enabled (local is currently supported)
session_affinity.headerUnsetSession key header
session_affinity.cookieUnsetSession key cookie; fallback after the header
session_affinity.ttl_secs3600Binding TTL in seconds, from 1 through 86400

Inline candidates require kind (inference_model or mcp_tool), name, site, and cluster. fresh defaults to true; credential is optional. Each snapshot supports at most 1024 candidates, and candidate identifiers are bounded to 256 bytes. Overlay candidates additionally support the admission, stable identity, selection, and provider-profile fields described above.

Observability and troubleshooting

Access logs can read metadata as metadata.<key>. The filter records intelligent_route.outcome for every request, including rejections and skips. After capability lookup, intelligent_route.candidate_count counts candidates before admission filtering. Successful decisions include kind, name, site, cluster, local_site, stable_id, and admission_state under the intelligent_route namespace; optional fields include rank, selection_group, selection_mode, selection_tier, and overlay_revision.

With affinity enabled, intelligent_route.session.bound, intelligent_route.session.reused, and intelligent_route.session.failover describe the binding result. Metadata stays in process unless another filter or the access log exports it; it is not automatically a response header.

Prometheus metricMeaning
praxis_ai_intelligent_route_decisions_total{outcome,kind}Request decisions, including skips and rejections
praxis_ai_intelligent_route_selected_total{cluster,site,selection_mode}New selections; excludes session reuse
praxis_ai_intelligent_route_session_total{event}Binding, reuse, and failover events
praxis_ai_intelligent_route_session_table_entriesProcess aggregate table entries, including expired entries not yet evicted
praxis_ai_intelligent_route_snapshot_candidatesServing snapshot candidate count
praxis_ai_intelligent_route_snapshot_reloads_total{result}accepted, unchanged, rejected, or read_error reload attempts

Enable metrics.filter_duration: true for the core praxis_filter_duration_seconds{filter="intelligent_route"} histogram. Selection mode metric/metadata values use snake case (round_robin, weighted_random), while overlay policy values use camel case (roundRobin, weightedRandom).

SymptomCheck
HTTP 400Promoted model header or MCP tool metadata is invalid
HTTP 404Exact capability match, current serving snapshot, admission state, and affinity eligibility
Cluster differs from lowest rankProducer array/group order, selected policy, and existing session binding; rank is not independently sorted
Changed metrics do not move trafficProducer publication, accepted revision, group policy, and affinity; this filter does not scrape or score metrics
ConfigMap changed but route did notDirectory mount, watcher state, reload logs, semantic revision, and integrity/scope validation
Reload rejectedEnvelope digest, groups, credentials, profiles, and the clusters allowlist
New candidate fails upstreamLoad-balancer cluster and endpoint inventory; overlay reload cannot add upstreams
Provider rejects routing contextmTLS identity, provider-hop allowlist, stable ID, and provider configuration

See the inference example, MCP example, and overlay contract fixtures for additional configuration and compatibility cases.