#1 [high] Change: PR #505 scope, files and size
PR #505 "Bind core-declared FP32 parameters into text forward graphs" by jcartu (Joshua Cartu), merged, head ef94d62, base main, opened 2026-11-25, last updated 2026-11-28. 32 files, +2393/-261. Files (pr_files): docs/api.md +19, docs/direct-execution.md +11/-4, heliopause/src/export/binding.rs +76/-1, helios/model-contract.md +30, helios/proto/runtime_core.proto +15, helios/src/cache/hash.rs +13, helios/src/cache/tests.rs +30, helios/src/model.rs +2, helios/src/model/admission.rs +8, helios/src/model/contract.rs +189/-1, helios/src/model/contract/kani_proofs.rs +59, helios/src/model/kani_proofs.rs +1, helios/src/model/packed_round_tests.rs +2/-1, helios/src/model/packing.rs +175/-41, helios/src/model/testing.rs +3/-1, helios/src/model/tests.rs +463, helios/src/runtime_core/mod.rs +3, helios/src/runtime_core/protobuf.rs +124/-1, helios/src/scheduler.rs +42/-4, helios/src/server/inference.rs +1, helios/src/server/models.rs +50, helios/src/server/protocol/decode.rs +74, helios/src/server/request.rs +4, helios/src/server/runtime.rs +66/-10, helios/src/server/runtime/phase_tests.rs +224, helios/src/server/runtime/prompt_tests.rs +1/-1, ignition/direct/packing.py +1, ignition/direct/scheduler.py +177/-10, ignition/direct/server.py +26/-4, ignition/preparation/contract.py +51/-6, ignition/preparation/runtime_core_pb2.py +180/-176 (regenerated), tests/direct/test_scheduler.py +273. No comments, no reviews, no labels, no CI checks on head commit (pr_comments: "No comments"; orientation packet: "Reviews: none yet"; "CI on the head commit: no checks").
#3 [high] Process: #505 merged with no review, no comments, no CI
#505 read_item: State merged 2026-11-28 23:59, head ef94d62, branch pr/core-declared-graph-inputs. Discussion (0) — no comments, no reviews at all on the PR itself.
It refers to: #555 (merged) feat(capacity): intermediate batch capacities 6, 12, 24 [mentions].
Referred to by: #404 (closed) Add optional per-request activation steering for DeepSeek V4.1 cores [mentions].
Claims to verify in code: -0.0 canonicalization, prefix hash format (u64 len, name bytes, canonical FP32 bits), exact preservation of old root hash flare-prefix-root-v1\0 || identity, HTTP 400 cases, zero steady-state packing allocation, Kani harnesses, TLA+ counts.
#5 [high] Amendment A: #404 closure is the only maintainer endorsement, and it names a different interface
#404 (closed 2026-11-28 22:11, ~2h before #505 merged) — lukealonso: "Closing in favor of #505, which replaces the DeepSeek-specific steering_scale path with the generic ModelContract.scalar_arguments / SCALAR_ARGUMENT binding interface. Any recipe-side consumer belongs in local-inference-lab/hyperflare-recipes."
Facts:
- #505 itself has 0 comments, 0 reviews, 0 CI (unchanged in this run).
- The only recorded maintainer statement endorsing the design is this #404 closing comment, on a different PR, ~2h before merge.
- Naming drift:
scalar_arguments/SCALAR_ARGUMENTdo not exist anywhere on main (search_code on main: no matches). Landed names areModelContract.core_parameters = 8(helios/proto/runtime_core.proto:274),ValueSource::CORE_PARAMETER = 43(:383),ValueBinding.parameter = 7(:400). - AGENTS.md:373-378 requires "prior explicit approval from project owner Luke Alonso" to introduce a captured-graph operation family; "A new operation contract requires approval even if it reuses an existing graph kind or enum value. A design acknowledgment does not grant that approval." #505 adds a whole new binding source + packing path (helios/src/model/packing.rs:50,286,544-606,929), so approval is required; what exists is an endorsement under a different interface name, with no sign-off on #505's own record.
- Precedent for treating that gap as a finding: #539 review comment ("ships a second captured-graph op contract with no recorded owner approval"); #267 comment ("AGENTS.md requires the project owner's prior explicit approval"). Citations: read_item 404 (closing comment), read_item 505 (Discussion (0)), AGENTS.md:373-378, helios/proto/runtime_core.proto:273-274,382-400.
#8 [high] Amendment A′: the principle-1 approval request does exist — on #404, answered there in the owner's own (unlanded) vocabulary
Refines (does not reverse) Amendment A. The chain is: owner directive -> explicit approval request -> owner answer, all recorded on #404, none on #505.
- Origin of the vocabulary, lukealonso 2026-11-21 20:28 on #404: "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." — "scalar arguments" is the owner's own phrase, which is why his 2026-11-28 closing comment names
scalar_arguments/SCALAR_ARGUMENT. - Explicit principle-1 request, jcartu 2026-11-23 14:57 on #404: "Luke: under design principle 1, do you approve this core-declared scalar binding for use inside an existing captured operation, with no change to sampling layout or new graph kind?"
- Second request, jcartu 2026-11-25 00:38 (the day #505 opened): "#505 implements the generic engine interface requested here ... The draft requests a decision on the binding, not approval for a consuming forward."
- The answer: lukealonso's 2026-11-28 22:11 #404 closing comment, 1h48m before #505 merged, naming
ModelContract.scalar_arguments/SCALAR_ARGUMENT. - #505's own description never mentions principle 1, AGENTS.md approval, or a sign-off — the only request is on #404; #505's Discussion is (0) (read_item 505).
Consequence for the report: it is wrong to say there is no approval; the defect is that the owner's approval is recorded only off-thread, in vocabulary that does not exist in the landed code (scalar_argument/SCALAR_ARGUMENT absent repo-wide at main, case-insensitive search_code; landed ModelContract.core_parameters = 8, ValueSource CORE_PARAMETER = 43, ValueBinding.parameter = 7), so nobody verified the approved interface was the interface shipped. That is precisely what AGENTS.md:376-378 guards ("A new operation contract requires approval even if it reuses an existing graph kind or enum value. A design acknowledgment does not grant that approval.").
Citations: read_item 404 (comments 2026-11-21 20:28, 2026-11-23 14:57, 2026-11-25 00:38, 2026-11-28 22:11); read_item 505 description + Discussion (0); AGENTS.md:373-378; helios/proto/runtime_core.proto:273-274,382-400.
#9 [high] Amendment C: same-weekend calibration — approval is enforced by authorship; #535 is a live unanswered approval request for a comparable contract
Calibrates Amendment A: what the repo actually requires of a captured-graph contract in this window, and who gets asked.
- #566 (voipmonitor, merged 2026-11-28 13:07, ~11h before #505) added
ValueSource::PROMPT_LOOKAHEAD_TOKEN = 41,PROMPT_LOOKAHEAD_LENGTH = 42,EngramTable.prefetch_buffer = 16and closed its description with: "Maintainer contract approval note: ... This PR is ready for contract sign-off and review alongside its companion ... recipe PR" and later "B1 (owner contract sign-off) forValueSource41/42 andEngramTable.prefetch_bufferremains open for maintainer approval (also tracked in #535)." Its flare-autobot review concluded: "the new captured-graph contract was merged with no recorded owner approval and its only in-tree producer is unexercised" (Blocker: 1) — merged anyway. - #535 (tastyrice90, opened 2026-11-26, still open) is the model in-tree approval request: it names the proposed fields, asks "Is this contract shape approved, and who decides?", and has 0 comments — unanswered for 3 days while #566 merged.
- #590 (lukealonso, merged 2026-11-29 00:05, 6 minutes after #505) then extended that same mailbox contract by adding
PreparedPLELookup.publish_lookahead(ignition/components/ngram_delivery.py +29) with no recorded approval — the owner is his own sign-off. - Contrast with contributor-authored contracts that were held: #539 review ("ships a second captured-graph op contract with no recorded owner approval"); #442/#443 yatesdr reviews invoking design-review principle 1; #421/#432 same.
Read: for an outside contributor (#505 author jcartu is CONTRIBUTOR) the norm in force that weekend is a recorded owner decision; #505's decision exists only as a sentence closing someone else's PR, and #505's own description never asks. Also: an approval request of exactly the kind #505's body lacks existed in-tree (#535) at the same time. Citations: read_item 566 (description + 2026-11-28 13:32 review); read_item 590 (files, merge 2026-11-29 00:05); read_item 535 (0 comments); AGENTS.md:373-378.
#10 [high] Amendment C′: the discriminator is "measured consumer", not "scalars out of core"; #505's only GPU evidence is off-thread on #404
Two corrections to earlier amendments, both from material already on the record.
-
Amendment B overstated the direction. #566 and #590 show the owner does land new core-declared graph inputs — but always with a measured in-tree consumer and a companion recipe PR:
- #566:
PROMPT_LOOKAHEAD_TOKEN/LENGTH+EngramTable.prefetch_buffer, measured on 4× RTX PRO 6000 Blackwell + Gen5 NVMe (cold_250k 22.9k -> 39.7k tok/s,+73.4%, readiness wait6.43s -> 1.87s), companion hyperflare-recipes PR. - #590 (lukealonso, merged 2026-11-29 00:05, 6 min after #505): PLE lookahead publish, measured
TTFT 7.778s -> 7.418s (-4.6%), hit rate43.1% -> 94.7%, companion recipes#87. So the discriminator is not "scalars belong in recipes" but "no measured consumer, no GPU run". #505 supplies mechanism only; its own body says "No model recipe in this repository binds a core parameter ... No throughput or output-quality improvement is claimed" and "Live GPU export and serving of a core declaring core_parameters were not run ... GPU end-to-end qualification remains to be executed with a declaring recipe."
- #566:
-
The nearest GPU evidence for #505's contract is on #404, and it is explicitly not #505's head:
- jcartu 2026-11-23 16:59 (#404): exported and served a signed TP4 core on 4 SM120 GPUs with an external
embedding_gainrecipe (default 1.0, range 0.5-1.5); prefix isolation exact (0 reused on first use,4,114/4,114on repeat);1,024mixed-vs-same-gain logprobs matched exactly. - Same thread: "unconstrained chat did not pass the 0.05 logprob tolerance"; jcartu 2026-11-25 00:38: "#505 ... includes no steering recipe ... requests a decision on the binding, not approval for a consuming forward"; the #404 branch "is unchanged".
Net: the single-core, two-row correctness of the mechanism is evidenced off-thread; the merged 2,393-line surface still has no in-tree declaring core and no GPU run at
ef94d62.
- jcartu 2026-11-23 16:59 (#404): exported and served a signed TP4 core on 4 SM120 GPUs with an external
Not a finding (lead followed, dismissed): no numbering collision is pending. Open PRs that edit the proto do not take ModelContract field 8 or ValueSource 43 — #483 (pr/483: ModelContract has no field 8; next = 8 is in another message at :335) and #592 (pr/592: sources stop at 40/41/42). Retrofitting scalar_arguments/SCALAR_ARGUMENT onto 43/8 later would itself be a wire rename, not a free fix.
Citations: read_item 566, read_item 590, read_item 404 (comments 2026-11-23 16:59, 2026-11-25 00:38), search_code pr/483 + pr/592.
#12 [high] Research summary
Event checked: #505 itself is unchanged (still 32 files, +2393/-261, Discussion (0), no CI, no new comments), so there is nothing to amend in the change/process findings. But following the approval chain did force two amendments (A is corrected, B is replaced by C′); notes 8-11 hold the detail.
Amendment A (corrected, not withdrawn): the principle-1 approval request does exist — twice, on #404 (jcartu 2026-11-23 14:57: "under design principle 1, do you approve this core-declared scalar binding…"; again 2026-11-25 00:38 when opening #505), and lukealonso answered it in his 2026-11-28 22:11 closing comment. "scalar arguments" is the owner's own phrase (his 2026-11-21 20:28 directive on #404). The defect is narrower and sharper than "no approval": the only sign-off lives on another PR, in vocabulary that does not exist in the landed code (scalar_arguments/SCALAR_ARGUMENT absent repo-wide), so nobody checked that the approved interface was the shipped one (core_parameters, CORE_PARAMETER=43, ValueBinding.parameter=7) — exactly the case AGENTS.md:376-378 covers.
Amendment C′ (replaces B): #566 (10h earlier) and #590 (6 min later, by the owner) show core-declared graph inputs being landed routinely — but always with measured in-tree evidence and a companion recipe PR. The discriminator is "measured consumer, GPU run" (#566: +73.4% cold 250k prefill; #590: TTFT -4.6%), not "scalars belong in recipes". #505 has neither: no in-tree declaring core, "no throughput or output-quality improvement is claimed", GPU qualification explicitly unrun. Its only GPU evidence is in #404 on a prototype branch, and it is partial (two-row bit-exact isolation and prefix isolation passed; unconstrained chat missed the 0.05 logprob tolerance).
Also added: the live unanswered approval request #535 (0 comments, 3 days) that #566 merged over, the owner self-signing pattern, and a lead ledger confirming the four original technical claims (-0.0 canonicalization, hash format, HTTP 400 set, zero steady-state allocation) with landed line numbers, plus leads dismissed (no proto-numbering collision on #483/#592; #583/#589/#591/#592 otherwise unrelated).
#13 [high] FINAL REPORT TEXT — amendments only (note 12; supersedes the wording in notes 5 and 6)
Copy this as the report body (amendments only; the earlier report stands elsewhere).
Verdict on the event
Nothing in the event changes the change/process assessment: #505 is untouched (32 files, +2393/-261, head ef94d62, Discussion (0), no CI, no new comments). The amendments below come from following the approval lead to its end, and one of them withdraws part of the previous report.
Amendment A (corrected): the approval exists — on #404, in an interface that was never shipped
The previous report said no owner approval was recorded. That was wrong in detail and right in substance. The chain is on #404, none of it on #505:
- 2026-11-21 20:28, lukealonso on #404: "See if your agent can implement this not as a hardcoded
steering_scaleparameter, but as a generic system by which model cores can expose scalar arguments … described in the model proto." ("scalar arguments" is his coinage, which is why his closing comment usesscalar_arguments.) - 2026-11-23 14:57, jcartu on #404: "Luke: under design principle 1, do you approve this core-declared scalar binding for use inside an existing captured operation, with no change to sampling layout or new graph kind?"
- 2026-11-25 00:38, jcartu, when opening #505: "The draft requests a decision on the binding, not approval for a consuming forward."
- 2026-11-28 22:11, lukealonso closes #404 "in favor of #505 … the generic
ModelContract.scalar_arguments/SCALAR_ARGUMENTbinding interface" — 1h48m before #505 merged.
What remains a finding: #505's own description never asks for approval (no mention of principle 1 or AGENTS.md), so the sign-off sits on another PR; and the approved vocabulary does not exist in the landed code — scalar_argument/SCALAR_ARGUMENT match nothing at main (case-insensitive search), while the shipped names are ModelContract.core_parameters = 8 (helios/proto/runtime_core.proto:273-274), ValueSource CORE_PARAMETER = 43 (:382-383), ValueBinding.parameter = 7 (:400-401). Nobody verified that the interface approved was the interface merged — the case AGENTS.md:376-378 names ("A new operation contract requires approval even if it reuses an existing graph kind or enum value. A design acknowledgment does not grant that approval.").
Amendment B (withdrawn and replaced)
The previous report's Amendment B argued maintainers were routing model scalars out of core and that #505 therefore had no legitimate consumer. Withdrawn: #566 and #590 show the owner landing new core-declared graph inputs routinely.
Amendment C′: the discriminator is a measured consumer, not the location of the scalar
#566 (merged 2026-11-28 13:07, ~11h before #505) added ValueSource 41/42 and EngramTable.prefetch_buffer with measured evidence (+73.4% cold 245k prefill, readiness wait 6.43s→1.87s on 4× RTX PRO 6000 Blackwell + Gen5 NVMe) and a companion hyperflare-recipes PR. #590 (lukealonso, merged 2026-11-29 00:05, six minutes after #505) extended the same mailbox contract for Qwen3.8 PLE, also with served numbers (TTFT 7.778s→7.418s, hit rate 43.1%→94.7%) and a companion recipe PR. Both are owner-controlled or owner-authored; both ship a consumer. #505 ships mechanism alone — "No model recipe in this repository binds a core parameter … No throughput or output-quality improvement is claimed", and "Live GPU export and serving of a core declaring core_parameters were not run … GPU end-to-end qualification remains to be executed with a declaring recipe."
Its only GPU evidence is in #404, on a branch #404's author says is unchanged from the merged code: two-row bit-exact isolation and exact prefix isolation on four SM120 GPUs with an external embedding_gain recipe (2026-11-23 16:59), while unconstrained chat missed his own 0.05 logprob tolerance in the same thread. So the 2,393-line merged surface has no in-tree declaring core, no GPU run at ef94d62, and no recorded approval on its own record.
Two calibration points added
- #535 (opened 2026-11-26, still open, 0 comments) is the in-tree model of the missing artifact: a contributor asking a maintainer to approve a comparable captured-graph contract ("Is this contract shape approved, and who decides?"). #566 merged over it; #505 never asked in-tree at all.
- flare-autobot flagged the same defect on #566 the same day: "the new captured-graph contract was merged with no recorded owner approval and its only in-tree producer is unexercised" (Blocker: 1). #505 got no such review — its record shows zero reviews and zero CI.
Leads dismissed this run: no proto-numbering collision with in-flight PRs (#483 does not touch ModelContract field 8; #592's ValueSource stops at 42), and #583/#589/#591/#592 touch no #505 surface. The four original technical claim-leads (-0.0 canonicalization, hash format, HTTP 400 set, zero steady-state allocation) still hold at main with the line numbers in note 11.
#2 [medium] Change: wire/contract additions detail (proto + contract.rs)
helios/proto/runtime_core.proto (diff): ModelContract gains repeated CoreParameter core_parameters = 8; new CoreParameter {string name=1; optional float default_value=2; CoreParameterRange range=3;} and CoreParameterRange {optional float min=1; optional float max=2;}; ValueSource CORE_PARAMETER = 43; ValueBinding.parameter = 7. ModelContract.version stays 3 (additive/optional proto fields only; contract.rs validate() still accepts versions 1..=3).
contract.rs adds canonical_core_parameter (-0.0 -> +0.0), is_text_forward_graph (Prefill, TerminalPrefill, ScoredPrefill, Resume, Decode, Speculative, Mixed), CoreParameter::validate, resolve_value (clamp to range), validate_value (finite, canonical bits, in range), validate_core_parameter_declarations (unique nonempty names), validate_resolved_core_parameters, plus PreparedContract::core_parameter/resolve_core_parameters/validate_core_parameters.
validate() new rules: per-graph let text_forward = is_text_forward_graph(kind); saw_text_forward |= text_forward;; core-parameter binding must match core_parameter == input.parameter.is_empty() (i.e. CORE_PARAMETER iff parameter nonempty); only text forward graphs; declaration exists; buffer dtype Float32; shape nonempty, shape[0] >= manifest.request_capacity(), shape[1..] all extent 1; indexing in {SubmissionRow, RequestRow, ActiveRow}; value_offset==0; padding==0; tensor empty. Then if text_forward && graph_parameters.len() != self.core_parameters.len() -> "every selected text forward graph must bind every declared core parameter". And if !self.core_parameters.is_empty() && !saw_text_forward -> error.
#6 [medium] Amendment B: #565 shows maintainers routing model scalars out of core; #505 has no in-tree consumer
#565 (closed 2026-11-28 15:32, ~8h before #505 merged) — JohannesBertens. Its argument rejects putting a model-specific scalar into core: "a runtime --rope-factor would push recipe-specific knowledge ... into core parameter plumbing, the exact coupling the RecipeParameters work removed." lukealonso closed it: ceiling/scaling landed in #212 (d3d0e783) + hyperflare-recipes#68; the helios scheduler panic half landed in #569 (7cd83f32).
Relevance to #505: it is a concurrent, deliberate maintainer decision to keep model-specific numerical controls out of core runtime plumbing and in recipes — the direction #505's own "no model recipe in this repository binds a core parameter" limitation leaves untested. #505 supplies the mechanism; the motivating consumer (activation steering, #404) was closed out of tree into hyperflare-recipes. So the merged 2,393-line surface has zero in-tree producer and zero GPU qualification (its own "Unrun checks" section). Also: flare-autobot's auto-review on #565 stopped with "Another open pull request already covers this change" — but #565 and #505 share no runtime surface (only the word "core parameter" appears in the rationale); no conflict. Citations: read_item 565; #212, #569, local-inference-lab/hyperflare-recipes#68.
#11 [medium] Lead ledger: claim verification line numbers and followed/dismissed leads
Post-event re-verification at current main (head commit for #505 is 85de9eae, PR head ef94d62; #505 unchanged: 32 files, +2393/-261, Discussion (0), no CI). The four original claim-leads still hold, with landed line numbers so the final report can cite them:
-0.0canonicalization:canonical_core_parameter(helios/src/model/contract.rs:420-422); applied at HTTP decode (server/protocol/decode.rs:69-72), model card (server/models.rs:79-86), prefix hash (cache/hash.rs:49), admission validation (contract.rs:464-470).- Prefix hash format:
(u64 len LE, name bytes, canonical f32 bits LE)appended afterb"flare-prefix-root-v1\0" || identityin declaration order (cache/hash.rs:41-53);PrefixHistory::newdelegates with an empty iterator (hash.rs:37-39) so declaration-free cores keep the exact old root. - HTTP 400 cases:
core_parameter_maprejects non-object, empty name, non-number, non-finite,|v| > f32::MAX, and nonzero values that underflow to FP32 zero (decode.rs:49-75); unknown names rejected byresolve_core_parameters(contract.rs:514-532); wired for all generation protocols at decode.rs:614-615. - Zero steady-state packing allocation:
Inputs::newpre-sizescore_parameterstorequest_capacity()when any SubmissionRow binding exists (packing.rs:286-293,307);pack_steponlyclear()/resize()s into that capacity (packing.rs:543-549) and writes through a cached staging buffer (packing.rs:927-939). - Kani harnesses:
core_parameter_validation_enforces_finite_ordered_bounds,core_parameter_resolution_produces_valid_canonical_value(contract/kani_proofs.rs:86,109). - Contract enforcement worth naming in the report: every selected text forward graph must bind every declared parameter, and a declaration with no text forward graph is rejected (contract.rs:693-728, 828); bindings restricted to Prefill/TerminalPrefill/ScoredPrefill/Resume/Decode/Speculative/Mixed (contract.rs:424-435, 697-702); buffer must be contiguous Float32,
shape[0] >= request_capacity,shape[1..] == 1, indexing in {SubmissionRow, RequestRow, ActiveRow}, zero offset/padding/tensor (contract.rs:703-719); packing rejects a value whose bits differ from the planned prefix-history value (packing.rs:582-597). Scheduler plumbs resolved values through plan/refresh/admit and host-store retries (scheduler.rs:1526-1590, server/runtime.rs:2755,2781,2806).
Leads followed or dismissed this run:
- "Does the approval exist somewhere?" -> yes, on #404 (notes 8). Answer: record it there and reframe Amendment A.
- "Is someone else shipping the same thing with/without approval?" -> #566/#535/#590 (note 9). Relevant.
- "Is there an in-tree consumer?" -> no;
recipes/left the repo (da037284),ignition/recipes/gone, nocore_parameter(call outside direct-execution plumbing and tests. Relevant, kept. - "Numbering collision with in-flight proto PRs?" -> #483 and #592 do not touch
ModelContractfield 8 orValueSource43 (search_code pr/483, pr/592). Dismissed. - "New #505 comments / CI?" -> none (pr_comments: No comments). Nothing to amend.
- #583/#589/#591/#592 (other new items) -> no interaction with #505's surface; #583 is Engram row-cache I/O only. Dismissed.