#1 [high] Change: PR #575 rewrites TmlOutput::call to use serde_json RawValue
PR #575 (https://github.com/NVIDIA/hyperflare-inference/pull/575), by fordbmorris, branch pr/tml-output-raw-json-args, head 07955d7, base main, opened 2026-11-28. 3 files, +237/-10.
Core change, helios/src/output/tml.rs (TmlOutput::call, around lines 327-365):
- Before: serde_json::from_str into Value; require object.len()==2 with "name" (str) and "args" (object); emit args.to_string().
- After: deserialize into local struct RawCall<'a> { name: String, #[serde(borrow)] args: &'a serde_json::value::RawValue } with #[serde(deny_unknown_fields)]; require parsed.args.get().starts_with('{'); tool-name membership check against self.tools; optional recipient header equality check; emit args.to_owned() (raw text verbatim).
- Net effect in behavior: args text is now the exact substring from the model output (key order, digits, escapes preserved) instead of a serde Value re-serialization. Unknown/duplicate wrapper keys now fail deserialization => returns None => falls back to visible text (same as prior failure path).
- New unit tests: helios/src/output/tml.rs test call_preserves_raw_json_arguments_including_arbitrary_precision_integers (also asserts duplicate "name" key falls back to visible text); helios/src/grammar/strict.rs test tml_strict_parser_preserves_30_digit_integers (GrammarCompiler + OutputPipeline + strict TextGrammar validator across top level/anyOf/$ref/nested array+object; asserts raw args contains the 30-digit value 5 times).
- tests/server/test_inkling2.py: new live test_strict_tml_tool_calls_and_truncation (~91 lines) covering Chat Completions buffered + streamed, max_tokens=10 truncation, Responses buffered + max_output_tokens=10 truncation.
No description claim found so far that the diff contradicts; description says nothing about needing a serde_json "raw_value" feature (worth checking Cargo features).
#2 [high] Why: strict TMLv0 integer >64-bit caused HTTP 500 'strict tool arguments does not match its grammar'
Per PR #575 body: with ToolParserKind::TmlJson (Inkling 2) + a strict:true tool whose schema has an unbounded {"type":"integer"}, constrained decoding can emit a 30-digit integer (e.g. 123456789012345678901234567890). The old serde_json::Value round-trip (serde_json compiled WITHOUT arbitrary_precision) turned it into a binary64 float rendered as 1.2345678901234568e29; OutputEncoder then re-validated that string against the compiled strict TextGrammar, saw a float where an integer was required, and failed the live request with HTTP 500 "strict tool arguments does not match its grammar".
PR body says this "addresses the strict TMLv0 tool-calling qualification tracked in docs/TODO.txt" (need to verify what docs/TODO.txt actually says).
#3 [high] Related work: #418 (merged) added strict tools incl. TMLv0 grammar but never served a TMLv0 core
Background: strict function tools were added in #418 (merged 2026-11-22, commit 0b09434d, "Constrain strict function-tool arguments in native tool syntax", closes #417). #418's own body states: "No TMLv0 (ToolParserKind::TmlJson) core was served (docs/TODO.txt tracks served TMLv0 qualification)"; TMLv0 was covered only by grammar/fixture tests (strict_wire_grammars_reject_schema_violations_during_generation, tml_json_strict_grammar_rebases_root_ref_and_parses_end_to_end, strict_tool_wires_reach_encoder_only_after_parser_completion). Reviewer yatesdr explicitly accepted "TML: fixtures are enough" but required that docs/TODO.txt carry the unserved check — hence docs/TODO.txt:5-8, the item #575 says it addresses.
#418 also established the precedent #575 leans on: Qwen (chatml.rs) and GLM (argument_tags.rs) strict parsers retain raw JSON tokens via RawArguments / Box<serde_json::value::RawValue> (helios/src/output/tagged.rs:805-860, helper strict_nonstring_raw at :846-860, doc comment "Preserve exact raw JSON tokens (such as >64-bit integers) on strict non-string scalars"), and TextGrammar::validate "accepts ... as well as >20-digit integers (123456789012345678901234567890)". DSML passes source text through (helios/src/output/dsml.rs:152-192).
So #575 extends an existing raw-token strategy to the one parser (TMLv0) that was left out.
Connection: #575's PR-body claim "matching the raw-token preservation already used by the Qwen, GLM, and DeepSeek DSML parsers" is accurate for Qwen/GLM (RawArguments) and DSML (raw text pass-through), but the strict-validator round-trip was the actual gate.
#4 [high] Change: the fix also changes non-strict TMLv0 argument text and tightens duplicate-key acceptance
Verified from the diff (https://github.com/NVIDIA/hyperflare-inference/pull/575): TmlOutput::call in helios/src/output/tml.rs is the parser used for ALL TMLv0 tool calls, strict or not (pipeline.rs:78 routes ToolParserKind::TmlJson to TmlOutput; strict gating happens later in helios/src/server/protocol/encode.rs:517-553). Consequences the description does not spell out (all follow from emitting args.to_owned() instead of args.to_string()):
- Non-strict TMLv0 calls also change: argument text is now the exact generated bytes, so whitespace inside the JSON object, number spellings (e.g. integral floats written as
1e20vs1.0), escape spellings and duplicate keys insideargsreach the client verbatim instead of being normalized by serde. Only >64-bit integer precision was cited as motivation. - Duplicate/unknown keys in the wrapper object were previously ACCEPTED when the duplicates kept
len()==2({"name":"x","name":"x","args":{}}parsed to a 2-key map). Nowdeny_unknown_fields+ struct deserialization rejects them and the body falls back to visible text — a small behavioral tightening in addition to the failure-mode preservation the description describes ("Unknown or duplicate wrapper keys fail deserialization and fall back to visible text, matching prior TMLv0 recovery semantics" — the "duplicate" half of that is new behavior, not prior). argsobject-ness is now checked byargs.get().starts_with('{')on raw text rather than byis_object()on a parsed Value; a body whose args is a JSON object is still accepted, and now so is any object text that serde_json can parse as a RawValue (which must itself be valid JSON, so semantics are close).- Key order preservation claimed in the description is really a property of the strict wire grammar (which emits members in
propertiesdeclaration order, per #418), not of this change: serde_json in this crate already enablespreserve_order(helios/Cargo.toml:52), soValuere-serialization also kept insertion order before. The change makes that order robust to any parser/Value path rather than newly introducing it.
#5 [high] Related work: #457 (open) rewrites the same TmlOutput::call and the same strict TMLv0 grammar
#457 (open, by brandonmmusic-max, opened 2026-11-22, +431/-7) rewrites the SAME function, TmlOutput::call in helios/src/output/tml.rs, and touches helios/src/grammar/strict.rs and helios/src/output/tml.rs — the exact 2 Rust files of #575. On its branch (pr/457) TmlOutput::call is still the OLD serde_json::Value + args.to_string() form (tml.rs:346-374 at pr/457), wrapped by a new call_or_text that sets AnswerState::Emitted. So:
- #575 and #457 are textually overlapping but not semantically competing: #457 does not fix the integer-precision defect (it keeps
args.to_string()), and #575 does not implement #457's AnswerState / EOS failure / grammar rules. - Whichever merges second must resolve a conflict in
TmlOutput::calland in themod testsblock of tml.rs (both add tests at the end of that module). - #457 also touches the strict TMLv0 grammar (
compile_strict_tml,tool_unnamed, preamble-then-tools) that #575's new testtml_strict_parser_preserves_30_digit_integersexercises; #457 changes the envelope shape accepted before the invoke token (unnamed headers), which is exactly what #575's grammar test drives ("audit"header +<|content_invoke_tool_json|>). - #457 still has an open CHANGES_REQUESTED review from the flare-autobot (2026-11-24, no blockers, 5 should-fix + 6 nits), including "the strict-TMLv0 truncation checks from docs/TODO.txt:25-28 neither run nor listed" — the same docs/TODO.txt item #575's live test (
max_tokens/max_output_tokenstruncation) andtests/server/test_inkling2.pyadditions cover.
#6 [high] Related work: #461 documents the same precision boundary; #191 added tml.rs; no user issue filed
- #461 (open, jcartu, +39/-14): documents the SAME numeric-precision boundary #575 fixes in code. docs/api.md:600-603 already states "numeric
enumandconstliterals ... must have magnitude strictly below 2^53 ... pass larger exact identifiers or higher-precision decimals as strings". #461 additionally documents thatminimum/maximum/exclusiveMinimum/exclusiveMaximumround through f64 for integer properties (docs/api.md:601-605 region). Relevance to #575: #575's motivating case is an unbounded{"type":"integer"}property with a 30-digit value, which #461's documented limits do NOT forbid — only bounds/const/enum are restricted — so #575 is closing a real gap that the documentation admits the value space of. overlaps strict.rs but touches only a test there, no conflict with #575's added test at strict.rs:3819-3923. - #191 (open, draft, YouNeedCryDear):
helios/src/output/tml.rswas ADDED by #191 (+476), i.e. #191 is the origin of TmlOutput; it is still draft and blocked on recipe work moved to the hyperflare-recipes repo. Any change to tml.rs lands on top of a file whose only open provenance is a draft PR. - docs/TODO.txt:5-8 is the exact item #575 says it addresses: "Qualify
strict: truefunction tools on a TMLv0 core (ToolParserKind::TmlJson, e.g. Inkling 2) served byflare run. Check Chat Completions and Responses, buffered and streamed, including max_tokens and max_output_tokens truncation. Close when a served TMLv0 core passes those checks and the result is recorded." The entry was added by #418 (its files list includes docs/TODO.txt +5). #575 does NOT edit or tick off docs/TODO.txt. - #304/#305 (merged, original-el8) own the previous Inkling 2 Small NVFP4 TP4 qualification and the concurrency raise; #312 (open, draft, original-el8) modifies tests/server/test_inkling2.py (+13/-8) on branch
inkling2/spark-performance— a different base branch, so direct conflicts with #575's +91 in that file are possible but the branches are not stacked. - No issue anywhere in the local copy reports the >64-bit rounding or the HTTP 500 directly; searching "strict tool arguments does not match its grammar", "integer precision", "TmlOutput arguments rounding", "arbitrary precision" returns only #575 itself. The closest prior report is #39 (closed, GLM argument-tags parser aborts the stream on a type-mismatched argument) and #417 (closed, strict tools rejected outright).
#8 [high] People: first-time contributor (author fordbmorris == commit author 'woooflet'), three same-day PRs, no reviews
- PR author field: fordbmorris; the commit author on the PR head (07955d70) and the "Discord" line read
woooflet. Same person, two handles — worth flagging for review provenance. - GitHub association of the author with the repo: NONE (orientation packet). In the last 180 days: 0 merged, 0 closed, 3 open PRs, all opened 2026-11-28: #577 (roce_proxy ring mailbox window), #576 (pin Helios/RoCE threads on asymmetric topologies), #574 (AOT guard pickling for hyperflare_recipes objects). So #575 is part of a same-day batch of four unrelated PRs from a first-time contributor; none has review yet.
- By contrast the strict-tool work was driven by jcartu (#418, #461) and reviewed by yatesdr (maintainer-rate reviewer who asked for evidence, rerun proofs, and docs). yatesdr's stated bar in #418/#461: unrun live checks must be listed, no claim without a named revision/command, and TML "fixtures are enough ... if the description says no TML core was served" — #575's description does the opposite: it claims a live 4-Spark TP4 qualification.
- Priority contributors named in the charter: @voipmonitor, @original-el8, @lukealonso — the author is none of them.
- No engagement yet: 0 comments, 0 reviews, 0 reactions (read_item Discussion: 0), and no flare-autobot case file or review on #575 (unlike #457/#461 which both got one within ~2 days).
#9 [high] Claims and evidence: mechanism and error string verified; test counts and 35/35 live run unverifiable from the repo
Verified:
- helios/Cargo.toml:52 already enables serde_json features ["preserve_order", "float_roundtrip", "raw_value"] — so
RawValueneeds no dependency change, and "preserve_order" means the OLDValuepath also kept key order. The description's "preserves ... key order" is therefore not new behavior from this diff. - The error string is real and originates exactly where the description says: helios/src/grammar.rs:653
format!("{subject} does not match its grammar")with subject "strict tool arguments" for the "strict tool JSON schema" grammar (grammar.rs:632-636). It is raised from OutputEncoder at helios/src/server/protocol/encode.rs:539-541 and surfaced as HTTP 500 by helios/src/server/http.rs:278 (StatusCode::INTERNAL_SERVER_ERROR) — i.e. a server fault, matching the description's "failed the live request with HTTP 500". - Mechanism of the old bug is plausible and matches the code that was replaced:
args.to_string()re-serialized through serde_json without arbitrary_precision (no "arbitrary_precision" feature anywhere in the repo — search returns only #575's test name), so a >u64 integer became an f64. - Truncation semantics claimed by the new Python test ("unfinished strict calls cleanly omitted") is real code, not new: encode.rs:532-553 drops a pending strict call unless ToolEnd arrives, and docs/api.md:624-628 documents it. So the truncation assertions in the new Python test exercise pre-existing behavior, not this diff.
- Unverified / not reproducible from the repo: the description's test counts (7/7 output::tml, 28/28 grammar::strict, 2/2 protocol::tests::strict, 5/5 server::request::tml_tests), the "cargo test ... --features runtime-core,server" run on ARM64 GB10, and the "35/35 live 4-Spark TP4 qualification ... and invalid strict schema HTTP 400 admission rejections (6/6)". None of those numbers appear in the diff, no log is attached, and the 35-case harness is not in the repo (tests/server/test_inkling2.py as committed contains exactly one new test with 6 assertions groups covering Chat buffered, Chat streamed, Chat truncation, Responses buffered, Responses truncation — not 35 checks, and nothing about $ref recursion, unicode, parallel enforcement, multi-turn roundtrips, mixed strict/non-strict, or 6 HTTP 400 admission rejections).
- Reachable via CI: the new Rust tests ARE run by .github/workflows/native-serving.yml:63 (
cargo test ... --features runtime-core,serveron Linux and Windows). The new Python test is NOT: no workflow runs pytest at all (search of .github/workflows for "pytest" or "tests/server" returns nothing), and it is skipif-gated on FLARE_RUN_CUDA_TESTS=1 + FLARE_INKLING2_TEST_URL (tests/server/test_inkling2.py:23-26), so it needs a live 4×GB10 TP4 service. - That Python test also depends on calling
service(..., tools=..., tool_choice="required")whereserviceis the fixture, which asserts the model reports ≥8 concurrency, 4096/8192 prefill chunk, and image modality (lines 29-38) — a stricter environment requirement than a plain server.
#11 [high] Reach: all TMLv0 cores; Anthropic Messages tool_use.input still re-parses through serde
- Who is affected: every TMLv0 core (
ToolParserKind::TmlJson) served byflare run— Inkling 2 Small/Mini in this repo, and Inkling-Small via #191. No model core re-export, Protobuf field, or recipe change is needed (PR body; consistent with the diff touching no proto or recipe files). - Client-visible change beyond the fix: for non-strict TMLv0 calls,
argumentsstrings in Chat Completions / Responses / Anthropictool_use.inputare now the exact generated text (whitespace, escapes, number spellings). Responses and Anthropic re-parse to values (encode.rs:300, :334, :408) so those are unaffected semantically; Chat Completions passes the raw string to the client (encode.rs / server/output.rs Accumulator stores text and validates it parses to an object at server/output.rs:113-121). A client that diffs argument strings between releases would see differences. - Grr: helios/src/server/output.rs:113-121 still does
serde_json::from_str::<Value>(&call.arguments)merely to check it is an object — the ToolArguments text itself is not re-serialized, so no precision loss there (verified). - Anthropic Messages protocol:
anthropic_block(encode.rs:328-335) doesserde_json::from_str::<Value>(arguments)fortool_use.input, so a 30-digit integer reaching a Messages client would still round through serde at that point. #575 does not fix that path; whether Messages + TMLv0 strict is even reachable is unclear (docs/api.md:634 says strict on Messages tools returns 400). Worth flagging as a residual limit not mentioned in the description. - Operator impact: none for config/defaults; no new flags, no new dependency feature (Cargo.toml:52 already had
raw_value), no perf claim. The only runtime cost is that RawValue borrows instead of building a Value — no measurable cost claimed or expected. - Deployment: fix ships with the
flarebinary; existing exported cores gain it on upgrade (PR body). Tool: the parser bound is unchanged (1 MiB header / tool-call bounds at tml.rs:266-292) so no resource-lifetime change. - Testing infra reach: the only automated coverage that will actually run in CI is the two Rust unit tests; the new
tests/server/test_inkling2.py::test_strict_tml_tool_calls_and_truncationrequires a live 4×GB10 TP4 Inkling 2 Small NVFP4 service (skipif, lines 23-26) and no CI workflow runs pytest.
#12 [high] Process: open and unedited since opening, no CI checks, no reviews, no DCO trailer visible
- State: open, "ready for review" per orientation packet; opened 2026-11-28 19:22 and last updated the same minute — zero edits since opening. Age when reviewed: under a day.
- CI: "no checks" on head 07955d70 (orientation packet). The repo does have a Native serving workflow that would run
cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,serveron ubuntu-24.04 and windows-2022 (.github/workflows/native-serving.yml:13-68), so the absence of checks means the workflow did not trigger (the PR describes results from ARM64 GB10, not from the two CI targets — so x86_64 Linux and Windows behavior of the new&'a RawValueborrow is untested in CI). - Review state: no reviews, no comments, no labels (read_item; labels: none). No flare-autobot intake/review has been posted, whereas #457 and #461 both received one within 2 days of opening; #457's review was CHANGES_REQUESTED.
- Process signals a reviewer will weigh: single commit 07955d70 dated 2026-11-26 but PR opened 2026-11-28; PR body cites the base as 167f22c "rebased cleanly"; description includes the four required sections (AGENTS.md:72-113); no
Signed-off-byvisible in the metadata — DCO sign-off was an explicit merge gate that jcartu had to satisfy on #418 (yatesdr's review on 2026-11-21: "The head is still a8ba868e. We will review the revision ... with Signed-off-by on every commit"), so it is plausibly also expected here (not verified from AGENTS.md, which says nothing about DCO). - Description self-describes as addressing docs/TODO.txt:5-8, but does not edit that file, so the TODO item stays open until a maintainer ticks it.
- Same-day batch: #574, #575, #576, #577 all opened 2026-11-28 within minutes of each other by the same author, none reviewed — this affects reviewer load/serialization.
#16 [high] Research summary
Case file for PR #575 is assembled: 15 scratchpad entries covering all eight angles, each with file:line or item-number citations.
The change (verified from the diff). TmlOutput::call in helios/src/output/tml.rs stops round-tripping the {"name","args"} wrapper through serde_json::Value and instead deserializes a local #[serde(deny_unknown_fields)] struct RawCall<'a> { name: String, #[serde(borrow)] args: &'a RawValue }, checking args.get().starts_with('{') and emitting args.to_owned() verbatim. 3 files, +237/−10: tml.rs (+41/−10), strict.rs (+105, a test only), tests/server/test_inkling2.py (+91, one new live test). serde_json's raw_value feature is already enabled at helios/Cargo.toml:52, so no dependency change. The error string and 500 path in the description check out exactly (grammar.rs:653 → encode.rs:539-541 → http.rs:278 (not opened)).
What a reader could not learn from the description. (1) The change also alters non-strict TMLv0 calls — argument bytes are no longer normalized by serde — and it newly rejects duplicate wrapper keys that previously parsed ({"name":"x","name":"x","args":{}}). (2) Key-order preservation is not new: preserve_order was already on. (3) The "35/35 live qualification", the Rust test counts, and the HTTP 400 admission cases are not reproducible from the repo — the committed Python test holds one test with five assertion groups, and no CI workflow runs pytest at all, so only the two Rust tests will ever execute automatically. (4) The Anthropic Messages path still re-parses arguments through serde_json::Value (encode.rs:328-335), and the prompt-side TML renderer re-serializes arguments when echoing a prior turn (frontend/tml.rs:148-174) — neither is covered. (5) docs/TODO.txt:5-8, the item the PR claims to address, is not edited.
Related work. #418 (merged 6 days earlier) created both the gap (TMLv0 strict grammars, never served) and the Qwen/GLM raw-token precedent this PR extends. #457 (open) rewrites the same function and the same strict TMLv0 grammar on its own branch, still using args.to_string() — overlapping, conflicting, neither superseding. #461 documents the adjacent numeric-precision boundary but leaves unbounded integer properties, #575's case, unrestricted. #191 (draft) first added tml.rs; #312/#304/#305 share the Inkling 2 test file. No issue anywhere reports this defect.
Standing and process. First-time contributor (association NONE; author fordbmorris, commit author "woooflet"), four unrelated PRs opened the same day, none reviewed. #575 has zero comments, reviews or reactions and no CI checks on its head, whereas #457 and #461 both drew CHANGES_REQUESTED autobot reviews within two days. Charter fit is good (root-cause fix, no per-model branch, four-part description); the tension is that qualifications live only in the PR body, which AGENTS.md:57-60/58 directs into docs.
#20 [high] Amendment: PR body was edited — non-strict reach and duplicate-key fallback are now disclosed
Head c7fae93b4827, read_item #575 (updated 2026-11-28 20:37). The "What Changed" bullet now ends: "Note: this also passes non-strict TMLv0 args verbatim without serde re-serialization and rejects duplicate wrapper keys as visible text." The "Caveats" line repeats it: "Non-strict TMLv0 calls now also forward raw args text verbatim, and duplicate wrapper keys fall back to visible text."
So the earlier criticism ("undeclared reach"; duplicate-key rejection misleadingly framed as "matching prior TMLv0 recovery semantics") is superseded: that phrase is gone from the body and both behaviours are now stated plainly, twice. Retract the disclosure/framing complaint.
KEEP: the substantive point stands unchanged — TmlOutput::call (helios/src/output/tml.rs:329-363) serves every TMLv0 core, so non-strict arguments text no longer passes through serde normalization (interior whitespace, number spellings, escape spellings, duplicate keys inside args), and duplicate wrapper keys that previously parsed now become visible Content. Only the >64-bit integer case is cited as motivation.
KEY CORRECTION to my earlier write-up: the code is let args = parsed.args.get().trim(); then text: args.to_owned() — outer whitespace IS trimmed, so "verbatim" means "verbatim modulo outer trim"; and trim() also defuses my untested "args": { … } concern (spaced args are accepted, not rejected).
#21 [high] Amendment: autobot case file and review now exist — Ready To Merge, 0 blockers, 4 nits
read_item #575 discussion (and pr_comments):
- 2026-11-28 19:30, flare-autobot: "A case file has been opened for 575." Case File dcdf3b42-b7ea-4f06-b0d4-741e81b80a2a; intake report 0223f9b0. Also states "Future reviews will auto-run 90 minutes after code updates are pushed."
- 2026-11-28 20:37, flare-autobot: "Autobot Review … Recommendation: Ready To Merge. The production fix in
helios/src/output/tml.rsis minimal and correct … without new dependencies or format changes. Only minor non-blocking nits remain arounddocs/TODO.txtbookkeeping, test fixture reuse, and PR command disclosure. Blockers: 0, Should fix: 0, Subtractive suggestions: 0, Nits: 4." - Full review / value-prop / case-file bodies are external URLs (autobot.eidonix.com) with no inlined content, so the 4 nits cannot be read from here; only their subject areas are named.
SUPERSEDES my earlier notes #8/#12/#14 statements "no autobot case file", "zero comments/reviews/reactions", "no discussion". Still true: no human comment or review, no reactions, no labels.
Corroboration for the report: the reviewer's own nit list names docs/TODO.txt bookkeeping — matching my finding that docs/TODO.txt:5-8 (the item the PR claims to address) is still [ ] at head c7fae93 (read_file docs/TODO.txt:5-8 confirmed unchanged). It also names "PR command disclosure", matching my "claimed evidence not reproducible" note.
Caution for the final report: a maintainer skimming only the autobot verdict would merge; the residual concerns are all ones the autobot classified as nits.
#22 [high] Amendment: code at head is unchanged except .trim() was already there — my spaced-args open question is dissolved
Head code, helios/src/output/tml.rs:338-362 (read at head c7fae93): let parsed: RawCall<'_> = serde_json::from_str(body).ok()?; let args = parsed.args.get().trim(); if !args.starts_with('{') || !tools.any(name==parsed.name) || header mismatch { return None; } ... Event::ToolArguments { text: args.to_owned() }
trim()is present in the head code. CONSEQUENCE: my earlier open question ("a spaced\"args\": { … }payload may be rejected bystarts_with('{')") is DISSOLVED — leading whitespace is trimmed before the check, so spaced non-strict args parse fine. The code also trims the argument text it emits, so "verbatim" precisely means "verbatim apart from leading/trailing whitespace of the args value". This is benign for the >64-bit case (strict grammar emits compact JSON, so trim is a no-op) but it is a further deviation from "exact bytes" worth one clause in the report.- Duplicate wrapper keys still rejected (deny_unknown_fields, tml.rs:331) — unchanged finding, now disclosed in the body (note #20).
RawCallstill function-local; no public API change;Valueimport still used; no Cargo.toml change (raw_value/preserve_order already at helios/Cargo.toml:52).- Test at helios/src/grammar/strict.rs:3820-3925 mirrors the existing Qwen/GLM test at strict.rs:3747-3817 (same big_schema, validator,
matches(big).count() == 5assertion), so it is a copy of an established pattern rather than new scaffolding — a "test fixture reuse" nit is exactly what the autobot named (note #21). Clippy nit not verifiable:compile_presented_strict_toolsreturns an unused grammar whoseadvanceloop is run in the TML test (so it borrows mutably and is used) — fine.
#24 [high] Amendment: body now states the exact reproduce command and hardware; count claims dropped, docs still unedited
Body at head c7fae93 (read_item #575, updated 2026-11-28 20:37):
- "Benefit & Evidence" now names hardware AND the exact command: "Verified on ARM64 GB10:
cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server(output::tml::,grammar::strict::,server::protocol::tests::strict,server::request::tml_tests::all passing) and live 4-Spark TP4 Inkling 2 Small strict tool-calling qualification." Caveats line adds the qualification scope ("Qualified live on Inkling 2 Small NVFP4 (4× GB10 ARM64 TP4)… Non-TML tool parsers are untouched") — satisfying AGENTS.md:57-60's hardware/config/what-is-not-qualified requirement inside the body. - That command is byte-for-byte the CI invocation (native-serving.yml:63/:68), so it is reproducible as a command; what remains unreproducible is the RESULT: no logs, no per-test counts (my old numbers 7/7, 28/28, 2/2, 5/5 are gone from the body — it now only names four modules "all passing"), the 35/35 live harness still absent from the repo, and the "6/6" HTTP 400 cases still absent.
- Structure is now Why / What Changed / Benefit & Evidence / Caveats — satisfies AGENTS.md:72-113's four-part description.
- Still unedited at head: docs/TODO.txt:5-8 remains
[ ] Qualify strict: true function tools on a TMLv0 core…(docs/TODO.txt:5-8), and docs/api.md is not touched (pr_files: only 3 files). So my documentation finding is intact even though the caveat is now stated in the PR body — AGENTS.md:57-60 and reviewer precedent on #418/#457 want it in docs.
AMENDMENT TO STATE: soften "claims name a revision and command" gap (command now given; revision still only 'rebased onto 167f22c'); soften "test counts unverifiable" to "results unverifiable, claims no longer quantify counts".
#25 [high] Amendment ledger for report #19 after head c7fae93 + body edit + autobot review
Amendments to report #19 after the 2026-11-28 event (head 07955d7 → c7fae93b, body edited, case file + autobot review posted). All verified at head with file:line.
SUPERSEDED / RETRACT:
- "Undeclared reach" (findings 1-2, notes #4) → RETRACTED as a disclosure criticism. Body now says twice that non-strict TMLv0 args are forwarded verbatim and duplicate wrapper keys fall back to visible text (note #20). KEEP the behaviour itself as a reviewer question.
- "No autobot case file / zero discussion" (notes #8/#12/#14) → SUPERSEDED. Case file dcdf3b42 opened 19:30; review posted 20:37 with Ready To Merge, 0 blockers, 0 should-fix, 4 nits (note #21). Still zero human comments/reviews/reactions and no labels.
- Open question "spaced
\"args\": { … }may be rejected bystarts_with('{')" → DISSOLVED: head code trims first (tml.rs:339let args = parsed.args.get().trim();) and emits the trimmed text (tml.rs:359). Consequence: "verbatim" = verbatim modulo outer whitespace (note #22). - "Claims name a revision and command" gap → PARTLY CLOSED: body now names hardware (ARM64 GB10, 4× GB10 TP4) and the exact cargo command, and drops the per-module counts (note #24). What remains unreproducible: results/logs, the 35/35 harness, the 6/6 HTTP-400 cases.
- "CI absence possibly incidental" → REFINED: both PR-triggered workflows (native-serving.yml:3-7 bare pull_request; helios-lifecycle.yml:3-11 paths helios/**) match these files, so the missing checks are not a path-filter artefact — nothing has run on this head (note #23).
UNCHANGED (verified again at head):
- Fix mechanism and reach (tml.rs:329-363, all TMLv0 cores; strict gate later at encode.rs:517-553).
- duplicate wrapper keys now rejected (deny_unknown_fields at tml.rs:330-336) — the behaviour, now disclosed.
- docs/TODO.txt:5-8 still
[ ]; docs/api.md untouched; only 3 files changed (pr_files). - Residual paths: Anthropic
tool_use.inputre-parse (encode.rs:328-335) and prompt-side TML renderer re-serialization (frontend/tml.rs:148-174) — both still undisclosed in the body. - Conflict with #457 on the same two Rust files (related_items confirms 2 files in common: grammar/strict.rs, output/tml.rs, #457 still open).
- No human review; author still first-time (0 merged in 180 days).
BOTTOM LINE CHANGE: assessment moves from "polish with undisclosed side effects and thin evidence" to "sound minimal fix whose side effects are now disclosed; the only surviving substantive gaps are (a) the two residual re-serialization paths, (b) docs/TODO.txt:5-8 left unticked against AGENTS.md:57-60, (c) conflict/sequencing with #457, (d) live CPython/HTTP claims never exercised in CI." Reviewer verdict to weigh: autobot Ready To Merge with 4 nits, one of which is the docs/TODO.txt bookkeeping.
#26 [high] Amendment: design acknowledgment on #575 carries a stale digest (eb2f vs main's c3a9) and likely omits the model
NEW finding from the event (the sibling-PR reviews led here; not in report #19, which mentioned only DCO):
- AGENTS.md:29-41 makes the repo's real commit gate
.githooks/commit-msg+docs/design-review.md, not DCO. The hook (.githooks/commit-msg:15,50-63) requires exactly oneDesign-Signed-Off-By: <identity>; design-review=<4 hex>trailer whose digest equals sha256 of the staged docs/design-review.md. docs/design-review.md:298-318 requires the reviewer name AND model, and forbids signing off on principle violations. - #575's commit c7fae93b DOES carry the trailer (search_history matches it for both "Design-Signed-Off-By" and "design-review=eb2f"), so the ack is present — unlike my report's DCO-based framing, which I should drop to a footnote.
- But its digest is
eb2f, whilemain's docs/design-review.md now hashesc3a9(search_items: #548 comment "current digestc3a9onmain"; main base 167f22c8 carries c3a9 per search_history(text="design-review=c3a9")). docs/design-review.md changed three times on 2026-11-27 (d7031b37, 353551e9, da752e07), i.e. after c7fae93b's 2026-11-26 authorship, so the stale digest is verifiable by date order alone. - Independent corroboration that this author's trailers are stale: original-el8's human reviews of the sibling PRs, #576 and #577, both say "refresh the
docs/design-review.mddigest (eb2fis stale onmain)" and #576 adds that the trailer "Antigravityomits the model", i.e. it violates docs/design-review.md:301. Same author, same day, sameeb2ftrailer → #575's almost certainly has the same identity-form defect. - Consequence for the report: the design acknowledgment on #575 is present but stale and (very likely) malformed, so it attests to a checklist revision that no longer exists on main. Raise it as a merge-hygiene item; no design-principle violation is implied.
#28 [high] Research summary
Amended report #19 for the new event on PR #575 (head 07955d7 → c7fae93b): the code is materially the same three files, but the PR body was rewritten and an autobot case file + review arrived.
Retractions: the "undeclared reach" criticism (body now discloses non-strict verbatim args and duplicate-key fallback twice), the "no case file / zero discussion" claim (case file dcdf3b42 at 19:30, review at 20:37 = Ready To Merge, 0 blockers, 4 nits), and my untested spaced-"args" concern (head code trims at tml.rs:339 before the starts_with('{') guard, so it parses — "verbatim" is really modulo outer whitespace).
Refinements: the body now names hardware and the exact CI-identical command and drops the unverifiable per-module counts (results, the 35/35 harness and 6/6 HTTP-400 cases are still absent); the missing CI checks are confirmed not a path-filter artefact (native-serving.yml:3-7 bare pull_request, helios-lifecycle.yml:3-11 helios/**); docs/TODO.txt:5-8 is still unticked and now also an autobot nit; and my DCO framing is replaced by the real gate — the commit's Design-Signed-Off-By carries digest eb2f, stale since docs/design-review.md was revised on 11-27 (main now hashes c3a9), likely also omitting the model.
New angle: the same author's #576/#577 drew human CHANGES_REQUESTED from original-el8 asking for head-run tests, CI-identical flags, live flare run validation and a refreshed digest, and #574 drew autobot Changes Requested for unrun pytest — yet #575, the only one touching client-visible output, still has no human review. Revised bottom line: sound minimal fix, side effects now disclosed; surviving gaps are scope/process only (two residual re-serialization paths at encode.rs:328-335 (not opened) and frontend/tml.rs:148-174 (not opened), unticked docs/TODO.txt:5-8, conflict with #457, untested live HTTP claims, stale sign-off digest).
#29 [high] Amendment bullet list as delivered (use this ordering for the final report)
Deliverable = AMENDMENTS ONLY (the user asked not to re-iterate report #19). Event: head 07955d7 → c7fae93b, PR body rewritten (read_item updated 2026-11-28 20:37), autobot case file 19:30 + review 20:37. Code substance unchanged: still 3 files, +237/−10 (pr_files); helios/src/output/tml.rs:329-363 is the same logic.
RETRACTIONS
- "Undeclared reach" withdrawn as a disclosure criticism — body now states twice that non-strict TMLv0
argsgo verbatim and duplicate wrapper keys fall back to visible text; "matching prior TMLv0 recovery semantics" phrase removed (note #20). Behaviour still a reviewer question. - "No autobot case file / zero discussion" superseded — case file dcdf3b42-b7ea-4f06-b0d4-741e81b80a2a opened 19:30; review 20:37: Ready To Merge, 0 blockers, 0 should-fix, 0 subtractive, 4 nits (note #21). Still no human comment/review/reaction/label.
- Spaced-
"args"open question dissolved —let args = parsed.args.get().trim();(tml.rs:339) precedes thestarts_with('{')guard, so spaced args parse (note #22).
CORRECTIONS / REFINEMENTS
4. "Verbatim" = modulo outer whitespace: the same trim() is what gets emitted (tml.rs:359). No-op for the strict grammar's compact JSON; state it precisely (note #22).
5. Evidence section improved; my count criticism no longer applies — body names ARM64 GB10 / 4× GB10 TP4 and the exact command cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server (= native-serving.yml:63/:68), and DROPPED the 7/7, 28/28, 2/2, 5/5 counts. Unreproducible now = results/logs, 35-case harness, "6/6" HTTP-400 cases; committed Python test ≈5 assertion groups, no CI runs pytest (note #24).
6. Missing CI is NOT a path filter — native-serving.yml:3-7 (bare pull_request) and helios-lifecycle.yml:3-11 (paths helios/**) both match; nothing ran on this head (note #23).
7. docs/TODO.txt:5-8 still [ ], docs/api.md untouched, and autobot's nit list names "docs/TODO.txt bookkeeping", "test fixture reuse", "PR command disclosure" — bodies are external URLs, unreadable here (notes #21, #24).
8. Replace my DCO framing with the real gate: AGENTS.md:29-41 → .githooks/commit-msg:15,50-63 + docs/design-review.md:298-318. c7fae93b DOES carry Design-Signed-Off-By with digest eb2f, but docs/design-review.md was revised 2026-11-27 (d7031b37, 353551e9, da752e07) and main hashes c3a9; likely also omits the model (docs/design-review.md:301). Hygiene item, not a principle violation (note #26).
NEW ANGLE
9. Sibling PRs of the same author now show the review gauntlet: #576 and #577 got human CHANGES_REQUESTED from original-el8 (2026-11-28 22:12) demanding head-run tests, CI-identical flags, live flare run validation and a refreshed eb2f digest; #574 got two autobot Changes Requested for unrun pytest / "CI does not run pytest on tests/preparation/". #575 — the only one touching client-visible output — still has no human review. Don't overstate causality: unrelated subsystems, shared authorship only (note #27).
UNCHANGED (re-verified at head)
- Fix mechanism and reach: all TMLv0 cores; strict gate later at encode.rs:517-553.
- Duplicate wrapper keys now rejected (deny_unknown_fields, tml.rs:330-336), now disclosed.
- Residual re-serialization paths still unfixed and undisclosed: Anthropic
tool_use.input(encode.rs:328-335) and prompt-side TML renderer (frontend/tml.rs:148-174). - Textual conflict with open #457 on grammar/strict.rs + output/tml.rs (related_items).
- No externally filed bug report for the defect anywhere in the searchable copy (search_items "strict tool integer HTTP 500" → no matches; "TmlOutput strict TML" → only #457/#575).
REVISED BOTTOM LINE Sound minimal fix with now-honest disclosure and an autobot Ready To Merge; drop the undeclared-behaviour and engagement warnings from the lead. Surviving gaps are scope/process only: (a) two residual re-serialization paths, (b) docs/TODO.txt:5-8 unticked vs AGENTS.md:57-60, (c) sequencing with #457, (d) live HTTP claims never exercised in CI, (e) stale sign-off digest.
#32 [high] Amendment (run 3): new head a0d9065, trailer refreshed to 2e5b, autobot verdict now stale, pytest workflow still skips the new test
Event: PR #575 rebased; head c7fae93 → a0d9065314d135ba370c59863f92d9650a6754f3 (a0d9065), commit Preserve raw JSON tool arguments in TmlOutput for strict TMLv0 calls dated 2026-12-01 by woooflet; author comment 2026-12-02 04:47 (read_item #575). Base moved 167f22c8 → 571a4471.
-
CODE UNCHANGED. pr_files identical 3 files, +237 −10 (pr_files). pr_diff for helios/src/output/tml.rs is the same patch as before; line numbers shift only:
fn callnow helios/src/output/tml.rs:342-376;#[serde(deny_unknown_fields)]:343-344;let args = parsed.args.get().trim();:352;!args.starts_with('{'):353;text: args.to_owned():372. strict.rs test now :3819-3924 (old qwen/glm twin :3723-3724). No new line-number corrections needed to the substance of report #19.- Bug still live on main: at main,
TmlOutput::callis helios/src/output/tml.rs:341-369 and still doesargs.to_string()(:365). No main commit between 11-19 and 12-01 changedcall(#615 e4d8eb60 touched tml.rs but not this function). So the PR is not superseded.
- Bug still live on main: at main,
-
RETRACT stale-digest finding (note #26). Trailer is now
Design-Signed-Off-By: Antigravity (Gemini-4-Neon); design-review=2e5b(author comment 2026-12-02).2e5bis the digest maintainers name as current on main: lukealonso on #582 ("Design-Signed-Off-By digest on main is now 2e5b"), and #475/#533 also refreshed to 2e5b. Identity carries name + model as docs/design-review.md:301 requires, and matches .githooks/commit-msg:59-63's([^;\r\n]+); design-review=[0-9a-f]{4}form. Limit: sha256 of docs/design-review.md at 571a4471 cannot be recomputed with these tools.- Authorship restriction does not bite: docs/design-review.md:124-134 / AGENTS.md:473-486 restrict Opus/Fable/Sonnet/Haiku on CUDA kernels and model-fusion work only; this is parser code.
-
Autobot verdict is now stale relative to head. Only review is 2026-11-28 20:37 (Ready To Merge, 0 blockers / 0 should-fix / 4 nits) on the pre-rebase head c7fae93; discussion holds exactly 3 items, so no re-review of a0d9065 is visible even though the case file promises auto-review 90 min after pushes (19:30 comment). Still zero human reviews/comments; but labels now exist: area:api, bug, model:inkling-small, priority:P2, triage:review — supersedes the earlier "no labels".
-
CI REFINEMENT (supersedes "no workflow runs pytest" in notes #23/#29). Main now carries .github/workflows/python-cpu.yml (added by 9a054b49 / #608, 2026-11-29): triggers
pull_requestwith no path filter (python-cpu.yml:3-7) and runs.venv/bin/python -m pytest tests/ -q(:30-33) withCUDA_VISIBLE_DEVICES: ""(:32). BUT tests/server/test_inkling2.py:23-26 skips the whole module unless FLARE_RUN_CUDA_TESTS=1 and FLARE_INKLING2_TEST_URL are set, which python-cpu.yml never sets → the new testtest_strict_tml_tool_calls_and_truncation(tests/server/test_inkling2.py:121-208) is collected and skipped in CI. native-serving.yml:3-7 still barepull_request, :63/:68 still the exact cargo command. Whether any check actually ran on a0d9065 remains unobservable from here. -
NEW: author's counts are now arithmetically checkable and match the tree. Comment claims
output::tml::7/7 → helios/src/output/tml.rs has exactly 7#[test](:470, 521, 538, 563, 588, 609, 620). Claimsgrammar::strict::28/28 with 1 ignored → strict.rs has exactly 29 test fns, one#[ignore = "requires FLARE_DEEPSEEK_TEST_SNAPSHOT…"]at :4447-4448. So the counts are consistent with source (runs still unobserved). 35/35 live remains unverifiable; no harness in repo. -
NEW nit on the test's evidence value: its "property order" assertion (tests/server/test_inkling2.py:139-141,
list(parsed.keys()) == ["big_id","city"]) does not discriminate old vs new behaviour, because serde_jsonpreserve_orderis already enabled (helios/Cargo.toml:52) soargs.to_string()also kept key order; only the 30-digit assertions do. It also re-fetches /v1/models instead of using the module fixture (test_inkling2.py:31-33 vs :122) and builds the truncation/Responses requests with raw urllib instead ofservice(...)— corroborates autobot's "test fixture reuse" nit. -
Unchanged, re-verified: duplicate wrapper keys become visible text (tml.rs:343-344; test at tml.rs:636-642); docs/TODO.txt item still
[ ]at pr head (:5-8) and on main only shifted to :12-15 after unrelated items were added above; docs/api.md untouched (docs/api.md:614-631 still says nothing about raw-args forwarding or duplicate-key fallback); residual re-serialization paths unchanged (helios/src/server/protocol/encode.rs:334 Anthropic tool_use.input; helios/src/frontend/tml.rs:148-174 prompt-sidearguments()+ write_json). Sequencing risk broadens: #457 (open, 2 shared files) plus #670 (open, lukealonso) now also edits helios/src/grammar/strict.rs (:1482-1485, :2952-2976 region) and #461 edits it too — textual conflict with #575's :3819+ addition unlikely, but three open PRs share the file.
Revised bottom line: unchanged except (a) drop the sign-off/digest item entirely, (b) the reviewer-visible verdict must be stated as stale (pre-rebase), (c) CI can now import the Python test but still skips it.
#33 [high] Corroboration: 2e5b is the maintainer-blessed on-main digest (lukealonso review on #582; #475, #533)
Corroboration for entry #32 item 2 (so the final report can cite the digest claim without relying on my paraphrase):
- On #582, lukealonso's review (quoted in #582's discussion; search_items hit "comment by lukealonso") instructs the author to "rebase onto
main, and update the commit message (Design-Signed-Off-Bydigest onmainis now2e5b, and the commit body still says live serving was not re-run on this revision)". #582 was merged 2026-11-29 20:58 after the author re-signed withdesign-review=2e5b(FujitsuPolycom comment 2026-11-29 19:20 item 2: "…signed withdesign-review=2e5b"). - Independent PRs refreshing to the same value: #475 (brandonmmusic-max, "Updated the
Design-Signed-Off-Bytrailer digest to2e5bafter reviewing againstdocs/design-review.mdonmain"), #533 (roobyz trailerdesign-review=2e5b). → So2e5bis the maintainer-blessed current digest as of 2026-11-29/12-01, and #575's refresh to2e5b(author comment 2026-12-02 04:47) closes the stale-digest finding of note #26. Residual limit unchanged: the sha256 of docs/design-review.md at base571a4471cannot be recomputed here, and the commit-message text itself is not printable via search_history.
Also worth keeping for the report: #582 is the precedent showing how a correctness blocker on a scheduler change gets closed (2 blockers → APPROVED after 4 rounds, with TLA+ mutation runs and exact-SHA live A/B). It sets the bar #575 is being measured against by the same reviewers: nobody accepted #582 on unit tests alone.
#34 [high] Research summary
Amendments only, as asked (the prior report is entry #31 of my notes; this pass is entries #32–#33).
1. The stale-sign-off finding is withdrawn. The commit now carries Design-Signed-Off-By: Antigravity (Gemini-4-Neon); design-review=2e5b plus Signed-off-by: woooflet <ford@fordmorris.com> (author comment 2026-12-02 04:47). 2e5b is the digest maintainers themselves name as current on main — lukealonso's review on #582 tells its author to "update the commit message (Design-Signed-Off-By digest on main is now 2e5b)", and #475 and #533 refreshed to the same value. The identity now carries name and model as docs/design-review.md:301 requires, matching the hook pattern at .githooks/commit-msg:59-63. The authorship restriction (docs/design-review.md:124-134, AGENTS.md:473-486) covers CUDA kernels and fusion work only, so it does not touch this parser change. Only residual: I cannot recompute the sha256 of docs/design-review.md at base 571a4471.
2. The autobot verdict is stale, and the PR now has labels. The head moved c7fae93 → a0d9065 (rebase onto main 571a4471), but the only review is still the 2026-11-28 20:37 "Ready To Merge, 0 blockers, 4 nits", written against the pre-rebase revision; no re-review of a0d9065 is visible even though the case file promises auto-review 90 minutes after pushes. Still zero human reviews or comments. Labels did appear — area:api, bug, model:inkling-small, priority:P2, triage:review — superseding my earlier "no labels".
3. CI, refined once more. Main now carries .github/workflows/python-cpu.yml (not opened) (from #608 / 9a054b49): bare pull_request trigger (:3-7) running pytest over tests/ (:30-33) with CUDA_VISIBLE_DEVICES: "". But tests/server/test_inkling2.py:23-26 skips the whole module without FLARE_RUN_CUDA_TESTS=1 and FLARE_INKLING2_TEST_URL, which that workflow never sets — so the new test_strict_tml_tool_calls_and_truncation (:121-208) is collected and skipped. native-serving.yml:3-7 is still a bare pull_request and :63/:68 still the exact cargo test command; whether anything ran on a0d9065 remains unobservable from here.
4. New: the author's test counts are now checkable and they check out. The comment claims 7/7 for output::tml:: and 28/28 with one ignored for grammar::strict::; the tree has exactly 7 #[test] in helios/src/output/tml.rs (:470, 521, 538, 563, 588, 609, 620) and 29 test fns in helios/src/grammar/strict.rs, one carrying #[ignore = "requires FLARE_DEEPSEEK_TEST_SNAPSHOT…"] (:4447-4448). Runs still unobserved; the 35/35 live harness still is not in the repo.
5. New nit on the added test's evidentiary value. Its "property order" assertion (test_inkling2.py:139-141) cannot distinguish old from new behaviour — preserve_order is already on (helios/Cargo.toml:52), so the old args.to_string() preserved key order too; only the 30-digit assertions test the fix. It also re-fetches /v1/models instead of using the module fixture (:31-33 vs :122) and hand-rolls urllib instead of the service(...) helper — which is what the autobot's "test fixture reuse" nit refers to.
6. Line numbers shifted; nothing in the substance changed. Same three files, +237/−10. fn call is now helios/src/output/tml.rs:342-376 (deny_unknown_fields :343-344, parsed.args.get().trim() :352, starts_with('{') :353, text: args.to_owned() :372); the strict.rs test is :3819-3924. The bug is still live on main (call at helios/src/output/tml.rs:341-369 still ends in args.to_string() at :365), so the PR is not superseded. docs/TODO.txt item is still [ ] at the PR head (:5-8, shifted to :12-15 on main by unrelated additions); docs/api.md:614-631 still says nothing about raw-args forwarding or duplicate-key fallback; the two residual re-serialization paths are unchanged (helio/src/server/protocol/encode.rs:334 (not opened) Anthropic tool_use.input; helios/src/frontend/tml.rs:148-174 prompt-side arguments()/write_json). Conflict surface broadens: strict.rs is now also open in #457, #461 and #670.
Revised bottom line: unchanged from the last amendment except that the sign-off item is gone and the reviewer-visible verdict must be flagged as predating the current head — a sound minimal fix with disclosed side effects, an autobot Ready-To-Merge on a superseded revision, no human review, and a new integration test that CI imports but skips. Precedent worth weighing: #582's schedulers work needed four rounds and exact-SHA live A/B before approval, so the bar these reviewers apply is not "unit tests pass".
#35 [high] Final amendment text as delivered (run 3) — amendments only, ordering to reuse in the report
Context: this pass amended report #31 (which amended #19). User asked for amendments only, not a re-iteration. Event: PR #575 rebased, head c7fae93 → a0d9065314d135ba370c59863f92d9650a6754f3, commit 2026-12-01 by woooflet; author comment 2026-12-02 04:47 (read_item #575). Base 167f22c8 → 571a4471.
-
WITHDRAW the stale-sign-off finding (kills note #26). Trailer is now
Design-Signed-Off-By: Antigravity (Gemini-4-Neon); design-review=2e5b+Signed-off-by: woooflet <ford@fordmorris.com>.2e5bis the maintainer-named current on-main digest (lukealonso review on #582: "Design-Signed-Off-Bydigest onmainis now2e5b"; #475 and #533 also refreshed to 2e5b — note #33). Identity carries name + model per docs/design-review.md:301, and matches .githooks/commit-msg:59-63. Authorship restriction docs/design-review.md:124-134 / AGENTS.md:473-486 covers CUDA kernels + fusion only, not parser code. Residual: sha256 of docs/design-review.md at 571a4471 not recomputable here. -
Autobot verdict is STALE; labels appeared. Head moved to a0d9065 but the only review is the 2026-11-28 20:37 "Ready To Merge, 0 blockers, 4 nits" against pre-rebase c7fae93; no re-review of a0d9065 visible despite the case file's 90-minute auto-review promise. Still zero human reviews/comments. Labels now exist: area:api, bug, model:inkling-small, priority:P2, triage:review (supersedes "no labels" in notes #12/#14).
-
CI refined again (supersedes note #23's "no workflow runs pytest"): main gained .github/workflows/python-cpu.yml via #608 / 9a054b49 — bare
pull_request(:3-7),.venv/bin/python -m pytest tests/ -q(:30-33), CUDA_VISIBLE_DEVICES="" (:32). But tests/server/test_inkling2.py:23-26 module-skips without FLARE_RUN_CUDA_TESTS=1 and FLARE_INKLING2_TEST_URL, which that workflow never sets → the new test_strict_tml_tool_calls_and_truncation (tests/server/test_inkling2.py:121-208) is collected and SKIPPED. native-serving.yml:3-7 still bare pull_request; :63/:68 still the exact cargo command. Did any check run on a0d9065? Unobservable here. -
NEW: the author's counts are arithmetically checkable and match the tree — output::tml:: 7/7 ↔ 7
#[test]in helios/src/output/tml.rs (:470, 521, 538, 563, 588, 609, 620); grammar::strict:: 28/28 + 1 ignored ↔ 29 test fns,#[ignore = "requires FLARE_DEEPSEEK_TEST_SNAPSHOT…"]at strict.rs:4447-4448. Runs unobserved; 35/35 live harness still absent from the repo. -
NEW nit on the added test's evidence value: its "property order" assertion (tests/server/test_inkling2.py:139-141) cannot distinguish old from new because
preserve_orderis already on (helios/Cargo.toml:52) — oldargs.to_string()also kept key order; only the 30-digit assertions test the fix. It also re-fetches /v1/models (:122) instead of the module fixture (:31-33) and hand-rolls urllib instead ofservice(...)— i.e. the substance of autobot's "test fixture reuse" nit. -
Line-number refreshes only; substance of report #19 unchanged. Same 3 files, +237/−10.
fn call= helios/src/output/tml.rs:342-376 (deny_unknown_fields :343-344,.trim():352, starts_with('{') :353,text: args.to_owned():372); strict.rs test :3819-3924. Bug still live on main:callat helios/src/output/tml.rs:341-369 ends inargs.to_string()(:365) → not superseded. docs/TODO.txt item still[ ]at PR head (:5-8; :12-15 on main after unrelated additions). docs/api.md:614-631 still silent on raw-args forwarding and duplicate-key fallback. Residual re-serialization paths unchanged: helios/src/server/protocol/encode.rs:334 (Anthropic tool_use.input) and helios/src/frontend/tml.rs:148-174 (prompt-side arguments()/write_json). strict.rs now also open in #457, #461, #670.
REVISED BOTTOM LINE: sound minimal fix, side effects disclosed, autobot Ready-To-Merge but on a superseded revision, no human review, and the one new integration test is imported by CI yet skipped; #582 shows the same reviewers require multi-round fixes plus exact-SHA live A/B before approval (note #33), so "unit tests pass" is not the bar.
#7 [medium] Recent activity: strict.rs is 6 days old and tml.rs last changed 2026-11-19 by Luke Alonso
- helios/src/output/tml.rs history (last commits): dc0d40e0 "Harden Helios HTTP ingress, frontend bounds, RoCE/TP lifecycle, and crate boundaries" (Luke Alonso, 2026-11-19); 8628b7c5 "Prepare Inkling 2 Small NVFP4 for native TP4 serving" (Luke Alonso, 2026-11-14); and #575's 07955d70 (2026-11-26, author "woooflet", see People).
- helios/src/grammar/strict.rs history: only two commits — 0b09434d (#418, Joshua Cartu, 2026-11-22) and #575's 07955d70. So the strict-grammar file is 6 days old when #575 lands on it, and #575 is the second change ever to it.
- helios/src in the last 60 days is overwhelmingly Luke Alonso (212 commits), Martin Vit (51), yatesdr (47); tests/server is Luke Alonso (32), yatesdr (4), derek (3). The Inkling 2 serving tests were written by original-el8 (#304/#305) and Nero (#433) / Jason Cook (1b9a1082).
- No commit on main since #575 branched (167f22c) touches any of #575's three files (orientation packet), and PR body says it "rebased cleanly onto 167f22c8".
- 17bb3c4a (Luke Alonso, 2026-11-22) "Remove extracted hyperflare_recipes, qualification drivers, and model tests from core Flare" — the split that moved recipe/model work out of this repo; #191's triage comment (2026-11-24) reflects it. #575 stays inside the runtime repo, which is consistent with that split.
#10 [medium] Project fit: aligns with charter goals and evidence rules; docs/TODO.txt item left unedited
- Charter (read_charter): goals include the documented Chat Completions / Responses APIs and "JSON Schema for structured outputs"; "Standards" says the project targets "the documented subset of the OpenAI API ... and JSON Schema for structured outputs". A strict function tool that must produce schema-valid integer arguments is squarely in that target, and a served HTTP 500 on such a request is a defect, not a feature request.
- Charter "How We Work": "Bring real evidence. ... Bug fixes need to address the root cause; don't just swallow, skip, or retry an unexplained error (#397)". #575's approach (stop normalizing the JSON text, emit it verbatim) addresses the root cause rather than catching the validator error — a fit.
- Charter: "Keep the runtime small and model-agnostic. Helios ... shouldn't accumulate per-model branches (#267, #334)". #575 adds no per-model branch or flag; it changes one generic parser path used by every TMLv0 core. Fit.
- Charter: "Be explicit and pin everything... Benchmarks, tests, or feature flags don't override architectural rules" and "PR descriptions: Expect four parts: why, what changed, claimed result, evidence" — #575 has exactly the four parts (Why / What Changed / Claimed Benefit / Supporting Evidence), as AGENTS.md:72-113 requires.
- Tension: AGENTS.md:57-60 requires qualifications to state "what is implemented, the hardware and configurations on which it is qualified, and what is not qualified", and AGENTS.md:58 says unresolved defects/unrun checks go in docs/TODO.txt. #575 records its scope only in the PR body ("Qualified live on Inkling 2 Small NVFP4 ... non-TML tool parsers are untouched") and does not touch docs/TODO.txt (the item it claims to address, TODO.txt:5-8, stays open and unedited) nor docs/api.md. #418/#457 by contrast were both required by review to update docs/api.md and docs/TODO.txt. Since docs/api.md:443 documents argument text but nothing about exact numeric preservation, a reader of the docs learns nothing new from this change.
- AGENTS.md:230 lists "Change CLI, API, or configuration behavior → docs/api.md" among required reviews; #575 changes no HTTP schema, so this is arguably not triggered — but it does change client-visible argument bytes for non-strict TMLv0 calls.
- No docs claim that TMLv0 argument text is normalized, so nothing in docs/ is contradicted. Nothing in docs/ mentions >64-bit argument preservation for TMLv0 either (docs/api.md:600-603 only restricts const/enum and bounds).
#13 [medium] Change: prompt-side TML renderer still re-serializes arguments (frontend/tml.rs:148-174), untested for big ints
Verified detail worth flagging: the TMLv0 reference renderer path re-serializes tool arguments when it replays a previous assistant turn into the prompt — helios/src/frontend/tml.rs:148-174 arguments() parses function["arguments"] through serde_json::from_str::<Json> and rewrites floats with ryu (write_json, :71-117), and its test at :567-573 shows normalization (1.50 → 1.5). So even after #575, a 30-digit integer argument survives the output path but a client echoing that call back in a later turn goes through this encode path; the doc comment at :73 says "call arguments keep request key order and spell floats as 1e20". Whether a >u64 integer survives that round trip is not covered by any test in the diff and not mentioned in the description. This matters for multi-turn tool use, which #575's description claims to validate ("multi-turn tool roundtrips") — but that claim is a live test, not a repository test.
Also: the strict wire grammar emits {"name": ..., "args": ...} (strict.rs:873-892 embed_schema_in_tml_wrapper), so the raw text #575 now forwards is the exact text the grammar produced — this is what makes the OutputEncoder validation pass (it validates the same bytes it produced), which is the real correctness argument for the change.
#14 [medium] Community: no comments, reviews or reactions; demand visible only indirectly
- Discussion on #575: 0 comments, 0 reviews, 0 reactions (read_item "Discussion (0)"). No flare-autobot case file or full review posted, unlike #457 (case file 2026-11-24, CHANGES_REQUESTED review) and #461 (case file 2026-11-24, CHANGES_REQUESTED review with 4 should-fix + 9 nits). So #575 has drawn no attention at all so far.
- Interest elsewhere in the same defect: no issue, no third-party comment found in the local copy of the last 30 days of PRs/issues mentioning >64-bit integers, TMLv0 precision, or the strict-grammar HTTP 500. The nearest expressions of demand are:
- #417 (closed): "several common clients send
strict: trueby default, so they cannot use Flare at all" (pydantic-ai), which motivated strict support generally. - docs/TODO.txt:5-8, the tracked, still-open qualification item.
- #461 (open): documents that precision-limited numeric constructs are a known client-facing limit.
- #417 (closed): "several common clients send
- The claim "matching the raw-token preservation already used by the Qwen, GLM, and DeepSeek DSML parsers" refers to work from #418 (merged 6 days earlier) — so this is a follow-on polish PR to a very recently merged feature, not a response to user demand.
- PR body signs off with "Discord: woooflet", i.e. the author is reachable on the community Discord; no thread referenced.
#17 [medium] Why: the demand timeline (#417 11-20 → #418 merged 11-22 + TODO entry → #575 11-28)
Timeline of the defect and the demand for it (dates from read_item on each item):
- 2026-11-20: #417 filed (Napuh) — strict tools rejected outright with HTTP 400; pydantic-ai and other clients unusable. yatesdr: support is in scope, "accept-and-ignore won't be accepted, even behind a flag"; a PR needs the constraint, a test that a schema-violating argument cannot be produced, a served check with a strict client, and the decode cost measured.
- 2026-11-22: #418 merged (0b09434d) — strict tools for DSML/Qwen/GLM/TMLv0. Its body states no TMLv0 core was served; reviewer yatesdr accepted fixture-only TML coverage on condition that the unserved check be recorded. #418 therefore added docs/TODO.txt:5-8 ("Qualify
strict: truefunction tools on a TMLv0 core ... Close when a served TMLv0 core passes those checks and the result is recorded"). - 2026-11-22..24: #457 (open) works the same TmlOutput/strict.rs surface on the TMLv0 grammar side; #461 (open) documents the 2^53 numeric-boundary limit.
- 2026-11-26: #575's only commit 07955d70 authored.
- 2026-11-28: #575 opened (together with #574/#576/#577), unedited since, no CI, no reviews.
So the gap was acknowledged as open on 2026-11-22 and addressed (in code, if not in docs/TODO.txt) six days later — short-lived, and driven by a tracked TODO item rather than by a user report. Nothing in the local copy suggests anyone hit the >64-bit HTTP 500 in the wild: the case arises only where a strict schema declares an unbounded
integer, which #461's documented limits do not forbid.
#18 [medium] Coverage: packet leads followed vs. dismissed as not relevant
Orientation-packet leads, each followed or dismissed:
- Followed and recorded: #457 (entry 5 — same function, conflicts), #461 (entry 6 — same precision boundary), #418 (entry 3 — origin of the gap and of the raw-token precedent), #312 (entry 6 — same Python test file, different base branch
inkling2/spark-performance), #304/#305 (entry 6 — prior Inkling 2 TP4 qualification and concurrency raise), #191 (entry 6 — added helios/src/output/tml.rs, still draft), #574/#576/#577 (entry 8 — same author, same day, unrelated), recent commits in helios/src and tests/server (entry 7). - Checked and not relevant: #433 (merged; added Inkling 2 Mini tests, no TmlOutput/strict-grammar code), #428 (closed; Inkling 2 Mini preparation superseded by #433), #281, #193, #133, #228, #39 — matched only on incidental names (
control_tokens,reasoning_effort,finish_reason) or on the generic "argument doesn't match its declared type" theme (#39, GLM argument tags, closed; different parser and different defect — it aborts the stream rather than rounding). None constrains this change. - Charter read in full (entry 10); docs/TODO.txt:5-8 read in full (entry 6); docs/api.md strict-tool section (lines 588-646) read (entries 6, 11); AGENTS.md PR-description and TODO rules (lines 40-140, 512-517) read (entries 10, 12).
- Code read for the change's blast radius: tml.rs (call, call_or_text, finish, tests), pipeline.rs routing (ToolParserKind::TmlJson → TmlOutput), strict.rs:873-892
embed_schema_in_tml_wrapperand :1533+compile_strict_tml, encode.rs:517-553 strict buffering/validation, server/output.rs:113-121 object check, grammar.rs:626-657 TextGrammar::validate, frontend/tml.rs:148-174 prompt-side arguments. All reflected in entries 1, 4, 9, 11, 13, 15. Nothing from the packet is left unexplored.
#23 [medium] Amendment: no CI checks on the head is not a path-filter artefact — native-serving and helios-lifecycle both trigger on pull_request
Checked at head c7fae93 the three workflows in .github/workflows (list_files):
- native-serving.yml:3-7 — triggers on
push: branches [main, feature/windows-serving], barepull_request:(no path filter), and workflow_dispatch. Its Linux step runscargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server(native-serving.yml:56-63) and the same on Windows (:64-68), so BOTH new Rust tests would run in CI if the workflow fired. - helios-lifecycle.yml:3-11 —
pull_requestwith pathshelios/**,selene/**,selene-manager/**,eos/**,verification/helios-lifecycle/**, the workflow file itself. #575 toucheshelios/**, so this must fire too (TLA+ check :34, Kani :47). - release.yml — tags/manual only, not relevant.
CONCLUSION for the report (refines note #12): the absence of any checks on this PR cannot be explained by path filters — both PR-triggered workflows match these three files. So the PR head has had no automated verification at all, which makes the two Rust tests the only potentially automated evidence and that evidence has never actually run for this PR. Still no human review, no reactions, no labels; the only review is flare-autobot's (note #21).
Also note: the author's claimed verification command differs from CI's only by --manifest-path helios/Cargo.toml --features runtime-core,server present in both, so the claim is plausible on ARM64 GB10; nothing reproduces the 35/35 live harness (unchanged from note #9).
#27 [medium] Amendment: owner review of the author's sibling PRs demands the same validation/sign-off fixes, yet #575 has no human review
From read_item #576/#577/#574 (pulled because the event's reviews concern the same author):
- #576 (2026-11-28 22:12) and #577 (2026-11-28 22:12): human CHANGES_REQUESTED reviews by original-el8, a charter-named priority contributor. #576: 2 blockers (child-thread affinity inheritance from the
flare-modelthread at helios/src/server/runtime.rs:565; vendoredhelios/native/roce_proxy.cforked ahead of FlashInfer, cited at roce_proxy.c:186-258 / :6-8), plus commit-message and sign-off hygiene. #577: 2 blockers (unverified RING_WINDOW in the rank handshake, roce_proxy.c:183,195-205,577-677; vendored divergence) and a demand for--features rocetests + liveflare runvalidation. - #574: two autobot reviews, both Changes Requested, blocker = "runnable CPU tests were never executed on the rebased head (16ffc6f)" and "repository CI does not run
pyteston tests/preparation/". - WEAK-SIGNAL for #575: an owner already reviewing this author's same-day PRs asks for (a) tests run on the actual head, (b) tests via the CI-identical flags, (c) live served-workload validation, (d) refreshed sign-off digest — the same four gaps named in my report. #575, the only one whose fix touches client-visible API-adjacent output, still has no human review: read_item #575 discussion holds only the two flare-autobot comments.
- Do not overstate causality: #574/#576/#577 are unrelated subsystems; the only common thread is authorship and hygiene.
#30 [medium] Residual gaps in the amendment: what could still not be read or verified
State these as limits rather than findings:
- The autobot Full Review / Value Proposition / Case File for #575 are external URLs (autobot.eidonix.com/p/584a07c5-…, /dcd6e489-…, /api/v1/cases/dcdf3b42-…); read_item and pr_comments carry only the summary. So the 4 nits are known by subject area only ("docs/TODO.txt bookkeeping", "test fixture reuse", "PR command disclosure") — the fourth is unnamed.
- The
Design-Signed-Off-Byidentity string on c7fae93b was not readable (search_history matches commit messages but does not print the trailer); only theeb2fdigest is confirmed, plus the inference from original-el8's sibling-PR reviews that the same author's trailer "Antigravity omits the model". - The 35/35 live run, 6/6 HTTP-400 admissions and the new Python test's actual outcome remain unverifiable from the repo; the test needs a live 4×GB10 TP4 service (tests/server/test_inkling2.py:23-38) and no workflow runs pytest.
- Still zero human engagement on #575 specifically: read_item discussion holds exactly two flare-autobot comments (19:30, 20:37); no reviews, no labels, no reactions.
- Web fetches are unavailable in this toolset, so neither the autobot reports nor the author's Discord/prototype context could be read directly.
#15 [low] Change: the starts_with('{') object check is untested for spaced "args": {…} payloads
Small implementation notes a reviewer may probe (not a code review, just what the diff implies):
args.get().starts_with('{')replacesvalue.is_object(). If a generated payload wrote"args": {…}with whitespace after the colon, whether this passes depends on whetherserde_json::value::RawValue'sget()includes the leading whitespace (serde's borrowed RawValue does include surrounding whitespace captured by the raw deserializer in some paths). The diff adds no test for whitespace between the wrapper key and the object, althoughdocs/api.md:443says "Tool arguments are JSON objects" without a spelling constraint, and #418's DSML work explicitly tolerates "both DSML's spaced JSON and compact JSON" in TextGrammar::validate. A spaced-args TML payload can only arise from non-strict generation (the strict wire grammar emits compact), so the practical risk is confined to the non-strict fallback path.name: Stringnow rejects a non-string name through serde rather thanas_str(); same outcome (fall back to visible text), covered by the existing test case{"name":7,"args":{}}at tml.rs:557.- The new struct is declared inside the function, so no public API changes;
#[serde(borrow)]keeps zero-copy borrowing frombody.