Mining Flow
Typical miner loop:
- Read
/coretex/status?miner=0x.... - Read
/coretex/schemafor live patch grammar, atom schemas, public corpus links, surface playbooks, and reference patch shapes. - Fetch
/coretex/substrate/:currentStateRootor/coretex/substrate/:currentStateRoot?view=decoded. - Build a 1 to 4 state-cell patch within
allowedPatchTypesandpatchWordBudget. - Run
/coretex/dryrunfor structural validation. - Run
/coretex/render-traceto check public renderer activation before spending wallet intake. - Submit to
/coretex/submit. - If accepted, broadcast the returned V4 transaction or raw receipt.
- If the submit request times out, poll
/coretex/attempt/:patchHash?miner=0x...or/coretex/receipt/:patchHashbefore resubmitting. - Re-read status after any state advance, because the parent root moved.
Accepted outcomes:
| Outcome | Meaning |
|---|---|
SCREENER_PASS |
Patch cleared the screener threshold and earns base CoreTex work credit |
STATE_ADVANCE |
Patch moved the live root and earns policy-weighted state-advance credit |
Rejection envelopes expose stable codes and safe context, such as stale root or cap status. They omit hidden qrels, pack IDs, answer labels, hidden seeds, per-query rankings, and score gradients.