Repository navigation
feat(lane D): a settlement with a held gate candidate duels no new entry (owner 2026-12-01) - #1049
Open
tensorlink-dev wants to merge 5 commits into
Open
tensorlink-dev wants to merge 5 commits into
tensorlink-dev wants to merge 5 commits into
Conversation
…duels Settlement 9624600 spent 30+ min on the lane D eval host forecasting seven checkpoints (public, then live), most never judged: held gate candidates (re-gated from the bench), lost/closed entries, entries before their judging start. Owner: "it doesn't need live and public benchmark again". - lane_d.py: the selection step of _judge_pools (registration, held candidates, select_queue, forecast checks, armed context, judging start) moves verbatim into _choose(); judged_digests() runs it on a deep copy of the state (after migrate_confirm_pending / refresh_house) before any forecast exists and returns the duelled digests and KING_D. - lane_d_inputs.py: _judged() restricts the live forecasts (in-process and the W-OFFBOX settle request) to the duelled digests + KING_D, none when nobody is duelled; the public half asks those + KING_D (its reply carries the read-time drops the signed public record names). The bench context map stays the whole need; any prediction failure asks everything. Consensus: report, posterior state and published objects byte-identical to asking every needed digest (test_w_offbox_judged_only, in-process, offloaded and with the public half). w8c armed/source tests read the needed contexts from the bench host's context map instead of the forecast calls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
…) into laned-held-defers-duels Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
…try (owner 2026-12-01)
Owner 2026-12-01 ("we don't need that"). Held first (#1045) means a new
entry cannot crown at a settlement that re-gates a held candidate, yet the
settlement still duelled the queue's selection (live + public forecasts and
scoring on the eval host). Now _choose skips every entry the queue selects
(and the house challenger) with the existing reason pending_floor
(HELD_DEFER_REASON) whenever a held candidate exists: status pending,
unjudged, uncharged (no window spent, no frozen set, no forecast check). The
next settlement duels them against whoever is king then.
With #1047's judged_digests the plan for such a settlement is duel=[]: no
live forecast, the eval host's settle pool phase runs once with an empty
need (it still supplies the signed pool record: the box loads no pool_d),
and the public half asks KING_D alone. With no held candidate nothing
changes (report bytes as before).
Released checkers (git archive of validator-release-laned-live 890fe6d
and validator-release-laned-1201 15ae7e9): zero findings, no burn on the
held-crowns, held-fails and held-again chains (incl. the next settlement).
Tests: w5g/test_w5g_held_defers.py, w_offbox/test_w_offbox_held_defers.py;
the superseded held-first new-clear tests are removed from
test_w5g_held_first.py (its fixtures and no-held byte test stay).
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. |
…sedes the old held-first new-clear tests) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
…, #1050-#1054) Conflicts in lane_d._choose resolved keeping the held-defers rule on top of main's _choose (docstring, the deferred forecast check, the pending_floor deferral). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
This branch has not been deployed
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.
Rule (owner 2026-12-01, "we don't need that")
In lane D, a settlement with HELD gate candidates (
_held_candidates, re-gated from the bench without a duel) duels no new entry. Held first (#1045) already meant a new entry could not crown there. Every entry the queue selects is deferred to the next settlement, which duels it against whoever is king then. The deferred entry is unjudged and uncharged: it stayspendingwith the existing reasonpending_floor, no window is spent, and it gets no frozen set and no forecast check. The house challenger is deferred the same way.Implementation
cascade/validator/lane_d.py_choose:defer = bool(held) or house_held. The forecast-fault check is skipped for deferred members, and after the armed-context and judging-start skips the remainingchosenbecomepending_floorskips (HELD_DEFER_REASON), withchosen = [].before_eval_delayandcontext_below_armedkeep their own reasons.lane_d_inputs.py/lane_d_wiring.pyare unchanged: fix(lane D): the eval host forecasts only the digests the settlement duels #1047'sjudged_digestsruns the same_choose. A held-only settlement therefore getsduel = []: no live forecast, the public half asks KING_D alone, and the eval host'ssettlepool phase is called once with an empty need (no forecasts, no cohort).poolrecord (the newest snapshot's metadata name andfirst_seen_roots) comes from the host's copy of the pins, and the box loads nopool_d.test_no_held_candidate_keeps_max_t_orderstill matches its byte digest from main.docs/MINER_LANE_D.md.Contains #1047
#1047 is still open on main. It is already picked onto
validator-release-laned-1201(15ae7e9), and this rule builds on its_choose/judged_digests, so this branch mergeslaned-forecast-judged-only(clean merge). Merge #1047 first and this diff shrinks to one commit. Merging this PR alone lands both. The feature commit (35364e7) passesgit apply --checkontoorigin/validator-release-laned-1201.Satellites never update
The released checker is run in-test from a
git archiveofvalidator-release-laned-live890fe6d andvalidator-release-laned-120115ae7e9, both carrying audit blob 3a342edf. It reads the reports of boundaries 2–4 for three cases (held crowns, held fails, held again), each ending with the next settlement duelling the deferred entry. Result: zero findings, no burn, no transient.Tests (torch-free)
tests/accept/w5g/test_w5g_held_defers.py(12 tests):pending_floor, uncharged and not gated;tests/accept/w_offbox/test_w_offbox_held_defers.py(3 tests). A fake eval host counts calls: on the held-only settlement there is 1 settle request with need[]and 0 forecasts in-process and offloaded, and the public half asks KING_D only.test_w5g_held_first.py. Its fixtures and the no-held byte test stay.tests/unit/test_incident_rules.py(162 files) all pass. The exception isw9/test_w9_public.py: nopyarrowon the box, which fails the same way on base. Ruff is clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe