* test(#3705): failing-first coverage for model_policy in the install-time bake * fix(#3705): consult model_policy in the install-time bake so frontmatter matches dispatch * fix(#3705): inject the effective runtime into the policy so runtime_tiers is reached * test(#3705): use assert.doesNotMatch, the assertion that exists * chore(#3705): backfill changeset PR number --------- Co-authored-by: sim <sim@local>
655 B
655 B
type, pr
| type | pr |
|---|---|
| Fixed | 3863 |
Agent frontmatter no longer reverts to catalog Anthropic models when model_policy is configured — the install-time bake for the static-frontmatter runtimes (OpenCode, Kilo) read model_profile and model_profile_overrides but never model_policy, so every update rewrote agent model: fields to anthropic/claude-* IDs that a custom provider does not serve, while dispatch-time resolution honored the policy correctly. The bake now consults the same policy resolver dispatch uses, at the same precedence: an explicit per-agent model_overrides entry still wins, then model_policy, then the tier table. (#3705)