Repository navigation
Lane D: cascade lane-d pull-king downloads the king from the Hippius registry - #1054
Merged
Merged
Conversation
…ius registry Miners can now download the current lane D king (or a prior one with --digest) with the miner CLI. The command fetches the signed champions/lane_d/index.json from the public manifest store, verifies it against [manifest] validator_hotkey (publish.verify_index), pulls the king's Hub repo (publish.hub_repo) anonymously (HippiusApi token=False), requires manifest.json to hash to the signed digest and every file to match its sha256/size, and only then writes --out (the four entry files, manifest.json, PROVENANCE.json, MODEL_CARD.md). Refusals remove the staged download. Read-only, torch-free, loaded at call time. The stale `--king` help (HF mirror, "no command downloads") and the lane D docs now point at pull-king and the Hippius registry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
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.
Owner 2026-12-01: miners must be able to pull the current lane D king's model from the Hippius registry with the miner CLI.
What
cascade lane-d pull-king [--digest D] [--out DIR] [--index-url URL](cascade/miner/lane_d_pull_king.py, loaded at call time liketest/example-round, so W9 invariant 12 holds):champions/lane_d/index.json(defaulthttps://s3.hippius.com/cascade-manifests/champions/lane_d/index.json, from[storage]), with no credential.cascade.lane_d.publish.verify_indexagainst[manifest] validator_hotkey. That is the pinned main-validator key the king-publish job signs with (LANED_SIGNER_SS58), so there is no new trust root. A bad signature is refused before any Hub call.--digest. A takedown entry is refused.manifest.jsonfrom the king's Hub repopublish.hub_repo(hub_namespace, context, hotkey)withHippiusApi(token=False). That is the anonymous sentinel, so no env token or docker credential is read. The manifest must hash to the signed digest (intake.manifest_digest) and list exactly the four lane D files.--outonly once every check has passed. Any refusal removes it.config.json,weights.safetensors,model.py,forecast_wrapper.py,manifest.json, plusPROVENANCE.json/MODEL_CARD.md. The two cards are rendered from the signed entry by the samepublish.provenance/model_cardfunctions that writechampions/lane_d/<digest>/. It then prints thecascade lane-d test YOUR_CKPT --king DIR --king-context N ...line to run next.When there is no index yet (HTTP 403/404; the public bucket answers 403 for absent keys, which is what the live URL returns today) or the index lists no king, the command returns
no_king. The message names the house andexample-round. If the Hub refuses an anonymous pull, the error ishub_auth_required, and it says the repos are meant to be public and that the operator should be told.Read-only: no torch, no GPU, nothing signed or uploaded.
Docs
The
--kinghelp no longer points at the HF mirror or says "no command downloads either". docs/MINER_LANE_D.md, docs/LANE_D.md, AGENTS.md and llms.txt now point at pull-king and the Hippius registry. There are no HF mentions for kings.Tests (torch-free; fake index via file://, fake Hub)
tests/accept/w10/test_w10_pull_king.pycovers:--digestpicks a prior king; an unknown digest is refusedno_kingtoken=False; no torch importAll 10 fail on base by assertion. test_w10_cli/rules gained
pull-kingin their command sets. Also green: w10 cli/rules/test_preview/example, test_docs_consistency, wb20 docs, test_incident_rules, w9 independence,scripts/check_docs.py(0 issues), ruff.Not exercised: a real king pull (no king is published yet). Anonymous Hub pulls of public cascade repos are already used in production (
_resolve_hub_token_for_pull; OPSLOG 2026-11-26 "anonymous Hub pull" of the king on a pod).🤖 Generated with Claude Code
https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe