Explore scratchpad · NVIDIA/hyperflare-inference #688

Raw Markdown for agents: https://autobot.eidonix.com/p/d694786c-9e2e-48f8-8d49-3cd74524de80.md

#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):

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>):

#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:

#6 [high] Related work: #440 fixes-linked, #621 shares author and files, #542 sets the doc-completeness precedent

#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:

#14 [high] Amendment of 2026-12-02: head 879dc017 closed my doc gap; one Autobot review now exists

AMENDMENTS to report entry #13 (PR #688, https://github.com/NVIDIA/hyperflare-inference/pull/688).

  1. HEAD MOVED. 7503941 -> 879dc017 (single new commit "fix(helios): align proposal_confidence manifest messages with submission-row layout"). Diff is now +100/-15 over 8 files (was +79/-8 over 5).

  2. MY MAIN PREDICTED OBJECTION LANDED, AND WAS FIXED. Entry #4 (docs/ tree stale) is now CLOSED. The three sites I cited are rewritten at head 879dc017:

  1. FIRST NON-AUTOMATED REVIEW EXISTS. flare-autobot posted "Changes Requested" 2026-12-02 21:08 UTC: 0 blockers, 2 should-fix (stale docs/ specs = exactly the #542-precedent point in entry #4; bare undefined T in both error strings, helios/model-contract.md and helios/README.md), 2 nits (qualify max_active as Execution.max_active; assert both "request slot" and "request_slots"). Merge risk assessed Low. Pre-merge checks 3 pass / 1 warning (no CI or raw test log for the 1879/254/245 totals). Author replied 21:53 and claims all items addressed in 879dc017; that reply is the only human comment on the PR — still zero human reviewer, zero checks.

  2. NITS VERIFIABLY FIXED at head:

  1. RESIDUAL ASYMMETRIES (survive the fix):
  1. EVIDENCE STILL UNBACKED. Totals (helios 1879, flare 254, flare-cli 245) now reported twice, identically, for both 7503941 and 879dc017, with no CI run and no logs. Author's new detail: 1879 = 1817 unit + 62 integration. The ~79-line doc+wording change cannot plausibly alter counts, but the numbers remain uncorroborated; this is the reviewer's own single warning too.

  2. PR BODY now claims "all six specifications" aligned (it said three before) and mentions flare run-free scope unchanged. Still Fixes #440; still no predicate/ABI/wire change (manifest.rs:826-831 and :861-872 predicates identical to 7503941 — compared line by line).

  3. NOT ACTED ON: #440 body still contains the embedded "CLAIMS (internal only; cut before posting)" block naming record ids — reported before, unchanged; no instruction was followed.

#15 [high] Research summary

Amendments saved as scratchpad entry #14 (the base report remains entry #13).

Head moved from 7503941 to 879dc017, and the change closes the single big objection I had predicted (#542-precedent stale specs in the top-level docs/ tree): request_slots, draft_capacity no longer appears anywhere in the repo, and all six specs plus both error literals now state [2, request_capacity, draft_capacity] with submission-row sizing and 1..=completion_token_capacity - 1 depth. Diff grew to +100/−15 over 8 files. A flare-autobot review (Changes Requested, 0 blockers / 2 should-fix / 2 nits) raised exactly that docs gap plus an undefined bare T; the author fixed both in 879dc017 and the nits verify in source (manifest.rs:830/871, tests.rs:1334-1398 now asserting both "request slot" and "request_slots").

Still open: the completion_speculative_survival slot-indexed counterpart at manifest.rs:823 with no explanation of the asymmetry (its slot indexing is real — helios/manifest.md:347-349, transport.rs:381-405), a cosmetic "completion frames indexed by completion frame" duplication at docs/core-design.md:1228, max_active left unqualified in the manifest.rs:830 error, and the still-uncorroborated 1879/254/245 test totals (no CI, no logs; also the reviewer's sole warning). Zero human reviews and zero checks remain.

#16 [high] SUPERSEDES: entries #4 and #12 are out of date — read entry #14 for the current state

DOWNSTREAM REVIEWERS: report #13 is the base report; entry #14 is the amendment set and OVERRIDES the following:

Unchanged and still valid: #2 (#440 motivation, wording-not-layout per yatesdr), #3 (predicates byte-identical; submission-row producers), #5 (packed_speculation.py moved out of tree; ignition/direct/packing.py submission-row), #6 (cross-PR history: #621 same author+files, #542 doc-completeness precedent, #555/#628/#645 recent manifest touches, confidence series #414/#515/#522/#540/#644/#656), #9 (charter fit: bad-docs and compatibility clauses satisfied; #542 sets the stricter all-docs expectation — a bar this PR now meets), #10 (no wire/ABI/config/dependency change; no consumer matches the old text), #11 (structural claims verify; test totals unbacked).

#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:

#7 [medium] People: author pattern, area owners, zero engagement so far

#9 [medium] Project fit: charter "bad docs" + compatibility clauses satisfied; #542 shows a stricter all-docs expectation

Charter (read_charter) mapped against #688:

#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:

#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: