Skip to content

Results

Preview: needs Artifact Keeper main (coming in 1.12.0)

The Hugging Face format is in released Artifact Keeper, but this walkthrough needs two fixes that are on main and not in a release yet: the HTTP Range fix that lets interrupted downloads resume (#5145), and snapshot_download from a hosted (Local) repository (#5280, fixed by #5300, main at 6c701cd4). Both will ship in the next release, 1.12.0. The reference run used a backend built from the #5300 branch (709e3f15), the same code as main at 6c701cd4 for this format. On a release without them, gate G5 reports the hosted snapshot_download check BLOCKED(ak-fix). Details may still change before 1.12.0.

The reference run was on grace (Ubuntu 26.04, 40 cores, rootless podman 5.7) on 2026-11-05 (UTC), from an empty registry: make clean, make all (9 min 10 s, of which the workstation image is about 4 min: CPU torch and the Hugging Face stack through the registry), make gates twice (4 min each; the second after a fix to how G5 compares file lists), make screens. Backend localhost/ak-backend:hf-709e3f15, built from artifact-keeper#5300 (main at 46070a04 plus the hosted snapshot fix, since merged as 6c701cd4), web :dev, huggingface_hub 2.4.0, transformers 5.22.1, sentence-transformers 6.2.0, torch 2.15.0+cpu. The stack images were already in the image store. Three earlier full runs on 2026-11-04 with the :dev backend (main at 46070a04) found the problems recorded in the lab notes; the last of them ended at 75 PASS, 0 FAIL, 7 BLOCKED, the extra BLOCKED being G5's hosted snapshot_download.

The gates

76 PASS, 0 FAIL, 6 BLOCKED of 82 checks.

Gate Result Time
G1 Access 7 PASS 2 s
G2 Proxy 9 PASS, 2 BLOCKED(ak-fix) 26 s
G3 Gated 8 PASS 12 s
G4 Allowlist 8 PASS 1 s
G5 Hosted 11 PASS 23 s
G6 Hold 8 PASS, 1 BLOCKED(ak-gap) 2 s
G7 Offline 10 PASS, 3 BLOCKED(ak-fix) 169 s
G8 Fails safely 15 PASS 4 s

The full list is on Prove it fails safely.

Against the requirements

Requirement Result
R1 One private hub over TLS; reading needs an Artifact Keeper token; a Hugging Face token is refused Met (G1)
R2 The libraries work unchanged with HF_ENDPOINT; a second pull comes from the cache Met (G2), with one gap: snapshot_download silently leaves out files in subdirectories (F2)
R3 Gated models through a Hub token only the registry holds, for one group; client tokens never reach the Hub Met (G3) against the lab Hub; a real gated model is not machine-verified
R4 Only approved organizations are fetched; lookalikes refused before the Hub is contacted Met (G4)
R5 Internal models published and consumed with the same libraries; only a write token publishes Met (G5); snapshot_download needs #5300 (on main, 1.12.0); upload_folder is not supported (#5291)
R6 New files held until scanned or reviewed; unscanned refused; hold, release, reject Met (G6), but a scan does not inspect model files, so it releases a malicious pickle (F4)
R7 With no route out, a workstation gets every seeded model; unseeded ones are not served Met with HF_HUB_OFFLINE=1 on the workstation (G7); without it, loads stall on 502 retries (F3, #5282)
R8 Every refusal checked by a gate Met

Artifact Keeper issues found

Kind Summary
F1 bug Hosted snapshot_download fails: no id in model info, stored paths as rfilename, an unresolvable commit (#5280; fixed on main by #5300, verified here)
F2 bug The tree listing drops ?recursive=true, so snapshot_download misses files in subdirectories, silently (#5321)
F3 bug Offline, an uncached path is a 502 after an upstream attempt; clients retry, and loads stall (#5282)
F4 gap No model-file scanner; a clean scan releases a malicious pickle from the upload hold (#5285)
F5 bug A cold HEAD fetches the file upstream and caches nothing: every new file is pulled twice (#5322)
F6 bug Every Hugging Face path is mutable, and main and the commit are separate cache entries (#5283)
D1-D7 docs siblings claim, filter patterns, datasets, the web install hint (#5290), quarantine_enabled at creation (#5324), 404 for out-of-group users, freezing a warm cache

The web UI

Screenshots from the same stack after the run (Playwright, make screens). Nothing in the walkthrough depends on the UI.

The repository list: every Hugging Face repository of the walkthrough and the package proxies, with hf-local selected

hf-local, the hosted repository: acme/embedder's files at revision main, with their downloads

hf-staging: model files, a rejected pickle badged "Quarantined", and the gates' own uploads

hf-curated, the filtered Remote of the lab Hub: only acme-lab/tiny-st files are in its cache, stored under their resolve paths

The Packages page for Hugging Face: the install hint is huggingface-cli download without HF_ENDPOINT, the version shows as vmain, and downloads as 0