You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Config: --subagent-model has no settings.yaml home — add a models.subagent: key #288
--subagent-model (the global default model for every Subagent / Parallel-branch / team-member child that does not pin its own model; precedence per-call/def model > SubagentModel > session model) exists only as a CLI flag, on both mecated and mecatui. The operator models: subtree in settings.yaml (permconfig.ModelsSection) has slots, aliases, default, default_provider, allowlist, and router — but no home for the child-default model.
Why it matters
The child-default model is a deployment-wide, operator-tier model policy exactly like models.default and the router taxonomy — and it's the practical lever for "orchestrate on model X, delegate work on model Y" (e.g. default: kimi-k3, subagent default coder). Today that intent requires remembering a flag on every launch of every binary, while the rest of the model policy lives durably in settings.yaml. This is the same "configured-in-one-place" gap ADR 0042 closed for the router enable.
Ask
Add subagent: (selector: alias or concrete id) to ModelsSection, folded like models.default (foldOperatorModelDefault sibling), CLI flag winning when set (the existing cliModelKeys discipline).
Operator-tier only, same as the rest of the subtree (project-tier ignored with a WARN), alias-resolved through the same normalizeSubagentModel fail-fast validation the flag uses today.
Docs: docs/usage.mdmodels: block.
Related: ADR 0030 (slots/aliases spine), ADR 0042 (configure-=-enable precedent); #285/#286 (the routing gaps this default is the operator-side mitigation for).
Activity
Merge pull request #289 from stacklok/model-router-gaps-285-288