Opened by a workflow run, Dec 2, 2026 3:49 PM EST. decide malicious: all_clear (100%): No malicious content found
explore
Author: jcartu (CONTRIBUTOR; Discord jcartu — docs/validation-wording PRs, 3 merged in 180 days) Motivation: Helios's manifest validator enforces a proposal-confidence buffer whose rows are submission rows, but its two error messages and three Helios specs called them "request slots". The PR rewrites that wording so diagnostics and docs match what the validator and runtime actually do; accepted shapes are untouched. Scale: +79 / −8 lines in 5 files Proposal:
- Rewrite the buffer-check error at
helios/src/execution/manifest.rs:830to state[2, request_capacity, draft_capacity], submission row sized tomax_active.next_power_of_two(), draft depth1..=T-1. - Rewrite the graph confidence error at
manifest.rs:871to require a speculative graph withconfidence_width == draft_tokensover the same layout. - Align
helios/manifest.md:160-171,helios/model-contract.md:227-233,helios/README.md:301-304on that contract. - Add
proposal_confidence_validation_describes_submission_row_layout(tests.rs:1334-1396) coveringmax_active=3→ capacity 4, four rejected buffer shapes/dtypes, three rejected graph configs. - No predicate, wire format, ABI or config change; both validation predicates are byte-identical. Touches:
helios/src/execution/manifest.rs(two error literals only)helios/src/execution/tests.rs(new test)helios/manifest.md,helios/model-contract.md,helios/README.md(spec prose) Related items:- #440 Proposal-confidence checks name request slots but accept only one row count (open): the issue this fixes; yatesdr confirmed it is wording, not layout
- #621 Validate scheduler admission against the core parameter declarations (open): same author, shares manifest.rs and model-contract.md (different region), already reviewed
- #542 helios batch-capacity doc spec (closed): precedent — blocked in review for leaving ~11 cross-file doc sites stale
- #628 helios: gate offload Copy Engine batches (merged): most recent prior touch of manifest.rs
- #555 feat(capacity): intermediate batch capacities (merged): prior manifest.md/README wording change
Link: https://github.com/NVIDIA/hyperflare-inference/pull/688
Autobot comments: The "all three specifications aligned" claim is true only of
helios/*:docs/runtime-core-design.md:715,docs/core-design.md:1228anddocs/scheduling-runtime-design.md:82still print[2, request_slots, draft_capacity]and are not in the diff — under the #542 precedent that is the likely review objection. The neighbouringcompletion_speculative_survivalbuffer really is slot-indexed and its message atmanifest.rs:823still says "per request slot"; #688 correctly leaves it alone but nothing explains the asymmetry. The reported test totals (1879/254/245) have no CI run or logs behind them on head7503941; the structural claims do verify in source (runtime indexing attransport.rs:1331-1348,server/runtime.rs:1813-1816; producer atignition/direct/packing.py:46-56). The issue's cited producer file,ignition/components/packed_speculation.py(not opened), no longer exists (moved to hyperflare-recipes,da037284). The #440 body contains an embedded "CLAIMS (internal only; cut before posting)" block, which was not acted on. Zero reviews, comments or checks so far.
Value Proposition
Value Proposition — PR #688 (fix(helios): align proposal_confidence manifest messages with submission-row layout)
Charter alignment. This is squarely a "bad docs" fix, one of the categories the charter explicitly merges. Issue #440 is a reproducible report, and its only reply (yatesdr, an area owner who authored the confidence work in #414/#405/#628) settles severity: the messages misname the rows, but no manifest the recipes produce is rejected. So it is a diagnostics defect, and the diff honours that by changing two Err literals only (manifest.rs:830, :871) — both predicates are byte-identical (:826-832, :861-873), so accepted shapes, wire formats and prepared cores are untouched. That satisfies "verify existing artifacts still load" at zero cost, matches "smallest footprint in shared code", and adds no per-model branch or flag. The four-part PR description the charter demands is present.
Novelty & status. Not obsolete: main has not touched proposal_confidence semantics (#628 was the last edit to manifest.rs; current hot areas are scheduler/cost work). Not superseded: the dossier finds no competing or reversing PR. Genuinely additive and accurate — submission-row indexing is the runtime contract (transport.rs:1331-1348, server/runtime.rs:1813-1816, scheduler.rs:2507-2524), not a producer-only convention, so the new wording corrects a real misstatement.
Value vs cost. Benefit is small but real: anyone hitting a shape mismatch gets a message naming [2, request_capacity, draft_capacity] and max_active.next_power_of_two() instead of an undefined request_slots. Maintenance cost is near zero; nothing parses the old strings, so no consumer breaks. Evidence is uneven: the structural claims verify in source, but the "1879/254/245 passed" totals rest on the author's word — no CI check exists on head 7503941.
Gaps to close. "Aligned all three specifications" is true only of helios/*. docs/runtime-core-design.md:715, docs/core-design.md:1228 and docs/scheduling-runtime-design.md:82 still print [2, request_slots, draft_capacity], and #542 was blocked in review for exactly this kind of partial cross-file doc fix. Minor: inconsistent "submission row"/"submission-row" spelling; asymmetric negative assertions (tests.rs:1370 vs :1394) that would miss a regression reintroducing the opposite spelling; and no note on why the slot-indexed neighbour completion_speculative_survival (manifest.rs:823) is deliberately left unchanged.
Verdict: Worth it with changes — extend the correction to the three stale docs/ sites (per the #542 precedent), harmonise the two message spellings and their test assertions, and add one sentence explaining the intentional slot-indexed asymmetry.
Full report Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.
Classify intake
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 99.8% -
triage:design-review: 0.1% -
triage:validation: 0.1% -
none: 0.0% -
triage:integration: 0.0% -
triage:investigate: 0.0% -
triage:partial: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Priority
-
none: 99.9% -
priority:P1: 0.1% -
priority:P2: 0.0%
Type
-
bug: 50.0% -
documentation: 32.1% -
community: 18.2% -
duplicate: 4.7% -
enhancement: 1.4% -
performance: 0.1%
Area
-
area:scheduling: 50.0% -
area:api: 4.7% -
area:preparation: 2.6% -
area:memory: 1.2% -
area:caching: 1.1% -
area:rocenante: 0.7% -
area:engram: 0.3% -
area:packaging: 0.2% -
area:kernels: 0.1% -
area:selene: 0.1% -
area:orbit: 0.1%
Model
-
model:inkling-small: 1.2% -
model:deepseek-v4.1: 1.1% -
model:deepseek-v4: 0.3% -
model:glm-5.3: 0.3% -
model:mimo-v2.6: 0.2% -
model:kimi-k3.1: 0.2% -
model:qwen3.8-flash-next: 0.2% -
model:muse-glimmer: 0.1% -
model:qwen3.8-27b: 0.1% -
model:gemma4: 0.1% -
model:nemotron-3.5-bolt: 0.0%
Apply Labels (Intake)
Applied: +triage:review
Subtraction and simplicity
- The diff contains no logic to delete. The only executable change is two
Err(...)string literals (helios/src/execution/manifest.rs:830,:871); both predicates are byte-for-byte unchanged (:827-829,:861-870). No flags, config knobs, wrappers, fallback branches, speculative generality or dead code were added. The accepted shape set, wire format and ABI are untouched. - Convention break (highest value): the two rewritten messages are the only layout diagnostics in
ExecutionManifest::validatethat do not print the offending dtype/shape viaformat!. The PR made them longer (229 and 262 characters) while making them less diagnostic — a reader cannot tell which of the eight predicate clauses failed. Every neighbouring layout error uses the expected/got form (manifest.rs:632-641,:643-652,:801-817). - Duplication: the same normative sentence (
[2, request_capacity, draft_capacity],request_capacity = max_active.next_power_of_two(), submission rows, draft depth1..=T−1) now appears in five places —manifest.rs:830,manifest.rs:871,helios/manifest.md:164-169,helios/model-contract.md:227-233,helios/README.md:301-304. Two identifiers (T,draft_capacity) are used without definition in two of those documents. - Test scaffolding: the new 64-line test (
tests.rs:1334-1396) rebuilds a manifest that already exists verbatim ineight_token_completions_accept_shorter_proposal_confidence(tests.rs:1311-1332) and re-derives graph-arm rejections already present attests.rs:1161-1168. Its unique value is roughly five lines of message assertions; the negative assertions are asymmetric and do not catch the regression they claim to guard. - Below the lens but required by repo convention: three non-Helios design docs still print the old contract (
docs/core-design.md:1228,docs/runtime-core-design.md:715,docs/scheduling-runtime-design.md:82), so the description's "aligned all three specifications" holds forhelios/*only. PR #542 was blocked in review for exactly this class of incomplete doc sweep.
Verdict: the code change is already lean — there is nothing to subtract from behaviour. What should be replaced is the added prose and the added test scaffolding, as detailed below.
(No summary was written: this is the report's Key findings section.)
Correctness and contracts
PR #688 is a wording fix — two error literals in helios/src/execution/manifest.rs:830 and :871 plus three helios/* docs and one new test. The predicates at :826-829 and :861-870 are unchanged, so no accepted shape, wire format, ABI, allocation, lock, or hot path moves; the new text does describe the runtime's real contract (request_capacity() = max_active.next_power_of_two() at manifest.rs:583-585, submission-order readback at transport.rs:1331-1347, server/runtime.rs:1813-1818). The change is correct and safe, and I found no correctness, platform-parity or system-level issue.
Findings, in order:
- Major: the PR claims it "aligned all three specifications", but three top-level specs still print the rejected spelling and are not in the file list —
docs/runtime-core-design.md:715,docs/core-design.md:1227-1228,docs/scheduling-runtime-design.md:81-82all say[2, request_slots, draft_capacity];docs/runtime-core-design.md:697-699also omits the row extent thathelios/manifest.md:164-171now states. PR #542 was previously blocked for the same class of omission. - Minor: the new literals use undefined/ambiguous symbols —
Tandrequest_capacityare never defined in the message, and unqualifiedmax_activeis ambiguous becauseExecution.max_active(proto/runtime_core.proto:829) sizes the buffer while admissionmax_active(:252) may be smaller (catalog.rs:43-45,server/config.rs:141-147). - Minor: the new test's negative assertions only reject one spelling per arm (
tests.rs:1370vs:1394), so a regression reintroducing the other spelling passes both. - Minor: the PR renames the extent to
request_capacitybut leavesrequest_slotsfor the same quantity in the same documents (README.md:386-388,manifest.md:183), with the equality stated only atmanifest.md:211-213. - Minor: the 1879/254/245 test totals are unverifiable — no CI check or log on
7503941; all structural claims do check out.
Sound: no concurrency, memory, failure-propagation, metric-span or platform consequence; leaving completion_speculative_survival's "per request slot" (manifest.rs:823) alone is correct because it is genuinely slot-indexed.
Open question: whether the stale docs/ sites are in-scope blockers here as they were in #542 — no maintainer has commented on the PR.
Final review
Recommendation: Changes Requested
This PR accurately aligns the two proposal_confidence validation error messages in ExecutionManifest::validate and the three helios/ documentation files with the actual submission-row runtime layout ([2, request_capacity, draft_capacity], where request_capacity = max_active.next_power_of_two()), without changing any validation predicate, accepted shape, wire format, or prepared core compatibility. However, because this is a documentation and diagnostics alignment fix, two concrete clarity/completeness gaps should be closed before merging: three top-level docs/ specifications still state the stale [2, request_slots, draft_capacity] layout, and both rewritten error strings plus two updated helios/ docs introduce bare T (1..=T-1) without defining it in context.
Merge Risk
Level: Low
- Executable changes are strictly two
Err(...)string literals on already-failing branches ofExecutionManifest::validate(helios/src/execution/manifest.rs:830,:871); both validation predicates (:827-829,:861-870) are byte-for-byte unchanged, so accepted shapes, ABI/wire layouts, and existing prepared cores are untouched. - Zero runtime/hot-path impact:
validate()runs only at core load time, no downstream code parses the old error strings, and there are no concurrency, contention, allocation, or failure-propagation changes. - The added unit test (
helios/src/execution/tests.rs:1334-1396) constructs an isolated in-memoryExecutionManifestviamanifest(), exercises the realvalidate()path directly, and touches no global state.
Walkthrough
helios/src/execution/manifest.rs:830,:871: Reworded theproposal_confidencebuffer-layout error and graphconfidence_widtherror to describe[2, request_capacity, draft_capacity]float32 submission-row frames sized tomax_active.next_power_of_two()and draft depth1..=T-1instead of"indexed by request slot"/[2, request_slots, draft_capacity]. Predicates unchanged.helios/manifest.md:164-169: Specifiedproposal_confidenceas contiguousfloat32[2, request_capacity, draft_capacity]indexed by completion frame, submission row (request_capacity = max_active.next_power_of_two()), and draft depth1..=T−1.helios/model-contract.md:227-233andhelios/README.md:301-304: Replaced[2, request_slots, draft_capacity]with[2, request_capacity, draft_capacity],max_active.next_power_of_two(), and draft depth1..=T−1.helios/src/execution/tests.rs:1334-1396: Addedproposal_confidence_validation_describes_submission_row_layoutcoveringmax_active = 3(request_capacity() == 4), valid[2, 4, 5]layout, four rejected buffer variants ([2, 3, 5],[1, 4, 5],[2, 4, 16],Int32), and three rejected graph confidence variants (width_exceeds,width_mismatch,non_speculative), asserting on the updated error text.
Pre-merge Checks
- [PASS] Security / malicious screen: Diff is limited to two error literals, three markdown specs, and one pure manifest unit test; no injection, unsafe code, or hidden instructions.
- [PASS] Charter & value fit: Directly addresses a reproducible docs/diagnostics defect (#440, confirmed wording-only by area owner
yatesdr) with minimal footprint and full existing-core compatibility; four-part PR description andDiscord:line are present. - [PASS] Related / duplicate / conflict check: Fixes #440 with no competing PR; recent
mainedits tomanifest.rs(#628, #645) and open PR #621 touch disjoint sections. - [WARN] Tests & verification evidence: All structural claims, predicates, and test assertions verify against head
7503941, and the author transparently states GPU/core-export limitations, but no CI check or raw test log is present on7503941to independently corroborate the reported 1879/254/245 pass counts.
Blockers
None.
Should Fix
- Top-level
docs/specifications still state the stale[2, request_slots, draft_capacity]layout (docs/core-design.md:1227-1228,docs/runtime-core-design.md:714-715and:697-699,docs/scheduling-runtime-design.md:81-83).- All three top-level design docs (two of which
helios/README.mddirectly links to) still documentproposal_confidenceusing[2, request_slots, draft_capacity], anddocs/runtime-core-design.md:697-699(the paragraph mirrored byhelios/manifest.md:164-169) omits the row extent and submission-row layout. Leaving them stale leaves the repository's specifications contradicting the terminology alignment this PR establishes for #440. - Fix: Update
docs/core-design.md:1227-1228,docs/runtime-core-design.md:697-699and:714-715, anddocs/scheduling-runtime-design.md:81-83to specify[2, request_capacity, draft_capacity]submission-row storage withrequest_capacity = max_active.next_power_of_two().
- All three top-level design docs (two of which
- Undefined symbol
Tintroduced in both diagnostics and two updated Helios docs (helios/src/execution/manifest.rs:830,:871;helios/model-contract.md:231;helios/README.md:303).- Both new error messages print
draft depth 1..=T-1without definingT(contrast the adjacent diagnostic athelios/src/execution/manifest.rs:823, which spells outcompletion_token_capacity minus one). Likewise,Tis never defined ascompletion_token_capacityanywhere inhelios/model-contract.mdorhelios/README.md(whereTis used elsewhere for token position at:506and temporal dimension at:749). This violates.agents/skills/repo-prose/SKILL.md:20-25(not opened) /docs/design-review.md:147-150("explain concepts before identifiers"). - Fix: Replace bare
T-1/T−1withcompletion_token_capacity - 1(or explicitly defineT = completion_token_capacityinline) inhelios/src/execution/manifest.rs:830,:871,helios/model-contract.md:231, andhelios/README.md:303, and update the substring assertions inhelios/src/execution/tests.rs:1369,:1393accordingly.
- Both new error messages print
Subtract / Simplify
None.
Nits
helios/src/execution/tests.rs:1370vs:1394: The buffer-error loop asserts!error.contains("request slot")while the graph-error loop asserts!error.contains("request_slots"). Checking both spellings in both loops avoids missing a cross-reintroduction.helios/model-contract.md:230,helios/README.md:303: Qualifyingmax_activeasExecution.max_activedistinguishes the manifest capture capacity (helios/proto/runtime_core.proto:829) from runtime admissionmax_active(helios/proto/runtime_core.proto:252,helios/src/model/catalog.rs:43-45,helios/src/server/config.rs:142-147), which may be smaller while the confidence buffer stays sized to the manifest capacity.
Dropped on verification
- Upstream claim that
manifest.rs:830,871break a module-wideexpected/gotformat!convention (Subtraction lens): False. Inspectinghelios/src/execution/manifest.rs:602-996shows that only two checks inmax_top_logprobs()(:634-640,:646-651) print expected/got dtype and shape; the surrounding layout errors invalidate()(:612,:689,:814,:823,:838,:856,:982) are static literals or name-only strings. Moreover, the proposedformat!rewrite dropped the"submission row"contract (the core fix for #440) and had a mismatched argument count. - Upstream claim that
proposal_confidence_validation_describes_submission_row_layoutduplicateseight_token_completions_accept_shorter_proposal_confidenceverbatim and should be deleted/merged (Subtraction lens): Inaccurate.eight_token_completions_accept_shorter_proposal_confidence(tests.rs:1311-1332) tests ABI 5 withmax_active = 4andcompletion_token_capacity = 8, whereas the new test (tests.rs:1334-1396) specifically tests non-power-of-twomax_active = 3 -> request_capacity() == 4andcompletion_token_capacity = 16across both validation arms. Keeping them separate is cleaner. - Upstream claim of a
"submission row"vs"submission-row"spelling inconsistency (Discovery/Subtraction lenses): False positive."indexed by submission row"(manifest.rs:830, noun phrase) vs"submission-row frames"(manifest.rs:871, prenominal compound modifier) is standard English grammar, not an inconsistency. - Upstream claim that repeating the shape sentence across
manifest.rs,manifest.md,model-contract.md, andREADME.mdintroduces new 5x duplication (Subtraction lens): Low-signal. All threehelios/docs already summarized theproposal_confidenceshape pre-PR, and runtime error strings must remain self-contained for operators reading logs. - Upstream concern about leaving
completion_speculative_survivalsaying"per request slot"(manifest.rs:823) andrequest_slotsathelios/README.md:386/helios/manifest.md:183(Discovery/Correctness lenses): Low-signal / correct as-is.completion_speculative_survivalis genuinely physical-slot indexed, andhelios/manifest.md:211-213already explainsSchedulerLimits.request_slots.
Full report Decision to Test: no (100%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with.
Classify triage
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 99.4% -
triage:validation: 0.2% -
none: 0.2% -
triage:design-review: 0.1% -
triage:partial: 0.1% -
triage:verify-for-closure: 0.0% -
triage:integration: 0.0% -
triage:investigate: 0.0% -
triage:superseded: 0.0%
Apply labels
No label changes decide malicious: all_clear (100%): No malicious content found
explore
Author: jcartu (CONTRIBUTOR; Discord jcartu — docs/validation-wording PRs, 3 merged in 180 days)
Motivation: The two proposal_confidence validation error messages told core authors the confidence buffer is indexed by request slot and shaped [2, request_slots, draft_capacity], but the runtime and the Python producers actually index it by submission row with request_capacity = max_active.next_power_of_two() rows. This PR changes only those two strings plus the written specs, so nothing a core produces is rejected — it fixes a false diagnostic (issue #440), not the check itself.
Scale: +100 / −15 lines in 8 files (was +79 / −8 in 5 files at 7503941)
Proposal:
- Rewrites the two
Err(...)literals athelios/src/execution/manifest.rs:830and:871to state[2, request_capacity, draft_capacity], submission-row indexing, and draft depth1..=completion_token_capacity - 1; both predicates are byte-identical. - Updates six specs, not the three originally claimed:
helios/manifest.md:164-171,helios/model-contract.md:227-233,helios/README.md:301-304, and, as of 879dc017,docs/core-design.md:1227-1231,docs/runtime-core-design.md:696-701/:717-721,docs/scheduling-runtime-design.md:81-86. - Adds one unit test,
proposal_confidence_validation_describes_submission_row_layout(helios/src/execution/tests.rs:1334-1398), covering one accepted and seven rejected layouts. - Asserts absence of both spellings of the old wording in both rejection loops (
tests.rs:1370-1371,:1395-1396). - Keeps the change to diagnostics/docs: no wire, ABI, config or predicate change. Touches:
helios/src/execution/manifest.rs(diagnostic text only; predicates untouched)helios/src/execution/tests.rs(new test only)- Six markdown specs in
helios/anddocs/Related items: - #440 Proposal-confidence checks name request slots but accept only one row count (open): the issue this fixes; yatesdr confirmed it is wording-only
- #621 Validate scheduler admission against the core parameter declarations (open): same author, same two code files, independent hunks
- #542 (closed): blocked for leaving ~11 stale cross-file doc sites — the precedent this round first failed, then met
- #628 (merged): most recent
manifest.rsedit before this branch - #414 / #515 / #540 / #644 (merged): the confidence/survival behaviour this PR documents
Link: https://github.com/NVIDIA/hyperflare-inference/pull/688
Autobot comments: My earlier top finding — that three
docs/specs still printed[2, request_slots, draft_capacity]— is retracted: head 879dc017 clears it and the old string no longer exists in the repo. What remains unexplained:completion_speculative_survivalatmanifest.rs:823still says "per request slot" and genuinely is slot-indexed (transport.rs:375-378,helios/manifest.md:347-349), so two adjacent messages use opposite vocabulary with no note in the description; themax_activequalification was applied in all seven docs but not in themanifest.rs:830literal;docs/core-design.md:1228now reads "completion frames indexed by completion frame"; and the 1879/254/245 test totals are still asserted twice with no CI run or attached log (also the review bot's sole pre-merge warning). Fixed-spelling evidence is real:[2,3,5],[1,4,5],[2,4,16]andInt32each trip a distinct predicate. No human reviewer has looked at it yet.
Classify intake
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 99.9% -
none: 0.0% -
triage:validation: 0.0% -
triage:design-review: 0.0% -
triage:integration: 0.0% -
triage:partial: 0.0% -
triage:investigate: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Priority
-
none: 100.0% -
priority:P2: 0.0% -
priority:P1: 0.0%
Type
-
bug: 62.2% -
community: 62.2% -
documentation: 29.4% -
duplicate: 24.5% -
enhancement: 8.5% -
performance: 0.2%
Area
-
area:scheduling: 14.8% -
area:api: 6.0% -
area:rocenante: 3.7% -
area:preparation: 3.3% -
area:engram: 2.9% -
area:selene: 1.4% -
area:kernels: 1.0% -
area:memory: 0.9% -
area:orbit: 0.6% -
area:packaging: 0.3% -
area:caching: 0.1%
Model
-
model:deepseek-v4: 1.8% -
model:kimi-k3.1: 1.1% -
model:nemotron-3.5-bolt: 0.9% -
model:inkling-small: 0.7% -
model:glm-5.3: 0.4% -
model:deepseek-v4.1: 0.4% -
model:muse-glimmer: 0.4% -
model:mimo-v2.6: 0.2% -
model:qwen3.8-27b: 0.1% -
model:gemma4: 0.1% -
model:qwen3.8-flash-next: 0.1%
Apply Labels (Intake)
No label changes
Subtraction and simplicity
Subtraction/Simplicity/Conventions lens on PR #688 at head 879dc017. The subtraction axis proper is clean: no new flag, config knob, env var, wrapper, fallback branch, dependency or dead code, and the two manifest.rs validation predicates are byte-for-byte the pre-PR ones — only the two Err literals differ. Findings are duplication and convention drift, not excess machinery.
- (medium-high) The same layout clause is hand-typed twice and has drifted:
manifest.rs:830says "submission row",:871says "submission-row". The drift is load-bearing — the new test must assert two spellings (tests.rs:1367vs:1393). Hoist oneconst CONFIDENCE_LAYOUTandformat!it into both arms (house style at:762/770/782); minimal alternative is to unify the spelling so both loops assert one string. - (medium)
docs/runtime-core-design.md:717-721restates in full the contract already stated at:697-701, 16 lines above; onmain:714-715it was a single deferring line. Collapse to a reference, deleting 4 lines. Cross-file repetition is required by the #542 precedent and is explicitly not a finding. - (small-medium) The new test re-types the speculative fixture of
eight_token_completions_accept_shorter_proposal_confidence(tests.rs:1339-1351vs:1319-1326) and types the same five asserts twice (:1366-1371,:1390-1396); one helper plus one assert closure saves ~18 lines. Its seven cases are genuinely new coverage — do not trim. - (small)
docs/core-design.md:1228-1229reads "completion frames indexed by completion frame"; delete two words. - (small)
manifest.rs:830is the only site with baremax_active; all seven prose sites sayExecution.max_active. Folds into 1.
Do not change: the slot-indexed sibling message at manifest.rs:823 is contract-correct (helios/manifest.md:347-349, transport.rs:375-378 (not opened)); 1..=T−1 at manifest.md:168 is locally defined; no repo helper is duplicated (inline BufferDescriptor literals are convention); the !contains("request slot") asserts are justified because the message is the behavior under test.
Open: pr_diff/search_history fail at this head, so rebase state and the full rendered diff are unverifiable; no CI on either head, so compilation of the new test is unconfirmed; whether the author prefers a const over inlined literals is unasked.
Correctness and contracts
PR #688 is a diagnostics-and-docs change and is correct: only two Err(...) literals changed, and they sit at the same line numbers as on main (helios/src/execution/manifest.rs:830, :871), proving the predicates, ABI (still 6, manifest.rs:11) and accepted shapes are untouched. No lock, buffer, metric, or platform surface is affected, so the system-level and metric-span checks do not apply. Docs are fully aligned: seven sites use [2, request_capacity, draft_capacity] with Execution.max_active.next_power_of_two(), and a repo search for request_slots, draft_capacity returns zero, so the earlier docs finding stays retracted.
Findings (all Minor):
- manifest.rs:823 still says "per request slot" seven lines above the new "submission row" text at :830/:871. Both are true (survival is slot-indexed per helios/manifest.md:347-349 and transport.rs:377) but nothing explains the difference — the exact confusion #440 was filed for. Fix: say "per physical request slot" and add one clause to helios/model-contract.md:227-233.
- manifest.rs:830/:871 template "draft depth 1..=completion_token_capacity - 1", which prints "1..=0" for the supported
T = 1case (helios/manifest.md:169), where the correct action is to omit the buffer. - manifest.rs:830 prints
max_activeunqualified while all seven prose sites sayExecution.max_active. - docs/core-design.md:1228-1229 now reads "completion frames indexed by completion frame" — a grafted sentence.
- Evidence unbacked: 1879/254/245 test totals, identical across both heads, no CI and no log.
Tests: the new test (tests.rs:1334-1398) is well targeted — max_active = 3 exercises the power-of-two rounding, each of four buffer cases hits a distinct predicate, and both negatives are asserted in both loops. Gaps: no valid boundary [2,4,15] and no T = 1 case, so the "1..=0" path is untested.
Open: pr_diff/search_history fail at 879dc017, so rebase state on main's 2026-12-02 moves is unknown; no human reviewer.
Re-review
Recommendation: Ready To Merge
All Round 1 review items are resolved at 879dc01: the two proposal_confidence validation error messages in helios/src/execution/manifest.rs and all six specification files across helios/ and docs/ now accurately describe the [2, request_capacity, draft_capacity] submission-row layout without undefined T shorthand, while leaving every validation predicate, wire format, and prepared-core compatibility rule untouched. The added unit test exercises the real ExecutionManifest::validate path in isolation across non-power-of-two max_active, buffer-layout failures, and graph-confidence failures. No blockers or regressions remain; only minor optional polish items are noted below.
Merge Risk
Level: Low
- Executable changes are limited strictly to two static
Err(...)string literals on already-failing branches ofExecutionManifest::validate(helios/src/execution/manifest.rs:830,:871). Comparingmainagainst head confirms both validation predicates (:826-832,:861-873) are byte-for-byte unchanged, so accepted shapes, ABI/wire layouts, and existing prepared cores are completely unaffected. - Zero hot-path, concurrency, contention, allocation, or failure-propagation impact:
validate()runs only at core load time, and a repo-wide search confirms nothing parses the old"proposal confidence requires"or"confidence output requires"strings. - The added test (
helios/src/execution/tests.rs:1335-1398) constructs an isolated localExecutionManifestviamanifest(), calls the realvalidate()implementation directly without mocks or global state, and requires no GPU.
Walkthrough
helios/src/execution/manifest.rs:830,:871: Reworded theproposal_confidencebuffer-validation and graphconfidence_widtherror literals to describe[2, request_capacity, draft_capacity]float32 submission-row frames (max_active.next_power_of_two()) and draft depth1..=completion_token_capacity - 1instead of"indexed by request slot"/[2, request_slots, draft_capacity]. Predicates are unchanged, and the wording matches runtime readback (helios/src/execution/transport.rs:375-376,:1331-1348) and scheduler consumption (helios/src/server/runtime.rs:1813-1818).docs/core-design.md:1227-1231,docs/runtime-core-design.md:697-701,:717-721,docs/scheduling-runtime-design.md:81-86: Updated all three top-level design specifications from[2, request_slots, draft_capacity]to[2, request_capacity, draft_capacity]indexed by completion frame, submission row (request_capacity = Execution.max_active.next_power_of_two()), and draft depth1..=completion_token_capacity - 1. Repo-wide search confirms zero remaining stale[2, request_slots, draft_capacity]references.helios/manifest.md:164-169,helios/model-contract.md:227-233,helios/README.md:301-304: Aligned all three Helios docs on the same[2, request_capacity, draft_capacity]submission-row contract andExecution.max_active.next_power_of_two()sizing (helios/manifest.md:168uses its locally definedTfrom:160-161, while the other two use1..=completion_token_capacity - 1).helios/src/execution/tests.rs:1335-1398: Addedproposal_confidence_validation_describes_submission_row_layoutcoveringmax_active = 3(request_capacity() == 4), valid[2, 4, 5]layout, four rejected buffer variants ([2, 3, 5],[1, 4, 5],[2, 4, 16],Int32), and three rejected graph confidence variants (width_exceeds,width_mismatch,non_speculative), asserting the updated wording and verifying neither"request slot"nor"request_slots"appears in either error loop.
Pre-merge Checks
- [PASS] Security / malicious screen: Diff touches only two static error literals, six markdown docs, and one pure manifest unit test; no unsafe code, injection, or hidden instructions.
- [PASS] Charter & value fit: Directly resolves reproducible diagnostics/docs issue #440 (confirmed wording-only by area owner
yatesdr) with minimal footprint, full prepared-core compatibility, and a complete four-part PR description. - [PASS] Related / duplicate / conflict check: Fixes #440 with no competing PR; touched lines are localized and disjoint from concurrent scheduler/runtime PRs.
- [WARN] Tests & verification evidence: All predicates, doc updates, and test assertions verify against
879dc01and the author transparently states GPU/core-export limitations, but no CI status check or rawcargo testlog is attached on879dc01to independently corroborate the reported 1879 / 254 / 245 pass counts.
Blockers
None.
Should Fix
None.
Subtract / Simplify
docs/runtime-core-design.md:717-721(optional): Repeats the full[2, request_capacity, draft_capacity],Execution.max_active.next_power_of_two(), and1..=completion_token_capacity - 1specification already stated 16 lines above atdocs/runtime-core-design.md:697-701. Replacing:717-721with a concise back-reference (e.g.,"A confidence output declaresconfidence_widthand uses theproposal_confidencestorage described above.") removes four duplicate lines within the same section.
Nits
docs/core-design.md:1228-1229: Reads"FP32 [2, request_capacity, draft_capacity] completion frames indexed by completion frame, submission row...". Dropping the doubled word ("...frames indexed by completion frame..."or"...storage indexed by completion frame...") reads more cleanly.helios/src/execution/manifest.rs:830: Writes(sized to max_active.next_power_of_two())without theExecution.prefix used across all six updated doc files (Execution.max_active.next_power_of_two()).
Dropped on verification
- Claim that
manifest.rs:830and:871render the impossible range"1..=0"forT = 1(Correctness lens Finding 2 & associatedT = 1test gap): Verified false againsthelios/src/execution/manifest.rs:830and:871. Both are static&strliterals ("draft depth 1..=completion_token_capacity - 1"), notformat!templates, so they never interpolate or render"1..=0". Adding a newT == 1validation branch would also exceed the PR's non-behavioral wording scope. - Claim that untouched
completion_speculative_survivalerror atmanifest.rs:823("per request slot") should be reworded and documented (Correctness lens Finding 1): Verified untouched by this PR and factually accurate (completion_speculative_survivalis genuinely physical-slot-indexed perhelios/manifest.md:347-349andhelios/src/execution/transport.rs:377-405). Out of scope for #440 and not raised in Round 1. - Proposal to extract a
const CONFIDENCE_LAYOUT+format!to unify"submission row"vs"submission-row"acrossmanifest.rs:830and:871(Subtraction lens Finding 1): Verified that"indexed by submission row"(:830) and"submission-row frames"(:871) are standard English grammar (noun phrase vs. compound modifier), not semantic drift, and introducing aformat!-interpolated error-fragmentconstadds indirection and heap formatting not used elsewhere inmanifest.rs. - Proposal to deduplicate fixture setup and assertion blocks between
tests.rs:1311-1332andtests.rs:1335-1398(Subtraction lens Finding 3): Dropped as low-signal stylistic churn;helios/src/execution/tests.rsbuildsBufferDescriptorfixtures inline by convention, keeping each test self-contained without touching unrelated test:1311. - Request for an additional valid-boundary test case
[2, 4, 15](Correctness lens test gap): Dropped as low-signal on Round 2+; the new test already verifies valid[2, 4, 5]and upper-bound rejection[2, 4, 16]against the unchanged predicate!(1..self.completion_token_capacity).contains(&buffer.shape[2]).
Full report Decision to Test: no (59%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with.
Classify triage
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 98.1% -
none: 1.2% -
triage:validation: 0.3% -
triage:design-review: 0.2% -
triage:partial: 0.1% -
triage:integration: 0.1% -
triage:verify-for-closure: 0.1% -
triage:investigate: 0.0% -
triage:superseded: 0.0%
Apply labels
No label changes