feat(relearn): one-challenge subnet v0 eval loop - #198
Draft
echobt wants to merge 7 commits into
Draft
Conversation
Retire Design and Prism as live products. Wire Relearn HTTP submit, displacement scoring, digest-freeze holdout, and operator promote. Keep Lium/receipt/paired-test rails. Pin CortexLM/relearn (seed in-tree until org write can create the public repo). Co-authored-by: Mathis <echobt@users.noreply.github.com>
Workspace clippy -D warnings failed on Relearn arena mapping. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Keep miners-pay-Lium as the trust line. Leave holdout-after-freeze in the eval loop internals, not README/miner Trust rows. Co-authored-by: Mathis <echobt@users.noreply.github.com>
README is what Cortex is plus two links. Validators get a one-screen role; Relearn miners get submit, Lium, promote-wait, and a pointer. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Both audience pages live under docs/external-miner/. README still has two links only. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Teacher URL, model, and key come from RELEARN_TEACHER_* only. Missing URL or key skips to sim. No baked host. Miners pay Lium. Co-authored-by: Mathis <echobt@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/relearn-subnet-v0-fbf6
branch
from
August 29, 2026 14:45
de8166a to
e59eea7
Compare
|
Teacher HTTP is env-only ( |
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.
Summary
Cortex becomes a one-challenge subnet: Relearn. Design and Prism are retired as products (compose, emission, site arenas, miner docs, CI image matrix). Shared rails stay:
prism-lium*, paired tests, receipts, emit/carry.This is a separate workstream from the
.rules/docs PR. Frozen specs (BUNDLE_SPEC.md,DESIGN_CHALLENGE.md) are untouched. Design/Prism crates remain as unused libraries so we do not fight that PR with a giant delete.Teacher
HTTP API. Operator sets
RELEARN_TEACHER_API_URL,RELEARN_TEACHER_MODEL, andRELEARN_TEACHER_API_KEYon the host. No URL is baked in git. Missing URL or key → sim. Env example uses empty placeholders.Teacher + Lium smokes skip when the matching env is absent. Miners pay Lium (
LIUM_API_KEY/X-Lium-Api-Key).Docs (miner vs validator)
README is a short product blurb plus two links only:
docs/external-miner/relearn.md— submit HTTP, pay Lium, wait for operator promote. Long guide + eval image:CortexLM/relearn.docs/external-miner/validators.md— pullGET /v1/weights/latest, verify the sealed bundle,set_weights. They do not run evals, rent Lium, or promote.This agent cannot push
CortexLM/relearn(GitHub App is cortex-only). Seed copy updated underdocs/external-miner/relearn-seed/.Relearn v0 eval loop
POST /v1/submissions{miner_hotkey, artifact_digest, artifact_uri?}+ optionalX-Lium-Api-Key.sha256(hotkey || artifact || nonce), then unseal holdout.awaiting_admin.POST /v1/admin/promote(operator bearer) only when eligible.NoScore.Port 8095. Trust root emission: relearn = 10000 bps.
Test plan
cargo fmt --all -- --checkcargo clippyon relearn crates-D warningscargo teston relearn crates (teacher/Lium smokes skipped without keys)xtaskexternal-docs-checkcargo deny check(CI)Risk
config/challenges.tomlis relearn-only at 10000 bps.prism-*/design-*crates (rails + avoid fighting the docs PR).Naming
I did not rename
BASE_*environment variables, deployed host paths, GHCR package names, or crypto domain tags.