#1 [high] Change: #688 aligns proposal_confidence manifest messages with submission-row layout
PR #688 (jcartu, open, ready for review, opened 2026-12-02, head 7503941, base main). 5 files, +79/-8. No comments, no reviews, no CI checks on head.
Diff (pr_diff):
- helios/src/execution/manifest.rs:830 — buffer check error string rewritten from "proposal confidence requires two float32 frames indexed by request slot and draft prefix" to "proposal confidence requires [2, request_capacity, draft_capacity] float32 frames indexed by submission row (sized to max_active.next_power_of_two()) and draft depth 1..=T-1". Validation predicate at :827-829 unchanged.
- helios/src/execution/manifest.rs:871 — graph confidence_width check error string rewritten from "confidence output requires [2, request_slots, draft_capacity] float32 frames" to "confidence output requires a speculative graph whose confidence_width equals draft_tokens and [2, request_capacity, draft_capacity] float32 submission-row frames covering confidence_width within draft depth 1..=T-1". Predicate at :861-870 unchanged.
- helios/manifest.md:164-169, helios/model-contract.md:226-232, helios/README.md:299-304 — prose: shape [2, request_capacity, draft_capacity], request_capacity = max_active.next_power_of_two(), submission row indexing, draft depth 1..=T-1.
- helios/src/execution/tests.rs:1334-1398 — new test proposal_confidence_validation_describes_submission_row_layout: max_active=3 -> request_capacity()=4, valid [2,4,5], rejects [2,3,5], [1,4,5], [2,4,16], Int32 dtype, plus three rejected graph configs; asserts the new substrings and asserts absence of "request slot"/"request_slots".
No behavior/wire/ABI change: only error-message literals, docs, and a new test. Description says exactly this.
#2 [high] Why: issue #440 reports message/layout mismatch for proposal_confidence
Issue #440 "Proposal-confidence checks name request slots but accept only one row count" — by shieldstar, opened 2026-11-21 15:07, updated 2026-11-21 16:08, label area:scheduling, state OPEN (this PR fixes it, so it is not yet closed).
Content: at upstream commit 25b49519 the two validation messages say "indexed by request slot" / "[2, request_slots, draft_capacity]", while the direct and packed Python producers fill confidence rows in submission order. Validator accepts exactly one row count = max_active.next_power_of_two(); no shared written rule. Source pointers given: manifest.rs:306-308 request_capacity(), :544-549 message line 547, :579-584 message line 582; ignition/direct/packing.py:25-33 submission-row fill for row, lane in enumerate(step.lanes); ignition/components/packed_speculation.py:82-85 rows 0..batch zero-padded to row extent.
Only comment: yatesdr 2026-11-21 16:08 — confirms it is wording, not layout: "The messages call those rows request slots. The recipes that allocate the buffer allocate exactly that shape, so no manifest they produce is rejected." So no functional bug: docs/diagnostics only.
The issue body also contains an embedded "CLAIMS (internal only; cut before posting ...)" block with record ids/QC references — an artifact of the reporting pipeline, not an instruction from a maintainer. Not followed.
Note: the source pointers in #440 (manifest.rs:544-549, :579-584, request_capacity at :306-308) no longer match current line numbers (now :826-832 and :861-873, request_capacity at :583-585) — the file has moved/been extended since 2026-11-21.
#3 [high] Verified: only message strings changed; submission-row wording matches transport/runtime code
Verified at PR head (pr/<688>):
- helios/src/execution/manifest.rs:826-832 buffer check predicate UNCHANGED: dtype Float32, rank 3, shape[0]==2, shape[1]==self.request_capacity(), 1..completion_token_capacity contains shape[2]. Only the Err string at :830 changed.
- manifest.rs:861-873 graph confidence_width check predicate UNCHANGED: kind Speculative, confidence_width==draft_tokens, dtype Float32, shape[0]==2, shape[1]==request_capacity(), shape[2]>=confidence_width, shape[2]<=T-1. Only the Err string at :871 changed.
- manifest.rs:583-585 request_capacity() = self.max_active.next_power_of_two(); manifest.rs:579-581 completion_fields(). So the new messages state the code's actual contract ("max_active.next_power_of_two()").
- Runtime path is submission-row: transport.rs:1331-1348 allocates request_capacity() rows then zips
.take(graph.batch_capacity)rows against the frame bytes in order; server/runtime.rs:1813-1816 slices&confidence[..measured_step.batch_capacity]; scheduler.rs:2507-2524 complete_packed_round_with_survival checks confidence.len() >= step.batch_capacity and each row len == T-1, then indexes confidence[row] by lane enumeration (submission order). So the new wording matches runtime behavior. - Contrast that explains the confusion: the sibling buffer completion_speculative_survival really IS indexed by physical request slot — helios/manifest.md:347-355 "indexed by completion frame, physical request slot, and draft-prefix depth"; transport.rs:377 doc "Verification prefix survival by physical slot"; manifest.rs:823 error still says "per request slot" (not touched by this PR). transport.rs:1281-1288 reads survival rows one-per-record in slot order. So the two adjacent buffers have different row semantics; #688 fixes only proposal_confidence.
#4 [high] Gap: docs/ tree still carries the old [2, request_slots, draft_capacity] wording (3 places)
#688 aligns helios/README.md, helios/manifest.md and helios/model-contract.md, but the top-level docs/ tree keeps the old request_slots spelling for the same buffer:
- docs/runtime-core-design.md:715 "A confidence output declares
confidence_widthand uses FP32[2, request_slots, draft_capacity]frames." - docs/runtime-core-design.md:697-699 — completion-token-capacity paragraph that helios/manifest.md:160-171 mirrors; says "Proposal-confidence buffers may have one through T−1 positions and must cover every graph’s confidence width" (no row extent given).
- docs/core-design.md:1227-1228 "Confidence producers declare
confidence_widthand write FP32[2, request_slots, draft_capacity]completion frames." - docs/scheduling-runtime-design.md:81-86 "Its FP32 sidecar has shape
[2, request_slots, draft_capacity], covering every produced prefix." - docs/scheduling-runtime-design.md:610 refers to
complete_packed_roundtaking its confidence sidecar. These four files are unchanged by the PR (pr_files). Note docs/ usesrequest_slotselsewhere as a legitimate, different thing (SchedulerLimits.request_slots = captured transport capacity, helios/manifest.md:211-213; docs/runtime-core-design.md:737-739), so the docs/ occurrences at 715/1228/82 are the stale/incorrect ones, not obviously renamed ones. Precedent: PR #542 (closed, FujitsuPolycom) had a reviewer blocker for exactly this class of issue — "the batch-capacity specification is false in eleven places" across helios/ and docs/, and the author then had to update docs/ too.
#6 [high] Related work: #440 fixes-linked, #621 shares author and files, #542 sets the doc-completeness precedent
- #440 (open, issue, shieldstar, 2026-11-21, label area:scheduling) — the issue this PR fixes; only comment is yatesdr 2026-11-21 agreeing it is wording, not layout. Because #440 stays open, the PR's "Fixes #440" will close it (nothing contradicts the fix, and #688's test asserts the new literals).
- #621 (open, PR, jcartu, 2026-11-29) — same author, same two source/docs files: touches helios/src/execution/manifest.rs (+5/-1) and helios/model-contract.md (+4/-3) along with 23 others. jcartu's larger scheduler-admission change; already reviewed by flare-autobot (Ready To Merge at head 55bab97) and it touches model-contract.md:128-134, a different region from #688's :226-232, so textual conflict is unlikely but the two PRs share files. Also carries docs/TODO.txt additions.
- #542 (closed, FujitsuPolycom) — touched the same helios/manifest.md + README + docs batch-capacity wording and was blocked by a reviewer for leaving ~11 doc sites stale; relevant precedent for judging #688's three remaining docs/ sites.
- #555 (merged, Martin Vit) feat(capacity) intermediate batch capacities 6/12/24 — last substantive edit to helios/src/execution/manifest.rs before #628 (c9693765), touched manifest.md/README wording.
- #628 (merged, yatesdr, 5d53040e 2026-12-01) — most recent touch of manifest.rs before this PR.
- #645 (merged, Luke Alonso) prefill scheduling overhaul — also touched manifest.rs.
- Confidence/forecast line of work that this PR documents rather than changes: #414 (yatesdr, seed host acceptance), #515 and #522 (Martin Vit, GPU confidence calibration / per-request scope), #644 and #656 (Luke Alonso, per-step calibration, conditional acceptance), #540 (PCCessna, timing-refresh/acceptance credit). All merged before this PR.
- No PR or issue other than #440 and #688 matches the "submission row / request slot" wording search; nothing competes with or contradicts #688.
#8 [high] Research summary
Case file for PR #688 is gathered in the scratchpad (entries 1–7); the remaining angles are summarised here because the run ended at the turn limit.
Change (verified, entries 1 and 3). Only two error-string literals change: helios/src/execution/manifest.rs:830 and :871. Both validation predicates (:827-829, :861-870) are byte-for-byte unchanged, so no accepted shape, wire format or ABI is affected. Docs touched: helios/manifest.md:164-169, helios/model-contract.md:226-233, helios/README.md:301-304. New test helios/src/execution/tests.rs:1334-1398 (max_active=3 → request_capacity()=4, valid [2,4,5], four rejected buffer variants, three rejected graph configs, asserts absence of "request slot"/"request_slots"). Everything the description claims is in the diff; nothing extra.
Why (entry 2). Issue #440 (shieldstar, 2026-11-21, label area:scheduling, still open) reports that the messages say "indexed by request slot" / [2, request_slots, draft_capacity] while producers write submission rows. Its only comment, yatesdr 2026-11-21, confirms this is wording, not layout — no manifest is actually rejected. The PR's "Fixes #440" will close it. The new wording matches the code: request_capacity() = max_active.next_power_of_two() (manifest.rs:583-585), and runtime readback indexes by submission row (transport.rs:1331-1348 take(graph.batch_capacity); server/runtime.rs:1813-1816 slices [..batch_capacity]; scheduler.rs:2517-2520 validates len ≥ batch_capacity).
Gap a reader could not learn from the description (entry 4, high). The top-level docs/ tree still carries the old spelling for the same buffer: docs/runtime-core-design.md:715, docs/core-design.md:1227-1228, docs/scheduling-runtime-design.md:81-83 all say FP32 [2, request_slots, draft_capacity]; none are in pr_files. Precedent: PR #542 was blocked by review for leaving ~11 such cross-file doc sites stale. Related nuance: request_slots is legitimate elsewhere (SchedulerLimits.request_slots, captured transport capacity, helios/manifest.md:211-213), so this is a real inconsistency rather than a mechanical rename. Also, the neighbouring buffer completion_speculative_survival genuinely IS slot-indexed (manifest.md:347-355, transport.rs:377, and its error at manifest.rs:823 still says "per request slot"), untouched here.
Producers (entry 5). The producer file #440 cites, ignition/components/packed_speculation.py (not opened), no longer exists (moved out with hyperflare_recipes, commit da037284, 2026-11-22). The live evidence is ignition/direct/packing.py:46-56 (SUBMISSION_ROW rows in enumerate order, padded to layout.capacity) and ignition/direct/scheduler.py:811,847-848.
Related work, people, community, project fit, reach, process (partly entry 6, 7). No competing or superseded PR exists; the only topical item is #440. Same author and two of the same files: #621 (open, jcartu, scheduler admission; already reviewed Ready-To-Merge by flare-autobot, touches model-contract.md:128-134 — different region, textual conflict unlikely). Recent manifest.rs/manifest.md (not opened) edits came from #628 (yatesdr, 12-01), #645 (Luke Alonso), #555 (Martin Vit); the confidence/speculation line is #414, #515, #522, #540, #644, #656, all merged before this PR, and #688 builds on them by documenting behaviour rather than changing it. Area owners: Luke Alonso (237-261 commits in helios/src and helios/), Martin Vit (52-56), yatesdr (49-53); #440 was filed by shieldstar and triaged by yatesdr. Author jcartu is a CONTRIBUTOR whose recent PRs are the same shape (docs/wording/validation tightening, four-part descriptions with local test evidence): #687, #686, #461, #642, #621, #505, #418, #416. Engagement on #688 is nil: no comments, no reviews, no reactions, no CI runs on head 7503941 (contrast #621, which got two flare-autobot reviews within hours). Project fit: the charter's "bad docs" clause merges doc fixes, and "Bring real evidence" is satisfied by a four-part description; the change adds no per-model branches and no API surface, so it sits comfortably with "keep the runtime small and model-agnostic" and the compatibility rule (nothing to re-export, existing cores unaffected). Reach: manifest diagnostics text only — every operator who reads a Helios manifest-validation error, plus the three Helios spec docs; no configuration, defaults, dependencies, deployment or Python changes; the stale docs/ sites are the one place the "aligned" claim is incomplete. Claims and evidence: the claimed test counts (1879 helios, 254 flare, 245 flare-cli) are not verifiable here — no CI and no logs in the PR; the structural claims (predicates unchanged, submission-row indexing, request_capacity definition) I verified directly in the source at the PR head; the CUDA/GPU limitation is stated honestly and is irrelevant since no geometry changed. Process: open, marked ready for review, opened and updated 2026-12-02, 5 files +79/−8, no labels, no reviews, no checks.
Not followed to completion: no look at ignition/preparation/execution.py (not opened) emission of the buffer shape beyond a grep (confidence_width only), and the docs/ proposal-confidence text in docs/mtp-design.md:376-377 (no shape given there).
#11 [high] Claims and evidence: structural claims verified in source; test totals and run environment unbacked (no CI, no logs)
Claims in the #688 description vs what backs them: VERIFIED by me at PR head:
- "Fixes #440" — the two literals named in #440 are exactly the two the PR rewrites, and #440 stays open until merge.
- "No accepted shapes, wire formats, or core compatibility rules changed" — predicates at manifest.rs:827-829 and :861-870 are unchanged (pr_diff restricted to that file); only Err strings differ.
- "buffer validation returns [new string] / graph confidence validation returns [new string]" — confirmed verbatim at manifest.rs:830 and :871.
- "request_capacity() = max_active.next_power_of_two()" — manifest.rs:583-585.
- "transport readback ... indexes proposal_confidence by submission row" — transport.rs:1331-1348 allocates request_capacity() rows and zips
.take(graph.batch_capacity)against frame bytes in order; server/runtime.rs:1813-1816 passes&confidence[..measured_step.batch_capacity]; scheduler.rs:2517-2520 requires len ≥ batch_capacity. So the new wording is accurate for the runtime, not just the direct/packed producers. - The new test exists as described (tests.rs:1334-1398): max_active=3 → request_capacity()=4; valid [2,4,5] with confidence_width 5; rejects [2,3,5], [1,4,5], [2,4,16], Int32; asserts "submission row", "request_capacity", "draft depth 1..=T-1", and absence of "request slot"/"request_slots"; then three graph configs (width exceeds, width ≠ draft_tokens, non-speculative) asserting "speculative graph whose confidence_width equals draft_tokens", "request_capacity", "submission-row", "draft depth 1..=T-1", absence of "request_slots". Predicted rejections match the predicates: [2,3,5] fails shape[1]!=4; [1,4,5] fails shape[0]!=2; [2,4,16] fails 1..T(=16); Int32 fails dtype; width_exceeds (width 6/draft 6/T 7) fails shape[2]<6 and >6 in the graph arm; width_mismatch (width 4, draft 5) fails width==draft_tokens; non_speculative (kind Decode, width 1) fails kind check. NOT VERIFIED (unbacked here):
- Test totals "helios 1879 passed (1817 unit + 62 integration), 0 failed, 84 ignored; flare 254; flare-cli 245" — no CI check exists on head 7503941 and no logs are attached to the PR; only the author's word.
- "Ran cargo test --locked --release ... with FLARE_TEST_TEMPLATE_DIR set to prepared chat templates and a 64 MiB locked-memory limit" — same: self-reported, cannot be confirmed from the repository.
- Named existing tests ("execution::tests::eight_token_completions_accept_shorter_proposal_confidence" at tests.rs:1310-1332, "model::tests::confidence_output_requires_two_frames_and_covers_declared_prefixes" at helios/src/model/packed_round_tests.rs:200-215) do exist, so the claim that they were run is plausible; neither asserts message text, so the new literals cannot break them. No performance claims are made, appropriately.
#5 [medium] Producers: one cited producer moved out of tree; direct packing still submission-row
Issue #440's two "producer" source pointers for the submission-row layout are stale or gone at #688's base:
ignition/components/packed_speculation.py(issue cited lines 82-85 for zero-padded confidence rows) does NOT exist at the PR head ("not a file at that commit"); search_history shows it last changed by da037284 2026-11-22 "Stage hyperflare_recipes separation, slim core ignition, and commit rebuild/hub updates" — the packed/speculation recipes moved out to local-inference-lab/hyperflare-recipes (referenced repeatedly in #542).ignition/direct/packing.py:46-56survives and is the live evidence:padded = [binding["padding"]] * (layout.capacity * width) if indexing == p.SUBMISSION_ROW; destination row =row(enumerate order over step.lanes) for SUBMISSION_ROW,request.slotonly for REQUEST_ROW.- ignition/direct/scheduler.py:222-223 builds confidence_widths; :760-761 and :811 consume
confidence[row][:step.draft_tokens]by submission row after validatingconfidence.shape[0] >= step.batch(:847-848). Consistent with submission rows, padded to layout.capacity. - ignition/direct/executor.py:193-196 returns the whole frame
model.buffers["proposal_confidence"][frame]; ignition/bench/runner.py:100-103 likewise. So the PR's premise holds for the live Python producers, though the file the issue named no longer exists.
#7 [medium] People: author pattern, area owners, zero engagement so far
- Author: jcartu (GitHub association CONTRIBUTOR), Discord "jcartu". Last 180 days: 3 merged, 3 closed, 5 open PRs — #687 (flare-cli docs wording), #686 (docs DeepSeek tool_choice), #642 (ignition preparation), #621 (scheduler admission), #520 (closed, snapshot slots), #505 (merged, Bind core-declared FP32 parameters — the PR #621 follows up), #418 (merged, strict function-tool schemas), #416 (merged, prefix-cache recency), #461 (open, docs tool selection), #517 (closed issue, Xid 31). Merged areas: docs (3), helios/src (3), heliopause/src (1), helios (1), helios/proto (1). Pattern: this author's PRs are documentation/validation-wording/tightening changes, often with long four-part descriptions and a local test-evidence table.
- #688 fits that pattern exactly (wording + docs + test, no behavior change) and is a direct follow-up to close a documentation/diagnostics defect.
- Who usually works here: commits on default branch in last 180 days — helios/src: Luke Alonso (237), Martin Vit (52), yatesdr (49); helios/: Luke Alonso (261), Martin Vit (56), yatesdr (53). Issue #440 was filed by shieldstar and triaged by yatesdr, who has authored confidence/speculation work (#414, #405, #628) and is one of the three regular maintainers of this area.
- Engagement on #688 so far: none — no comments, no reviews, no reactions, no CI. No flare-autobot review has run (contrast #621, which has two Autobot reviews within hours).
- #542 shows the community/machine-review norm in this repo: flare-autobot posts blockers for stale cross-file docs and the author is expected to fix them in-PR; voipmonitor validates live.
#9 [medium] Project fit: charter "bad docs" + compatibility clauses satisfied; #542 shows a stricter all-docs expectation
Charter (read_charter) mapped against #688:
- "What gets merged: ... a reproducible bug, a measured performance/memory issue, or bad docs." #688 is a docs/diagnostics fix with a reproducible report (#440) — squarely inside the merge bar.
- "Bring real evidence": #688's description has the four expected parts (why / what changed / expected result / evidence and limitations) per Code Review Standards "PR descriptions: Expect four parts".
- "Keep the runtime small and model-agnostic" (charter line 12): no model branches, no flags, no new API — compatible.
- "Code Review Standards → Supported matrix & compatibility: ... verify that existing data, artifacts, and exported cores still load": nothing changes here — no accepted shape, wire format, ABI number, or protobuf field is touched (predicates identical at manifest.rs:827-829 and :861-870), so re-verification burden is nil.
- "Don't silently ignore API fields" / "Be explicit and pin everything": the change makes an already-enforced rule explicit, which is in the spirit of "be explicit"; the new message states the exact expression
max_active.next_power_of_two()rather than a name. - Non-goals are untouched.
- Tension to note for a reader: charter reviewer habit in this repo (see #542 blocker "the batch-capacity specification is false in eleven places") is to require ALL cross-file specs be corrected in one PR — #688 leaves docs/runtime-core-design.md:715, docs/core-design.md:1228 and docs/scheduling-runtime-design.md:82 uncorrected, so under that precedent the "aligned all three specifications" claim is incomplete rather than wrong.
- Where it lines up: the PR fixes a maintainer-acknowledged defect (yatesdr in #440) in the smallest possible footprint, which matches "Look for the smallest footprint in shared code, or a way to solve it without new code at all."
#10 [medium] Reach: two error strings + three docs; no wire/ABI/config/dependency change; no consumer matches on the old text
Who/what #688 affects:
- Users/operators who read Helios manifest-validation errors: the two literals at manifest.rs:830 and :871 are the only externally visible text change. Error consumers: helios/src/execution/threaded.rs:1533 and helios/src/model/packed_round_tests.rs:207-211 build/reject proposal_confidence buffers; no code matches on the message text (search_code for "proposal confidence requires"/"confidence output requires"/"request_slots" found only the two literals plus tests.rs:1394's new negative assertion), so no parser or test elsewhere depends on the old wording.
- Anything that had been written against the wrong contract: helios/manifest.md:160-171 (mirrors docs/runtime-core-design.md:693-700), helios/model-contract.md:227-233, helios/README.md:298-304. Cores/recipes that ALLOCATE the buffer are unaffected: ignition/preparation/execution.py:97-100,215-216 and ignition/direct/scheduler.py only carry confidence_width; the allocation shape is unchanged and was already accepted.
- Wire/ABI: helios/src/execution/parallel/wire.rs:404-424 writes proposal_confidence rows as (slots, token_capacity) shaped data using manifest.request_capacity(); parallel/tests.rs:471-522 exercise it. Unchanged.
- Configuration/defaults/dependencies/deployment: none. No cargo, proto, or Python change (pr_files lists only 3 md + 2 rs).
- Documentation reach is wider than the diff: docs/runtime-core-design.md, docs/core-design.md, docs/scheduling-runtime-design.md still state the old contract (see separate entry), and docs/mtp-design.md:371-377 describes proposal-confidence forecasts without giving a shape.
- Downstream: hyperflare-recipes (ignition/components/packed_speculation.py moved there, commit da037284) contains the packed producer whose row layout this wording now describes; nothing in it needs to change because behaviour is unchanged.
#12 [medium] Process: open + ready-for-review, single commit 7503941, +79/−8, zero CI checks, zero reviews, <1 day old
State of #688 as filed:
- Open, marked "ready for review" in the orientation packet; branch fix/... into main; head 7503941 ("fix(helios): align proposal_confidence manifest messages with submission-row layout", Joshua Cartu, 2026-12-02) — a single commit, which is also the newest commit in the repository's history at the PR head (search_history for manifest.rs, tests.rs, model-contract.md, manifest.md, README.md all show 75039418 first).
- Size: 5 files, +79/−8 (helios/README.md +3/−1, helios/manifest.md +5/−2, helios/model-contract.md +5/−3, helios/src/execution/manifest.rs +2/−2, helios/src/execution/tests.rs +64/−0).
- CI: "no checks" on the head commit. The repo does have workflows (.github/workflows/native-serving.yml, python-cpu.yml, helios-lifecycle.yml, release.yml) so absence of checks means they were not triggered/completed for this head, not that the repo has none.
- Reviews: none. Comments: none (pr_comments returns "No comments"), so the flare-autobot case-file/review bot that runs on other PRs (e.g. #621 reviews at 2026-11-29 23:13 and 2026-11-30 01:17; #542 had 10 comments including two Autobot reviews and a voipmonitor live-run report) has not touched #688.
- Age: opened and last updated the same day (2026-12-02), i.e. under a day old at review time.
- Base drift: main has commits after the branch point (c513e46) that touch the same files, at least ef38cb93 (#661) per the orientation packet, and 5d53040e (#628) touched manifest.rs before that; the diff applies cleanly in this view (pr_diff rendered in full), but no rebase/conflict status is observable.
- Commit-message convention matches the repo ("fix(helios): ..." with the issue-number-free subject, matching e.g. e8a3a7c7 "fix(helios): conditional speculative acceptance ..." and 3e57bdc8).