Skip to content

fix(lane D): the floors run before any forecast (live 2026-12-01, settlement 9626400) - #1055

Open
tensorlink-dev wants to merge 5 commits into
mainfrom
laned-floor-before-forecast
Open

tensorlink-dev wants to merge 5 commits into
mainfrom
laned-floor-before-forecast

Conversation

@tensorlink-dev

Copy link
Copy Markdown
Contributor

Live 2026-12-01, settlement 9626400

The forecast plan said "7 of 9 needed digest(s) forecast live, 7 on the public half (duelled 6)". The eval host spent 1 h 45 on public + live forecasts, and then _judge_pools skipped all 6 members pending_floor: some because their frozen set never froze, the rest because the cohort draw dropped latest-T members while it stayed below the floors. Neither step reads a forecast except to check that it is well formed.

Change: the floor runs before any forecast

  • lane_d.forecast_plan(plan, pools) runs _choose on a copy of the state, the same way fix(lane D): the eval host forecasts only the digests the settlement duels #1047's judged_digests does (that function is now a thin wrapper around it). It then runs the miner cohort's floors with the same functions on the same inputs: _advance_member with the settlement's cap seed, then _cohort_set / _seen_set / _drawn, dropping latest-T members. Every forecast is assumed well formed on the windows pinned_windows would cut. It returns floored.
  • Where it runs: on the eval host, as a new floor request (python -P -m cascade.eval.lane_d_forecasts floor --pool-root). The request carries the pins plus the JSON plan. There is no forecast, no model module and no grant, and like every non-hello request it runs under timeout -k on the host and the eval flock. That is where the window clocks are. On the in-process reference path it runs locally over pools that are already loaded.
  • What gets forecast: floored members are not forecast live and are not asked on the public half. If nobody passes the floor, no member is forecast live and the public half asks KING_D only (the same as feat(lane D): a settlement with a held gate candidate duels no new entry (owner 2026-12-01) #1049's empty-need path).
  • settle_lane_d(floored=), carried in the judge request's floored (LaneDInputs.floored): _judge_pools skips each floored member pending_floor at the same step and in the same order as today. Unfrozen members are skipped in the frozen loop. Frozen members are skipped latest T first, ahead of the draw, exactly as its pops would. They are never marked king_unscored for the forecasts they were not asked for.
  • Fail-safe: if the floor request is refused, the host is older, or the plan's duel set differs from the box's, nobody is floored and fix(lane D): the eval host forecasts only the digests the settlement duels #1047's plan applies as before.

Consensus

The signed report and the posterior state are byte-identical to forecasting every member, so satellites are unaffected. test_w_offbox_floor_first checks this through settle_lane_d in four cases: all members below the floor, some below, a frozen latest-T member dropped by the draw (it really is frozen), and nobody pending. It also checks it through the inputs source in-process, offloaded (the fake host counts floor requests and asserts it forecasts nothing), with a refusing host, and with the public half on. The one gap is something only forecasting can reveal (checkpoint_fault): a floored member's fault surfaces at the settlement that forecasts it, and a member dropped only because a faulting member was in its cohort waits one more settlement. Both cases are a pending_floor deferral and are uncharged (README).

Tests

Stacked on #1047 and #1049 (merged in, both already on the 12-01 release). This commit alone applies to validator-release-laned-1201b (0445a44) except the w_offbox README, which is not on the release.

Do not merge or deploy without owner review.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe

tensorlink-dev and others added 5 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
…tlement 9626400)

Settlement 9626400 forecast 7 digests live and public (1 h 45 on the eval
host), then skipped all 6 members pending_floor. The frozen-set advance and
the cohort draw read no forecast but to ask it is well formed, so the
forecast plan now runs them first (lane_d.forecast_plan: the same
_advance_member / _cohort_set / _seen_set / _drawn on the same inputs):
on the eval host as a `floor` request (pins + plan, no forecast, timeout -k
and the eval lock), in-process on the reference path. Floored members are
neither forecast live nor asked on the public half; with nobody above the
floors nothing is forecast live and the public half asks KING_D alone.
settle_lane_d(floored=) / the judge request's `floored` skip each one
pending_floor at the step that skips it today: report and state bytes
unchanged (tests: all below, some below, latest-T dropped by the draw,
nobody pending; in-process, offloaded, refusing host, public half).
A floor failure or older host floors nobody (#1047's plan).

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 Dec 1, 2026 12:39pm UTC

Request Review

@tensorlink-dev tensorlink-dev added laned:W-OFFBOX W-OFFBOX: lane D pool phase off the validator box laned:W8c Lane D plan WP W8c laned:W5g labels Dec 1, 2026
tensorlink-dev added a commit that referenced this pull request Dec 1, 2026
…s are never spent (owner 2026-12-01)

Owner on #1056: "Miners should be able to use the same windows; it should be
driven by cut-off." used_windows no longer excludes anything (the frozen-set
advance, the cohort set, the seen set): a window judged in an earlier duel,
against any king, stays eligible; members share windows. used_windows stays
in state as a record. The frozen-set reopen-on-used change is dropped (moot).

The per-member cohort rule moves into a score-free planner, _cohort_plan,
so the floor pre-pass (#1055) and the judge run the same rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
tensorlink-dev added a commit that referenced this pull request Dec 1, 2026
…bers (#1055 seam)

A group sharing one candidate set fails as one, in reveal order.

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: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