feat(migration): haloai → hal0 model migration script#22
Merged
Conversation
PLAN §11 step 2. Reads a curated 14-entry allow-list of model dirs from the shared HF cache (default /mnt/ai-models/huggingface/hub) and writes a hal0 registry.toml describing the resolved entries. Models stay on NFS — only the registry file is emitted. Scope is intentionally narrow per session decision: models only. Slots, providers, upstreams, and OpenWebUI state all start fresh — operator runs FirstRun wizard post-install to bind models to slots. Allow-list covers the daily-driver chat/coder models on haloai: Qwen3-Coder-Next (GGUF + AMD MXFP4), Qwen3.6-27B/35B-A3B, Qwen3.6-27B-Heretic-NEO-CODE, Qwen3-Coder-REAP-25B, Qwen3-Zero- Coder-Reasoning-0.8B-NEO, Qwen3-Next-80B-Thinking, Qwen3.5 family (0.8B/4B/9B/35B-A3B), kappa-20b (MXFP4 + i1 GGUF). Llama 4 / Llama 4 Scout / Nemotron 115B requested but not on disk — documented as post-cutover `hal0 model pull` in docs/migration.md. 19 hermetic pytest tests, no real /mnt/ai-models touched. Every emitted entry re-validates via the hal0.registry.Model pydantic schema. Closes task #27. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #27. 14-entry curated allow-list, 19 tests pass, docs/migration.md covers full 5-phase cutover.