meta-routing
Mission
Section titled “Mission”Decide which instruction(s) to invoke, in what order, and how to chain them for compound tasks.
When to Use
Section titled “When to Use”Use when you need to choose which instruction to invoke, when a task spans multiple domains, when instructions should run serially vs in parallel, or when escalation or cross-instruction chaining is needed.
Triggers: “not sure which tool”, “compound task”, “what instruction do I use”, “route this”, “which tools should I chain”
Routing Logic
Section titled “Routing Logic”meta-routing consults the full instruction registry and workflow specification to determine:
- Domain classification — Which domain(s) does the request span?
- Serial vs parallel — Can instructions run in parallel or must they be sequential?
- Escalation route — Which model class is appropriate given the complexity?
- Chain recommendation — Which instructions to invoke next and in what order
Reactivation Policy
Section titled “Reactivation Policy”on-context-drift — re-invoked whenever the embedding-cosine context drift detector fires, preventing routing collapse on long sessions.
Example
Section titled “Example”{ "request": "We need to design a new service, implement it, and make sure it passes governance review"}Output:
Step 1: system-design (Advanced) — architecture and constraintsStep 2: feature-implement (Advanced) — parallel with step 3Step 3: policy-govern (Advanced) — governance pre-checkStep 4: code-review (Cross-Model) — final quality gateCompanion Tools
Section titled “Companion Tools”Use graph-visualize with chain-graph to inspect instruction chains and routing topology visually.