feat: establish unified administration and model context baseline

This commit is contained in:
Codex
2026-09-12 18:03:15 +02:00
parent 840344706f
commit f52bf22e05
74 changed files with 2334 additions and 523 deletions
@@ -125,6 +125,9 @@ func Load(path string) (Installation, error) {
if err := ensureOnlyOneDocument(decoder); err != nil {
return Installation{}, err
}
if err := raw.ModelCatalog.NormalizeDefaults(); err != nil {
return Installation{}, err
}
if raw.SchemaVersion != 2 {
return Installation{}, errors.New("migration_required: installation schemaVersion must be 2")