@@ -85,6 +85,21 @@ matching TOML fields; unknown TOML keys reject. Other existing fields: |
85 | 85 | `allow_file_upload` (false). Do not assume these v1-oriented tuning fields alter |
86 | 86 | the v2 server's deadlines or relay chunk policy. |
87 | 87 |
|
| 88 | +## CPU smoke |
| 89 | + |
| 90 | +`bash scripts/mine-smoke-v2.sh` runs this miner path offline on CPU: it starts the |
| 91 | +real challenge app (tiny test-ledger fixture run, throwaway fixture keys) on |
| 92 | +127.0.0.1 plus a self-signed TLS relay on localhost, then runs `join-v2`, |
| 93 | +`escrow-lock`, four `trial_export`/`probe-v2`/`proof-v2` trials and |
| 94 | +`run-v2 --round 0` as separate `uv run --frozen hypertrain-miner` processes. A round |
| 95 | +needs a four-identity eligible roster, so three peer identities are graduated |
| 96 | +in-process by the operator role (`"mode": "in-process"` in the evidence). PASS |
| 97 | +requires every stage at rc 0 and the round-0 delta recorded; measured ~132 s, |
| 98 | +budget `MINE_SMOKE_V2_BUDGET_SECONDS` (default 300). Evidence (stage, rc, ms) goes |
| 99 | +to `$MINE_SMOKE_V2_EVIDENCE` or a fresh 0600 temp file; `MINE_SMOKE_V2_BREAK=<stage>` |
| 100 | +points one of the four miner stages at a closed port to check failure detection. It proves the CLI |
| 101 | +chain, not CUDA, audits, settlement or production funding. |
| 102 | + |
88 | 103 | ## Join, prove work, fund, graduate |
89 | 104 |
|
90 | 105 | Set `REQUEST_ID` to a fresh 64-hex request ID, `EXPIRY_BEACON` to a future |
@@ -245,6 +260,11 @@ an exact complete receipt or full original chunk coverage, authenticated healthy |
245 | 260 | witnesses and original grant/assignment lineage. The master fetches/hash-checks |
246 | 261 | original bytes before acceptance. Rescue preserves custody without backdating |
247 | 262 | late acceptance or charging the miner for proven storage failure. |
| 263 | +Multi-chunk custody without a receipt disables the relay key at once only when |
| 264 | +the master holds the original and it proves every chunk hash. Otherwise the key |
| 265 | +is disabled only after rescued bytes hash to `delta_hash`: the grant could not |
| 266 | +tie those chunk hashes to the commit, so a mismatch answers 422 and leaves the |
| 267 | +relay enabled. |
248 | 268 | Retention release waits for finality, disputes and vesting; signed extensions, |
249 | 269 | overlapping old/new keys and drain preserve existing retrieval authority. |
250 | 270 |
|
|