Infrastructure · Primitives

Route

Classify input and direct to specialized handler

Definition

Mechanism

A classifier that examines a Task input and directs it to a specialized downstream handler. Enables separation of concerns—different query types get different prompts, tools, or models. Routes based on type tags, metadata fields, token weight, or configurable dispatch rules (simple queries to small models, complex to large).

Preconditions

  1. Input query
  2. Router logic configured

Postconditions

  1. Query dispatched

Invariants

  1. Input directed to best-fit handler
  2. No dropped requests

Risks

Failure modes

  1. Misrouting

    Input sent to wrong specialist, causing errors.

  2. Ambiguous Classification

    Input matches multiple routes or none.

  3. Routing Bottleneck

    Classifier becomes slower than just handling directly.

Relationships

Builds on

Accepts

Task

The atomic unit of intent

Used by

References

Mind

Labelsqueeze

Flag a one-label classification forced onto an object whose relevant properties point to several categories

Mind

RoutingSanityCheck

Test a candidate carve by routing a few concrete tasks through it before it is kept

Mind

ThinSlice

High-confidence classification from minimal data

Reference

Identity

Ref
Route#186c
Sema ID
sema:Route#mh:SHA-256:186c9df2396591a9a71b80e50f3c323e5e0df6ddf64b6552435a0d555b6dbc85
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:Switch#mh:SHA-256:e7f9f7fba998e74e83165b23f0328643be83117559cd4d1a8711043955f6d6b0
  • sema:Route#mh:SHA-256:96986e6c4fccc6496d735394acf1f4c7c5a4ae72cee77e0686fbaf3a8b9021b6
  • sema:Route#mh:SHA-256:b3c18cb6ceba97e12a792ed7f916cd4832c2a7aa941bf6f2646a18511bd8a7ae