mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-06 16:29:04 +00:00
grid.py - trust: a published tag needs none (also when staged under <grid_dir>/feeds/<label> on a box without DNS); a test feed is trusted through --trust, else through the test-trust.json in its folder. The old rule dropped --trust whenever the path contained /feeds/v, so a test feed in feeds/v0.2.25-rc1 failed with "update feed is not trusted" (the workaround was a symlink under another name). cell_runner.py picks the folder's test-trust.json by itself and fails early when the trust file is missing. - new stage-feed: copies a test-signed release folder (the box's feed_variants) to <grid_dir>/feeds/<label>/ and writes the public test key there as test-trust.json, which install.sh in test mode needs. run checks on the box that a test feed folder has install.sh, strata-feed.json and its trust file before any job is queued. - new prep, and push() for run / fetch: makes the grid folders and the jobq lock folder, which is missing on a fresh rented box (/root/strata-locks for root, $HOME/strata-locks for another user, cells.json lock_dir overrides). - run and fetch refuse a models.lock.json that disagrees with the product tables (--allow-stale-lock). fetch_models.py - refresh [--write] [--force] [--no-upstream] and check: rebuild the pins from the product tables (the Qwen tables, inkling_family.py with ALT_GGUF_FILES and the DFlash 2 drafter, hy4), say what changed, HEAD every pinned URL on the model hosts and compare size and LFS sha256; the file is written only when upstream agrees. Pins the product accepts in a second form are kept as "accepts" and verify passes them. - the drafter pin paired size_of() (551,600,700, our pre-quantized copy) with sha256_of() (the original's hash); it is the first pin of the original now, the pre-quantized copy has its own key ink/DFlash2-mix. - models.lock.json regenerated (it was stale since 11-23): 23 keys, 33 URLs checked upstream, 0 differences. New: ink/GSQ-RCO-IQ3_S, SQv2-20, Vision-v2, the new UD-Q4_K_XL (17,629,760,736 bytes), the drafter at 989,975,616 bytes, commit-pinned URLs. docs/RELEASE_GRID.md: release candidates section, lock folder, refresh. Tests in test_release_grid.py (50 tests).