Explore scratchpad · NVIDIA/hyperflare-inference #685

Raw Markdown for agents: https://autobot.eidonix.com/p/6d009e14-d653-414c-af86-ee2368181a44.md

#1 [high] Change: what PR #685 does and its size

PR #685 "fix(frontend): stream DeepSeek tool-call arguments", author peperunas, base main, head 2f0ed9d, 13 files +662/−72, open/ready for review, no reviews, no CI checks, no comments.

Files (pr_files): docs/api.md +25/−12; helios/src/output/dsml.rs +315/−18 (the real change); helios/src/server/output.rs +33/−19; helios/src/server/protocol/tests.rs +266/−0 (new tests); helios/src/output/{argument_tags,chatml,gemma_call,minimax_xml,pipeline,xtml}.rs and helios/src/runtime_core/protobuf.rs and helios/src/server/protocol/encode.rs and helios/src/server/runtime/phase_tests.rs — mechanical finish() -> finish(Termination::X) signature updates in tests.

Core mechanics (dsml.rs diff):

Second, independent behaviour change in helios/src/server/output.rs:

#2 [high] Claims and evidence: PR #685 description's numbers

Claims from PR #685 description (peperunas):

Evidence status: no CI checks on head commit (orientation packet). No reviewer corroboration. Numbers self-reported; cannot run cargo here (no tooling).

#3 [high] Change: undeclared behaviour change — truncation now omits partial calls instead of erroring

Beyond the streaming fix, #685 changes wire behaviour for all parsers, not only DSML:

#4 [high] Related work: prior PRs on dsml.rs and the output/encode path

Lineage of helios/src/output/dsml.rs (items_touching + search_history, newest first):

helios/src/server/output.rs lineage: #191 (open, YouNeedCryDear Inkling recipe) besides merged #670, #637 (synthesized tool-call IDs, flare-autobot), #170, #67, #167.

Same-topic neighbours:

#5 [high] The why: no issue asks for this; buffering was documented at docs/api.md:541

No issue in the local copy of the tracker describes a stalled/silent stream while a DeepSeek tool call is being generated. Searches run: "tool call arguments stream incremental", "DSML arguments stream", "streaming tool arguments stalled live", "buffer tool envelope argument frames", "stream stalls hung model client stalled response", "DeepSeek tool call silent until envelope closes", "incomplete emitted tool call user stop partial", "write tool argument silent stream stall client", "api.md parsers buffer tool envelopes complete", "fsync 8 MiB argument events incremental". Only #685 itself matches the framing.

Closest adjacent reports found:

So: no pre-existing demand thread, no linked issue, no thumbs-up/traffic data. The motivation is entirely the author's own live-serving observation (llm.giugl.io, pino/chat) on 2026-12-02, the same day the PR was opened.

#6 [high] People: first-time contributor, area owners unengaged, PR body edited post-open

Author: peperunas (Giulio De Pasquale per the commit author line of 2f0ed9d3). GitHub association FIRST_TIME_CONTRIBUTOR. History in the last 180 days: 0 merged, 1 closed, 0 open — the closed one is #519 "fix(helios): park an Engram gather while it waits for device-published ids" (2026-11-25), i.e. an engram-focused attempt, not merged. Discord handle given as "peperunas" (PR convention in this repo: each PR ends with a Discord line).

Who usually works in these areas (last 180 days on the default branch): helios/src — Luke Alonso (237 commits), Martin Vit (52), yatesdr (49); docs — Luke Alonso (391), Martin Vit (55), yatesdr (49). For dsml.rs specifically: Luke Alonso (a7af975e official DeepSeek parser adapters, 2026-10-19), Martin Vit/voipmonitor (#359, #364, c96ed096, 89054cb3, f76b517f), Joshua Cartu/jcartu (#418), yatesdr (#167, #333), brandonmmusic-max (#162, #577). For server/output.rs and encode.rs: yatesdr (#333, #167), flare-autobot (#637), mark-yong (#170, #67), WynnD (metrics PRs #548/#560/#562).

Priority contributors per charter: @voipmonitor (= Martin Vit, the dsml.rs owner-author), @original-el8, @lukealonso. #685 touches voipmonitor's 1 MiB-check-before-publish decision from #364 and yatesdr's UserStop/partial-call behaviour, so the two natural reviewers are voipmonitor and yatesdr — neither has engaged.

Engagement so far: zero. pr_comments returned "No comments"; read_item(685) shows "Discussion (0)"; no reviews; no labels; no CI checks on head 2f0ed9d. Unlike #573/#670, no flare-autobot case file or Autobot Review was posted on #685 (those are triggered separately), so no automated review exists yet either.

Note on the PR body itself: it was edited after opening — the orientation packet's copy says "1783 passed and 18 failed: six failures need FLARE_TEST_TEMPLATE_DIR, and twelve are engram tests", while the live read_item copy says "1787 passed and 16 failed: six ... and ten are engram tests", and the output:: suite went 111 -> 113, server::protocol 94 -> 96. Same for "and its argument text is published fragment by fragment" vs "and publishes the argument bytes". So the author pushed/amended (head stayed 2f0ed9d per the packet — the description was edited, not the head commit). The flaky-test count moving between 12 and 10 with the same code is consistent with the author's claim that those engram tests fail only under parallel execution.

#8 [high] Change: six details the description does not state (literal withholding, size-bound reversal, id synthesis)

Verified from the diff (not from the description):

  1. Event::ToolBegin carries id: None for DSML (dsml.rs:151-155), so the id is synthesized downstream by synthesize_tool_call_id (Accumulator, output.rs:101) / ResponseOutput (output.rs:1782). Not a change, but means DSML ids remain synthesized.
  2. publish() is called after check_size() on each argument-text action (dsml.rs:191-192), so a fragment is published then the next append can fail the 1 MiB bound — the PR's doc change admits this ("the bound is enforced on the append that crosses it, after the call name and earlier argument fragments were published and are not retracted"). This is a direct reversal of #364's property that nothing is emitted before the size check passes (see #364 description: "checks ... before emitting the first tool event"). yatesdr approved that property in #364's review.
  3. ToolBegin is now emitted on the first non-repeated ToolNameEnd while self.calls still counts only completed calls — so during an open call, self.calls is the index of the open call. Every subsequent publish(self.calls, ...) uses that index; consistent.
  4. But Event::ToolEnd { index: self.calls } also uses self.calls then increments — unchanged.
  5. publish() skips while self.literal.is_some() — a string="false" value is withheld for the whole parameter, so for a write whose payload is a non-string value the streaming benefit is per-parameter, not per-byte. Not stated in the description.
  6. If a call is rejected by validate_arguments at ToolCallArgumentsEnd (duplicate parameter names etc.), the fragments are already published and the request fails (new test a_rejected_argument_object_fails_after_its_fragments_are_published). Before #685 nothing was published, so on that path a client now sees partial arguments followed by server_error. Description mentions "schema rejection after fragments" only as a test, and ties the accounting risk to #679 (fan-out/cancellation accounting, see separate note).
  7. Encoder::finish calls self.chats[index].finish(cause)? only for Protocol::Chat; Completions keeps no Accumulator. ResponseOutput::finish(cause) is called for every protocol and its result is discarded for Chat (only used for Messages/Responses frames via self.change(change)).
  8. Example of the "reason" selection the drop interacts with: Encoder::finish sets reason = "length" for OutputLimit, else "tool_calls" if cause != UserStop && has_tools(), else "stop" (encode.rs:690-696). Because the unfinished call is popped, has_tools() is false for a header-only truncated call, so a non-OutputLimit cause yields "stop" — matching the new tests.
  9. drops_unfinished_call is a pub(crate) fn on Termination, i.e. a shared-behaviour predicate, not a per-dialect flag — consistent with the charter's no-per-model-flags rule.
  10. Nothing in the diff changes the strict tool path in dsml.rs (call.strict is still set at ToolNameEnd and still consulted for literal escaping at dsml.rs:182-188), and Encoder::apply's pending_strict_calls parking (encode.rs:585-599) still suppresses frames until the compiled schema validates. Verified claim.
  11. The PR does not touch helios/tests/deepseek_output.rs integration test file, which #364 had extended.

#10 [high] Reach: streaming win is DSML-only, but the truncation behaviour change is universal

Reach — who and what is affected:

Users / clients:

Behaviour change beyond the motivation (all protocols, all parsers):

Operators / config / defaults:

Compatibility / dependencies:

Documentation:

Breadth: single dialect out of seven+ for the streaming win, but the truncation/omission change is universal (every tool parser, every protocol).

#11 [high] Research summary

Case file for PR #685 "fix(frontend): stream DeepSeek tool-call arguments" (peperunas, FIRST_TIME_CONTRIBUTOR; open, ready for review, head 2f0ed9d, 13 files +662/−72, no reviews, no comments, no CI checks).

Ten scratchpad entries cover every angle. The change itself is small and well-targeted: DsmlOutput::apply now pushes Event::ToolBegin at ToolNameEnd instead of at ToolCallArgumentsEnd, and publishes argument bytes through a new Call::publish() cursor (helios/src/output/dsml.rs:49-62,145-156,188-205), with the string="false" literal kept private while close_literal may rewrite it. Eight of the other twelve files are mechanical finish(Termination) call-site updates.

What a reader could not learn from the description, and what dominates the case file, is a second and universal behaviour change: Accumulator::finish and ResponseOutput::finish now drop an announced-but-unfinished tool call for every cause except Eos (new drops_unfinished_call, helios/src/server/output.rs:163-173,1730-1742), so a UserStop/Cancelled/ExecutionError mid-call now ends with the termination's finish reason rather than the previous server_error "incomplete emitted tool call". The PR inverts the pre-existing test user_stop_cannot_retract_an_already_emitted_partial_tool_call to assert the opposite. This applies to all seven-plus parsers and all three wire protocols, while the streaming win is DSML only.

Two further reversals matter. #364 (voipmonitor, merged 2026-11-19, reviewed by yatesdr) deliberately moved the 1 MiB check to before the first tool event; #685 now publishes fragments before the bound can trip, and says so in docs/api.md. And docs/api.md:541 on main explicitly documented "The model parsers buffer tool envelopes until they are complete, so argument events do not imply incremental generation" — the sentence this PR deletes, i.e. the buffering was documented behaviour, not an undocumented bug. No issue in the tracker asks for this; #133, #319, #347 and #679 are only keyword neighbours.

Fit: the charter supports the root-cause framing and the description has all four required parts, but "what gets merged" wants a maintainer request, roadmap item, filed bug or measured issue — none of which this has, the evidence being the author's own llm.giugl.io measurement. Area owners voipmonitor and yatesdr have not engaged; #670 (lukealonso) landed in eight of the same files the same day the PR opened, so a rebase of docs/api.md and the two test files is needed. The self-reported flaky-engram test count moved from 12 to 10 between the packet's copy of the description and the live one (the body was edited post-open; head unchanged).

#15 [high] NEW EVENT 2026-12-02 18:31: Autobot Review = Changes Requested on #685

Supersedes notes #12 (process), #13 (community) and the "no independent evidence / no bot review" claim in #11/#14.

#16 [high] NEW: four existing integration tests in helios/tests/ break (CI, non---lib)

New finding at head 80c87b3d, verified by reading the (unmodified) integration tests. PR files list confirms no helios/tests/ file is touched.

CI runs those: .github/workflows/native-serving.yml:63 (Linux) and :68 (Windows) run cargo test --locked --release --manifest-path helios/Cargo.toml ... --features runtime-core,server without --lib, so integration tests are included. The description's evidence is cargo test ... --lib only, which excludes them.

Tests that now fail:

  1. helios/tests/deepseek_output.rs:576 – parse_literal_parameters asserts output.push(Input::Text(&header))?.is_empty(); under #685 the header push emits Event::ToolBegin (dsml.rs:145-156). Also :581 asserts each parameter push is empty, before the deferred string="false" publish.
  2. Same helper used by tool_call_size_includes_retained_strings_and_closing_brace_in_either_order (deepseek_output.rs:595-619) → fails.
  3. Same helper used by literal_nesting_includes_the_enclosing_argument_object (deepseek_output.rs:621-635) → fails.
  4. empty_and_duplicate_top_level_parameter_names_are_rejected (deepseek_output.rs:475-527) asserts published.is_empty() at :511 before the "nonempty and unique" error; validate_arguments runs after ToolBegin was already published (dsml.rs:151-155 vs :202), so published contains ToolBegin → fails.
  5. added_non_special_dsml_token_produces_tool_calls (helios/tests/deepseek_requests.rs:651-687) does serde_json::from_str::<Value>(text).unwrap() on a single Event::ToolArguments fragment (:683-684); fragments are now partial JSON ({"location": , "Berlin", …) → unwrap panics → fails.

So "four existing integration tests in deepseek_output.rs and deepseek_requests.rs" (the review's claim) is consistent with my reading: 3 in deepseek_output.rs (two of them via the shared helper) + 1 in deepseek_requests.rs. This converts my earlier "no independent evidence" soft finding into a reproducible defect a reviewer can check without running anything.

#17 [high] NEW: truncation drop leaves Messages/Responses tool blocks unclosed (framing violation)

Upgrades the "client sees content_block_start with no stop" consequence in note #3 into a verified blocker.

#18 [high] AMENDMENTS to report #14 (superseded claims + new evidence)

Apply these to the case file in note #14 (head is now 80c87b3d, not 2f0ed9d).

A. SUPERSEDED — "no comments, no reviews, no bot review, zero engagement" (#12, #13, #14's Community section and Key finding 5).

B. CORRECTED — head hash and push. 2f0ed9d → 80c87b3d (same author, same parent 1fbcc3c9, same subject). Files and totals unchanged (13 files, +662/−72); docs/api.md:540-572 and helios/src/server/output.rs:1265-1274 are byte-identical at both hashes, so the push is content-preserving. Therefore my earlier packet-vs-live test-count drift (1783/18 → 1787/16) still reads as a PR-body edit, not a new push.

C. UPGRADED — two defects confirmed independently that the author's --lib evidence cannot see: integration-test breakage (note 16) and Messages/Responses framing (note 17). Both are now reproducible by reading, not just suspected.

D. NEW — docs/api.md:543-547 is already factually wrong on main, before any rebase. It says the tagged parsers "build [arguments] from parameter syntax and the declared schemas rather than copying the model's text: values are coerced to declared types". TAGGED_JSON (#670) does neither: helios/src/output/tagged_json.rs:14-49 parses the model's own {"name":…,"arguments":…} object and re-serializes it (object["arguments"].to_string()), with JSON_BODY = true (tagged_json.rs:57) and no schema coercion. The PR branch predates TAGGED_JSON entirely (no occurrence of TaggedJson/TAGGED_JSON at 80c87b3d; main has them at helios/src/model/contract.rs:67, helios/src/output/pipeline.rs:54,127, helios/src/output/tagged_json.rs, docs/api.md:610-619). So the rebase note (#9) understates it: the sentence #685 adds is false for a parser that minted after it branched, and the rebase is semantic, not just a merge conflict.

E. NEW — the charter rule that bites is not only "maintainer request" but the explicit "do not suppress errors" line. AGENTS.md:182-187: "Reject weakened guarantees. … Do not remove validation, suppress errors, silently substitute execution paths…" and AGENTS.md:201-207: "Resolve conflicts through an explicit maintainer decision on the design before implementing a change to that invariant; a commit acknowledgment or routine PR approval is not that decision. Apply these criteria to documentation and test changes that would weaken the rules as well as code." #685 replaces Err("incomplete emitted tool call") (main helios/src/server/output.rs:165,1720) with success-plus-drop, and edits both the docs and the test that stated the rule. That is a literal hit on two of those clauses, which is a firmer project-fit finding than #7 recorded.

F. UNCHANGED — the core of #14 still holds: universal non-EOS drop behind a DSML-only streaming win, the inverted retraction test, the #364 publish-after-size-check reversal, no filed issue, self-reported evidence only.

#21 [high] Research summary

Amendments to the #685 case file

1. Superseded — “no comments, no reviews, no bot review, zero engagement.” flare-autobot posted an intake notice at 18:10 and a full Autobot Review at 18:31 on 2026-12-02, recommendation Changes Requested (2 blockers, 1 should-fix, 4 subtract/simplify, 2 nits; Merge Risk High; full review at autobot.eidonix.com/p/5e6f2bd5-…, not fetchable here). Labels appeared with it: area:api, model:deepseek-v4, model:deepseek-v4.1, performance, triage:review. Still true: no human comment or review, and neither natural reviewer (voipmonitor — whose #364 invariant is reversed; yatesdr — who approved it and wrote the UserStop path) has engaged. The review independently converges with my findings on the inverted retraction test, the reversed signed-off invariants, and the missing issue/request.

2. Corrected — head hash. 2f0ed9d → 80c87b3d (same author, same parent 1fbcc3c9). Files and totals unchanged (13 files, +662/−72); docs/api.md:540-572 and helios/src/server/output.rs:1265-1274 are byte-identical at both hashes, so the push is content-preserving. The earlier packet-vs-live test-count drift (1783/18 → 1787/16) therefore remains a PR-body edit, not a new push.

3. Upgraded from suspicion to verified — two defects the author’s --lib evidence cannot see. (a) Integration tests break: helios/tests/deepseek_output.rs:576,581 (parse_literal_parameters, reused by :595-619 and :621-635) assert pushes are empty before the envelope closes; :511 asserts published.is_empty() before the “nonempty and unique” error; helios/tests/deepseek_requests.rs:683-684 serde_json::from_str on a now-partial fragment. CI runs these without --lib (.github/workflows/native-serving.yml:63 (not opened),68). (b) Framing violation: ResponseOutput::finish pops the trailing tool block and clears open (helios/src/server/output.rs:1730-1742), so close() (:1720-1729) emits no Change::End, yet Encoder::finish still emits message_delta/message_stop and response.incomplete/response.completed (helios/src/server/protocol/encode.rs:730-745) — an SSE block opened at encode.rs:409-415/:430-434 is never closed. The PR’s new protocol tests (helios/src/server/protocol/tests.rs:3810,3894,4004) assert only encoder.response(), never the frame sequence, so they miss it.

4. New — the doc sentence is already wrong on main, rebase or not. docs/api.md:543-547 claims tagged parsers build arguments “from parameter syntax and the declared schemas … values are coerced to declared types”. TAGGED_JSON (#670) does the opposite: helios/src/output/tagged_json.rs:14-49,57 parses the model’s own object and re-serializes it, no schema coercion. TaggedJson/TAGGED_JSON do not exist at 80c87b3d (they do on main: helios/src/model/contract.rs:67 (not opened), helios/src/output/pipeline.rs:54,127, docs/api.md:610-619). The rebase is semantic, not merely a conflict.

5. New — a firmer charter hit than recorded. AGENTS.md:182-187 “Reject weakened guarantees … Do not remove validation, suppress errors …” plus AGENTS.md:201-207 “Resolve conflicts through an explicit maintainer decision … Apply these criteria to documentation and test changes that would weaken the rules as well as code.” #685 deletes the Err("incomplete emitted tool call") case (main helios/src/server/output.rs:165,1720), edits the test that stated it (:1265-1274) and the docs sentence that documented it (main docs/api.md:540-541) — three of the four surfaces that clause names, with no maintainer decision on record.

6. Refinement (framing only, finding unchanged). Main already documented that “truncated tool envelopes are omitted and the response reports its output limit” (docs/api.md:540-543, matching the parsers’ own omit paths, e.g. helios/src/output/tagged.rs:264-278). So state the delta precisely: it is UserStop, Cancelled and ExecutionError — not OutputLimit — where an announced-but-unfinished call now succeeds-and-drops instead of failing the request, with the finish reason becoming that cause’s (stop on Chat, encode.rs:690-696). OutputLimit omission is unchanged; what is new there is that DSML can now have an announced call to omit (dsml.rs:145-156).

7. Unchanged — the core of the case file stands: universal non-EOS drop behind a DSML-only streaming win, the inverted retraction test, the #364 publish-after-size-check reversal, no filed issue, and self-reported evidence only.

#22 [high] CONSOLIDATED AMENDMENTS (final form) — fold these into report #14

This is the delta to apply to the base case file in note #14. The final report should present #14's findings with these amendments folded in, not repeat #14 verbatim.

FINAL STATE OF FACTS (head is 80c87b3d, not 2f0ed9d).

  1. SUPERSEDED — "no comments, no reviews, no bot review, zero engagement" (notes #12, #13, #14 Key finding 5 and its Community section).

    • flare-autobot posted an intake/case-file notice at 2026-12-02 18:10 UTC, then a full Autobot Review at 18:31 UTC with recommendation "Changes Requested": "Blockers: 2 · Should fix: 1 · Subtract/Simplify: 4 · Nits: 2", Merge Risk High. Full review at https://autobot.eidonix.com/p/5e6f2bd5-3139-402b-a853-b6f6170dace0.html (not retrievable from this environment — only its posted summary on the PR is quotable).
    • Labels appeared with it (read_item(685), updated 2026-12-02 18:31): area:api, model:deepseek-v4, model:deepseek-v4.1, performance, triage:review.
    • Still true: zero human comments, zero reviews, zero inline comments; neither natural reviewer has engaged (voipmonitor, whose #364 invariant is reversed; yatesdr, who approved #364 and authored the UserStop/Cancelled paths).
    • The review independently converges with my notes #3/#8 on: inverted retraction test, reversed signed-off invariants, #364 pre-publication bound reversed, no issue/maintainer request. It adds the two defects now verified in notes 16 and 17.
  2. CORRECTED — head hash. 2f0ed9d -> 80c87b3d (same author, same parent 1fbcc3c9, same subject "fix(frontend): stream DeepSeek tool-call arguments"). Files and totals unchanged (13 files, +662/−72). docs/api.md:540-572 and helios/src/server/output.rs:1265-1274 are byte-identical at both hashes, so the push is content-preserving. Consequence: the packet-vs-live test-count drift (1783 passed/18 failed, 12 engram -> 1787/16, ten; output:: 111->113; server::protocol 94->96) remains a PR-body edit, not evidence of a new push.

  3. UPGRADED from suspicion to verified — two defects the author's cargo test ... --lib evidence structurally cannot see (notes 16, 17). (a) Integration tests break; CI runs them: .github/workflows/native-serving.yml:63 (Linux) and :68 (Windows) invoke cargo test ... --manifest-path helios/Cargo.toml ... --features runtime-core,server without --lib. The PR touches no helios/tests/ file. Breakages: helios/tests/deepseek_output.rs:576 and :581 (helper parse_literal_parameters, also driving :595-619 and :621-635) assert pushes are empty before the envelope closes; :511 asserts published.is_empty() before the "nonempty and unique" rejection, but Event::ToolBegin now precedes validate_arguments (dsml.rs:151-155 vs :202); helios/tests/deepseek_requests.rs:683-684 runs serde_json::from_str on a single Event::ToolArguments fragment that is now partial JSON. (b) Protocol-framing violation on truncation: ResponseOutput::finish(cause) (helios/src/server/output.rs:1730-1742) pops the trailing Block::Tool and sets open = None before close(); close() (:1720-1729) is the only producer of Change::End, which is what emits content_block_stop (encode.rs:424-428) and response.output_item.done (encode.rs:470-516). Encoder::finish nonetheless emits message_delta/message_stop and response.incomplete/response.completed (encode.rs:730-745), so a block opened at content_block_start (encode.rs:409-415) or response.output_item.added (encode.rs:430-434) is never closed. The PR's new protocol tests (helios/src/server/protocol/tests.rs:3810, 3894, 4004) assert only encoder.response(), never the frame sequence, so they miss it.

  4. NEW — the doc sentence #685 adds is already false on main, rebase or not. docs/api.md:543-547 says tagged parsers "build its arguments from parameter syntax and the declared schemas rather than copying the model's text: values are coerced to declared types". TAGGED_JSON (#670) does neither: helios/src/output/tagged_json.rs:14-49 parses the model's own {"name":…,"arguments":…} object and re-serializes it (object["arguments"].to_string()), with JSON_BODY = true (tagged_json.rs:57) and no schema coercion. TaggedJson/TAGGED_JSON are absent at 80c87b3d; on main they appear at helios/src/model/contract.rs:67, helios/src/output/pipeline.rs:54,127, docs/api.md:610-619. So the rebase obligation noted in #9 is semantic, not a mere merge conflict.

  5. NEW — firmest charter mapping (note 19). AGENTS.md:182-187 "Reject weakened guarantees. … Do not remove validation, suppress errors, silently substitute execution paths …"; AGENTS.md:201-207 "Resolve conflicts through an explicit maintainer decision on the design before implementing a change to that invariant; a commit acknowledgment or routine PR approval is not that decision. Apply these criteria to documentation and test changes that would weaken the rules as well as code." #685 removes the Err("incomplete emitted tool call") case (main helios/src/server/output.rs:165,1720), rewrites the test that asserted it (:1265-1274) and the docs sentence that documented it (main docs/api.md:540-541) — three of the four surfaces that clause names, with no maintainer decision on record. This is stronger than the "no maintainer request" fit risk recorded in #7.

  6. REFINEMENT (framing only; the finding in #3 stands). Main already documented: "Tool arguments are JSON objects, bounded to 8 MiB. The model parsers buffer tool envelopes until they are complete … Truncated tool envelopes are omitted and the response reports its output limit." (main docs/api.md:540-543), consistent with the parsers' own omit paths (helios/src/output/tagged.rs:264-278, xtml.rs:242-250, tml.rs:371-378, recipient.rs:264-295). The Err("incomplete emitted tool call") path fired only for a call that had already been announced. So the precise delta is: for UserStop, Cancelled and ExecutionError — not OutputLimit — an announced-but-unfinished call now succeeds-and-drops instead of failing the request, and the finish reason becomes that cause's (stop on Chat, encode.rs:690-696). OutputLimit omission is unchanged; what is new there is that DSML can now have an announced call to omit (dsml.rs:145-156).

  7. UNCHANGED from #14 — universal non-EOS drop behind a DSML-only streaming win; the inverted user_stop_cannot_retract… test; the #364 publish-after-size-check reversal (docs/api.md:570-572); no filed issue or maintainer request for the streaming behaviour; self-reported evidence only (566 frames / 2196 bytes hashed equal). Author standing, prior #519, area owners, and the file map in #14 all still apply.

#24 [high] AMENDMENTS (run 3041): new head b9864ab fixes 2 of 3 blockers; test weakening + custom-tool residual

AMENDMENTS to the #685 case file (report entry #23), 2026-12-02 later run. Only deltas.

  1. HEAD + SIZE. head 80c87b3d -> b9864ab8243b2a54caf0d990f6759b1ddd9ec2db ("fix(frontend): stream DeepSeek tool-call arguments", same author, parent still 1fbcc3c9). Files 13 -> 15, +722 / −80 (read_item(685) shows 15 files; pr_files agrees). Two new files: helios/tests/deepseek_output.rs (+15/−6) and helios/tests/deepseek_requests.rs (+11/−2). PR updated: 2026-12-02 21:47; labels now include bug and enhancement in addition to area:api, model:deepseek-v4, model:deepseek-v4.1, performance, triage:review.

  2. THIRD AUTOBOT REVIEW, 20:04 UTC (pr_comments, https://autobot.eidonix.com/p/c9c2f86f-6ee1-4ca2-bb17-25b4b3bde16b.html): still Changes Requested, tally moved 18:31's "Blockers 2 · Should fix 1 · Subtract 4 · Nits 2" -> "Blockers 3 · Should fix 2 · Subtract/Simplify 2 · Nits 2", Merge Risk High "up to 80c87b3". Not a human review; still zero human comments/reviews.

  3. RESOLVED — finding #16 (four broken integration tests). At b9864ab the author edited both test files instead of the parser:

    • helios/tests/deepseek_output.rs:576-595 parse_literal_parameters no longer asserts push(...).is_empty(); it now routes events into Parsed, so the header/parameter pushes may announce the call. :599 still asserts parsed.ended == 1.
    • :499-515 empty_and_duplicate_top_level_parameter_names_are_rejected replaced assert!(published.is_empty()) with assert_eq!(parsed.ended, 0, "a rejected call reported an end").
    • helios/tests/deepseek_requests.rs:683-693 concatenates all Event::ToolArguments fragments, then from_str. Consequence: the review's and my blocker #1 (guaranteed Linux/Windows CI failure in helios/tests/) no longer holds by static reading — the four tests now assert streaming-compatible things. BUT this is exactly the "weaken the test" pattern AGENTS.md:201-207 forbids ("Apply these criteria to documentation and test changes that would weaken the rules as well as code"): the old :511 assertion that nothing at all was emitted before the "nonempty and unique" rejection is now only "no call ended", i.e. it permits an announced-then-rejected call. Upgrade the charter finding: the PR now edits code, docs AND tests to accommodate the behaviour change.
  4. RESOLVED — finding #17 (unclosed Messages/Responses blocks). ResponseOutput::finish(cause) now pushes Change::End(last) before clearing open and records the index (helios/src/server/output.rs:1731-1744); Encoder::finish renders the changes, then calls take_abandoned()/drop_abandoned() so content_block_stop (encode.rs:424-428) and response.output_item.done (encode.rs:470-516) are emitted before the block is removed (encode.rs:677-689, helpers at output.rs:1746-1755). New coverage asserts exactly this: helios/src/server/protocol/tests.rs:3861-3876 requires content_block_stop / response.output_item.done in the finish frames for OutputLimit/UserStop/Cancelled/ExecutionError. So the framing blocker is fixed and now tested.

  5. NEW residual defect (static reading, not executed) — truncating a custom (grammar) tool call now fails the request rather than omitting the call. The abandoned block's Change::End is rendered through encode.rs:470-517; for Block::Tool whose declared tool is custom, encode.rs:475-484 does serde_json::from_str(arguments).map_err(|e| format!("invalid custom tool arguments: {e}"))?. A truncated call's arguments are, by construction, partial JSON (that is why it is being abandoned), so Err propagates out of Encoder::finish -> encoder.failure (http.rs:575-578) and the stream ends in an error frame with no response.completed/incomplete. Nothing in the PR's new tests covers a custom tool (tests.rs uses the plain lookup function tool, tools() at tests.rs:17-29).

  6. STILL OPEN / unchanged. docs/api.md:543-547 is still false against main (TAGGED_JSON from #670 re-serializes the model's own arguments, helios/src/output/tagged_json.rs:14-49,57) — no rebase done at b9864ab; the non-EOS Err("incomplete emitted tool call") removal (output.rs:163-173 Chat, :1721-1744 Responses; predicate :478-480) is now documented in docs/api.md:547-551 and in the PR body ("ExecutionError included") but still has no maintainer decision on record; the #364 publish-after-check reversal persists (docs/api.md:568-572); the inverted user_stop_omits_an_already_emitted_partial_tool_call (output.rs:1265-1274) persists; no filed issue.

#25 [high] Research summary

Amendments saved as scratchpad entry #24 (apply on top of report entry #23).

New event: head moved 80c87b3d → b9864ab824 (13 → 15 files, +722/−80; the PR now also edits helios/tests/deepseek_output.rs and helios/tests/deepseek_requests.rs), labels gained bug/enhancement, and a third Autobot review at 2026-12-02 20:04 UTC re-asserted Changes Requested with a larger tally (Blockers 3 · Should fix 2 · Subtract/Simplify 2 · Nits 2, "up to 80c87b3"). Still zero human reviews.

Two of my three blockers are repaired: the four broken integration tests were fixed by editing the tests (deepseek_output.rs:499-515, 576-599, deepseek_requests.rs:683-693), and the unclosed content_block_start / response.output_item.added framing violation is fixed by rendering the abandoned block's Change::End before dropping it (output.rs:1731-1755, encode.rs:677-689), with new assertions at protocol/tests.rs:3861-3876.

But the fix converts one blocker into a charter violation and leaves a new residual defect: weakening the published.is_empty() assertion to parsed.ended == 0 is exactly the test-weakening AGENTS.md:201-207 (not opened) forbids (the PR now edits code, docs and tests); and rendering the abandoned block through encode.rs:470-484 makes a truncated custom/grammar tool call fail Encoder::finish with "invalid custom tool arguments", ending the stream in an error frame instead of an omission — untested, since the new tests only use the plain lookup function tool.

Unchanged: the #364 publish-after-size-check reversal (docs/api.md:568-572), the residual falsehood of docs/api.md:543-547 vs main's TAGGED_JSON (tagged_json.rs:14-49 (not opened),57), the inverted user_stop_omits_… test (output.rs:1265-1274), the non-EOS Err("incomplete emitted tool call") removal without maintainer sign-off (output.rs:163-173, 478-480, 1721-1744), and the absence of any filed issue.

#26 [high] Timeline, file map at b9864ab, and remaining open questions for the final report

Companion to entry #24 (amendments). Facts the final report needs that #24 does not spell out.

A. TIMELINE (all 2026-12-02; PR opened 18:07 by peperunas, FIRST_TIME_CONTRIBUTOR).

B. FILE MAP AT b9864ab (15 files, +722/−80; pr_files + read_item(685) agree).

C. STILL UNVERIFIED / OPEN (state as such, do not upgrade).

#28 [high] AMENDMENTS (run 3, 2026-12-05): head 826a427a, 4th review, custom-tool fix, Accumulator reverted, docs rescoped

Apply on top of report #27 (nothing else in it changed).

  1. HEAD / SIZE / FILES. b9864ab → dd38123e ("fix(frontend): stream DeepSeek tool-call arguments", 2026-12-03) → 826a427a ("docs(api): scope fragment publication to function calls", 2026-12-05); parent still 1fbcc3c9. Files 15 → 7, +871/−66 (pr_files; read_item(685) agrees, updated 2026-12-05 11:36).

    • The eight mechanical finish() → finish(Termination::Eos) call-site files are gone: Accumulator::finish keeps its pre-PR &self shape and its non-EOS error (helios/src/server/output.rs:163-168); the Chat-side drop moved to discard_unfinished_call (output.rs:169-174) called from Encoder::finish (helios/src/server/protocol/encode.rs:681-686). PR body states this explicitly. So the churn/--lib breadth criticism narrows; the behaviour change does not (still universal, now via the encoder).
    • Test-only Presentation::finish (output.rs:502-509) emulates the encoder drop. Per-file: dsml +303/−13, server/output +47/−13, encode +43/−20, protocol/tests +423/−0, docs/api +29/−12, helios/tests/deepseek_output +15/−6, deepseek_requests +11/−2.
  2. RESOLVED — my #27 item 6 / review #4 blocker 1 (truncated custom-tool call errored). encode.rs:470-491: abandoned is read first, the serde_json::from_str/grammar block is skipped when !abandoned, and complete = !(abandoned && custom) so the item is custom_tool_call with input: ""; the custom_tool_call_input.* frames are suppressed (encode.rs:511-514). New test a_truncated_custom_call_closes_incomplete_without_failing_the_request (helios/src/server/protocol/tests.rs:4102-4145) covers an unparseable partial and a grammar-failing partial at OutputLimit and UserStop, asserting one response.output_item.done, status incomplete, input "", no input frames, response.output == []. Also new: an_abandoned_function_call_reports_incomplete (tests.rs:4148-4193) pins status incomplete, partial arguments echoed, function_call_arguments.done present.

  3. RESOLVED — my #27 item 8 (docs false against #670's TAGGED_JSON). The contested paragraph is rewritten: docs/api.md:540-547 now says a DSML function call's fragments concatenate byte-for-byte, a custom call publishes its input only once accepted, and "The tagged tool parsers publish a call only when its envelope is complete" — true for TaggedJson (helios/src/output/tagged_json.rs:14-49 on main, JSON_BODY = true at :57), which still publishes only from emit_calls (helios/src/output/tagged.rs:298-314). No TAGGED_JSON/"parameter syntax"/schema-coercion claim remains anywhere in docs/api.md (searches return nothing). No rebase blocker on this ground; the merge-conflict risk with #670 is textual only.

  4. UNCHANGED — the two contract reversals, still unauthorised but now openly put to maintainers. PR body now ends with an explicit ask: "@voipmonitor and @yatesdr, as #364's author and reviewer: do you accept the omission rather than the error for a non-EOS truncated call, and post-publication validation and size enforcement for streamed calls?" Behaviour unchanged: drops_unfinished_call(cause) -> cause != Eos (output.rs:477-481), Chat drop at encode.rs:681-686, Responses abandoned block (output.rs:1735-1762, encode.rs:687-707); Accumulator::finish/ResponseOutput::close still raise incomplete emitted tool call at EOS (output.rs:163-168, :1725-1734). DSML still check_size then publish per text append (helios/src/output/dsml.rs:191-192) and publishes earlier fragments before validate_arguments (dsml.rs:199-204), documented at docs/api.md:572-576. Docs now also admit the wire consequence verbatim: "A client that received fragments of such a call has already seen a call that cannot complete" (docs/api.md:554-555).

    • Chat remains the unfixed surface: the client gets a tool_calls[0].function.name delta, then the final message has no tool_calls and finish_reason: "stop" — blessed by the renamed test user_stop_omits_an_already_emitted_partial_tool_call (output.rs:1269-1278) and by reason at encode.rs:713-719.
    • Test weakening persists: helios/tests/deepseek_output.rs:515 still asserts only parsed.ended == 0 (was assert!(published.is_empty())), and 4018-line tests still route rejected-call events into Parsed instead of asserting emptiness (deepseek_output.rs:499-513). AGENTS.md:182-187, 201-207 mapping stands; review #4 cites the same pair.
  5. FOURTH AUTOBOT REVIEW, 2026-12-03 01:17 (pr_comments; https://autobot.eidonix.com/p/4b200085-ecf2-4469-9d69-45c78eff5562.html): Changes Requested, "Blockers 2 · Should fix 3 · Subtract/Simplify 3 · Nits 1", "Merge Risk: High · up to b9864ab". Its blocker list = (a) the custom-tool Change::End regression, (b) the unapproved #364/non-EOS reversals. It added the only quote-level corroboration I have that the streaming core is clean: per-request state (helios/src/server/http.rs:358-400), Call::publish slices within the 1 MiB buffer, strict parking intact (encode.rs:585-624), TTFT unaffected (helios/src/server/latency.rs:116-142). dd38123e/826a427a are unreviewed as of the last read.

    • Review cadence event: author pinged 2026-12-05 11:25; Autobot declined at 11:27 ("no new commits … push new changes"); author replied 11:36 that 826a427a is the new commit and re-requested. A fifth review is therefore pending, not withheld — do not read the decline as a verdict.
  6. PR body fully rewritten and now claims the full suite, not --lib. cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server --no-fail-fast: 1848 passed / 20 failed / 84 ignored over fifteen targets; branch point 1fbcc3c9 1776 passed / 17 failed "plus the same 3 message_boundaries failures"; 20 failures attributed to 11 engram RLIMIT_MEMLOCK cases and 9 chat-template FLARE_TEST_TEMPLATE_DIR cases; deepseek_output/deepseek_requests "pass 15 each"; flare 254 and flare-cli 245 passed; two probes at the branch point vs head for the truncated custom call and UserStop. Live parity claim: 566 frames / 2196 bytes, hash-equal to the non-streaming arguments (author's own deployment). Still self-reported — no CI run on any hash (.github/workflows/native-serving.yml cited by every review).

  7. Review #4's "Should fix: 3 · Subtract/Simplify: 3 · Nits: 1" remain unidentified in the posted summary (full review pages unreachable), so those items are still unknown.

Still open: whether voipmonitor/yatesdr answer the consent ask in item 4; whether the fifth review accepts dd38123e/826a427a; nothing executed — all of the above is static reading of the diff at 826a427a.

#29 [high] Research summary

Amendments to the #685 case file written out, and saved to the scratchpad as entry #28.

Two of my previously reported blockers are repaired at the new head 826a427a (via dd38123e): the truncated Responses custom/grammar tool call no longer errors (the JSON/grammar block in encode.rs:470-491 is skipped when the block is abandoned, the item closes incomplete with input: "", and a dedicated test covers it at protocol/tests.rs:4102-4145), and docs/api.md:540-547 was rescoped so it no longer claims all tagged parsers build arguments from parameter syntax — which removes the TAGGED_JSON (#670) falsity and the semantic rebase obligation. The PR body was also rewritten to full-suite evidence (1848 passed / 20 failed / 84 ignored over fifteen targets, with the failures attributed and probed), retiring my "--lib-only, stale numbers" criticism while "no CI on any hash" still stands.

Structural news: the file count dropped 15 → 7 and the eight mechanical finish(Termination::Eos) call-site edits are gone — Accumulator::finish keeps its pre-PR &self signature and EOS error (output.rs:163-168), with the Chat drop moved to discard_unfinished_call under Encoder::finish (encode.rs:681-686). The universal behaviour change survives that simplification.

Remaining live blockers are the two contract reversals only (drops_unfinished_call, and DSML publishing before validate_arguments/the #364 size bound), which the author has now formally put to @voipmonitor and @yatesdr as an explicit consent question — unanswered. A fourth Autobot review (2026-12-03 01:17, Changes Requested, up to b9864ab) named exactly those two and cleared the streaming core on concurrency/TTFT/security. dd38123e/826a427a are unreviewed; the author pinged on 2026-12-05, Autobot declined for "no new commits", and the author re-requested citing 826a427a, so a fifth review is pending rather than refused.

#31 [high] File map at 826a427a, review/comment timeline to 2026-12-05, and the stale-findings retirement list

Companion scaffolding for report #27's amendment set (entry #28). Nothing here duplicates #28's substance; it is the citation block a downstream reviewer needs.

A. FILE MAP AT 826a427a (7 files, +871/−66; pr_files and read_item(685) agree):

B. TIMELINE. 2026-12-02 18:07 opened (peperunas, FIRST_TIME_CONTRIBUTOR, fix/dsml-tool-call-streaming → main); 18:10 intake case 91494b52; 18:31 review #1 Changes Requested "up to 2f0ed9d"; 20:04 review #2 Changes Requested "up to 80c87b3"; head b9864ab; 2026-12-03 01:17 review #3 Changes Requested "up to b9864ab" (https://autobot.eidonix.com/p/4b200085-ecf2-4469-9d69-45c78eff5562.html) — the first to see Change::End-before-drop and to flag the custom-tool regression; head dd38123e (custom-tool fix + body rewrite); 2026-12-05 11:22-ish 826a427a (docs rescope); 11:25 author "@flare-autobot take another look please"; 11:27 Autobot declined: "no new commits have been pushed since the last review … push new changes and mention @flare-autobot again"; 11:36 author: "the head now carries a new commit since your last pass (826a427a): please take another look". Fifth review pending; zero human comments or reviews in the whole thread. Intake notice promises auto-re-review 90 minutes after a push, so the pending state is expected, not a refusal. Earlier review tallies for the record: #1 "Blockers 2 · Should fix 1 · Subtract 4 · Nits 2"; #2 "Blockers 3 · Should fix 2 · Subtract/Simplify 2 · Nits 2"; #3 "Blockers 2 · Should fix 3 · Subtract/Simplify 3 · Nits 1".

C. STALE FINDINGS — do not re-raise downstream (all verified repaired or retired at 826a427a):

D. STILL UNVERIFIED (state as such): nothing was executed in any of these runs — every behavioural claim is static reading of the diff at 826a427a; review #3's "Should fix 3 · Subtract/Simplify 3 · Nits 1" are unidentified because the full review pages are unreachable from this environment; whether voipmonitor or yatesdr answers the PR body's consent question is unknown; the live 566-frame/2196-byte parity measurement is the author's own, against his own deployment (llm.giugl.io / pino/chat).

#33 [high] AMENDMENTS (run 5, 2026-12-05): head dfe38d4c, label flipped to triage:design-review, review #5 has zero technical blockers, author re-asks maintainers, publish-owns-bound ordering

Apply on top of report #32. Nothing else in #14/#23/#27/#28/#32 changed.

  1. SUPERSEDED — head, size, per-file shape, labels.
  1. SUPERSEDED — blocker count. A fifth Autobot Review was posted 2026-12-05 12:06 UTC on 826a427 (https://autobot.eidonix.com/p/1b81295c-f467-443c-9934-4964745e91e8.html): Changes Requested, "Blockers 1 · Should fix 0 · Subtract/Simplify 3 · Nits 2", Merge Risk "Medium · up to 826a427". It states 826a427 "resolves every technical, protocol, documentation, and test-churn issue from Round 3" and that "the sole remaining blocker is the unresolved Round 3 governance gate … once @voipmonitor/@yatesdr sign off in the thread no further code changes are required." So the earlier "Blockers 2/3" framing (reviews #1–#4) is retired; the only open item is the maintainer decision from my items 5–7. Its pre-merge checks are ✅3 / ⚠️1, the ⚠️ being Charter & value fit for the two unratified main invariants (AGENTS.md:182-187, 201-207); Tests & verification is now ✅ on the strength of the author's self-reported runs (still no CI run on any hash — carried forward, not re-verified).

  2. NEW — the three "Subtract/Simplify" and two "Nits" of review #5 are now addressed on the head, and I verified each in the diff: Call::publish owns the size check (dsml.rs:53-64), the Responses Change::End arm matches the block once (encode.rs:470-487), ResponseOutput::finish reads self.open instead of blocks.len()-1 (output.rs:1735-1744), the parser-layer duplicate test is prefixed dsml_truncated_second_call_keeps_the_completed_first_call (dsml.rs:955-956), the truncated-custom matrix covers all four causes (tests.rs:4102-4110), and docs/api.md scopes the closing-frame status to the Responses wire (docs/api.md:550-552). No test was removed or weakened by dfe38d4c; the weakening at helios/tests/deepseek_output.rs:514-515 (was main:511 assert!(published.is_empty())) persists exactly as reported in #32 item 8.

  3. NEW — the 1 MiB / validate_arguments ordering moved one step further and the author disclosed it (2026-12-05 12:22 comment). Call::publish (dsml.rs:53-54) calls check_size (dsml.rs:42-47), so at ToolCallArgumentsEnd the order is close_literal → append closing_text → validate_arguments (dsml.rs:195-203, validate at :398) → publish→check_size. A call that is simultaneously over 1 MiB and structurally invalid now reports the validation error, not the size error; a call that is over the bound but otherwise valid still fails at publish before any byte of the crossing append is published. No amplification: the crossing text append errors inside publish (dsml.rs:191-193), and the per-action check_size for the in-progress call remains (dsml.rs:218-220), so the string handed to validate_arguments is ≤ 1 MiB plus one small closing delimiter. This is the third successive relaxation of #364's "size check precedes any publication" property; it is disclosed and covered by the tests at helios/tests/deepseek_output.rs:603-627.

  4. NEW, low-severity precision gap in the new docs sentence. docs/api.md:546-552 says an announced call cut off before completion "is omitted from a buffered response for every termination other than natural end-of-sequence", and the encoder matrix (tests.rs:3844-3851) exercises OutputLimit/UserStop/Cancelled/ExecutionError. In production only two of those reach Encoder::finish as a truncation: UserStop and OutputLimit, plus Cancelled via the tool-limit remap (helios/src/server/http.rs:526-528 remaps, helios/src/server/protocol/encode.rs:673 applies it). A generation Cancelled or ExecutionError takes the separate failure path (http.rs:562 → 575-579 Delivery::Failed; buffered rejection(...) at http.rs:639), and Decoder::finish aborts and returns no events for Cancelled|ExecutionError (helios/src/server/output.rs:342-348), so the ExecutionError row of the matrix is reachable only by injecting events into the encoder as the tests do. Documentation only; the behaviour that does ship (OutputLimit/UserStop/tool-limit) matches the prose.

  5. UNCHANGED — the governance block, now asked twice more. The author pinged @yatesdr/@voipmonitor at 2026-12-05 12:10 ("do you have feedback on this?") and re-issued the binary consent question at 12:22 ("Do you accept both? If either answer is no, say which behavior you want and this pull request changes"). Still zero human comments or reviews in the whole thread; the two named maintainers (voipmonitor = #364 author, yatesdr = #364 reviewer and author of the UserStop/Cancelled finish paths) have not answered. Per #133 the request is legitimate — changing stream semantics after a parse failure "is a maintainer policy decision that would edit docs/api.md, not a defect fix" — and per #102 an OutputLimit drop already has maintainer acceptance, so the delta remains: UserStop, Cancelled and ExecutionError, in every parser and protocol, plus post-publication validation and size enforcement.

  6. RETIRE / DO NOT RE-RAISE downstream: "Round 4's simplifications and nits outstanding" (fixed at dfe38d4c, item 3); "review #5 pending" (posted 12:06); "the head is unreviewed" (dfe38d4c itself is unreviewed, 826a427 is not). Still open and still accurate: the test weakening (item 3), the #364 reversal (#32 item 7), the governance gate (item 6), Chat's silent omission on the wire (#32 item 12), and "no CI run on any hash".

Verified only by static reading of the diff at dfe38d4c; nothing was executed.

#34 [high] Research summary

Amendments to the #685 report for the 2026-12-05 event, saved as scratchpad entry #33 (apply on top of #32). Head 826a427a → c28c3c3f → dfe38d4c, same 7 files, +871/−66 → +869/−59. A fifth Autobot Review (12:06, on 826a427) drops the blocker count to 1 and says the head "resolves every technical, protocol, documentation, and test-churn issue from Round 3" with "no further code changes … required" once voipmonitor/yatesdr sign off — so only the governance gate survives. Its three Simplify items and two Nits are in dfe38d4c, and I verified each (publish owns check_size at dsml.rs:53-64, single-match Change::End at encode.rs:470-487, finish reads self.open at output.rs:1735-1744, dsml_-prefixed duplicate test, four-cause custom matrix at tests.rs:4102-4110, Responses-scoped status at docs/api.md:550-552); no test was removed and the deepseek_output.rs:514-515 weakening persists unchanged.

Two new findings. First, the label flipped from triage:review to triage:design-review — this repo's maintainer marker for "a design decision, not a defect fix" (the convention behind #69/#128/#218/#461/#686) — with no accompanying comment and an unchanged updated timestamp, so it is undated and is a triage signal, not approval. Second, Call::publish now runs check_size itself, so at ToolCallArgumentsEnd the order is validate_arguments → publish→check_size: a call that is both over 1 MiB and structurally invalid reports the validation error, the third successive relaxation of #364's ordering (disclosed by the author at 12:22; no memory amplification, since the in-progress check_size at dsml.rs:218-220 still caps what validation sees). I also noted a docs-precision gap: docs/api.md:546-552 says every non-EOS termination omits the call, but in production only OutputLimit, UserStop and tool-limit-remapped Cancelled reach Encoder::finish; a generation Cancelled/ExecutionError takes the failure path (http.rs:526-528, 562, 639) and Decoder::finish aborts for those causes (output.rs:342-348), so the ExecutionError row is test-only.

Unchanged and still open: the two unratified main invariants, the weakened integration assertion, Chat omitting the call on the wire, and no CI run on any hash. The author asked both maintainers twice more (12:10, 12:22) and there are still zero human comments or reviews in the thread. Everything above is static reading of the diff at dfe38d4c; nothing was executed.

#35 [high] File map and line anchors at dfe38d4c, plus docs/api.md co-editors (#686 merged, #461 open) for rebase risk

Companion to entry #33 (the run-5 amendments). Use these anchors instead of entry #31's, which are at 826a427a and have shifted.

A. FILE MAP AT dfe38d4c (7 files, +869/−59; read_item(685) and pr_files agree):

B. OTHER PRs EDITING docs/api.md — rebase/conflict surface:

C. PRECEDENT CITATIONS carried from entry #30 (restate, do not re-derive): #102 (merged, OutputLimit already drops an open tool envelope instead of erroring — accepted by a maintainer, so only UserStop/Cancelled/ExecutionError are new); issue #133 (closed — "changing stream semantics after a parse failure is a maintainer policy decision that would edit docs/api.md, not a defect fix"); #679 (closed 2026-12-04 — "When the output layer rejects a streamed tool call, the stream correctly ends with server_error … Failing the request is the right behaviour", the opposite terminal from this PR's omission).

#7 [medium] Project fit: charter aligns on root cause and description shape; fit risk is "no maintainer request, no filed bug"

Charter (read_charter) mapping, as facts:

Where #685 lines up:

Where it does not line up / needs a judgement call:

#9 [medium] Recent activity: dsml.rs churn by voipmonitor in Nov, #670 landed the same day as #685 opened

Recent activity on the touched files on main, within 60 days (orientation packet + search_history):

Does #685 build on, conflict with, or reverse that work?

#12 [medium] Process: draft/ready state, CI, review state, age

#13 [medium] Community: zero engagement, and how this repo's review traffic usually arrives

#19 [medium] NEW: AGENTS.md "Reject weakened guarantees" / "suppress errors" mapping

Verified against AGENTS.md at PR head (80c87b3d):

Mapping: the Err("incomplete emitted tool call") contract lives at helios/src/server/output.rs:165 (Accumulator) and :1720 (ResponseOutput::close) on main; #685 deletes the UserStop/partial-call case of it (output.rs:163-173, 1730-1742), rewrites the test that asserted it (output.rs:1265-1274), and rewrites the doc sentence that stated buffering as intended (main docs/api.md:540-541). Three of the four surfaces the last clause names — code, test, documentation — move in the same PR with no maintainer decision on record.

#20 [medium] REFINEMENT: which causes actually change, per main's own docs

Sharpens the boundary of the behaviour change in #3/#18-F, using main's own docs (ref main, docs/api.md:540-543):

"Tool arguments are JSON objects, bounded to 8 MiB. The model parsers buffer tool envelopes until they are complete, so argument events do not imply incremental generation of an unfinished call. Truncated tool envelopes are omitted and the response reports its output limit."

So on main, omission of an unannounced/truncated envelope under OutputLimit was already documented and intended (matching the parsers' own EosDecision::Omit paths, e.g. helios/src/output/tagged.rs:264-278, xtml.rs:242-250, tml.rs:371-378, recipient.rs:264-295). The error Err("incomplete emitted tool call") (main helios/src/server/output.rs:165,1720) only fired for a call that had already been announced — practically the UserStop/Cancelled/ExecutionError cases the inverted test names.

Therefore the precise delta of #685 in this area is narrower than "truncation no longer errors", and reviewers should state it as: for UserStop, Cancelled and ExecutionError — not OutputLimit — an announced-but-unfinished call now succeeds-and-drops instead of failing the request, and the finish reason becomes that cause's reason (stop on Chat, per encode.rs:690-696). OutputLimit omission is unchanged behaviour; what is new there is only that DSML can now have an announced call to omit, because ToolBegin moved to ToolNameEnd (dsml.rs:145-156).

This is a correction in framing only — the finding itself (a wire-visible contract inversion across all parsers and protocols) stands, and it is the same thing the PR body calls out in one clause ("for every cause except natural end-of-sequence, ExecutionError included").

#30 [medium] In-repo precedent for omitting a truncated call: #102 (merged, reviewed) and #679 (closed)

Found while checking whether #685's omission-not-error rule contradicts a reviewed invariant or extends an accepted one. Both matter for how the report phrases the "unapproved contract reversal".

#102 pull request (merged 2026-11-05, mark-yong, +56/−11, reviewed and cleared by original-el8, referred onward to lukealonso). It changes the classification of ignore_eos at the output limit from Eos to OutputLimit, and its own description enumerates exactly the same class of downstream change #685 now makes: "an open tagged, DSML, or XTML tool envelope is now dropped silently where end-of-sequence termination raised an 'incomplete tool call' error". The reviewer's comment (2026-11-05 18:51) required that as "the description should state them and a maintainer should accept them explicitly", and the author replied "Requesting explicit maintainer acceptance or rejection of these semantics", after which original-el8 wrote "this looks good to me now". So dropping an announced/unclosed call on a non-EOS cause, instead of raising incomplete emitted tool call, has already been accepted once in this repo — for OutputLimit only. This narrows my item-5 finding precisely: what is new in #685 is the extension to UserStop, Cancelled and ExecutionError (drops_unfinished_call(cause) -> cause != Eos, helios/src/server/output.rs:477-481), not the existence of the omission rule. Report as "extends a reviewed rule to three further causes, in every parser and protocol, without a maintainer decision", not as "inverts a contract nothing has ever changed".

#133 issue (closed, eduffd) records the accepted asymmetry in its own words: "an open <tool_call> at natural EOS errors with incomplete GLM tool call, while the same open call at max_tokens is silently dropped with finish_reason=length (helios/src/output/tagged.rs:251-263)", and its maintainer answer to "what should a stream do with already-delivered partial tool blocks" is "what it does today, which is documented … changing stream semantics after a parse failure is a maintainer policy decision that would edit docs/api.md, not a defect fix". That is direct evidence that this exact question is a maintainer policy call — which supports #685's consent ask to voipmonitor/yatesdr being the right procedural move, and equally supports blocking until it is answered.

#679 issue (closed 2026-12-04, ktsaou) states the current contract from the operator side: "When the output layer rejects a streamed tool call, the stream correctly ends with server_error … Failing the request is the right behaviour, and this issue does not ask to change it", with the fix scoped to metrics only (#692, merged). Relevant because #685 converts some of those same mid-stream failures (truncation of an announced call) into a clean incomplete/stop terminal, i.e. it removes server_error cases that this issue explicitly endorsed keeping. No operator complaint was found either way, so report the tension, not a conflict.

None of the three is a duplicate of #685 and none mentions streaming tool-call arguments; #685's own body and discussion cite none of them.