docs(miner): Proof + Bounty A→Z at 2000/8000 - #219
Conversation
|
Review (Développeur) — Docs-only LGTM for miner A→Z: gateway Nit / ship gate: docs + Empty digest / no open topic → 503 remains honest. |
Miner guides now document live emission (bounty 2000 / proof 8000), required claim + declared_flops on Proof submit, dynamic wta/discovery topics, RLM verdicts, and fail-closed empty digest. ctx help and submit flags match that POST contract. Co-authored-by: Mathis <echobt@users.noreply.github.com>
fcf341c to
901cafa
Compare
Greptile SummaryThe Proof operator guide adds a topic-publication URL that the public gateway rejects. Update the guide to direct operators to the authenticated master-local endpoint before merging. Confidence Score: 4/5Not safe to merge until the topic-publication instruction uses an endpoint operators can reach. The documented topic-publication request was exercised against the enforced gateway and service route contracts: the gateway rejects it, while the master-local endpoint accepts a valid authenticated request. Files Needing Attention: docs/external-miner/proof.md
What T-Rex did
|
| ``` | ||
|
|
||
| Topics are **operator-published** and can be **injected at any time** (operator | ||
| `POST /challenge/proof/v1/admin/proof/topics`). There is no catalog in git. |
There was a problem hiding this comment.
This instruction sends operators to POST /challenge/proof/v1/admin/proof/topics, but the gateway rejects proxied admin paths with 403 Forbidden. As a result, an operator following the new guide cannot publish a topic. Use the authenticated master-local POST /v1/admin/proof/topics endpoint instead, and state that it is unavailable through the public gateway.
Knowledge Base Used: Gateway and public API services
Artifacts
- The authored shell script captures the parent/current documentation and route source, then performs the no-credential gateway request and focused in-process tests; it is the executed source for the verification.
- Executed capture against `HEAD^` shows the prior documentation did not include the new gateway admin instruction, while the gateway was already coded to reject admin proxy paths and the proof service exposed the master-local route.
- Executed capture against `HEAD` shows line 81 instructs the gateway admin URL, while gateway route tests and proof service endpoint tests pass; the takeaway is that the added documentation contradicts the enforced route contract.
Summary
Miner-facing Proof + Bounty docs (and
ctxhelp/submit flags) so a miner can go from zero → submit → see status without placeholders.Live emission documented as bounty 2000 bps / proof 8000 bps (20/80). Not 7000/3000, and not a 5000/5000 retune waiting on a digest.
Docs-only of the pin/image/ceremony path: this PR does not touch
config/proof-pin.toml, proof-eval image/CI, topic-publish/harvest code, or emission ceremony keys. Those stay with Développeur.Gaps closed
declared_flopsvstopic_idminer_hotkey,topic_id,artifact_digest,claim,declared_flops,architecture,manifest);artifact_urioptionalctx proof topicspayout_mode=wta|discovery; Englishvalidation{score_on, accept_if, reject_if}; discovery ≈30% pass floor + ≈70% noveltyclean|suspicious|reject) and cheat codesconfig/proof-pin.toml; a topic may tighten onlyeval_image_digest→ honest 503 (pre-launch)ctx proof submitnow requires--claimand--declared-flops; help text is 2000/8000https://network.cortex.foundation)What still blocks Proof
can_score=trueThese are not this PR. Submits stay 503 until they land:
eval_image_digestinconfig/proof-pin.toml(awaiting first greenghcr.io/cortexlm/proof-eval@sha256:…— do not invent a digest)proxy_model(submit would 400proxy not bakedeven after a digest)script_sha256+metrics_commitment)live_harvest_wired: false)Doc paths miners should read
docs/external-miner/README.md— installctx, live ids, 20/80docs/external-miner/proof.md— Proof A→Zdocs/external-miner/bounty.md— Bounty A→Zdocs/external-miner/troubleshoot.md— 400 vs 503Gateway:
https://network.cortex.foundation. CLI:ctx.Greptile
Every PR is reviewed by Greptile before merge. Config:
.greptile/.@greptileai reviewTest plan
cargo test -p ctxcargo test -p xtask external_docscargo run -p xtask -- external-docs-checkcargo clippy -p ctx --all-targets -- -D warningscargo test --workspacenot run (docs + miner CLI only)Risk
Miner-facing docs and
ctxcatalog/help/submit flags only. No trust-root, pin digest, image, or ceremony change.ctx challengesnow prints 2000/8000; that is the documented live split, independent of the ceremony file Développeur owns.Naming
I did not rename
BASE_*environment variables, deployed host paths(
/opt/base,/run/base, …), GHCRbaseintelligence/basepackage names, orbase-*-v1cryptographic domain tags.