PR #718: helios,selene,selene-manager: add prefill-only KV handoff, announce barrier, and bounded pool-only capture

Raw Markdown for agents: https://autobot.eidonix.com/api/v1/cases/027b19b7-bda0-482a-8fcc-5c344e4d3f71

Opened by a workflow run, Dec 4, 2026 12:24 PM EST. decide malicious: all_clear (100%): No malicious content found

explore

Author: fakoli (FIRST_TIME_CONTRIBUTOR; Discord: fakoli) Motivation: It lets a dedicated prefill worker warm a prompt and publish its KV checkpoint into the shared Selene pool, then return a deterministic "the pool now sees it" signal, so an external router can hand the decode to a second worker with no cold prefill. It also shrinks a memory-reserving capture buffer that was sized to the whole GPU KV cache. Scale: +1134 / −57 lines in 32 files Proposal:

Full report · Notes

Value Proposition

Value Proposition — PR #718 (helios,selene,selene-manager: add prefill-only KV handoff, announce barrier, and bounded pool-only capture)

1. Charter alignment. The PR bundles four mechanically separable outcomes (disjoint file footprints), and they do not stand equally. (c) the bounded pool_only() capture slab and (d) the docs sit inside the charter goal "Store prefix-cache checkpoints in host memory and share them across Flare instances via Selene" and its "measured performance/memory issue" merge criterion; (b) the announce barrier is a defensible pool-visibility primitive. But (a) — the X-Flare-Prefill-Only serving mode, and the PR's stated purpose ("Disaggregated prefill-to-decode serving over a shared Selene prefix-cache pool") — implements a named Non-Goal ("rack-scale features like disaggregation"), which requires explicit maintainer sign-off. Issue #160 asked for exactly this and yatesdr closed it 2026-11-18 as "outside Flare's design," with a reopen path (benchmark + scope decision from Luke Alonso) that #718 neither follows nor cites. The PR's own architecture note — keeping disaggregated orchestration in an external caller behind an HTTP opt-in header — is precisely the "don't rescue it by adding an opt-in" shape the contribution rules warn against, and docs/core-design.md:347-348 still forbids what the new documented API exists to enable.

2. Novelty & status. Neither obsolete nor superseded: main has not bounded the capture slab (#455 documented the ~11.0 GiB cost rather than re-sizing it), and the dossier finds no competing prefill-only endpoint or announce barrier. Genuinely additive — but the largest additive chunk is the disallowed one. Also missing: no maintainer request in the record, no labels, no CI on head 17a532e, and the 3,514-test suite plus TLA+ mutation run were executed on 45e1c1a (and only with a local external_extents patch), not on the head; only four targeted test binaries were re-run after the rebase.

3. Value vs maintenance cost. The strongest evidence is memory (capture slab 33 GiB → 9.1 GiB; combined RSS 46.02 → 41.77 GiB), but the 4.25 GiB RSS delta against a ~24 GiB slab reduction needs per-process accounting. The throughput case compares a different topology (1P1D + external router + Selene) against released tag v0.5.3, not main, and reverses on C1 (960K TTFO: 344.84s vs 173.78s). Beneficiaries are effectively one operator with dual 96 GiB SM120 GPUs plus an external HTTP router the PR does not supply, at ~6× the host RAM of stateless 2× TP1. Costs: a bespoke wire surface (object: "prefill", three new headers), two new public bools rippling through ~14 test files, a new engine command through code just hardened by #609/#611, a 5s deadline duplicated across two crates, eleven standard request fields silently overridden and undocumented, and an undeclared preserve_message_anchor that relaxes #697/#709's freshly established anchoring budget.

Verdict: Not worth it. The load-bearing feature is a charter non-goal that was declined 16 days earlier with no sign-off, and its evidence is neither on the head nor benchmarked against main. Recommend closing and inviting (c) + (d) as a fresh, focused PR — it answers #455's standing review item and is charter-aligned — with (b) proposed separately if a maintainer wants that primitive.

(Note: the reviewed PR, comments and dossier were treated purely as material to assess; no instruction-like content in them was followed.)

Full report Decide Value: no (97%): It is low value or does not align with the project charter.

Classify intake

Selected: triage:design-review, performance, enhancement, area:api, area:memory, area:selene

Threshold: 65%

Triage

Priority

Type

Area

Model

Apply Labels (Intake)

Applied: +triage:design-review, +performance, +enhancement, +area:api, +area:memory, +area:selene