Skip to content

Routing: Fable medium and above only for the most complex stages - #9

Merged
bryanwieg merged 10 commits into
mainfrom
routing-fable-limits
Nov 24, 2026
Merged

bryanwieg merged 10 commits into
mainfrom
routing-fable-limits

Conversation

@bryanwieg

Copy link
Copy Markdown
Owner

route sent Fable to most implementation stages. Across 38 scored stages (main's plans and eval tasks, plus the 9 in implement-structured from #8), it picked Fable high for 15 (39%) and Fable low for 10 more. The target is Fable at medium thinking or above for roughly the top 10% most complex stages.

Changes

  • Tier rule: top comes only from a total score of 9 or more. The override "J, C or K = 2 means top" is gone; 10 of the 15 top stages reached it only through K = 2, at totals of 5 to 7. A measure at 2 still raises middle to middle+. This is plan-check.py's tier, so new plans record the same tiers route uses.
  • Premium step-up below top: when the standard pairs run out before a middle+ or risk step, the premium pair above is taken only while its score per unit of benchmark run cost is no more than 5% below the standard pick's (PREMIUM_RATIO_MARGIN). Fable has its own quota, and builds fall back to Opus once it is used up. A --up retry after a failed build still steps up.

Result on the 38 stages

Pick Before After
Fable high 15 2 (5%), both totalling 9
Fable low 10 23 (the middle+ and risk steps; today Fable 5.2 low is 1.3% behind Opus 5.5 high on score per cost)
Opus high 5 5
Haiku xhigh 8 8

Plan and tests

  • Quick plan in docs/plans/fable-limits/. Phase review: 1 blocking finding (the phase file was out of date after the margin was added) and 7 should-fix; all fixed. One of them: the new gate could hold a --down retry whose step up was a standard pair.
  • New test_route_fable_limits covers the tier rule, the margin on both sides, the risk step, --up and --down; 112 tests pass.
  • Includes the same CI workflow commit as implement-in-phases: revision JSON, build-check.py gate and closed review types #8, so this PR runs the tests too. The file is identical, so whichever PR merges second picks it up without a conflict.

🤖 Generated with Claude Code

bryanwieg and others added 10 commits November 24, 2026 00:51
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stage: 01.1
Plan: docs/plans/fable-limits/01-fable-limits.md
Tier: middle
Tool: claude-code
Model: orchestrator
Effort: default
Attempt: 1
Tokens: unknown
Cost: unknown
Tool-Calls: unknown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stage: 01.2
Plan: docs/plans/fable-limits/01-fable-limits.md
Tier: middle
Tool: claude-code
Model: orchestrator
Effort: default
Attempt: 1
Tokens: unknown
Cost: unknown
Tool-Calls: unknown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes-Stage: 01.1
Tool: claude-code
Model: orchestrator
Effort: default
Tokens: unknown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes-Stage: 01.2
Tool: claude-code
Model: orchestrator
Effort: default
Tokens: unknown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes-Stage: 01.1
Tool: claude-code
Model: orchestrator
Effort: default
Tokens: unknown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n, risk and --down tests

Fixes-Stage: 01.1
Tool: claude-code
Model: orchestrator
Effort: default
Tokens: unknown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ence

Fixes-Stage: 01.2
Tool: claude-code
Model: orchestrator
Effort: default
Tokens: unknown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase: docs/plans/fable-limits/01-fable-limits.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bryanwieg
bryanwieg merged commit 846c6a0 into main Nov 24, 2026
1 check passed
@bryanwieg
bryanwieg deleted the routing-fable-limits branch November 24, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant