Explore report · NVIDIA/hyperflare-inference #704

Raw Markdown for agents: https://autobot.eidonix.com/p/b58d4b3d-b035-4e0c-88cc-a7e851d79983.md

Case file — PR #704 docs/api: enumerate accepted response_format JSON Schema keywords

https://github.com/NVIDIA/hyperflare-inference/pull/704 · open, ready for review · author jcartu (CONTRIBUTOR, Discord jcartu) · head 77941c4, base main, branched at cc0a49d · 1 file, +17/−0 · no labels, no reviewers, no CI on head.

Key findings

  1. The diff panel shows ~10 files; only one belongs to this PR. pr_files reports exactly one file (docs/api.md, +17/−0), but pr_diff against the local base also renders hunks in AGENTS.md, docs/TODO.txt, docs/cli-design.md (not opened), docs/core-design.md, docs/model-preparation.md (not opened), docs/scheduling-runtime-design.md (not opened), flare-cli/src/cli.rs (not opened), flare-cli/src/orbit/* and a second, unrelated docs/api.md hunk about typed HTTP 400 error.code values. All of that is base drift: the local copy of main is older than the PR's merge base. Proof: PreparationError wiring exists at pr/704 (helios/src/server/http.rs:119-130 (not opened)) and is absent on local main; that is merged #689. The AGENTS.md / CLI hunks are merged #690 and #687. Do not attribute any of it to #704. (Scratchpad #1, #12.)
  2. The headline parity claim holds, verified independently. validate_schema_nodes (helios/src/grammar.rs:877-958) has 12 distinct keys across its recursion arms (:902 $ref, :913 $defs|definitions|properties|patternProperties, :924 anyOf|oneOf|allOf|prefixItems, :935/:940 items|additionalItems|additionalProperties) plus 30 pass-through keywords at :943-948 = 42; the doc lists 29 structural + 13 metadata = 42, zero missing, zero extra, zero duplicates. Bounds match: MAX_GRAMMAR_BYTES = 262_144, MAX_SCHEMA_NODES = 8_192, MAX_SCHEMA_DEPTH = 64 (grammar.rs:23-25), enforced at :884 (depth/nodes) and :209 (bytes). The PR cites commit 3d1614cc, which is not the head (77941c4); the arms are substantively unchanged, so the claim survives. (Scratchpad #2, #9.)
  3. It implements only the fallback ask of #449, not the reporter's request. #449 (shieldstar, 2026-11-21) wants deprecated accepted; its "Expected" section offers two branches, the second being "if the keyword set is meant to stay narrow, docs/api.md should list the accepted keywords". #704 is that second branch. #449 stays open and the PR says "Refs", not "Fixes". (Scratchpad #3.)
  4. A second, differently-scoped "closed" keyword list already exists 200 lines above, and #704 does not reconcile it. docs/api.md:717-734 (strict function tools, introduced by the same author's merged #418) enumerates a narrower keyword set and also calls it closed. The new paragraph (docs/api.md:927-942) never says how the two relate, and phrases the same $ref restriction differently (“same-document # references only” vs “local $ref to #, #/$defs/<name>, or #/definitions/<name>”). (Scratchpad #4, #6.)
  5. Nothing pins the new list to code. No include_str! of docs/, no doc-vs-code test (searches for docs/api under helios/ only hit helios/README.md:130 (not opened)), so the enumeration can silently drift — in contrast to the repo's flare-cli/src/cli.rs (not opened) test that asserts the man page lists every visible subcommand. (Scratchpad #4.)
  6. Doctext vs #689's typed-error docs are adjacent but unlinked. #689 (same author, merged 2026-12-03 01:22) added docs/api.md:257-262 saying typed 400s carry error.code: invalid_grammar on Chat Completions, Completions and Responses (Messages excluded by design). #704 says keyword/bound rejections "return HTTP 400" on all four routes and never mentions error.code. Both are true (status vs envelope) but 680 lines apart, same author, same day. (Scratchpad #15.)

The change

One paragraph, 17 lines, inserted in ## Conversation and tool semantics (heading docs/api.md:488) directly after the existing output-constraint paragraph (docs/api.md:918-925), at docs/api.md:927-942:

Size and scope: pr_files → docs/api.md (modified, +17 -0). No code, test, config, dependency, or artifact change; nothing else in the repo is touched.

What the change does not do, though the description could be read otherwise:

Nothing the description claims is missing from the diff; the description's own "no behavior changes" is confirmed (pr_files).

The why

Recent activity

People

Community

Project fit

Claims and evidence

Claim in the PR body Evidence in the tree Verdict
Programmatic 1:1 set parity at 3d1614cc; 42 == 42 (29+13); zero missing/extra/duplicates Re-derived from grammar.rs:902-948: 12 distinct recursion keys + 30 pass-through = 42; doc = 29 + 13 = 42 Holds, but the cited commit is not the head 77941c4 (arms unchanged in substance), and the parity script is not named or committed
MAX_GRAMMAR_BYTES 262,144 / depth 64 / nodes 8,192 verified grammar.rs:23-25, :884, :209 Holds
Protocol field mapping verified in decode.rs text.format at helios/src/server/protocol/decode.rs:466-504; output_config.format :561, response_format :562; schema read from format["json_schema"]["schema"] (Chat) or format["schema"] (:568-576) — explains the two spellings in the doc Holds
git diff --check clean; git diff --stat touches only docs/api.md Consistent with pr_files (1 file). Note: against the local stale base git diff --stat would show ~10 files, so the claim must refer to the PR's own commit Plausible, unverifiable locally
"No behavior, runtime, or core-compatibility changes" pr_files = one prose file; no include_str! of docs/ anywhere Confirmed
"Unrun checks: no Rust/Python/simulator/formal/GPU suites" Honest for prose; the only workflow that would run is .github/workflows/native-serving.yml:1-22 (not opened) (pull_request, ubuntu + windows), and it reported no checks on head Disclosed, but the PR is fully self-verified only

Accuracy nuances I verified (none contradict the text, which is scoped to "…a closed keyword allowlist before grammar compilation", docs/api.md:929-930):

Reach

Process

Open questions / not found