Repository navigation
Use Balanced defaults and optional risk model settings (T50) - #212
Merged
Merged
Conversation
erickb336
marked this pull request as ready for review
October 14, 2026 02:50
This was referenced Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 main598a2a9.Validation:
npm run build: 286 files; generated provider copies committed.npm run check: all checks pass.748b267fail 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.npm test -- --test-concurrency=1: tests 1187, pass 1187, fail 0, cancelled 0, skipped 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.