mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
CLAUDE_FLOW_ROUTER_CENTROID=1 routes hooks_route tasks to the nearest MiniLM centroid of the ADR-391 corpus dev split. Held-out test: 63.7% vs 25.7% for the current default, falling back on 1.8% of prompts. Off by default: p95 latency fails the ADR-391 gate. - Centroids are versioned with the embedder (embedder, model, dim); a query embedded any other way is refused and the current router decides. - Near-ties (top-two margin < 0.005) keep the current router's pick. - Every flagged response carries centroid.baselineAgent for pilot comparison. - The local embedder now records which model produced a vector (modelId). - ruv-fann routing deferred: training never beat the centroid on dev CV. Co-Authored-By: RuFlo <ruv@ruv.net>