Repository navigation
feat(lane D): carry the published court across the report gap (owner 2026-12-01) - #1046
Merged
Merged
Conversation
…2026-12-01) "Miners only stop getting paid when someone beats them." While a settlement's lane D report is not yet known, the weight fold pays the court of the most recent published, verified settlement at most [lane_d] court_carry_max_settlements (default 2) settlements back, instead of burning lane D's share; it switches to the new court as soon as it is known (the existing catch-up pulls that push forward). None ever published, or only older than the bound: burn, as before. - receipt: lane_d_court_boundary (drop-when-default) names the carried boundary; older receipts keep their bytes and verify. - audit: lane_d_pay / fetch_lane_d_record read the record at the carried boundary, bounded by court_carry_boundaries; a vector that is not that court's, a record of another boundary or one past the bound still burns lane D's share. - satellite: follows a carried receipt; carries the newest published court within the same bound when the settlement's own report is not published; switches to the own court once it is. - the knob stays out of the eval host's judge request; the signed lane D report format is unchanged. 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. |
tensorlink-dev
added a commit
that referenced
this pull request
Dec 1, 2026
…2026-12-01) (#1046) "Miners only stop getting paid when someone beats them." While a settlement's lane D report is not yet known, the weight fold pays the court of the most recent published, verified settlement at most [lane_d] court_carry_max_settlements (default 2) settlements back, instead of burning lane D's share; it switches to the new court as soon as it is known (the existing catch-up pulls that push forward). None ever published, or only older than the bound: burn, as before. - receipt: lane_d_court_boundary (drop-when-default) names the carried boundary; older receipts keep their bytes and verify. - audit: lane_d_pay / fetch_lane_d_record read the record at the carried boundary, bounded by court_carry_boundaries; a vector that is not that court's, a record of another boundary or one past the bound still burns lane D's share. - satellite: follows a carried receipt; carries the newest published court within the same bound when the settlement's own report is not published; switches to the own court once it is. - the knob stays out of the eval host's judge request; the signed lane D report format is unchanged. Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 75a707b)
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 decision 2026-12-01: "miners only stop getting paid when someone beats them." Today the lane D court is read at the EXACT boundary only, so between a settlement boundary and the publication of that settlement's lane D report the vector burns lane D's share (live:
{0: 1.0}while pending vs{0: 0.95, 164: 0.05}once published). This PR keeps paying the court through that gap, on the main validator, in the audit and on satellites.Main validator (weight fold,
cascade/validator/weights.py)_lane_d_court_readyunchanged (exact boundary, bounded wait,load_published). When it is still unknown, the new_lane_d_carried_court(boundary)walkscourt_carry_boundaries(cfg.round, boundary, n)(newest first). For each boundary it readscourt_for, thenload_published(the signed, audit-verified record). It pays the first court it finds and logs which boundary it carried. The genesis check reads the carried boundary._lane_d_catch_uppulls that push forward to the rate limit.[lane_d] court_carry_max_settlements(new knob, default 2 = 6 h,0= old behaviour). It is parsed inparse_lane_d/load_chain_config, range [0, 64].lane_d_config_recordleaves it out of the eval host's judge request, so an off-box host on an older release still parses that request.Receipt + audit
RoundReceipt.lane_d_court_boundary(drop-when-default: 0 ⇒ not in the canonical body, so old receipts keep their bytes and signatures). It is set only when the settlement vector carried a court._publish_round_receiptstamps it from_last_lane_d_carry.cascade/audit:lane_d_court_boundary()bounds the named boundary against the samecourt_carry_boundaries.lane_d_paychecks the record against the carried boundary.fetch_lane_d_recordreads the record published at the carried boundary. The audit still refuses three cases, and only lane D's share burns in each: a vector that is not the carried court's, a record of another boundary, and a boundary past the bound (lane_d_boundary_mismatch).Satellites (scope addition: Yuma needs >50 % stake carrying)
syncreplays the receipt again and switches to the own court (SatelliteState.lane_d_carried/lane_d_prev_anchor; old state files load).git archiveof75310262and oforigin/validator-release-laned-live890fe6d, replaying a carried receipt) still verifies the receipt signature, verifies the round and never burns the whole vector. It burns lane D's part only while the report is pending, and once the own report is published it pays as before. In gaps, our vector and an un-upgraded satellite's differ on lane D's share only. Lane D reports are unaffected.Tests (torch-free; every new test fails on base by assertion)
tests/accept/w8b/test_w8b_court_carry.py:=3carries it,=0never carries)tests/accept/w8b/test_w8b_court_carry_satellite.py:test_w8b_exact_boundary_absent.py: with no record at b, running and fresh nodes still agree; they now carry b's predecessor's published court.tests/accept/w8b, w9 derive_weights/rev623/independence, w2 keys, w14 receipt, w_offbox identity, w_ov satellite, w8 vectors, w5f genesis,tests/unit/test_satellite_replay.py, receipt/weights/config units,tests/unit/test_incident_rules.py. Ruff clean.PATHS ride along in W8b's PATHS. Applies cleanly onto
origin/validator-release-laned-live+ #1042 + #1044 (only PATHS conflicts without #1042) and onto #1045's head.🤖 Generated with Claude Code
https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe