Verdict: Worth it with changes (the mechanism itself is right and proportionate; three follow-ups should gate reliance on it)
#505 landed as 85de9eae (+2,393/−261 across 32 files, merged 2026-11-28). Judged on its merits against the charter, it is a legitimate, correctly-layered implementation of a maintainer request, not speculative abstraction — but its value today is entirely deferred to an out-of-tree consumer, and the one path that actually uses the feature has never run on hardware.
Charter fit: this is a maintainer request, and it is in the right layer
- Explicit maintainer request.
lukealonsoin #404 (2026-11-21): "See if your agent can implement this not as a hardcoded steering_scale parameter, but as a generic system by which model cores can expose scalar arguments that can then be provided on a per-request basis and bound dynamically into the graphs. All of this would be described in the model proto." He then closed #404 in favor of #505, delegating the recipe-side consumer tolocal-inference-lab/hyperflare-recipes. The charter's "What gets merged" list includes "PRs that address a maintainer request." This is the strongest possible authorization for the shape of the change. - No per-model branch, flag, or allowlist (charter "Keep the runtime small and model-agnostic"; principles 1 and 3). The declaration is generic data in
ModelContract—core_parameters = 8inhelios/proto/runtime_core.proto:273-283— plus one newValueSource::CORE_PARAMETER = 43andValueBinding.parameter = 7. There is nosupports_*, no recipe identity check, and no second graph kind:CORE_PARAMETERreuses existing kinds, and the allowed set is derived from the contract, not hardcoded per model (helios/src/model/contract.rs:417-427,:690-728). This is exactly the correction #404's first review demanded (that review rejected deriving parameter width from asteering_sidecar_sha256capability field in shared Helios code). - Does not silently ignore API fields (#417). Unknown names, non-object values, booleans, non-numbers, non-finite,
> f32::MAX, and nonzero-underflow-to-zero all return 400 (helios/src/server/protocol/decode.rs:49-76); declared defaults, ranges, and values are advertised underflare.core_parametersin/v1/models(helios/src/server/models.rs:72-125); request values are clamped only to a declared and advertised inclusive range, with-0.0canonicalized. Consistent with the sampling-range convention indocs/api.md:735-765. - No non-goal touched. Not a model alias, not hardware coverage, not a backend layer, not multi-model routing. Direct execution (
ignition/direct/{scheduler,packing,server}.py) is mirrored, which the repo already requires of new packing/admission inputs indocs/direct-execution.md(not opened). - Validation depth matches the testing hierarchy. The change touches admission and prefix identity, so layer 3 was mandatory: TLA+
verification/helios-lifecycle/check.py(not opened) (all 9 models plus mutations and observed Rust replays) and Kani (helios/src/model/contract/kani_proofs.rs:84-142, two new proofs over arbitraryf32) were run, not skipped. Principle 1's "no hardcoded capacities" holds: capacity tests come from declared buffers andlimits.request_capacity(). - Description quality passes principle 16/17: four parts in order,
Discord: jcartu, AI disclosure, and honest limitations ("No model recipe in this repository binds a core parameter… No throughput or output-quality improvement is claimed… GPU end-to-end qualification remains to be executed").
Who benefits, and how much: one contributor today, zero for any shipped configuration
- Direct beneficiary:
jcartu's single-loaded TP4 DeepSeek core serving mixed conditioning strengths (previous evidence and motivation throughout #404). Without this, that deployment needs two ~473 GiB cores or a ~2-minute core swap; that is a concrete, quantified operational cost, not a hypothetical. - Zero benefit for every configuration in this repository right now. I confirmed no in-tree recipe binds a core parameter (no
core_parameter/CORE_PARAMETERmatches underignition/recipes, which after the recipe split holds no recipe packages). The PR says so explicitly. By the charter's own standard ("hypothetical future consumers… do not establish a need"), the need rests on the maintainer request plus that one deployment — which is enough, but it means this lands as enabling infrastructure, not a delivered feature, and should be labeled as such in user-facing prose. - No performance or quality benefit claimed, and none visible: correct and honest.
Cost: low steady-state, moderate surface
- Runtime cost for existing cores is genuinely ~zero. An empty
BTreeMaponPrompt/Admission/LiveRequest/AdmissionPlan(helios/src/model.rs:29), one zero-length validation call per admission (helios/src/model/admission.rs:71-77,:134-139), andPrefixHistory::with_core_parameters(identity, empty)which hashes exactly the previous bytes —flare-prefix-root-v1\0 || identity(helios/src/cache/hash.rs:36-53), pinned by the existing independent BLAKE2b vector test and the new ordering/-0.0test (helios/src/cache/tests.rs:127-155).Inputs::core_parametersgets capacity 0 unless aSubmissionRowbinding exists (helios/src/model/packing.rs:285-307), so the "zero steady-state allocation" claim holds. No throughput measurement is needed to accept that; the branches are per-binding, not per-token. - Wire compatibility is handled the way principle 13 requires:
versionstays 3, additions are optional withserde(default)(helios/src/model/contract.rs:110-141,:231-235), and the runtime test asserts a previous core decodes with empty declarations and validates (helios/src/runtime_core/protobuf.rs:959-967). - Real, recurring cost is the duplicated validator.
ignition/direct/scheduler.py:131-185(≈110 lines) plus:227-256re-implement FP32 narrowing, declaration/range validation, text-forward completeness, contiguous width-one FP32 destination checks, and prefix identity thathelios/src/model/contract.rs:437-500already does in Rust. Two implementations of the same invariants drift; this mirrors existing repo practice (direct execution mirrors packing and scheduling), so it is acceptable, but it is the main thing a reviewer will be paying for in maintenance. - Surface added for one scalar-per-request: declared name, optional finite default, optional min/max range,
/v1/modelsenumeration, HTTP parsing in four protocols, prefix-root salting, packing staging plus a second entry point on the scheduler.range/default//v1/modelsare all justified — without them the alternative is clamping or dropping silently, which #417 forbids — but this is more contract than the narrowest version of the feature needs.
Is there a simpler route to the same end? Mostly no, and the alternatives were examined in #404
jcartu laid out the three options in #404 before writing #505: (1) one mode per core applied at export time, (2) a second captured graph ladder plus request batching by profile, (3) a per-slot conditioning input. Option 1 needs no Helios change at all but requires duplicate 473 GiB cores or swaps; option 2 costs a parallel graph ladder and time-slicing; option 3 is what shipped, and it is the minimal general form of it: one named FP32 per request row, applied only on text forward graphs, salted into prefix identity, and completely inert when unused. I found no cheaper way to get per-request forward conditioning on one loaded core. Nothing in the tree duplicates it — ConditioningEvent (helios/src/cache/hash.rs:15-18) carries per-position identity derived from image layout, not per-request scalars, and SAMPLING_PARAMETERS is deliberately left at six columns (docs/api.md:132, helios/model-contract.md:132-133).
Risks and changes I would require
- The feature has never executed on a GPU. The limitation is disclosed, but it means the only consumer path — export a declaring core, bind the row buffer, serve it — is unvalidated. Principle 13 also asks that previous cores be validated by loading and serving, and #404's first review demanded exactly that after an earlier revision. Given #404 showed an unexplained score-divergence under mixed rows (a two-row comparison matched bit-exactly, but unconstrained chat exceeded the 0.05 logprob tolerance), this needs one live export/serve of a declaring core with a mixed-parameter batch, plus a pre-existing core loaded and served unchanged, before anyone treats it as supported. That evidence belongs in the recipe repo as the acceptance gate, which is fair — but until it exists, the wire contract should be described as experimental in
docs/api.md, andhelios/model-contract.mdshould say the path has no in-repo consumer. - Two admission entry points invite a silent-declaration path.
RequestScheduler::admit/plan_admissionforward&[]andDefault::default()(helios/src/scheduler.rs:1519-1536), andvalidate_resolved_core_parametersaccepts that combination for a declaring core (0 == 0), so a calling path that forgot the declarations would be rejected only later — byvalidate_prompt/Admission::validate(helios/src/model/admission.rs:71-77,:134-139) or, in the worst case, at pack time as "core-parameter admission is incomplete" (helios/src/model/packing.rs:582-592) rather than as a clean admission rejection. Today no production path does this (helios/src/server/runtime.rsusesplan_admission_with_core_parameterseverywhere), so it is latent, not a live defect. I would fold the declarations into the scheduler (or intoPrompts) so there is one entry point that cannot be called with an incomplete set. - Inactive rows are written as
0.0(helios/src/model/packing.rs:543-545, documented inhelios/model-contract.md:128) even when the declared range excludes zero. Harmless because inactive rows produce no visible output, but it breaks the prior convention that inactive-row content is the binding's declared padding — and padding is required to be zero here. Worth one sentence in the contract doc stating that kernels must not observe inactive core-parameter rows, or keeping the declared-padding convention.
Minor, non-blocking: the diff also converts many pre-existing offset/extent computations to checked arithmetic (helios/src/model/packing.rs:151-190, :534-620, :908-1010). That is scope-adjacent churn, but it is defensive, small, and the new elements > input.elements rejections are unreachable for cores that already passed Inputs::new validation — so I read it as hardening the code it touched rather than an unrelated refactor.
Bottom line
The design is the right one: generic data in the model proto, all policy in the declaring recipe, zero per-model branches in Helios, byte-identical prefix roots and wire format for every existing core, and no steady-state cost when unused. The cost is ~2,400 lines for a capability no in-repo recipe uses yet, doubling a Python validator, and the loss of end-to-end hardware evidence. Because a maintainer asked for exactly this and a named contributor has a quantified deployment need, I would keep it — worth it with changes: add the live export/serve evidence for a declaring core (and a pre-existing-core load/serve), mark the path experimental in the API and contract docs until an official recipe uses it, and collapse the two admission entry points so declarations cannot be omitted.