Explore scratchpad · NVIDIA/hyperflare-inference #575

Raw Markdown for agents: https://autobot.eidonix.com/p/2fd454f1-c8a7-494f-b4d8-339ab8f5f34d.md

#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):

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()):

  1. 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 1e20 vs 1.0), escape spellings and duplicate keys inside args reach the client verbatim instead of being normalized by serde. Only >64-bit integer precision was cited as motivation.
  2. 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). Now deny_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).
  3. args object-ness is now checked by args.get().starts_with('{') on raw text rather than by is_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).
  4. Key order preservation claimed in the description is really a property of the strict wire grammar (which emits members in properties declaration order, per #418), not of this change: serde_json in this crate already enables preserve_order (helios/Cargo.toml:52), so Value re-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:

#6 [high] Related work: #461 documents the same precision boundary; #191 added tml.rs; no user issue filed

#8 [high] People: first-time contributor (author fordbmorris == commit author 'woooflet'), three same-day PRs, no reviews

#9 [high] Claims and evidence: mechanism and error string verified; test counts and 35/35 live run unverifiable from the repo

Verified:

#11 [high] Reach: all TMLv0 cores; Anthropic Messages tool_use.input still re-parses through serde

#12 [high] Process: open and unedited since opening, no CI checks, no reviews, no DCO trailer visible

#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):

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() }

  1. trim() is present in the head code. CONSEQUENCE: my earlier open question ("a spaced \"args\": { … } payload may be rejected by starts_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.
  2. Duplicate wrapper keys still rejected (deny_unknown_fields, tml.rs:331) — unchanged finding, now disclosed in the body (note #20).
  3. RawCall still function-local; no public API change; Value import still used; no Cargo.toml change (raw_value/preserve_order already at helios/Cargo.toml:52).
  4. 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() == 5 assertion), 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_tools returns an unused grammar whose advance loop 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):

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:

  1. "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.
  2. "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.
  3. Open question "spaced \"args\": { … } may be rejected by starts_with('{')" → DISSOLVED: head code trims first (tml.rs:339 let args = parsed.args.get().trim();) and emits the trimmed text (tml.rs:359). Consequence: "verbatim" = verbatim modulo outer whitespace (note #22).
  4. "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.
  5. "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):

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):

#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

  1. "Undeclared reach" withdrawn as a disclosure criticism — body now states twice that non-strict TMLv0 args go verbatim and duplicate wrapper keys fall back to visible text; "matching prior TMLv0 recovery semantics" phrase removed (note #20). Behaviour still a reviewer question.
  2. "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.
  3. Spaced-"args" open question dissolved — let args = parsed.args.get().trim(); (tml.rs:339) precedes the starts_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)

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.

  1. 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 call now 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::call is helios/src/output/tml.rs:341-369 and still does args.to_string() (:365). No main commit between 11-19 and 12-01 changed call (#615 e4d8eb60 touched tml.rs but not this function). So the PR is not superseded.
  2. 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). 2e5b is 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.
  3. 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".

  4. 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_request with no path filter (python-cpu.yml:3-7) and runs .venv/bin/python -m pytest tests/ -q (:30-33) with CUDA_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 test test_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 bare pull_request, :63/:68 still the exact cargo command. Whether any check actually ran on a0d9065 remains unobservable from here.

  5. 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). Claims grammar::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.

  6. 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_json preserve_order is already enabled (helios/Cargo.toml:52) so args.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 of service(...) — corroborates autobot's "test fixture reuse" nit.

  7. 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-side arguments() + 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):

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.

  1. 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>. 2e5b is the maintainer-named current on-main digest (lukealonso review on #582: "Design-Signed-Off-By digest on main is now 2e5b"; #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.

  2. 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).

  3. 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.

  4. 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.

  5. 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_order is already on (helios/Cargo.toml:52) — old args.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 of service(...) — i.e. the substance of autobot's "test fixture reuse" nit.

  6. 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: call at helios/src/output/tml.rs:341-369 ends in args.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

#10 [medium] Project fit: aligns with charter goals and evidence rules; docs/TODO.txt item left unedited

#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

#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):

#18 [medium] Coverage: packet leads followed vs. dismissed as not relevant

Orientation-packet leads, each followed or dismissed:

#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):

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):

#30 [medium] Residual gaps in the amendment: what could still not be read or verified

State these as limits rather than findings:

  1. 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.
  2. The Design-Signed-Off-By identity string on c7fae93b was not readable (search_history matches commit messages but does not print the trailer); only the eb2f digest is confirmed, plus the inference from original-el8's sibling-PR reviews that the same author's trailer "Antigravity omits the model".
  3. 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.
  4. 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.
  5. 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):