Expand description
models.yaml index resolution + cached downloads (SPEC.md §1/§2,
interscript_ml/registry.py parity).
Conformance points implemented here:
- C1 — model ids resolve against a
models.yamlindex ofversion: 1, honoringSECRYST_INDEX. - C2 — the whole-artifact sha256 is verified before installation AND on every cache hit; a mismatch fails loudly.
- §2 — resolution order: verified cache hit -> download (single URL or parts in index order, each part verified as it lands) -> whole-artifact verify -> atomic rename into place.
renames:— WO87 target-accurate rename aliases (old id -> new id); old ids stay resolvable.
Structs§
Functions§
- cache_
dir SECRYST_CACHEor~/.cache/secryst(the shared cache layout).- load_
index - Load a
models.yamlindex from an http(s) URL or a local path. - resolve
- §2: return a verified local zip path for
model_id, downloading into the cache when needed. Never returns an unverified file.