Rivals into router
Description
When two implementation choices present as rival investments — “we should use A” vs. “we should use B” — the reframe is: the missing piece is often a router that uses both conditioned on situation-shape. The perceived competition was an artifact of asking “which one?” instead of “when is each one right?” The router doesn’t choose between A and B; it dispatches to A or B based on a gradient signal or threshold. The concept depends on the rivals being genuinely complementary along some dimension — they don’t need to be symmetric, they need to be decomposable. A and B are rivals in the sense that their full cost is only justified under specific conditions; the router’s job is to match each condition to the appropriate strategy. This is structurally different from “use A first, fall back to B if it fails” (which is cost-cascade); rivals-into-router is about deliberate conditional dispatch rather than defensive fallback.Triggers
User-initiated: User is framing a decision as an either/or between two approaches (“should we do A or B?”). The rivals-into-router frame surfaces when both options have real merit under different conditions rather than one being clearly better. Agent-initiated: Engine detects a debate or decision where two options each have valid advocates. Candidate inference: “these aren’t truly rivals — is there a condition under which each is the right call? If so, the missing piece is the router that dispatches based on that condition.” Vocabulary cues: “either … or,” “versus,” “which one,” “A or B,” “choose between,” “competing approaches,” “rival strategies,” “tradeoff between.” Situation-shape signals: Two options with different cost/quality profiles that serve the same output contract. The key diagnostic: if you can state a condition under which each option is strictly better, a router is indicated. If one option is simply better in all cases, it’s not rivals-into-router — it’s just selection.Exclusions
- Genuine tradeoffs without a routing dimension — sometimes A and B are genuinely incompatible worldviews (e.g., different data models) rather than complementary strategies on the same dimension. The router can’t reconcile them.
- When one option dominates — if A is better than B in all relevant conditions, there’s no router to design; just use A. The rivals frame requires genuine conditional complementarity.
- When the routing condition itself is too expensive — if determining which branch to use costs more than either branch, the router eliminates the value proposition. (Edge case: sometimes the routing condition is cheap and the savings are large; sometimes it’s expensive and the dispatch is moot.)
- When the output contracts differ — if A and B produce genuinely different outputs (not just different processes arriving at the same shape), the caller is not transparent to the routing and the concept breaks down.
Structure
Relationships
- asymmetric-gate — composition relationship — the routing condition is often an asymmetric gate: below threshold, use cheap option; above threshold, use expensive option.
- gradient — composition relationship — the dimension along which the router dispatches (cost, complexity, confidence) is a gradient; the router maps position on the gradient to branch selection.
- cost-cascade — creation relationship — cost-cascade is a specialization of rivals-into-router where the routing condition is “did the cheap path fail or fall short?” rather than a proactive signal. Rivals-into-router is the more general concept.
- shape — composition relationship — the shared output contract both branches satisfy. Without shape-alignment, the caller can’t be transparent to which branch ran.
- seam — composition relationship — the router is itself a seam: it’s the junction where two implementations meet and the place most likely to accumulate complexity over time.
Examples
Gemini Flash vs. Pro · computer-science
Gemini Flash vs. Pro · computer-science
Diplomatic history of back-channel negotiation; Kennedy–Khrushchev correspondence and the Robert Kennedy–Anatoly Dobrynin back-channel during the Cuban Missile Crisis (October 1962); academic framing as "two-track diplomacy" coined by Joseph Montville in the 1980s · political-science
Diplomatic history of back-channel negotiation; Kennedy–Khrushchev correspondence and the Robert Kennedy–Anatoly Dobrynin back-channel during the Cuban Missile Crisis (October 1962); academic framing as "two-track diplomacy" coined by Joseph Montville in the 1980s · political-science
Selinger et al. (1979), *Access Path Selection in a Relational Database Management System* (System R) — the foundational paper on cost-based query optimization; subsequent lineage in PostgreSQL, Oracle, and SQL Server query planners · computer-science
Selinger et al. (1979), *Access Path Selection in a Relational Database Management System* (System R) — the foundational paper on cost-based query optimization; subsequent lineage in PostgreSQL, Oracle, and SQL Server query planners · computer-science
Embedding vs. keyword search · computer-science
Embedding vs. keyword search · computer-science
HotSpot JVM tiered compilation; V8 JavaScript engine's Ignition interpreter + TurboFan optimizing compiler; PyPy's tracing JIT · computer-science
HotSpot JVM tiered compilation; V8 JavaScript engine's Ignition interpreter + TurboFan optimizing compiler; PyPy's tracing JIT · computer-science
Shazeer et al. (2017), *Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer*; lineage from Jacobs, Jordan, Nowlan, & Hinton (1991), *Adaptive Mixtures of Local Experts* · computer-science
Shazeer et al. (2017), *Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer*; lineage from Jacobs, Jordan, Nowlan, & Hinton (1991), *Adaptive Mixtures of Local Experts* · computer-science