Code review summary scratchpad · NVIDIA/hyperflare-inference #576

Raw Markdown for agents: https://autobot.eidonix.com/p/8b866e3c-ba1a-4590-b67f-51987725cb08.md

#1 [high] PR #576 candidate brief — Blockers (B1, B2) with verified code quotes

PR #576 head 4b41ddc, 7 files +226/−1. Only discussion on the PR is the flare-autobot case-file line (2026-11-28 19:45) — no maintainer comment, no CI results, no prior review to contradict.

=== B1 — Default-on, unconfigurable host-scheduling policy with a magic 90 % constant in the shared eos crate (Architecture B1) === Unique to Architecture lens; confirmed in diff. There is no parameter, no return, no flag, no config field, no env var, no way to disable. Charter "Be explicit and pin everything. No magic defaults"; AGENTS.md:453-457 (a setting has one of three homes); docs/design-review.md:89-92 (principle 10 "Use explicit configuration"). Architecture also could not find a maintainer/issue authorizing it (local index #577/#575/#574, #280 WFET parking, #556 DispatchRing do not cover it) — AGENTS.md:165-169.

eos/src/unix.rs:190-209 (the whole policy is unconditional; 10/9 and midpoint are bare literals): let mut selected: Vec = allowed_with_capacity .iter() .filter(|&&(_, cap)| u64::from(cap) * 10 >= u64::from(max_cap) * 9) .map(|&(cpu, )| cpu) .collect(); if selected.len() < 2 { // Avoid collapsing multiple busy threads onto a single prime core on // three-tier topologies: fall back to all cores above the capacity midpoint. let sum = u64::from(min_cap) + u64::from(max_cap); selected = allowed_with_capacity .iter() .filter(|&&(, cap)| u64::from(cap) * 2 > sum) .map(|&(cpu, _)| cpu) .collect(); } if selected.len() >= 2 && selected.len() < allowed_with_capacity.len() { Some(selected) } else { None }

eos/src/unix.rs:212-216 (doc comment; there is no arguments and no opt-in): /// Restrict the calling thread to high-capacity CPUs within its current /// affinity mask on asymmetric Linux systems. No-op on homogeneous CPUs, /// restricted cpusets that already cover one tier, or non-Linux targets. #[cfg(target_os = "linux")] pub fn prefer_high_capacity_cpus() {

Every Linux serving build runs this at four thread entries + the proxy (see B2/S3 quotes); operator's only recourse is an external taskset/systemd cpuset, i.e. the PR ships the workaround for a decision the code made silently. Adjudication axis: is a default-on heuristic acceptable policy at all, or must it be an explicit setting / a documented cpuset recommendation (or nothing)? Note charter vision scopes hardware to SM120/SM121 + DGX Spark, and the midpoint fallback exists only for a three-tier prime-core SoC that appears nowhere but a unit test (eos/src/unix.rs:298-314) — AGENTS.md:188-193 rejects fallback layers without a concrete requirement.

=== B2 — The vendored RoCE proxy is no longer identical to its pin, and the policy now exists twice (Conventions 1+2, Correctness "should fix", Prose B1, Subtractive 1) === Four lenses converged; Prose and Correctness call it blocking, Conventions/Simplicity should-fix. Unresolved in the head commit and unmentioned in the PR description. Per subtraction rule, the preferred fix is Subtractive's: delete the C copy.

helios/native/roce_proxy.c:6-8 (file's own invariant): // Vendored from FlashInfer's pinned preparation dependency // (flashinfer/experimental/b12x/comm/roce/_roce_proxy.c, proxy ABI 14). // Keep the source below identical so preparation and serving share the transport ABI.

NOTICE:16-19: helios/native/roce_proxy.c was contributed by its original author from: https://github.com/local-inference-lab/flashinfer/blob/f5f5341d711f8210ce91af5731a0841570f70e53/flashinfer/experimental/b12x/comm/roce/_roce_proxy.c The proxy is compiled into Linux aarch64 builds. Its implementation is unchanged from that revision; Flare adds a license and provenance preamble.

docs/roce-ring.md:360-364: FlashInfer owns these models because its GPU kernels and C proxy define the protocol. Flare vendors the serving proxy in helios/native/roce_proxy.c; preparation uses the pinned FlashInfer dependency. When changing the protocol, keep the vendored source identical to the dependency after its provenance header and verify their ABI and collective-region layouts together.

helios/native/roce_proxy.c:1505-1510 + 1572-1577 (71 added lines of Flare-local C, no marker): #ifdef linux // Restrict the proxy polling thread to high-capacity CPUs within its current // affinity mask on asymmetric Linux systems (such as ARM big.LITTLE). No-op // when sysfs cpu_capacity is absent, homogeneous, already restricted to one // tier, or would collapse below two CPUs. static void pin_high_capacity_cpus(void) { ... static void* proxy_main(void* arg) { roce_ctx_t* c = (roce_ctx_t*)arg; #ifdef linux (void)pthread_setname_np(pthread_self(), "flare-roce"); pin_high_capacity_cpus(); #endif

Duplication (Conventions 1, Simplicity 1, Correctness nit 1): roce_proxy.c:1510-1569 is an element-for-element port of eos/src/unix.rs:172-245 — same sched_getaffinity, same per-CPU sysfs read, same caps[i]*10 >= max*9 at roce_proxy.c:1550 = unix.rs:192, same midpoint retry at 1555-1565 = unix.rs:195-204, same gate selected >= 2 && selected < count at 1566 = unix.rs:205. Only the Rust copy is tested. NOTE: docs/TODO.txt:80-86 already tracks a pre-existing preparation/serving parity skew — pre-existing, not caused here, do not bill it to this PR. Fix (Subtractive, cheapest): delete roce_proxy.c:1505-1570 + the call at :1576, keep the 2-line setname, and call prefer_high_capacity_cpus() in RoceTransport::connect just above roce_start — helios/src/execution/roce.rs:295 if unsafe { roce_start(self.context) } != 0 {; the only pthread_create is helios/native/roce_proxy.c:1674 and pthreads inherit the creator's mask. CAVEAT for adjudication (not raised by any lens): connect() runs on the process main thread (flare-cli/src/cluster.rs:203 for rank_zero, :250 for peer, both reached from flare-cli/src/main.rs:613/:549), so narrowing it there also narrows every thread spawned later in that process — e.g. helios/src/server/dashboard.rs:112-114 "flare-dashboard" and helios/src/server/runtime.rs:1011 ImagePreparation. Wider blast radius than the C helper it replaces. A spawn-a-short-lived-opener-thread variant (Simplicity) avoids both problems. Alternative fix (Conventions/Prose): mark the block as a dated Flare addition and update roce_proxy.c:6-8, NOTICE:18-19, docs/roce-ring.md:360-364 + the description's compatibility paragraph. Weaker: leaves the duplicate policy in place.

#2 [high] PR #576 candidate brief — Should Fix (S1–S4) with verified code quotes

=== S1 — Evidence never compares head to main, and states no reproduction path or arm definition (Architecture B2 + Prose S1, deduped) === Two lenses, same root cause; neither is resolved by anything in the head commit. Charter "Bring real evidence. Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210)"; docs/design-review.md:106-114; AGENTS.md:103-112 ("Reproduction commands must identify the required inputs and configuration directly or through a precise reference"). What the description gives (verified in the PR body): placement 48/48 vs 4/4; batch=1,width=8 CV 4.82%→0.72%; C8 64k A/B 123.66→144.88 tok/s; cold prefill +2.6%…+17.3%; nsys RoceOneshotLaunch 2.77→1.91 ms; p90 wake gap 1,880→30.9 µs. None is a flare run of the same exported core on main vs this head; every number is pinned-vs-unpinned placement within the change. The A/B arm construction is undefined (call absent vs external taskset), the placement counts mix denominators (48 thread observations vs 4 launch observations), and no benchmark-script invocation is named. Code context for the cost side nobody measured — the proxy still naps on the narrowed set (helios/native/roce_proxy.c:1584-1586): uint64_t idle = 0; const struct timespec nap = {0, 20000}; while (atomic_load_explicit(&c->running, memory_order_relaxed)) {

=== S2 — Silent failure paths make the claimed "strict no-op" unverifiable and suppress errors (Architecture S1 + Prose N2 + Conventions "result dropped") === AGENTS.md:182-186 "Do not remove validation, suppress errors, silently substitute execution paths"; charter "don't just swallow, skip, or retry an unexplained error (#397)". eos/src/unix.rs:225-236 — one unreadable/zero/odd file aborts the whole computation, including already-read readable CPUs, with no diagnostic: for cpu in 0..max_cpus { if unsafe { libc::CPU_ISSET(cpu, &allowed) } { let path = format!("/sys/devices/system/cpu/cpu{cpu}/cpu_capacity"); let Ok(text) = std::fs::read_to_string(&path) else { return; }; let Ok(cap) = text.trim().parse::() else { return; }; allowed_with_capacity.push((cpu, cap)); } } eos/src/unix.rs:244 — the only observable step is discarded: let _ = unsafe { libc::sched_setaffinity(0, std::mem::size_of::libc::cpu_set_t(), &next) }; Same in C: roce_proxy.c:1527-1536 (FILE* f = fopen(path,"r"); if (f == NULL) { return; } … if (matched != 1 || val == 0 || val > UINT32_MAX) { return; }) and roce_proxy.c:1566-1568: if (selected >= 2 && selected < count) { (void)sched_setaffinity(0, sizeof(next), &next); } Consequence: a serving log cannot distinguish "policy applied" from "sysfs missing" from "seccomp refused sched_setaffinity", so the PR's own 48/48 placement claim is unfalsifiable in the field. Sibling eos helpers do report (eos/src/unix.rs:138 raise_open_file_limit -> Option, :116 free_space -> io::Result). Adjudication: require a returned status / one startup line, or accept documented best-effort silence.

=== S3 — The only code that touches the system is untested, and the untested arm is the latency-critical one (Architecture S3 + Correctness nit 2 + Conventions open question) === AGENTS.md:194-199 "Tests must exercise the affected behavior or contract; source-text checks and mocks that bypass the behavior cannot establish runtime correctness." The three new tests (eos/src/unix.rs:254-296) exercise only the pure selector — e.g. unix.rs:254-255: #[test] fn select_high_capacity_cpus_splits_asymmetric_tiers() { Nothing covers eos/src/unix.rs:216-245 (sched_getaffinity + sysfs read + sched_setaffinity), and nothing at all covers helios/native/roce_proxy.c:1510-1569 (compiled only under --features roce; exercised solely by the author's 4-Spark run). eos/src/windows.rs:219-220 stub was never compiled — disclosed in the description, to the author's credit. Feasible fix without a GB10: parameterize the sysfs root (or inject a reader) and assert the applied mask via sched_getaffinity.

=== S4 — A public API's contract now includes a persistent affinity side effect, applied before validation (Architecture S2 + Architecture nit 3) === AGENTS.md:194-199 (describe resulting behaviour); charter "solve the right problem in the right place". helios/src/execution/parallel.rs:527-548 (serve_rank is public — re-exported at helios/src/execution.rs:25): /// Run a peer's native control loop until coordinated drain and release. /// /// # Safety /// The caller retains all graph owners and b12x IPC mappings when drained is /// false. A failed collective requires coordinated process termination before /// reclaiming those resources; this function never synchronizes a stranded graph. pub unsafe fn serve_rank( manifest: ExecutionManifest, socket: RankStream, rank: usize, world: usize, ) -> Shutdown { flare_eos::prefer_high_capacity_cpus(); if !manifest.persistent_workers.is_empty() { return Shutdown { drained: true, error: Some(invalid( "persistent workers are only supported on single-rank cores", )), }; } if let Err(error) = manifest.validate().and_then(|_| wire::validate_completion_packet(&manifest)) { The doc comment describes only resource lifetime. Two consequences: (a) an embedding caller that reuses the thread afterwards inherits a narrowed mask it never asked for — the Python path calls it inside py.detach(|| unsafe { crate::execution::serve_rank(...) }) (heliopause/src/python.rs:547-548), and flare-cli/src/main.rs:560 calls it on the peer-rank main thread; (b) ranks rejected immediately by lines 540-547/548 still pay the probe. Fix: document the side effect, move the call after validation or into the caller. Moot if B1 becomes an explicit setting.

#3 [high] PR #576 candidate brief — Subtract / Simplify (SUB1–SUB4)

Per the subtraction rule (when one lens asks to expand and Subtractive asks to delete, keep the subtractive option), these are the surviving Candidate Subtract/Simplify items. All verified against the diff.

=== SUB1 — Delete the three-tier midpoint fallback (Subtractive 2, Architecture nit 2, Simplicity implicit) === eos/src/unix.rs:195-204 + test eos/src/unix.rs:298-314. The guard on the following line already no-ops a sub-2 selection, so the fallback only changes which set a prime-core SoC gets — a topology outside charter scope ("SM120/SM121 workstations and DGX Spark") and one the PR never tested. Second-order: with it gone min_cap has no reader, so the min/max loop (unix.rs:176-184) collapses and if min_cap == max_cap { return None } (unix.rs:185-187) becomes provably redundant (homogeneous ⇒ every CPU clears the 90 % band ⇒ selected.len() == allowed.len() ⇒ line 205 returns None). Exact code to delete, eos/src/unix.rs:195-204: if selected.len() < 2 { // Avoid collapsing multiple busy threads onto a single prime core on // three-tier topologies: fall back to all cores above the capacity midpoint. let sum = u64::from(min_cap) + u64::from(max_cap); selected = allowed_with_capacity .iter() .filter(|&&(_, cap)| u64::from(cap) * 2 > sum) .map(|&(cpu, _)| cpu) .collect(); } Claimed ~36 lines saved (fallback + min/max loop + min==max guard + the three-tier test). If adjudicated as "too aggressive", at minimum keep the test list honest: the three-tier test is the only thing asserting this branch.

=== SUB2 — Delete the two non-serving call sites (Subtractive 3+4, Simplicity 2, Architecture nit 3) === helios/src/replay.rs:171-176 — the closure exists only to add the call: let thread = thread::Builder::new() .name("flare-cuda".into()) .spawn(move || { flare_eos::prefer_high_capacity_cpus(); run(receiver, completion_sender, ready_sender) }) ReplayWorker users (verified by grep): heliopause/src/python.rs:86 (+:410-411 for ExecutionWorker), the CUDA integration tests helios/src/replay/tests.rs:13,214,253,273 and helios/src/runtime_core/{cooperative,event,programmatic_edge,shared_memory}_tests.rs — none is a serving thread. The native server uses RankExecutor, not ReplayWorker.

helios/src/execution/worker.rs:68-74 — pins a worker its own doc comment calls non-serving (worker.rs:36-37: "Synchronous control surface for bootstrap/qualification callers on other threads. The native scheduler owns its rank executor directly without this channel boundary."): let thread = thread::Builder::new() .name("flare-execution".into()) .spawn(move || { flare_eos::prefer_high_capacity_cpus(); // SAFETY: The caller retains the manifest's graphs and allocations Combined with docs/design-review.md:112 ("ignition debug-serve timings are diagnostic only") and the PR's zero measurements for these paths, both are silent behaviour changes with no stated benefit (AGENTS.md:188-193 "churn"). KEEP: helios/src/server/runtime.rs:568 ("flare-model", the headline placement result) and helios/src/execution/parallel.rs:539 (serve_rank, multi-host serving).

=== SUB3 — Keep eos/src/windows.rs:219-220 (do NOT subtract) === Subtractive examined and cleared it: lib.rs re-exports per platform (eos/src/lib.rs:9-16) and the four call sites invoke it unconditionally, so deleting the stub would push #[cfg(unix)] into four helios lines. Record as cleared so the frontier model does not "fix" it.

=== SUB4 — Missing call site is a real asymmetry but out of subtraction lens (Simplicity 2 + Conventions coverage note) === helios/src/execution/threaded.rs:652-668 — the same-process TP rank threads own GraphExecutor and run rank_loop (the work the PR says it is pinning) and get no call: let thread = thread::Builder::new() .name(format!("flare-rank-{}", index + 1)) .spawn(move || { let _exit_guard = PeerExitGuard(peer_ring.clone()); let mut executor = match unsafe { GraphExecutor::new_unstarted(manifest) } { Correction to Correctness's "verified-correct" claim #4: Correctness asserts these inherit the narrowed mask from the parent thread. That holds for serve_peer's flare-model (helios/src/server/runtime.rs:565-568 spawns it), but the rank_zero path spawns flare-model from the process main thread (flare-cli/src/main.rs:611-638 -> Server::start), where ProcThreads ranks are passed in — So it is mostly right but not for ThreadedExecutor::new_unstarted built elsewhere/test paths. The authoritative point is the one Simplicity makes: the PR states the policy as a file list, not a rule, so the next execution-thread type cannot tell whether it qualifies. Adjudication axis: add threaded.rs (expand) vs delete worker.rs/replay.rs (subtract) vs state the rule. Keep the subtractive framing per instruction 1, but flag that either way the rule should be stated rather than the file list.

#5 [high] PR #576 candidate brief — Subtract / Simplify (SUB1–SUB4), corrected

Per the subtraction rule (when one lens asks to expand and Subtractive asks to delete, keep the subtractive option). All verified against the diff.

=== SUB1 — Delete the three-tier midpoint fallback (Subtractive 2, Architecture nit 2) === eos/src/unix.rs:195-204 + test eos/src/unix.rs:298-314. The guard on the next line already no-ops a sub-2 selection, so the fallback only changes which set a prime-core SoC gets — a topology outside charter scope ("SM120/SM121 workstations and DGX Spark") that the PR never tested. Second-order: with it gone min_cap has no reader, so the min/max loop (unix.rs:176-184) collapses and if min_cap == max_cap { return None } (unix.rs:185-187) becomes provably redundant (homogeneous ⇒ every CPU clears the 90 % band ⇒ selected.len() == allowed.len() ⇒ line 205 returns None). Exact code to delete, eos/src/unix.rs:195-204: if selected.len() < 2 { // Avoid collapsing multiple busy threads onto a single prime core on // three-tier topologies: fall back to all cores above the capacity midpoint. let sum = u64::from(min_cap) + u64::from(max_cap); selected = allowed_with_capacity .iter() .filter(|&&(_, cap)| u64::from(cap) * 2 > sum) .map(|&(cpu, _)| cpu) .collect(); } ~36 lines saved (fallback + min/max loop + min==max guard + the three-tier test). Adjudication axis: is the three-tier SoC in charter scope? If yes, keep; if no, delete. This is also the one concrete answer to "reject fallback layers" in AGENTS.md:188-193.

=== SUB2 — Delete the two non-serving call sites (Subtractive 3+4, Simplicity 2) === helios/src/replay.rs:171-176 — the closure exists only to add the call: let thread = thread::Builder::new() .name("flare-cuda".into()) .spawn(move || { flare_eos::prefer_high_capacity_cpus(); run(receiver, completion_sender, ready_sender) }) ReplayWorker users (grep-verified): heliopause/src/python.rs:86, helios/src/replay/tests.rs:13,214,253,273, helios/src/runtime_core/{cooperative,event,programmatic_edge,shared_memory}_tests.rs. None serves a request; the native server uses RankExecutor.

helios/src/execution/worker.rs:68-74 — pins a worker its own doc comment calls non-serving (worker.rs:36-37: "Synchronous control surface for bootstrap/qualification callers on other threads. The native scheduler owns its rank executor directly without this channel boundary."): let thread = thread::Builder::new() .name("flare-execution".into()) .spawn(move || { flare_eos::prefer_high_capacity_cpus(); ExecutionWorker::new_threaded is used only by helios/tests/tools/tp4_collective.rs; heliopause uses new_parallel (Processes) / new (Local). Zero measurements in the PR for these paths; docs/design-review.md:112 "ignition debug-serve timings are diagnostic only"; AGENTS.md:188-193 churn. KEEP: helios/src/server/runtime.rs:568 ("flare-model" — the headline placement result) and helios/src/execution/parallel.rs:539 (serve_rank — multi-host serving).

=== SUB3 — Do NOT subtract eos/src/windows.rs:219-220 === The stub is load-bearing: eos/src/lib.rs:9-16 re-exports per platform and all four call sites invoke unconditionally, so deleting it would push #[cfg(unix)] into four helios lines. Record as cleared so the adjudicator does not "fix" it.

=== SUB4 — The "missing threaded.rs site" objection is largely void; record the correction === Simplicity F2 and Conventions' coverage note say the same-process TP rank threads get no call: helios/src/execution/threaded.rs:652-668 let thread = thread::Builder::new() .name(format!("flare-rank-{}", index + 1)) .spawn(move || { let _exit_guard = PeerExitGuard(peer_ring.clone()); let mut executor = match unsafe { GraphExecutor::new_unstarted(manifest) } { BUT those threads inherit their creator's mask, and every production construction of ThreadedExecutor goes through helios/src/execution/ranks.rs:34-36 (RankPeers::Threads(ranks) => ThreadedExecutor::new(...)), whose only production parents are the two call sites SUB2 keeps — helios/src/server/runtime.rs:585 (inside the already-narrowed flare-model thread) and helios/src/execution/parallel.rs:551 (inside already-narrowed serve_rank). Other constructors are tests (helios/src/execution/tests.rs:89,1372-1373, threaded/cuda_tests.rs:41). So deleting worker.rs:71/replay.rs:174 costs no coverage anywhere, and adding a threaded.rs call is unnecessary. This resolves Simplicity F2 in favour of subtraction. Residual real point worth one line: the PR states the narrowed population as a file list; stating the rule ("the thread owning the CUDA execution/WFET worker, the RoCE proxy, and the peer-rank entry") is smaller prose and tells the next thread type whether it qualifies.

#6 [high] Research summary

Produced a deduplicated, code-grounded candidate brief for PR #576 (head 4b41ddc, 7 files, +226/−1) from the 6 lens reports, with 13 surviving candidates and exact quoted code under each.

Verification: opened every changed hunk plus callers/rule docs myself. Confirmed no reviews, no CI checks, and only the single flare-autobot case-file comment, so nothing was resolvable as already-fixed and there was no CI-infra noise to drop. Merged the four-lens convergence on the vendored RoCE proxy divergence (Correctness "should fix", Prose "blocking", Conventions 1, Subtractive 1) into one blocker; merged the two-lens convergence on policy duplication into the same item; downgraded Architecture's evidence blocker to Should-fix as a description/method gap.

Survivors: 2 blockers — (B1) default-on unconfigurable 90 %-of-max affinity policy with a magic constant and midpoint fallback in the shared eos crate, eos/src/unix.rs:190-209/:212-216; (B2) vendored roce_proxy.c no longer identical to its pin, with the policy implemented twice, roce_proxy.c:6-8/:1505-1510/:1572-1577 vs NOTICE:16-19/docs/roce-ring.md:360-364. 4 should-fix — no main-vs-head baseline or reproduction path; silent error suppression (unix.rs:225-236, :244); untested syscall/sched_setaffinity and C path; serve_rank side effect before validation (parallel.rs:527-548). 3 subtract — delete the three-tier fallback (~36 lines), delete the replay.rs/worker.rs pins, and do not add the threaded.rs site. 4 nits bundled.

Two corrections the brief carries that no upstream lens had: (a) Subtractive's delete-the-C-copy fix is sound but its replacement call site (RoceTransport::connect at roce.rs:295) runs on the process main thread for both cluster.rs:203 and :250 paths, so pinning there also narrows the dashboard and image-preparation threads spawned later — a short-lived opener thread avoids that; (b) Simplicity/Conventions' "missing flare-rank-N site" objection is void, because ThreadedExecutor is only constructed inside the already-narrowed flare-model thread (runtime.rs:585) and serve_rank (parallel.rs:551) via ranks.rs:34-36, so subtraction costs no coverage anywhere.

#7 [high] PR #576 brief — report structure, merge map, and cross-cutting verified facts

Use with entries 1–5. This note is the skeleton for the final report.

=== Verification context (all verified by opening the PR) ===

=== Counts === 2 Candidate Blockers (B1, B2); 4 Candidate Should Fix (S1–S4); 3 Candidate Subtract/Simplify (SUB1–SUB3, one of which is a "do not add / do not delete" clearing); 4 combined Candidate Nits (N1–N4). Total 13 survivors, inside the 5–12 target once SUB3's clearing is counted as a note rather than a candidate.

=== Merge map (lens finding -> candidate) ===

=== Two facts in my final message that are NOT yet in entries 1–5 ===

  1. B1 sub-fact: the "x86_64 Linux is a 100% no-op" promise in the description rests only on the kernel not exposing /sys/.../cpu_capacity (the read fails and the function returns at unix.rs:228-230). There is NO arch guard anywhere in the function — no #[cfg(target_arch)], no compile-time or runtime check. So any x86_64 host that does expose cpu_capacity (hand-built kernel, mounted sysfs in a container) would have its threads narrowed by the same 90% rule; Architecture's open question 3 makes this point and it strengthens B1 rather than standing alone.
  2. Mention that the brief deliberately keeps Architecture's "no maintainer request found" observation as context for B1 only (local index #577/#575/#574 same author, #280 WFET parking, #556 DispatchRing do not cover CPU affinity); agents.md:165-169 and :201-206 require an explicit maintainer request. Do not inflate it into its own candidate.

=== Verified-as-fine list (state briefly so the adjudicator does not re-litigate) ===

#4 [medium] PR #576 candidate brief — Candidate Nits (NIT1–NIT6) and dropped noise log

=== Coordinate/infra nits (combine prose+nits into at most a few small items) ===

NIT1 — Call sites bypass the crate::os:: shim (Conventions 4). Every other Helios OS call goes through it (helios/src/os.rs:8 pub(crate) use flare_eos::*;), e.g. crate::os::lower_priority in helios/src/offload/transfer.rs:282. The four new lines call flare_eos::prefer_high_capacity_cpus() directly (helios/src/execution/parallel.rs:539, helios/src/execution/worker.rs:71, helios/src/replay.rs:174, helios/src/server/runtime.rs:568). One-line-each change to crate::os::prefer_high_capacity_cpus(). Note this fix disappears entirely if SUB2 deletes two of the four sites.

NIT2 — Third redundant stub arm (Conventions 3): eos/src/unix.rs:247-248 #[cfg(not(target_os = "linux"))] pub fn prefer_high_capacity_cpus() {} duplicates eos/src/windows.rs:219-220's empty body verbatim. lib.rs already splits modules by cfg, and lower_priority (unix.rs:77 / windows.rs:160) is defined once per module with no third arm. On Linux+Windows the arm never compiles; on macOS/BSD it is the live definition and the Windows body is unreachable.

NIT3 — Placement in eos/ rather than a Helios module (Architecture nit 1). AGENTS.md:20-22 defines eos/ as "the host operating-system operations that Helios and Selene use" and exports wholesale (eos/src/lib.rs:9-16), so a serving-affinity policy is now inherited by Selene too; select_high_capacity_cpus is pub (unix.rs:172) although its only caller is in the same file (unix.rs:237) — making it private keeps a policy detail out of exported API.

NIT4 — Doc comment vs code mismatch, and one test passes for the wrong reason (Architecture nit 2). unix.rs:196-197 claims the fallback avoids "collapsing multiple busy threads onto a single prime core", but if the high tier is exactly one CPU the fallback can select just that CPU and then return None at line 205. And the "already restricted to one tier is a no-op" claim is enforced by selected.len() < allowed_with_capacity.len() at line 205, not by min_cap == max_cap at line 185 — which is why the performance_only case (unix.rs:287-292, capacities 997/1017/1024 = two distinct values) passes. Related: unix.rs:212-214 says "non-Linux targets" but the Windows stub lives in windows.rs:219-220 (Prose N1).

NIT5 — Prose/description, mechanical (combine into 1 item): (a) cold-prefill range quotes +2.6%..+17.3% but the two illustrated points are +17.3% (8k) and +9.2% (16k); +2.6% belongs to 32k/64k/128k and is never shown — the worst case is the only unattributed one, and the worst case is what a reviewer weighs. (b) "Why" says the p90 wake gap stretches "by more than an order of magnitude" while the evidence reports 61× (1,880.3 → 30.9 µs) — understates its own result; make the two consistent. (c) Optional: state whether the "same exported core" applies to the CV/tok/s figures as well as the cold-prefill ladder (only the latter says so).

NIT6 — Noise/stack footprint (low; Architecture nit 5): roce_proxy.c:1516-1517 allocates int cpus[CPU_SETSIZE]; uint32_t caps[CPU_SETSIZE]; = 8 KiB on the proxy thread stack; harmless at CPU_SETSIZE 1024. And one sysfs open per allowed CPU (20 on GB10) on the startup path, paid even by ranks rejected immediately — merges with S4's point (b) and vanishes if the C copy is deleted (SUB1/B2).

DROPPED AS NOISE (do not pass downstream):