Skip to content

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
mainfrom
laned-held-defers-duels
Open

tensorlink-dev wants to merge 5 commits into
mainfrom
laned-held-defers-duels

Conversation

@tensorlink-dev

Copy link
Copy Markdown
Contributor

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 stays pending with the existing reason pending_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 remaining chosen become pending_floor skips (HELD_DEFER_REASON), with chosen = []. before_eval_delay and context_below_armed keep their own reasons.
  • lane_d_inputs.py / lane_d_wiring.py are unchanged: fix(lane D): the eval host forecasts only the digests the settlement duels #1047's judged_digests runs the same _choose. A held-only settlement therefore gets duel = []: no live forecast, the public half asks KING_D alone, and the eval host's settle pool phase is called once with an empty need (no forecasts, no cohort).
  • The settle call itself stays. The signed pool record (the newest snapshot's metadata name and first_seen_roots) comes from the host's copy of the pins, and the box loads no pool_d.
  • With no held candidate nothing changes. test_no_held_candidate_keeps_max_t_order still matches its byte digest from main.
  • Docs: the crown-order bullet in 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 merges laned-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) passes git apply --check onto origin/validator-release-laned-1201.

Satellites never update

The released checker is run in-test from a git archive of validator-release-laned-live 890fe6d and validator-release-laned-1201 15ae7e9, 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):
    • a held settlement duels no new entry; the deferred entry is pending_floor, uncharged and not gated;
    • the next settlement duels it against the new king (held passed) or the old KING_D (held regressed or faulted);
    • a held-again settlement defers again;
    • the no-held case is unchanged;
    • the released checker cases above.
  • 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.
  • Every new test fails on the base by assertion, and still fails on behaviour with only the constant added.
  • The superseded held-first new-clear tests are removed from test_w5g_held_first.py. Its fixtures and the no-held byte test stay.
  • Run one file at a time: w5a–w5k, w7a–w7d, w8, w8b, w8c, w9, w_offbox, w_hz, w3b6a, w3b6b, w17, w_s1 and tests/unit/test_incident_rules.py (162 files) all pass. The exception is w9/test_w9_public.py: no pyarrow on the box, which fails the same way on base. Ruff is clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe

tensorlink-dev and others added 3 commits December 1, 2026 05:40
…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
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cascade Ignored Ignored Preview Dec 1, 2026 8:48pm UTC

Request Review

tensorlink-dev and others added 2 commits December 1, 2026 20:11
…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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

laned:tests-correction laned:W5g laned:W8c Lane D plan WP W8c laned:W-OFFBOX W-OFFBOX: lane D pool phase off the validator box

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant