fix: align defaultRoutingConfig capability_routing to true

The feature branch intends capability_routing to default to true when
routing is enabled. Conflict resolution incorrectly kept the false
default from the earlier commit.
This commit is contained in:
Jeremy 2026-04-04 11:04:27 -05:00
parent 946eec3bd1
commit e3288e8dad
2 changed files with 3 additions and 3 deletions

View file

@ -451,7 +451,7 @@ export function escalateTier(currentTier: ComplexityTier): ComplexityTier | null
export function defaultRoutingConfig(): DynamicRoutingConfig {
return {
enabled: true,
capability_routing: false,
capability_routing: true,
escalate_on_failure: true,
budget_pressure: true,
cross_provider: true,

View file

@ -213,9 +213,9 @@ test("#2192: known model is still downgraded normally", () => {
// ─── Capability Scoring (ADR-004 Phase 2) ───────────────────────────────────
test("defaultRoutingConfig includes capability_routing: false", () => {
test("defaultRoutingConfig includes capability_routing: true", () => {
const config = defaultRoutingConfig();
assert.equal(config.capability_routing, false);
assert.equal(config.capability_routing, true);
});
test("scoreModel computes weighted average of capability × requirement", () => {