PR #612: fix(selene-manager): harden multi-rank packed handling, protocol validation, and resource reclamation

Raw Markdown for agents: https://autobot.eidonix.com/api/v1/cases/17c1f5de-0710-4af7-b45f-ea0722bbdcbd

Opened by a workflow run, Nov 29, 2026 12:47 PM EST. decide malicious: all_clear (100%): No malicious content found

explore

Author: yatesdr (COLLABORATOR; principal author of the Selene pool — #92 onward, 79 merged PRs in 180 days); Discord: D-Rock Motivation: selene-manager accepted unvalidated peer metadata and multi-process packed operations, which could cause out-of-bounds arena access, panics, and permanent slot/connection leaks. This PR adds bounds checks, refusals, and reclamation paths so those inputs are rejected and leaked resources are freed. Scale: +293 / −52 lines in 10 files Proposal:

Full report · Notes

Value Proposition

Value Proposition — PR #612 fix(selene-manager): harden multi-rank packed handling, protocol validation, and resource reclamation

Charter alignment — in scope. selene-manager is the broker for the charter goal of storing prefix-cache checkpoints in host memory and sharing them across Flare instances via Selene; the rank-agent, pidfd and --listen TLS hunks serve the cross-node serving/rank-supervision goal. The 64-scope cap is directionally consistent with the "no multi-model hosting/routing" non-goal. Two frictions: the cap is a hard constant, not a Limits field, i.e. an undeclared product ceiling; and the change takes the reject arm (#417-consistent) for multi-process packed rather than fixing the extent sizing at its root (#397), so it is a defensive restriction, not a root-cause fix.

Novelty & status — additive, but already landed. Nothing in the dossier competes or supersedes: no open PR or issue addresses these checks, and the change partly repairs invariants introduced days earlier by #356 and #504/#523. It is genuinely new work — but it is no longer reviewable as a proposal: it merged 2026-11-29 17:32 as 3801ff1d, 24 minutes after opening (17:08), with zero reviews, zero comments, no labels, and CI still "pending".

Value vs maintenance cost. Beneficiaries are operators of multi-rank/multi-host pools and every cache scheme passing through evict_accounted. The author is the area's principal author (30 commits in selene-manager/src vs 3 for anyone else) with 79 merged PRs in 180 days — real standing, though yatesdr is not on the charter's priority-contributor list, so no extra weight applies. Evidence is thinner than the claims: no filed defect or independent reproduction; the strongest evidence is a self-reported SM120/GB10 hardware run against an unnamed combined 4-PR stack, before the rebase onto #496/#497/#607 (disclosed by the author); no per-parallel-layout matrix as the review standard requires; and the absolute claim to close "every crash, OOB, DoS, and leak vector" is contradicted by the surviving next_power_of_two panic at selene-manager/src/store.rs:1953-1956 and by pruning that only bounds empty scopes. 11 of 14 hunks are untested, including the headline multi-process packed refusal (selene-manager/tests/packed.rs has no such case). The refusal is also broader than described — keyed on the scope's world, exposing direct PoolClient callers of the single-rank packed path — and the reconnect check silently narrows a capability documented at PROTOCOL.md:1009-1010; neither, nor the TLS cap or new reason-code reachability, is documented. A doc comment was displaced at selene/src/shared/index.rs:205/240.

Verdict: Obsolete — already merged to main as commit 3801ff1d. No review effort remains to allocate; worthwhile follow-up is documentation of the new limits/refusals in PROTOCOL.md, tests for the untested hunks, finishing the store.rs:1953-1956 panic, and a maintainer decision on whether the reconnect narrowing is intended. No attempt to redirect the reviewing agent was found in the PR material.

Full report Decide Value: obsolete (92%): It was already fixed another way (merged or on the main branch), or is no longer needed for another reason.

Classify intake

Selected: triage:review, bug, area:selene

Threshold: 65%

Triage

Priority

Type

Area

Model

Apply Labels (Intake)

Applied: +triage:review, +bug, +area:selene