Skip to content

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

Closed

Description

@erickb336

Found in the model research (T208, run R720). Size: small. Medium.

1. The built-in default brings Fable back (medium)

The Claude wrapper of the state tool (packages/sage-claude/skills/sage/sage.mjs, the modelDefaults line) sets the reviews and QA of tiny and small tasks to fable when no key is set. The config row in the sage skill says that a bad model value falls back to the default. So a lost config file or a mistyped key sends those runs back to Fable, which the owner rejected on 2026-10-06 because it used the weekly pool faster. The owner's current choice (2026-10-10, "Balanced") is in the sage config file: security review opus; UX review sonnet; QA of tiny and small tasks sonnet; code review and implementer of tiny tasks sonnet; everything else opus.

  • Make the built-in defaults match the owner's Balanced choice, so a lost config file gives the same models.
  • Update the config row of the sage skill and the README's model sentence (gate G17 is replaced by the owner's 2026-10-10 choice).

2. A model per risk flag (low)

The config keys are role and size only, so "the implementer of risk-flagged work stays on Opus" cannot be set (132 of 193 implementer runs were on risk-flagged tasks). Add an optional key form model..risk= that wins over the size key when the task has a risk flag. Not needed for the current choice; it unlocks a cheaper option later.

Acceptance

  • With no config file, run add prints the Balanced models for each role and size; tests cover it.
  • model..risk is accepted, printed by config, and used by run add for a risk-flagged task; tests cover it.
  • npm run build, npm run check and npm test pass with fake ps, pgrep and kill first on PATH.

Activity

  1. added
    codex
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codex

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions