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
guard(models): the model-name guards skip .j2/.env.example/YAML and accept agreeing copies — 63 files carry the embedding default and the failsafe conflict passes #19737
config/model_drift.py only warns, and 0 drift lines were found in the audited host's logs.
Fix
The hardcoded-value rules scan the env templates (.j2), .env.example and the YAML configs for model ids, and every role's model id must resolve to the SSOT symbol.
The reconciliation test asserts derivation (the template or config references the SSOT key or variable), and it checks per role.
Burn down the 40 grandfathered findings in this issue, not as a separate baseline.
Acceptance criteria
Planting a literal model id in a .j2 or .env.example fails the guard. A known-answer test pins this.
The reconciliation test fails on an agreeing literal copy. A test pins this.
Gap from #20385, to close here: resolve_backend_models.py cannot check a model tier left unset in the backend env, apart from the embedding model, because its default exists only inline in backend.env.j2. So an unset tier's default is not checked against the server. Once each role's model resolves to one home, the script should read those defaults from it.
Activity
mrveiss commentedon Nov 1, 2026
Gap from #20385, to close here:
resolve_backend_models.pycannot check a model tier left unset in the backend env, apart from the embedding model, because its default exists only inline inbackend.env.j2. So an unset tier's default is not checked against the server. Once each role's model resolves to one home, the script should read those defaults from it.