Final review report · NVIDIA/hyperflare-inference #688

Raw Markdown for agents: https://autobot.eidonix.com/p/12af4d00-fe83-4bb0-ab1d-03a927b3e572.md

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

Walkthrough

Pre-merge Checks

Blockers

None.

Should Fix

  1. 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-715 and :697-699, docs/scheduling-runtime-design.md:81-83).
    • All three top-level design docs (two of which helios/README.md directly links to) still document proposal_confidence using [2, request_slots, draft_capacity], and docs/runtime-core-design.md:697-699 (the paragraph mirrored by helios/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-699 and :714-715, and docs/scheduling-runtime-design.md:81-83 to specify [2, request_capacity, draft_capacity] submission-row storage with request_capacity = max_active.next_power_of_two().
  2. Undefined symbol T introduced 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-1 without defining T (contrast the adjacent diagnostic at helios/src/execution/manifest.rs:823, which spells out completion_token_capacity minus one). Likewise, T is never defined as completion_token_capacity anywhere in helios/model-contract.md or helios/README.md (where T is used elsewhere for token position at :506 and 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−1 with completion_token_capacity - 1 (or explicitly define T = completion_token_capacity inline) in helios/src/execution/manifest.rs:830, :871, helios/model-contract.md:231, and helios/README.md:303, and update the substring assertions in helios/src/execution/tests.rs:1369, :1393 accordingly.

Subtract / Simplify

None.

Nits

Dropped on verification