Context
During the ClawRouter integration (PR #2), GitSniff identified a config inconsistency between the Zod schema defaults and DEFAULT_CONFIG.
Problem
src/config.ts β The DEFAULT_CONFIG for routing.tiers defines simple, mid, and complex but omits reasoning. The SlimClawConfigSchema (Zod) correctly includes all 4 tiers with defaults.
This means if a user provides a partial routing config without tiers, the merged config will be missing reasoning, causing routing for reasoning-tier tasks to silently fail or fall through.
Expected Behavior
DEFAULT_CONFIG.routing.tiers should include all 4 tiers, matching the Zod schema:
tiers: {
simple: "anthropic/claude-3-haiku-20240307",
mid: "anthropic/claude-sonnet-4-20250514",
complex: "anthropic/claude-opus-4-20250514",
reasoning: "anthropic/claude-opus-4-20250514", // β missing
}
Files to Change
src/config.ts β add reasoning tier to DEFAULT_CONFIG
How to Verify
npm test -- --grep "config"
Ensure the default config includes all 4 tiers when no user config is provided.
Background
SlimClaw uses a 4-tier complexity classification system: simple, mid, complex, reasoning. The HybridRouter routes requests to different models based on tier. Without reasoning in defaults, those requests get no tier model match β routing skipped.
Ref: PR #2 GitSniff review round 4
Context
During the ClawRouter integration (PR #2), GitSniff identified a config inconsistency between the Zod schema defaults and
DEFAULT_CONFIG.Problem
src/config.tsβ TheDEFAULT_CONFIGforrouting.tiersdefinessimple,mid, andcomplexbut omitsreasoning. TheSlimClawConfigSchema(Zod) correctly includes all 4 tiers with defaults.This means if a user provides a partial routing config without
tiers, the merged config will be missingreasoning, causing routing for reasoning-tier tasks to silently fail or fall through.Expected Behavior
DEFAULT_CONFIG.routing.tiersshould include all 4 tiers, matching the Zod schema:Files to Change
src/config.tsβ addreasoningtier toDEFAULT_CONFIGHow to Verify
Ensure the default config includes all 4 tiers when no user config is provided.
Background
SlimClaw uses a 4-tier complexity classification system:
simple,mid,complex,reasoning. TheHybridRouterroutes requests to different models based on tier. Withoutreasoningin defaults, those requests get no tier model match β routing skipped.Ref: PR #2 GitSniff review round 4