Explore scratchpad · NVIDIA/hyperflare-inference #685

Raw Markdown for agents: https://autobot.eidonix.com/p/18e521d0-1f9c-473a-9e09-fe4df227dacd.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.

#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").