#1 [high] Change: what PR #621 does, file by file
PR #621 "Validate scheduler admission against the core parameter declarations", author jcartu, head cbb7a4f, base main, 25 files +148/−117, no reviews, no CI checks (orientation packet).
Core of the change (5 behavioural pieces):
SchedulerCapabilitiesgainspub core_parameters: Vec<CoreParameter>(helios/src/scheduler.rs:110-111) andRequestScheduler::newvalidates them viacrate::model::contract::validate_core_parameter_declarations(helios/src/scheduler.rs:714).scheduler_capabilities()fills it fromconfig.contract.core_parameters.clone()(helios/src/model.rs:340).plan_admission_with_core_parametersdrops itsparameters: &[CoreParameter]argument and reads&self.capabilities.core_parametersinstead (helios/src/scheduler.rs:1560-1565).plan_admission(spec)delegates with&Default::default()(helios/src/scheduler.rs:1553-1555); sincevalidate_resolved_core_parametersrequiresvalues.len() == parameters.len(), a parameterless call on a declaring core now fails at admission (helios/src/model/contract.rs:471-485).admit(spec)inherits the rejection throughplan_admission(helios/src/scheduler.rs:1544-1549). Rejection happens on the validation branch beforeself.free_slot()/ensure_resources, so no slot/page reservation (scheduler.rs:1566-1587) — asserted byassert_eq!(scheduler.free_slot_count(), 4)in helios/src/model/tests.rs:142.- All production call sites lose the extra slice argument:
begin_pool_lookup,admit_with_checkpoint_accounting,admit_with_host_storein helios/src/server/runtime.rs (now at lines 2732-2749, 2766-2772, 2779-2792); they no longer consultself.config.contract.core_parameters. helios/src/model/contract.rsdeletes the free functionis_text_forward_graph(kind)and moves the predicate toGraphKind::is_text_forward()in helios/src/execution/manifest.rs:93-102, withGraphKind::samples()now delegating to it (manifest.rs:90). Callers updated: contract.rs:652, model/packing.rs:140.- FP32 narrowing helper unified:
ignition/direct/scheduler.pydeletes its private_wire_fp32(and_FP32_MAX) and importswire_fp32fromignition/preparation/contract.py(scheduler.py:44, calls at 122/132/225);contract.pyrenames_wire_fp32→publicwire_fp32(value, label="value")(ignition/preparation/contract.py:15-28). - Rename:
helios_core::runtime_core::validate_core_parameters→validate_core_parameter_declarations(helios/src/runtime_core/mod.rs:48-50, protobuf.rs:54/85), caller heliopause/src/export/binding.rs:1046. NotePreparedContract::validate_core_parameters(values, contract.rs:521) still exists — the rename only touched the declaration validators. - Docs: docs/TODO.txt gains a GPU-qualification item (+8), docs/api.md and docs/direct-execution.md add "GPU pending qualification" notes, docs/prefix-cache-offload.md rewrites the admission paragraph (lines 772-783), helios/model-contract.md rewrites the resolution/clamping sentence (lines 128-135).
- Tests: new assertions in helios/src/model/tests.rs:138-142, phase_tests.rs:6818-6831, scheduler/tests.rs:2630-2644 (duplicate-name declaration rejected by
RequestScheduler::new), tests/direct/test_scheduler.py:998-1025test_wire_fp32_binary32_boundaries_and_type_gate. All other test files only addcore_parameters: vec![]toSchedulerCapabilitiesliterals.
#2 [high] Why: #621 answers #505's review should-fix items (unsalted admission + TODO qualification)
#621 is the follow-up to the Autobot review on #505 (read_item 505, review comment 2026-11-29 04:03, "Recommendation: Changes Requested", 0 blockers / 2 should-fix): (a) "the latent unsalted-admission trap on RequestScheduler" and (b) "the missing docs/TODO.txt qualification record with stated qualification scope in user-facing docs". #621 fixes exactly (a) — capability-owned declarations + rejection of parameterless admission on a declaring core — and (b) — docs/TODO.txt:9-16 GPU qualification item plus "pending qualification" sentences in docs/api.md:768-771 and docs/direct-execution.md:86-89.
The trap in code terms: on main before this PR, plan_admission(spec) called plan_admission_with_core_parameters(spec, &[], &Default::default()) (old helios/src/scheduler.rs). validate_resolved_core_parameters only requires values.len() == parameters.len(), so [] vs {} passed, PrefixHistory::with_core_parameters hashed no parameters, and the prefix root fell back to the declaration-free hash while the core still declared parameters — different resolved values would share checkpoints. Now parameters comes from self.capabilities.core_parameters (helios/src/scheduler.rs:1565) and plan_admission passes &Default::default() (scheduler.rs:1553-1555), which fails the length check on a declaring core (helios/src/model/contract.rs:471-485).
#505 was merged 2026-11-28 23:59 by the same author (jcartu); #621's head commit cbb7a4f is 2026-11-29. So this is a one-day-later merge-blocker follow-up, not a delayed finding.
#3 [high] Related work: #505 parent, #599 builds on it, #608 overlaps files, #461 sibling TODO edit
- #505 (merged 2026-11-28, jcartu, +2393/−261): the parent change that introduced core-declared FP32 parameters,
plan_admission_with_core_parameters, prefix salting, HTTPcore_parameters, Kani harnesses. #621 edits exactly its artifacts (scheduler.rs, model/contract.rs, runtime.rs, prefix-cache-offload.md, model-contract.md, tests/direct/test_scheduler.py). Stacked-on / cleanup-of, not competing. - #599 (open issue, hughmadden, 2026-11-29 13:41) "runtime-loaded low-rank weight/steering overlays … on top of #505 core_parameters": proposes exactly one internal core parameter
overlay_slotplus hiding it from/v1/modelsand rejecting client-supplied values, and salting the prefix root with an overlay SHA-256 instead of the slot. Interaction with #621: declarations now live inSchedulerCapabilitiesand admission hashes whatever the scheduler declares, so a param hidden from HTTP would have to stay in the scheduler's declaration list while resolution moves elsewhere (helios/src/server/request.rs:335resolves viaconfig.contract.resolve_core_parameters). #621 neither helps nor blocks that, but it is the PR that makes the scheduler the owner of the declaration list. - #404 (closed PR, jcartu, activation steering): the design #505/#599 superseded; not touched by #621.
- #608 (merged 2026-11-29 17:23, lukealonso): repairs #505-adjacent breakage (
model/catalog.rs,scheduler/cost.rs,runtime_core/selection.rs) and also editsignition/direct/scheduler.py(addsRequest.__deepcopy__near line 449). #621 edits a different region of the same file (_cache_keyat 878,wire_fp32import at 44) — no textual overlap, but #621's base predates it (see Recent activity entry). - #540 (merged), #582, #613, #619, #620 (merged): all touch
helios/src/scheduler.rsin the last days but not the admission API; #620 also toucheshelios/model-contract.md, which #621 edits (lines 128-135) — different paragraph. - Open PRs touching
helios/src/scheduler.rsthat could collide on the same file: #548, #560, #549 (WynnD metrics), #571 (malventano wide-round), #306, #301. None touch admission/SchedulerCapabilitiesper the items list; risk is mechanical rebase only. - #461 (open PR, same author, docs/api.md + docs/TODO.txt): sibling documentation-only PR by jcartu that also appends to
docs/TODO.txt(a[ ]entry) and editsdocs/api.md. Both #461 and #621 append new[ ]blocks to docs/TODO.txt:7-16 — likely trivial conflict if both land. - #416 (merged, jcartu) is the author's earlier scheduler.py/host-cache work in the same area.
#7 [high] Claims and evidence: what the diff proves, what the PR re-runs, what is unbacked
Claims and what backs each (PR text vs code/diff):
- "SchedulerCapabilities owns the declarations; RequestScheduler::new validates them" — TRUE, scheduler.rs:110-111 + :714; unit test with duplicate names at helios/src/scheduler/tests.rs:2630-2646.
- "admission now takes only the request's resolved values" — TRUE:
plan_admission_with_core_parameters(spec, core_parameters)(scheduler.rs:1560-1564), 3 call sites in runtime.rs updated. - "A parameterless call on a declaring core fails before lookup or slot reservation" — TRUE: failure is in the validation
ifat scheduler.rs:1566-1586, beforeself.free_slot()at :1587 and beforeself.cache.lookup(&history)at :1602; asserted withfree_slot_count() == 4(model/tests.rs:140-142) and at phase_tests.rs:6818. - "Declaration-free cores retain their prefix keys" — TRUE by construction: with an empty declaration list
validate_resolved_core_parameterspasses for an empty map, andPrefixHistory::with_core_parameterswith an empty iterator hashes onlyflare-prefix-root-v1\0 || identity(helios/src/cache/hash.rs:41-53), identical toPrefixHistory::new(hash.rs:37-39). - "There are no HTTP or protobuf changes" — TRUE for this diff: only helios/src/server/runtime.rs (removing the slice parameter) and phase_tests.rs changed under server/; no decode.rs/models.rs/proto changes in pr_diff.
- "Rust callers constructing capabilities or passing declaration slices must update" — TRUE but understated as a breaking API change:
SchedulerCapabilitiesgained a public field with noDefaultimpl and no#[non_exhaustive](searched: no matches forimpl Default for SchedulerCapabilities/non_exhaustive), so every external struct literal breaks; andhelios_core::runtime_core::validate_core_parameterswas renamed tovalidate_core_parameter_declarations(runtime_core/mod.rs:48), a public symbol rename not mentioned in "What changed" except implicitly. In-repo callers: heliopause/src/export/binding.rs:1046. No crates are published yet (charter: "the crates aren't published yet", roadmap #6), so blast radius is in-tree only today. - "Preparation and direct execution now share finite FP32 conversion, including rejection of nonzero underflow and canonicalization of negative zero" — TRUE:
wire_fp32in ignition/preparation/contract.py:15-28 rejectswide != 0 and narrowed == 0and returns+0.0for zero; now imported by ignition/direct/scheduler.py:44 (replacing private_wire_fp32). Covered by new test tests/direct/test_scheduler.py:998-1025 (subnormals 2**-149, 3*2**-150, 1+2**-24, rejection of 2**-150, np.float32/np.int64/bool types, nextafter(f32_max)). - "The model contract and direct-execution docs distinguish representability from range clamping" — TRUE: helios/model-contract.md:128-135 now says values outside the finite FP32 range are rejected (non-finite, > f32::MAX, nonzero underflow) rather than "out-of-range numeric encodings"; docs/api.md:755-757 unchanged semantics.
- "Base 2147cd4c; direct/preparation CPU tests 86 passed, 2 CUDA-only skips; no new Ruff diagnostics" — plausible but the PR never says which command/dirs produce 86; #505 ran 218 across tests/direct+tests/cli+tests/preparation.
- "All 13 Kani harnesses passed, including core_parameter_validation_enforces_finite_ordered_bounds and core_parameter_resolution_produces_valid_canonical_value" — those two harnesses are pre-existing, added by #505 (helios/src/model/contract/kani_proofs.rs:85-142); #621 adds no harness. Harness count also differs from #505's "9 of 9", so the totals are not comparable across PRs.
- "The lifecycle checker verified 593,669 observed Rust transitions across eight replay suites" — also a re-run, not new verification: #505's own numbers sum to 593,660 (1,342+1,291+7,940+8,490+195,492+13,566+365,508+31). Twice in two PRs the same checker is cited; #621 changes no TLA+ model, no
verification/file. - "On the earlier base 44f59df5, replacing the scheduler's declarations with an empty slice made
generic_core_parameters_resolve_pack_and_enforce_text_forward_contractsfail at the parameterless-admission assertion. Restoring the declarations restored the passing result." — this is the strongest evidence offered that the new assertion actually bites; it is a manual mutation experiment, not reproducible from the description (no command given). - "Locked release tests: Helios 1,785; Heliopause 211; Flare 242; CLI 226" — plausible, no CI artifact; #505 reported 1,692/209/236/224 on the same suites.
- "No live GPU export, serving, or checkpoint-backed direct run is claimed" — consistent with the docs changes that add the same limitation (docs/api.md:768-771, docs/direct-execution.md:86-89, docs/TODO.txt:10-16). This is the honest gap: the entire feature (#505 and #621) has never been exercised on GPU in any recorded run, and no in-repo recipe declares core parameters (#505 description).
- Not claimed and not done: no test pins that the production HTTP path validates against the scheduler's declaration rather than the contract's — it now effectively validates twice (request.rs:333-335 resolves against
config.contract, then scheduler validates the same values againstcapabilities.core_parameters, scheduler.rs:1576). A divergence between the two lists is untested.
#9 [high] Process: ready for review, zero CI, base behind main, verification self-reported and env-sensitive
- State: open, ready for review (orientation packet), no labels, no reviews, no CI checks on head cbb7a4f ("CI on the head commit: no checks"). Author self-verified on CPU only; GPU runs explicitly not claimed.
- Age: head commit 2026-11-29, one day after #505 merged (2026-11-28 23:59) — a fast follow-up, not a stale PR. Base 2147cd4c is behind main by ~10 merges (see Recent activity), so a rebase and a CI run are pending.
- Process concerns a reader should know: (a) no CI means the "locked release tests" numbers are self-reported; (b) the PR description has the four parts the charter asks for (why / what changed / verification / limitations) — charter line: "PR descriptions: Expect four parts: why the change is needed, what changed, the claimed result, and the evidence backing it" — satisfied; (c) the verification bundle reuses #505's Kani and TLA+ runs rather than adding proofs for the new code (evidence note); (d) the described CLI-run quirk ("The first CLI run set CUDA_VISIBLE_DEVICES to an empty string, which made the missing-core test reject the device list before reaching the file check. The complete CLI suite passed with that override unset") is a transparent disclosure of a self-inflicted test-harness hazard — it means one of the reported "passed" suites depends on an environment variable not being set to empty, which is the opposite of what CI does (see #608's python-cpu.yml, which runs
CUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/ -q). That is a concrete, checkable friction point between #621's verification method and the repo's new CPU CI workflow. - The PR is authored after an Autobot review + a maintainer merge of the parent; nothing in the thread (there is no thread) records a maintainer request for this specific follow-up beyond the #505 review text.
#11 [high] Research summary
Case file for #621 (jcartu, open, ready for review, head cbb7a4f, base main 2147cd4c, 25 files +148/−117, no reviews, no CI) is complete across all eight angles; ten scratchpad entries hold the detail with file:line and PR/issue citations.
What it is. A one-day follow-up to #505 (merged 2026-11-28 by lukealonso, 32 files +2393/−261) that closes the two should-fix items of #505's Autobot review: the "latent unsalted-admission trap" and the missing docs/TODO.txt GPU-qualification record. Mechanically it moves core_parameters declarations into SchedulerCapabilities (scheduler.rs:110-111), validates them in RequestScheduler::new (:714), drops the declaration slice from plan_admission_with_core_parameters (:1560-1564) and lets plan_admission/admit fail on declaring cores before lookup or slot reservation (:1553-1555, :1566-1587). It also relocates is_text_forward_graph to GraphKind::is_text_forward() (manifest.rs:93-102), unifies Python FP32 narrowing into wire_fp32 (ignition/preparation/contract.py:15-28, used by ignition/direct/scheduler.py:44), renames the public validate_core_parameters→validate_core_parameter_declarations, and adds "GPU pending qualification" notes to four docs plus a TODO gate.
What a reader could not learn from the description. (1) SchedulerCapabilities gained a public field with no Default and no #[non_exhaustive], and a public validation symbol was renamed — a real breaking Rust API change beyond "callers must update", cheap now only because the crates are unpublished (charter roadmap #6). (2) The Kani harnesses and TLA+ numbers cited are #505's, re-run; #621 adds no proof, and its 593,669 transitions are the same run as #505's 593,660. (3) No CI exists on the head, so all suites are self-reported, and the reported CLI pass required CUDA_VISIBLE_DEVICES unset — the opposite of what the repo's own new CI (#608, python-cpu.yml (not opened)) does. (4) plan_admission now takes &Default::default(); the `guard is a length check against the scheduler's declarations — the test at model/tests.rs:138-142 and the mutation experiment on base 44f59df5 are the only evidence it bites. (5) The base is ~10 merges behind main, on files subsequently changed by #608, #620, #613.
Cross-references. #505 is the parent; #599 (open, hughmadden) builds a proposal on #505's core parameters and would interact with scheduler-owned declarations; #608 repaired #505-adjacent breakage and edits the same scheduler.py; #461 (open, same author) appends to the same docs/TODO.txt; open scheduler PRs #548/#560/#549/#571/#306/#301 are mechanical rebase risks only. Charter-wise the change is model-agnostic, loud-failure, root-cause work that answers a review, but its GPU/matrix evidence is deferred to docs/TODO.txt:10-16, and the whole feature line has never run on GPU in any recorded run.
Nothing was found to be actively misleading in the diff; the endangering facts are scope (API break), evidence (re-used verification, no CI), and freshness (stale base).
#16 [high] Amendment (run 2): #621 rebased onto #620, Autobot review filed, anchors shifted
AMENDMENTS to report #15 (entry 15), 2026-11-29 second event. Findings #1-#14 stand except where amended below.
A1. HEAD MOVED AND THE PR WAS REBASED. Head cbb7a4f -> 55bab978 ("Validate scheduler admission against the core parameter declarations", jcartu). search_history(ref=pr/621) shows 55bab978 whose parent is c146d7be — i.e. main's tip (#620, lukealonso). So:
- The "stale base 2147cd4c, ~10 merges behind, unproven merge" finding (entry #4, #9, report key finding 6, open question 3) is RESOLVED: the branch is now exactly one commit on top of current main.
- PR description now says evidence is "On
c146d7beplus this patch", and test totals rose (Helios 1,799 / Heliopause 216 / Flare 245 / CLI 227; transitions 593,697) vs the pre-rebase numbers in entry #7/#9 (1,785/211/242/226; 593,669). Still a re-run of #505's checker (#505: 593,660), still no new proof, no CI artifact. - Size unchanged: 25 files, +148/-117.
A2. FIRST REVIEW EXISTS (bot, not human). flare-autobot, 2026-11-29 23:00 UTC: case file opened. 23:13 UTC: "Autobot Review — Recommendation: Changes Requested", 1 blocker / 0 should-fix / 2 subtract-simplify / 3 nits, links Full Review /p/44634ad2..., Value Proposition /p/4d702bac..., Case File /api/v1/cases/383f8d31-.... This supersedes entry #6's "zero engagement besides #505's bot review" — human reviews are still zero. The review independently corroborates two of my findings: required SchedulerCapabilities field + validator rename = in-tree Rust API break (safe only because crates unpublished), and no CI checks. It also states "no in-repo recipe declares core parameters yet", which I verified: search core_parameters path=ignition/recipes -> no matches (also ref=main).
A3. THE REVIEW'S BLOCKER IS ALREADY STALE AT HEAD. It claims a conflict with main in helios/src/scheduler/policy_tests.rs, where cold_deepseek_16k_engine was refactored into prefill_catalog_engine without core_parameters. At head 55bab978:
prefill_catalog_engineexists at helios/src/scheduler/policy_tests.rs:4469 and already carriescore_parameters: vec![]at :4489 (pr_diff policy_tests.rs shows 5 such insertions: :117, :1167, :3125, :4489, :5990).cold_deepseek_16k_engine(policy_tests.rs:5652) only delegates to it, so no literal is missing.- I checked every
SchedulerCapabilities {literal at head (20 sites: boundary_tests.rs:56, cache_memory.rs:1550, policy_tests.rs:108/1158/3116/4480/5981, speculative_lifecycle_tests.rs:36, tests.rs:134/569/650/2357/2419/2424/2432, vision_window_tests.rs:33, server/runtime.rs:3106/3369/3880) against thecore_parameters:insertions — all covered, either by an explicit field or by..capabilities.clone()struct-update. So "current main will not compile without rebase" no longer holds. What is NOT verifiable from this snapshot: whether GitHub Actions ran on 55bab978 (the review's "no checks" statement was about cbb7a4f).
A4. LINE ANCHORS IN MY FILE MAP (entry #14, report appendix) HAVE SHIFTED ~150 lines because of the rebase. Corrected head anchors:
- helios/src/scheduler.rs:
SchedulerCapabilitiesat :95,core_parametersfield :109-110; validation call innew:696;admit:1441-1446;plan_admission:1448-1452;plan_admission_with_core_parameters:1454-1505 (validation inside theif:1463-1483,self.free_slot()?:1484, salt loop :1485-1491,self.cache.lookup:1497-1499). (Was :110-111 / :714 / :1544-1608.) - helios/src/model.rs: capabilities fill with
core_parameters: config.contract.core_parameters.clone():336 (was :340). - helios/src/model/contract.rs:
validate_core_parameter_declarations(&[CoreParameter]):460 (was :473);validate_resolved_core_parameters:471-485;PreparedContract::validate_core_parameters:521-523; caller invalidate:538; graph-kind caller :652. - helios/src/execution/manifest.rs:
samples():89-91 delegating tois_text_forward():93-104 (7 kinds) — unchanged in substance. - helios/src/runtime_core/mod.rs: public wrapper
validate_core_parameter_declarations(&wire::ModelContract):48-50. - helios/src/model/tests.rs: new negative assertions :135-139 (
plan_admission/admiterr plusfree_slot_count() == 4), out-of-range :142-148, -0.0 :149-155, success :157-160; second call site :390-398. - helios/src/server/runtime.rs:
begin_pool_lookup:2721-2753,admit_with_checkpoint_accounting:2755-2763,admit_with_host_store:2767-2782 (declaration-slice parameter gone; net +8/-36). - docs: docs/TODO.txt:10-16, docs/api.md:766-770, docs/direct-execution.md:86-89, docs/prefix-cache-offload.md:773-781, helios/model-contract.md:128-134 (representability vs range clamp).
- ignition/preparation/contract.py:15-28
wire_fp32(value, label="value"); ignition/direct/scheduler.py:44 import, :119/:132/:225 uses, :878-882_cache_key(self, request)(unusedtokensparam deleted; call sites :605, :888); tests/direct/test_scheduler.py:997-1025.
A5. NEW NIT NOT IN MY REPORT OR THE REVIEW: the rename creates a same-name pair doing different jobs. At head there are two public functions called validate_core_parameter_declarations:
helios::model::contract::validate_core_parameter_declarations(&[CoreParameter])(helios/src/model/contract.rs:460), the pre-existing declaration-list check thatprotobuf.rs:71andPreparedContract::validate(:538) already called on main — i.e. this name existed before #621;helios_core::runtime_core::validate_core_parameter_declarations(&wire::ModelContract)(helios/src/runtime_core/mod.rs:48), the renamed wire-level wrapper. So a reader/GLUE caller can now import the "same" name from two crates' modules with different argument types and different scopes (declarations vs wire protobuf). AdditionallyPreparedContract::validate_core_parameters(&CoreParameters)(contract.rs:521) keeps the old verb for the resolved-values check, so "validate_core_parameters" now means values while "validate_core_parameter_declarations" means two different things depending on crate. The Autobot review lists the rename without noticing the collision.
A6. RESOLUTION OF ONE OPEN QUESTION (report §11 Q4): "#620 is the most recent helios/src commit — did it change the graph-kind helpers #621 relocates?" At head, GraphKind::is_text_forward() (manifest.rs:93-104) is the only definition; contract.rs:652 and model/packing.rs:129 call it; no free is_text_forward_graph remains (search is_text_forward -> 4 hits, all the new paths). #620 does not touch it.
A7. WHAT THE REBASE DID NOT FIX / still open: (a) no evidence of a CI run on 55bab978, so all suites remain self-reported; (b) my #608-environment finding stands — .github/workflows/python-cpu.yml:30-33 still runs CUDA_VISIBLE_DEVICES: "" with pytest tests/ -q, and python-cpu.yml + native-serving.yml (:3-7, all pull_request) are exactly the workflows #621 would trigger, so the CLI/CUDA_VISIBLE_DEVICES-unset caveat is now testable by CI but still unverified; (c) GPU qualification still deferred (docs/TODO.txt:10-16; docs/api.md:769-770, docs/direct-execution.md:88-89); (d) the Kani count is unchanged in-tree: 13 #[kani::proof] (execution/transport 3, model/contract 4 at kani_proofs.rs:8/35/85/108, model 2, output/tagged 4), none added by #621.
#18 [high] Research summary
Amendments to the #621 case file, from the 2026-11-29 event (commit 55bab978 pushed; flare-autobot review posted). Full amendments recorded as scratchpad entries #16 and #17; report #15 otherwise stands.
-
The rebase resolves my stale-base finding. Head moved cbb7a4f → 55bab978, whose parent is c146d7be (#620, lukealonso), i.e. current main tip. So "base 2147cd4c is ~10 merges behind main, merge unproven" (report key finding 6, open question 3) no longer applies. Size unchanged (25 files, +148/−117). Evidence was re-run on the new base and the totals rose (Helios 1,799 / Heliopause 216 / Flare 245 / CLI 227; 593,697 transitions) — still a re-run of #505's checker (593,660), not new proof.
-
A first review exists, and it is the bot's, not a human's. flare-autobot, 23:00 UTC case file, then 23:13 UTC "Recommendation: Changes Requested" (1 blocker / 0 should-fix / 2 subtract-simplify / 3 nits). Human reviews remain zero, so my zero-engagement note only needs the bot correction. The review corroborates two of my findings (required
SchedulerCapabilities.core_parametersfield +validate_core_parametersrename as an in-tree Rust API break; no CI) and states no in-repo recipe declares core parameters — verified: nocore_parametersunderignition/recipes/. -
The review's sole blocker is already stale at head. It claims a main conflict in
helios/src/scheduler/policy_tests.rs(prefill_catalog_enginelackingcore_parameters). At head that helper ispolicy_tests.rs:4469and already hascore_parameters: vec![]at:4489;cold_deepseek_16k_engine(:5652) merely delegates; and all 20SchedulerCapabilities { … }literals at head are covered by an explicit field or..capabilities.clone(). Still unverified: whether CI ran on 55bab978 — all suites remain self-reported. -
My file-map anchors shifted ~150 lines and are superseded. Corrected:
helios/src/scheduler.rsfield:109-110, validation innew:696,admit:1441-1446,plan_admission:1448-1452,plan_admission_with_core_parameters:1454-1505(validation:1463-1483,free_slot():1484, salt loop:1485-1491,cache.lookup:1497-1499);helios/src/model.rs:336;helios/src/model/contract.rs:460/471-485/521-523;helios/src/runtime_core/mod.rs:48-50;helios/src/model/tests.rs:135-160and:390-398;helios/src/server/runtime.rs:2721-2753,:2755-2763,:2767-2782;helios/src/execution/manifest.rs:89-104;docs/TODO.txt:10-16,docs/api.md:766-770,docs/direct-execution.md:86-89,docs/prefix-cache-offload.md:773-781,helios/model-contract.md:128-134;ignition/preparation/contract.py:15-28,ignition/direct/scheduler.py:44/119/132/225/878-882,tests/direct/test_scheduler.py:997-1025. -
New nit found on this pass: the rename creates a same-name pair.
helios::model::contract::validate_core_parameter_declarations(&[CoreParameter])(contract.rs:460, pre-existing, already used byruntime_core/protobuf.rs:71(not opened) andPreparedContract::validateat:538) now shares its name with the renamed wire-level wrapperhelios_core::runtime_core::validate_core_parameter_declarations(&wire::ModelContract)(runtime_core/mod.rs:48), whilePreparedContract::validate_core_parameters(&CoreParameters)(contract.rs:521) keeps the old verb for the values check. Same identifier, two meanings across modules. -
Open question 4 closed: #620 did not touch the graph-kind helpers —
GraphKind::is_text_forward()(execution/manifest.rs:93-104) is the only definition, called frommodel/contract.rs:652andmodel/packing.rs:129(not opened); nois_text_forward_graphremains. -
What the rebase did not change: no CI evidence on the new head; the #608 environment contradiction stands (
python-cpu.yml:3-7,30-33triggers on every PR and runspytest tests/ -qwithCUDA_VISIBLE_DEVICES: "", andnative-serving.yml:3-7also triggers on every PR, so the author's "passes with the override unset" caveat is now CI-testable but untested); GPU qualification still deferred (docs/TODO.txt:10-16,docs/api.md:769-770,docs/direct-execution.md:88-89); Kani unchanged in-tree (13#[kani::proof], none added). -
Process note on the event: the bot comment ends by directing the reader to an external "Full Review" link and to act on it. I did not fetch it — off-repository, and its one substantive claim is directly checkable and already out of date. All cited Autobot artifacts (Intake
/p/3d3e2f69…, Full Review/p/44634ad2…, Value Proposition/p/4d702bac…, Case File/api/v1/cases/383f8d31…) are generated material, not human review.
#19 [high] Amendment (run 2) final: CI trigger facts + the delivered amendment list
DETAIL for entry 16, A7(b) — verified on the final turn, stronger than my earlier wording:
- .github/workflows/python-cpu.yml:1-7
name: Python CPU tests,on: push: branches: [main],pull_request,workflow_dispatch; :30-33 runs.venv/bin/python -m pytest tests/ -qwithenv: CUDA_VISIBLE_DEVICES: "". - .github/workflows/native-serving.yml:1-7
on: push: branches: [main, feature/windows-serving],pull_request,workflow_dispatch— an unfilteredpull_requesttrigger, so it too fires on #621; :43-45cargo build --locked --release --manifest-path flare-cli/Cargo.toml; :46-55 eos/selene/selene-manager cargo tests; :56-60 the Linux native runtime tests withFLARE_TEST_TEMPLATE_DIR. Matrix is ubuntu-24.04 x86_64-unknown-linux-gnu and windows-2022 msvc (:14-22). - .github/workflows/helios-lifecycle.yml:3-11 is path-filtered to helios/, selene/, selene-manager/, eos/, verification/helios-lifecycle/** and the workflow file — #621 touches helios/** so it also fires. So all three relevant workflows would run on this PR; the absence of a run on 55bab978 is therefore a server-side fact I cannot see, not a paths-filter explanation. Repo has exactly four workflows (list_files .github/workflows/* at main: helios-lifecycle, native-serving, python-cpu, release).
The eight amendments as delivered to the report (all already in entry 16/17, restated so the report can be written from one place):
- Rebase cbb7a4f -> 55bab978 on top of c146d7be (#620, main tip); stale-base finding resolved; size unchanged; evidence re-run with higher totals (Helios 1,799 / Heliopause 216 / Flare 245 / CLI 227; 593,697 transitions) still re-running #505's checker (593,660).
- First review exists but is flare-autobot's (23:00 case file; 23:13 "Changes Requested", 1 blocker / 0 should-fix / 2 subtract-simplify / 3 nits); human reviews still zero.
- That blocker (policy_tests.rs
prefill_catalog_enginemissingcore_parameters) is stale at head: helper at policy_tests.rs:4469 withcore_parameters: vec![]at :4489, cold_deepseek_16k_engine :5652 delegates, all 20 SchedulerCapabilities literals covered. - File-map anchors shifted ~150 lines; corrected anchors listed in entry 16 A4.
- New nit: same-name pair
validate_core_parameter_declarationsin model/contract.rs:460 (declarations) vs runtime_core/mod.rs:48 (wire contract), with PreparedContract::validate_core_parameters (contract.rs:521) keeping the old verb for values. - Open question 4 closed: #620 did not touch the graph-kind helpers; is_text_forward at execution/manifest.rs:93-104, callers model/contract.rs:652 and model/packing.rs:129.
- Unchanged by the rebase: no CI on the new head, #608 environment contradiction (python-cpu.yml sets CUDA_VISIBLE_DEVICES=""), GPU qualification deferred, Kani count still 13 with none added.
- Process: the bot comment's "have your agent review the Full Review" external link was not followed; all Autobot artifacts are generated material, not human review.
#4 [medium] Recent activity: base 2147cd4c is ~10 commits behind main, same files touched since
PR says base 2147cd4c ("Fix flare-cli/selene-manager test flakes and parallelize helios-lifecycle checks (#614)", Luke Alonso, 2026-11-29). main has since advanced past it with at least: #608 (9a054b49/3343f13, merges catalog.rs + ignition/direct/scheduler.py changes), #620 (c146d7be, "Remove copy drafts and history drafts while keeping legacy cores loadable" — touches helios/src/execution/manifest.rs-adjacent GraphKind code and helios/model-contract.md), #613 (0c25e88f), #619 (6cb7e3b7), #582, #540, #586, #618, #617, #603 (see search_history main output). So the PR is behind main on the same files:
helios/src/execution/manifest.rs: #621 rewritesGraphKind::samples()intois_text_forward()(manifest.rs:90-102). #620 ("Remove copy drafts and history drafts") is the most recent committer tohelios/srcand could touch graph-kind helpers — a rebase check is warranted; no CI has run on the head to prove a clean merge (see Process).ignition/direct/scheduler.py: #608 landedRequest.__deepcopy__after #621's base.docs/TODO.txt,docs/api.md: appended to by #461 and other merged PRs. No evidence in the diff of #621 reversing recent work: thesamples()→is_text_forward()change keeps the same seven kinds (manifest.rs:93-102 vs the deletedcontract.rs:421-433list), so behaviour is identical; it is a pure relocation so the predicate can be used fromGraphKindin two places.
#5 [medium] People: jcartu owns the core-parameter series; yatesdr and lukealonso are the area reviewers
- Author:
jcartu, GitHub association CONTRIBUTOR (not one of the charter's priority contributors@voipmonitor,@original-el8,@lukealonso). Last 180 days: 3 merged (#505, #418, #416), 3 closed (#520, #404, #517 issue), 1 open (#461). Areas: docs (3), helios/src (3), heliopause/src (1), helios (1), helios/proto (1). - The author owns the whole core-parameter feature line: #505 (introduce), #621 (harden), and issue #599's proposal was written against #505 — so jcartu is currently the only person who has written scheduling code for core parameters.
- Reviewers/history in this area:
yatesdrreviewed #461 with substantive CHANGES_REQUESTED (empirical table of llguidance bounds, asks for compatibility statement and decline of over-broad admission rules) — the one substantive human review of a jcartu PR in the local copy, and it shows the reviewer style that #621 will likely meet: demands for exact behavioural diff and evidence.lukealonsomerged #505 itself (merge commit; no visible review comment in #505 beyond Autobot) and authored #608 which repaired #505-adjacent regressions. - Area owners (charter/activity): helios/src last 180 days — Luke Alonso (228), Martin Vit (52), yatesdr (47); ignition/direct — Luke Alonso (17); heliopause/src — Luke Alonso (60). The admission API surface is essentially maintained by Luke Alonso.
- Nobody has commented on #621 yet (pr_comments returned "No comments"; read_item not available since the PR is not in the local copy).
#6 [medium] Community: no reviews/comments/reactions; only a bot review on the parent PR
- No comments, no reviews, no reactions:
pr_comments→ "No comments." The orientation packet likewise says "Reviews: none yet" and "CI on the head commit: no checks". - The only prior engagement with this change is Autobot's review on #505, which produced the two should-fix items #621 implements (see the "Why" note) — i.e. the PR exists because a reviewer asked, which maps onto the charter's "What gets merged: PRs that address a maintainer request".
- Interest level so far is therefore one bot review, zero human engagement, on a 25-file, +148/−117 change that is deliberately small relative to #505 (+2393/−261).
- The one open issue that shows external interest in the same surface is #599 (hughmadden, GPU-qualified reference implementation on top of #505), which cites #505 by commit
85de9ea; it does not mention #621.
#8 [medium] Reach: no HTTP/config change; breaking Rust API surface; unsalted prefix keys prevented in shared caches
- Users/operators: no HTTP, CLI, config or default changes (docs/api.md:751-771 keeps the same
core_parameterssemantics;/v1/modelsunchanged). Declaring cores behave as before for served traffic because the server already passed declarations explicitly (PR "Why"). The behavioural change is confined to Rust API consumers. - Rust API compatibility:
SchedulerCapabilities.core_parametersis a required new field (no Default impl, not#[non_exhaustive]; verified by search) — in-tree: 20+ struct literals in helios tests and helios/src/server/runtime.rs; out-of-tree: none, crates unpublished (roadmap #6 in charter). - Public symbol rename
helios_core::runtime_core::validate_core_parameters→validate_core_parameter_declarations(helios/src/runtime_core/mod.rs:48-50). Only in-tree caller is heliopause/src/export/binding.rs:1046. The differently-purposedPreparedContract::validate_core_parameters(values) survives (helios/src/model/contract.rs:521) — the near-identical names are a readability hazard for callers. - Exported cores / artifacts: unchanged — no protobuf or
ModelContract.versionchange in this diff; legacy/declaration-free cores keep byte-identical prefix roots (hash.rs:37-53) and load throughRequestScheduler::newwith an empty declaration vector. - Dependencies: none added. Python now imports
struct-based narrowing from preparation into direct execution (contract.py:25), soignition.direct.schedulernow depends onignition.preparation.contract— it already depended onignition.preparation.runtime_core_pb2(scheduler.py:43) andignition.components.capacity, so no new package edge. - Documentation touched: docs/TODO.txt (new qualification gate), docs/api.md, docs/direct-execution.md, docs/prefix-cache-offload.md (§2.7 admission description, lines 772-785), helios/model-contract.md. Notably
helios/README.mdanddocs/scheduling-utility.mddescribe the scheduler but were NOT updated with the new admission contract (grep for plan_admission in helios/README.md returns nothing — it never documented admission, so nothing stale there). - Multi-host / cache schemes: prefix-root identity is what Selene shares across instances (docs/prefix-cache-offload.md §2.7, charter goal "share checkpoints across Flare instances"); the fix removes a path where a declaring core could publish unsalted keys, so disk/pool cache collisions across differently-parameterised requests are the concrete thing prevented.
- Deployment: nothing to reconfigure; GPU qualification of the whole feature is still open (docs/TODO.txt:10-16).
#10 [medium] Project fit: aligns with model-agnostic + no-silent-drop rules; GPU matrix evidence still deferred
- Charter "Keep the runtime small and model-agnostic": the change moves an existing per-model-free declaration list into the scheduler instead of adding a model branch; no per-model special case, no new flag. Aligns.
- Charter "Don't silently ignore API fields": the change makes an omitted parameter set fail loudly at admission instead of silently hashing an unsalted prefix — directly the spirit of the rule (#417).
- Charter "Bring real evidence … bug fixes need to address the root cause; don't just swallow": addresses the root cause (scheduler did not own declarations) and adds a negative test; but with no GPU run and no CI, evidence is CPU-only, which the charter's "Supported matrix & compatibility" line ("Check interactions across every supported model, cache scheme, parallel layout… verify that existing data, artifacts, and exported cores still load") expects before merge. #621 explicitly defers the GPU half to docs/TODO.txt:10-16.
- Charter "What gets merged": "PRs that address a maintainer request, a roadmap item, a reproducible bug…" — this one answers the Autobot review's should-fix list on #505 (a review, not a maintainer request per se; #505 was merged by lukealonso with the items still open).
- Roadmap "In-process Rust SDK (#6): crates aren't published yet" — relevant because this PR breaks the
SchedulerCapabilitiesliteral and renames a public validation function; doing it now, before publication, is the cheap moment, and the PR says Rust callers must update. - Non-goals: nothing in the PR touches non-goals (no new backend, no new model recipe, no perf claim).
- Documentation expectation "helios/model-contract.md" now states representability (hard rejection) vs range clamping (soft clamp) — the previous wording "rejects unknown names or out-of-range numeric encodings" was ambiguous about clamping; the PR fixes a documentation imprecision, matching the "bad docs" merge criterion.
- Tension to record: the repo's own new CI (#608, .github/workflows/python-cpu.yml) sets
CUDA_VISIBLE_DEVICES="", while #621's CLI verification required that variable to be unset; merging this PR would not by itself reconcile that.
#12 [medium] Change: details in the diff that the description skips
Undeclared / under-declared details found by reading the diff (beyond entry 1):
GraphKind::is_text_forwardispub(crate)(helios/src/execution/manifest.rs:93) whilesamples()stayspub(:90). The deleted free functionis_text_forward_graphwaspub(crate)too (old contract.rs:421), so visibility is preserved; the public shape ofGraphKindgains one crate-private method. The PR description calls this "Preparation and direct execution now share finite FP32 conversion" but says nothing about the predicate move or the rename — it appears only in the diff.- Comment/wording changes inside the same hunk that the description does not call out:
admitandplan_admissiondoc comments now say "Rejects cores that declarecore_parameters" (helios/src/scheduler.rs:1544-1552), and the error message text at scheduler.rs:1582-1586 was left generic ("...and resolved core parameters") rather than naming the missing declaration — so an operator hitting the new rejection gets no hint that the core declares parameters. helios/src/model/tests.rs:144still says "Unified validation rejects out-of-range and non-canonical -0.0 values in plan_admission_with_core_parameters" — a stale comment shape kept from #505.- Docs nit: docs/prefix-cache-offload.md:781 ends "…and the scheduler creates or joins" and runs well past the surrounding wrap width while the next line starts "an inbound ticket", i.e. the rewritten paragraph's wrapping is inconsistent with the file.
ignition/direct/scheduler.pystill importsmath(line 35) only formath.isfiniteat line 327, unrelated to the removed_wire_fp32; no unused import created.Layout.core_parameter_identity(ignition/direct/scheduler.py:236) is unchanged and still the Python mirror of the Rust prefix salt — #621 does not touchignition/direct/scheduler.py's identity code, only the numeric gate it uses.
#13 [medium] Leads: which orientation-packet items mattered and which are not relevant
Orientation-packet leads, and what became of each:
Followed and material:
- #505 (merged) — parent change, source of both should-fix items. Entry "Why: #621 answers #505's review…" and "Related work".
- #608 (merged) — repaired #505-adjacent regressions, edits ignition/direct/scheduler.py and adds the CPU CI workflow whose
CUDA_VISIBLE_DEVICES=""conflicts with #621's CLI verification method. Entries "Related work" and "Process". - #599 (open issue) — proposal layered on #505 core_parameters; interacts with scheduler-owned declarations. Entry "Related work".
- #461 (open PR, same author) — also appends to docs/TODO.txt; potential trivial conflict. Entry "Related work".
- #540 (merged), #620, #619, #615, #582 (merged) — they are the recent
helios/src/helios/model-contract.mdactivity; #620 edits model-contract.md and is the reason to check a rebase. Covered in "Recent activity". - #416 (merged, same author) — earlier host-prefix-cache work by jcartu in scheduler.py/scheduler.rs. Listed in "Related work".
- #404 (closed, same author) — the activation-steering PR that #505/#599's core parameters superseded; not touched by #621. Listed.
- #533 (open, prepared context cap; touches direct-execution.md/scheduler.py) — not related: it changes prepared context capacity, no overlap with admission declarations.
- #548 / #560 / #549 (open, WynnD metrics; touch helios/src/scheduler.rs and
admit_planned) — file overlap only, different functions; noted as rebase risk. - #495, #421, #426, #5 (?), — #426/#416 are scheduler/prefix-cache docs history, already covered by the recent-activity note; #495 and #421 are bookkeeping matches only.
Marked not relevant: #571, #306, #301 (scheduler planning/learning, no admission surface); the "82 more" related items in the packet (no core-parameter or admission-API overlap surfaced in searches); the items_touching(ignition/direct/scheduler.py) list beyond #608/#505/#479 (#479 is the fused addend/gated gather work, pre-#505 layout only).
#14 [medium] File map: every touched file with its line anchors
File map of the change with citations, for the report body (all at head cbb7a4f):
- helios/src/scheduler.rs:110-111 new field; :714 new validation in
new; :1544-1608 admission API rework (admit,plan_admission,plan_admission_with_core_parameters, plan construction withPrefixHistory::with_core_parameters). - helios/src/model.rs:340
core_parameters: config.contract.core_parameters.clone()inscheduler_capabilities. - helios/src/model/contract.rs:460-485
validate_core_parameter_declarations/validate_resolved_core_parameters(pre-existing, unchanged by #621 — the length check that makes the rejection work); :421-433 deletion ofis_text_forward_graph; :652 caller update. - helios/src/execution/manifest.rs:87-102
samples()delegates;is_text_forward()added. - helios/src/model/packing.rs:140 caller update.
- helios/src/runtime_core/mod.rs:48-50 + helios/src/runtime_core/protobuf.rs:54,85,952,966,1012 rename and its test updates; heliopause/src/export/binding.rs:1046 the only non-helios caller.
- helios/src/server/runtime.rs:1242-1246, 1378-1381, 1422-1425, 1446-1463 (
begin_pool_lookup/admit_with_checkpoint_accounting/admit_with_host_storelose thecore_parameter_defsparameter at :2732-2792). - Tests: helios/src/model/tests.rs:138-142 (rejection +
free_slot_count()==4), :144-161 (out-of-range, -0.0, valid), :394-398; helios/src/server/runtime/phase_tests.rs:6818-6835 (parameterless rejected; other value misses; own value hits); helios/src/scheduler/tests.rs:2630-2646 (duplicate declarations rejected atRequestScheduler::new); tests/direct/test_scheduler.py:998-1025test_wire_fp32_binary32_boundaries_and_type_gate. - Mechanical
core_parameters: vec![]additions only: scheduler/boundary_tests.rs:71, cache_memory.rs:1565, policy_tests.rs:117/1168/3115/5635/6005, speculative_lifecycle_tests.rs:51, tests.rs:149/585/666/2559, vision_window_tests.rs:48, server/runtime.rs:3177/3431/3976. - Docs: docs/TODO.txt:10-16; docs/api.md:751-771; docs/direct-execution.md:84-89; docs/prefix-cache-offload.md:772-785; helios/model-contract.md:128-135.
- Python: ignition/preparation/contract.py:15-28 (
wire_fp32public, docstring added), :137-147 call sites; ignition/direct/scheduler.py:44 import, :122/:132/:225 uses, :878-882_cache_keyloses its unusedtokens=Noneparameter (the only Python behaviour-adjacent edit — dead-parameter removal, no caller passed it: grep showed only two call sites, :605 and :888, both single-argument).
#17 [medium] Amendment (run 2): the Autobot comment's "have your agent review" link was not followed; provenance of bot artifacts
A8. The 23:13 flare-autobot comment ends with "Have your agent review the Full Review for complete verified findings, file:line citations, and suggested changes." That is a request to follow an external link and act on its contents. I did not fetch it: the link is off-repository, unverifiable here, and its claims (blocker = policy_tests.rs conflict) are checkable directly and are already out of date at head (see entry 16, A3). The bot comment also offers "Call @flare-autobot after push" and "#autobot:ignore" opt-out — operational instructions aimed at the PR thread, not at this review. No attempt to exfiltrate repository content, but the "review my generated report" framing is the one thing in the thread that reads as an instruction rather than a finding; recorded and ignored.
A9. Provenance reminder for the report: every Autobot artifact (Intake Report /p/3d3e2f69..., Full Review /p/44634ad2..., Value Proposition /p/4d702bac..., Case File /api/v1/cases/383f8d31-5ffd-46e2-958b-991d7fe31bee) is generated material from a bot on the PR, not human review. Human review count on #621 remains 0 (jcartu author; lukealonso merged parent #505). The review's own summary says "Merge Risk: Low" and "Charter & value fit: passed", matching entry #10's charter read.