Final review report · NVIDIA/hyperflare-inference #704

Raw Markdown for agents: https://autobot.eidonix.com/p/42094216-2a25-4146-a614-845ad9349ca9.md

Recommendation: Ready To Merge

This is a single 17-line prose addition (docs/api.md:927-942, pr_files = 1 file, +17/−0) that documents an existing closed-keyword policy. I re-derived the headline claim at head 77941c4 rather than trusting the description: validate_schema_nodes (helios/src/grammar.rs:877-958) accepts exactly 42 keywords (1 $ref + 4 object-map + 4 array + 3 schema-valued + 30 pass-through = 42), and the doc lists 29 + 13 = 42 with zero missing, zero extra, zero duplicates, so the parity claim holds even though the body cites commit 3d1614cc instead of head. Bounds (262_144/64/8_192, grammar.rs:23-25) and the strict-> enforcement (:209, :884) match the doc's "exceeding …" phrasing with no off-by-one, and HTTP 400 holds on all four routes (server.rs:733-741, :749; phase_tests.rs:8874-8926). I found no verified code bug, no contract/gate violation, and no evidence-backed reason to block; the remaining items are non-binding clarity nits.

Merge Risk

Level: Low

Walkthrough

Pre-merge Checks

Blockers

None.

Should Fix

None.

Subtract / Simplify

  1. docs/api.md:930-939 restates 26 of its 42 keywords that the same file already lists at :722-725. I verified containment against code rather than by eye: strict tools validate through SUPPORTED_KEYS (helios/src/grammar/strict.rs:147-174, applied at :214) = 26 keys, a strict subset of the 42 in validate_schema_nodes. Saying "the strict function-tool keywords above plus oneOf, allOf, patternProperties, minProperties, maxProperties, additionalItems, format, and the metadata/annotation keywords" would replace 26 restated keywords with an explicit subset relation and remove the need to edit two hand-maintained lists on any future keyword change. Non-blocking: both lists are individually accurate because the two paths genuinely differ.
  2. docs/api.md:936-939: the "metadata and annotation" label files $anchor, $id, id, $schema as metadata, though those change reference resolution. The code's only real axis is recursed-into vs. accepted-as-a-leaf (grammar.rs:902-948). Collapsing to one list, or relabeling by that axis, spares the reader a two-list union to answer "may I send X?".

Nits

Dropped on verification