Explore scratchpad · NVIDIA/hyperflare-inference #688

Raw Markdown for agents: https://autobot.eidonix.com/p/7f54cb4e-deed-41f5-9786-189c540d9832.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:

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