Repository navigation
feat(lane D): king weights on the Hippius Hub only ([lane_d_ops] king_mirrors) - #1051
Merged
Merged
Conversation
…_mirrors) Owner 2026-12-01: lane D king weights are published to the Hippius Hub only, not to Cloudflare R2 or the HF mirror. The mirror set is now config: [lane_d_ops] king_mirrors (default ["hub"], a non-empty subset of hub / r2 / hf), and every path uses it: publish_king and its read-back, check_one_digest / the king-check job (new --chain-toml), takedown, the cards (PROVENANCE hf_repo only with hf; MODEL_CARD names the set), the live clients (open_live_mirrors builds only the named clients) and laned_king_sync. With the default nothing touches R2 or HF and no check reports r2/hf missing. The signed index entry format is unchanged (it names no mirror). The knob lives in [lane_d_ops] (non-consensus, never an overlay, never read by satellites), not [lane_d], whose fields are overlay-settable and travel in the eval host's judge request. W13 tests that exercise three mirrors configure them explicitly; new tests cover the hub-only default (fail on base by assertion). 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: lane D king weights are published only to the Hippius Hub, not to Cloudflare R2 or the HF mirror
tensorlink-dev/cascade-lane-d-kings.Change
[lane_d_ops] king_mirrors(default["hub"]; non-empty unique subset ofhub/r2/hf, held in that order). Parsed byparse_lane_d_ops, read vialane_d_ops_config(cfg). A round-trip test throughload_chain_configis included.publish_king+ read-back,check_one_digest,takedown(configured hub/hf ∩ set; an R2 copy still stays),sync_cards/provenance(hf_repoonly whenhfis in the set) /model_card(names only the set),open_live_mirrors(builds only the named clients, so no R2 bucket or HF token is resolved), and the ops jobs:king-publish,takedown, andking-check(new optional--chain-toml; without it the default, Hub only).scripts/laned_king_sync.pypasses the configured set tosync_cards.r2_*/hf_*.champions/lane_d/index.jsonentry names no mirror (KING_FIELDS), so the schemalane-d-index/1and its signature body don't change.Why
[lane_d_ops]and not[lane_d][lane_d]is consensus surface. Every key exceptremaindercan be set by an overlay, andlane_d_config_recordsends everyLaneDConfigfield in the eval host's judge request. An older eval host refuses a record that names other fields.[lane_d_ops]is the non-consensus operator table: never an overlay, never read by satellites, and not part of any digest or receipt. Caveat: an olderparse_lane_d_opsrefuses unknown keys. Do not putking_mirrorsin a deployed chain.toml until every[lane_d_ops]reader runs this code. The default needs no edit.Readers of the index and mirrors (consensus / satellites)
I checked
origin/validator-release-laned-live(890fe6d),origin/validator-release-laned-1201and main. No validator, satellite or audit path readschampions/lane_d/index.jsonorlane-d-kings/. The readers are all operator tooling:ops_jobsking-checklaned_king_sync.pypublished_sources mirror-index/published_weights: the intake dedup registry. It reads the index plus<mirror-url>/lane-d-kings/<digest>/manifest.jsonfrom any base URL you give it, so it doesn't need R2/HF. With the Hub only, though, there is no flat base URL, because the Hub keeps one repo per king. Follow-up: feed--mirror-dirfrom the Hub or vault if the dedup registry should cover lane D kings.The index itself still goes to the manifest store (Hippius S3 with the existing R2 dual-write). That is the small signed document, not the weights.
Tests
tests/accept/w13/test_w13_king_mirrors.py(8 tests) andtest_hub_only_jobs_publish_check_and_take_down_on_the_hub_alone. All torch-free, and all fail on main by assertion: R2/HF clients areUntouchable, so any call on them fails the test.every_mirror, which feature-detects the keyword. They still pass unchanged on main.test_incident_rules89 passed. Ruff clean.accept W13 --check-pr:MODE combined, PATHS ride along, nothing weakened.Nothing was published, taken down, deployed or merged.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe