Skip to content

Use Balanced defaults and optional risk model settings (T50) - #212

Merged
erickb336 merged 2 commits into
mainfrom
codex/t50-balanced-models
Oct 14, 2026
Merged

erickb336 merged 2 commits into
mainfrom
codex/t50-balanced-models

Conversation

@erickb336

@erickb336 erickb336 commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Closes #98
Sage task T50

Claude uses the owner's Balanced model choices when configuration is missing or invalid. Small and tiny review defaults no longer silently select Fable. Explicit Fable settings remain valid. Codex keeps inherited-model behavior.

The eight existing configurable roles get these defaults: security review uses Opus; UX review uses Sonnet; tiny/small QA uses Sonnet; tiny code review and implementation use Sonnet; all other configured role/size combinations use Opus. Lead model configuration is unchanged.

Shared core accepts model..risk overrides and chooses risk, then size, then role. An inherit value falls through to the next level. Arena candidate settings retain their priority. Claude model names remain in the provider package, and existing four-argument callers and public exports stay compatible.

Final head: 511cd2c32f599e8dc3ce22d5af736f2a9a2efbc8, based on main 598a2a9.

Validation:

  • npm run build: 286 files; generated provider copies committed.
  • npm run check: all checks pass.
  • Focused checks before the main merge: tests 6, pass 6, fail 0. The merge preserves the topic behavior and incorporates Use shared output-writer checks in the active hook (T49) #211's separate writer test.
  • Both new tests copied unchanged to detached main 748b267 fail behaviorally: missing Balanced defaults and rejected model.qa.risk configuration. Each matrix stops at its first failure; this does not prove every row failed independently.
  • Tests cover all eight configurable roles and four sizes, absent and invalid configuration, risk precedence, inherit, arena priority, persisted run models, and unchanged Codex inheritance.
  • The pre-review caught one existing assertion that expected the previous Fable default. Its failure was reproduced, then only the expected model changed to Sonnet. Other Fable checks retain explicit-setting and provider-isolation coverage.
  • Two clean code/security/QA review cycles on the unchanged final head.
  • npm test -- --test-concurrency=1: tests 1187, pass 1187, fail 0, cancelled 0, skipped 0.
  • Exact-head CI run 38502301120: tests 1187, pass 1187, fail 0.

Fake process tools are first on PATH for every repository test. No real model was invoked and no token cost or model-quality claim was verified. Claude #140's active lead assertions and merge-check instructions remain untouched.

@erickb336
erickb336 marked this pull request as ready for review October 14, 2026 02:50
@erickb336
erickb336 merged commit ae0e261 into main Oct 14, 2026
1 check passed
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.

State tool: built-in model defaults match the owner's Balanced choice (no silent Fable), and an optional model per risk flag

1 participant