Amendments to the #685 case file — new event of 2026-12-05 (head dfe38d4c)
Amendments only, applied on top of the previous report (scratchpad #32, report of run 3789), which itself amended #14/#23/#27. Everything not restated here is unchanged. All citations re-read at head dfe38d4c05af3005a7d55d12e70003b29789f932 (read_item(685), pr_files, read_file) unless labelled main. Nothing was executed; every behavioural statement is static reading of the diff.
Key findings (amendments only)
- SUPERSEDED — head, size, per-file shape and labels.
826a427a→c28c3c3f("docs(api): scope the truncated item's status to Responses") →dfe38d4c("refactor(helios): simplify DSML publication and truncated-call output"), both 2026-12-05; branch parent is still1fbcc3c9(search_historyat pr/685). Diff +871/−66 → +869/−59 over the same 7 files (pr_files;read_item(685)agrees). Labels now end intriage:design-review, nottriage:review; no comment accompanied the flip and the itemupdatedtimestamp is unchanged (2026-12-05 12:22), so it is undated. In this repo that label is the maintainers' marker for "this is a design decision, not a defect fix" (the same convention that routes #461/#686 through design review). It is a triage signal — neither approval nor a review of the head. - SUPERSEDED — the blocker count is now 1, not 2–3. 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 to826a427". It states that826a427"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." Its pre-merge checks are ✅3 / ⚠️1; the ⚠️ is Charter & value fit for the two unratifiedmaininvariants (AGENTS.md:182-187, 201-207). Tests & verification is now ✅ on the author's self-reported runs only — still no CI run on any hash (carried forward, not re-verified). - UNCHANGED and now the whole of the remaining review objection — the governance gate. The author re-issued the binary consent question 2026-12-05 12:22: "@voipmonitor @yatesdr … an announced call cut off by an output limit, a stop string or a cancellation is omitted from the buffered response, where
mainraisedincomplete emitted tool call… argument fragments are published as the parser appends them, sovalidate_argumentsand the 1 MiB bound follow publication instead of preceding it … Do you accept both?" He had also pinged at 12:10 ("do you have feedback on this?"). Still zero human comments or reviews in the entire thread. The two named maintainers are precisely the people whose work is being changed: voipmonitor authored #364 (the reversed bound), yatesdr reviewed it and authored theUserStop/Cancelled finish paths. Per issue #133 that is by the project's own rule a maintainer policy decision; per #102 an OutputLimit drop already has maintainer acceptance, so the genuine delta remains UserStop, Cancelled and ExecutionError, in every parser and protocol, plus post-publication validation/size enforcement. - NEW — review #5's three "Subtract/Simplify" and two "Nits" are on the head; I verified each in the diff.
Call::publishnow owns the size check (helios/src/output/dsml.rs:53-64); the ResponsesChange::Endarm matches the block once (helios/src/server/protocol/encode.rs:470-491);ResponseOutput::finishreadsself.openrather thanblocks.len()-1(helios/src/server/output.rs:1735-1746); the parser-layer duplicate test is prefixeddsml_truncated_second_call_keeps_the_completed_first_call(dsml.rs:955-977); the truncated-custom matrix covers all four causes (protocol/tests.rs:4102-4150);docs/api.md:550-552scopes the closing-frame status to the Responses wire. No test was removed bydfe38d4c. - NEW — the #364 ordering reversal has moved one step further, and the author disclosed it.
Call::publishcallscheck_sizeitself (dsml.rs:53-54→:42-47), so atToolCallArgumentsEndthe order isclose_literal→ appendclosing_text→validate_arguments→publish→check_size(dsml.rs:195-205, validate at:202). A call that is simultaneously over 1 MiB and structurally invalid now reports the validation error; a call over the bound but otherwise valid still fails insidepublishbefore any byte of the crossing append is published (dsml.rs:191-193). No memory amplification: the per-actioncheck_sizefor the in-progress call survives (dsml.rs:218-220), so the string handed tovalidate_argumentsis ≤ 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 at 12:22 and covered by the tests athelios/tests/deepseek_output.rs:603-627. Documented indocs/api.md:573-577("enforced on the append that crosses it, after the call name and earlier argument fragments were published and are not retracted"). - NEW, low severity — the new docs sentence overstates reach.
docs/api.md:546-548says 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 exercises OutputLimit/UserStop/Cancelled/ExecutionError (protocol/tests.rs:3844-3957). In production only UserStop, OutputLimit and tool-limit-remapped Cancelled reachEncoder::finishas a truncation (helios/src/server/http.rs:526-528remaps;helios/src/server/protocol/encode.rs:673applies it). A generationCancelledorExecutionErrortakes the separate failure path (http.rs:562→575-579Delivery::Failed; bufferedrejection(...)athttp.rs:639), andDecoder::finishaborts and returns no events forCancelled|ExecutionError(helios/src/server/output.rs:342-348), so the ExecutionError row of the matrix is reachable only by injecting events as the tests do. Documentation only; what ships (OutputLimit/UserStop/tool-limit) matches the prose. - UNCHANGED — the test weakening is still the sharpest charter objection.
helios/tests/deepseek_output.rs:514-515asserts onlyparsed.ended == 0wheremain:511assertedpublished.is_empty(), and the shared helper routes rejected-call events intoParsedinstead of asserting emptiness (deepseek_output.rs:499-513). Code + docs + tests all move together with no maintainer decision — exactly the caseAGENTS.md:182-187("Do not remove validation, suppress errors … to obtain passing checks") and:201-207(apply to docs and tests too) name. - UNCHANGED — Chat is still the unfixed wire surface. A client receives
tool_calls[0].function.nameas a delta, then the final message carries notool_callsandfinish_reason: "stop"; blessed by the renameduser_stop_omits_an_already_emitted_partial_tool_call(output.rs:1269-1278) and by thereasonmapping, whereUserStopnever yieldstool_calls(encode.rs:713-719). Messages/Responses now close their blocks; Chat retracts nothing.
File map at dfe38d4c (7 files, +869/−59)
helios/src/output/dsml.rs+304/−14 —BUFFER_LIMIT(:22);published_argument_bytes(:38);check_size(:42-47);publishwhich now callscheck_size(:53-64);ToolBeginatToolNameEndwith strict flag (:147-158);LabelToolCallArgumentsliteral bookkeeping (:159-174); per-text publish (:175-193);ToolCallArgumentsEndorder (:195-205); per-action in-progresscheck_size(:218-220); pending-buffer bound (:234-236);validate_arguments(:398-420);finishaborting forCancelled|ExecutionError(:376-394) and erroring for an open call at Eos (:391-393). Testsmod streaming_testsincl.a_truncated_announced_call_is_omitted_from_the_stored_message(:916-953),dsml_truncated_second_call_keeps_the_completed_first_call(:955-977),mod rejection_tests(:980+).helios/src/server/output.rs+46/−13 —Accumulator::finish(&self)stillErr("incomplete emitted tool call")(:163-168); newdiscard_unfinished_call(:169-174);Decoder::drop → abort(Cancelled)(:471-475);drops_unfinished_call(cause) -> cause != Eos(:477-481); 8 MiB argument bound (:119-121,:1836-1838); renamed truncation test (:1269-1278);ResponseOutput::closestill erroring at Eos (:1725-1733);finish(cause)+is_abandoned+discard_abandoned(:1735-1761).helios/src/server/protocol/encode.rs+35/−12 —incomplete_item(:158,:218);item(index, complete)(:339-346); custom-tool delta suppression (:453-468); abandoned-awareChange::End(:470-491) withcustom_tool_call_input.*suppressed (:511-514);Encoder::finish— tool-limit remap (:673), strict Eos error (:674-678), Chat drop (:681-686), Responses abandon bookkeeping (:687-707), required/named failure (:708-712),reason(:713-719), terminal frames (:727-771).helios/src/server/protocol/tests.rs+428/−0 —an_announced_call_is_omitted_when_the_response_truncates(3 protocols × 4 causes,:3844-3957);a_truncated_second_call_keeps_the_completed_first_call(:3960-4027);dsml_arguments_reach_the_chat_wire_while_the_call_is_open(:4030); truncated-custom matrix (:4102-4150);an_abandoned_function_call_reports_incomplete(:4153-4198);a_truncated_call_does_not_satisfy_a_required_tool_choice(:4200-4235).docs/api.md+30/−12 — announce-on-name and byte-for-byte fragment identity scoped to function calls (:540-545); tagged parsers publish only on a complete envelope (:545-546); non-EOS omission and finish reasons (:546-550); Responses-onlyincompletestatus and empty custom input (:550-552);required/named fails when no completed call remains (:552-554); the "cannot complete" admission (:554-556);string="false"deferral (:565-567); 1 MiB bound with post-publication enforcement (:573-577).helios/tests/deepseek_output.rs+15/−6 — weakened assertion (:514-515); size tests incl.tool_call_size_includes_retained_strings_and_closing_brace_in_either_order(:603-627).helios/tests/deepseek_requests.rs(not opened) +11/−2 (:683-693, not opened).
Rebase / co-editor surface on docs/api.md
- #686 (merged 2026-12-04, jcartu, "Ready To Merge") rewrote the
tool_choice: "required"paragraph atdocs/api.md:666-674anddocs/core-design.md:1727-1730(not opened); different line range from #685's:540-577, so no textual conflict, but #686's merged wording ("completion validates at least one completed call") is what #685's:552-554rule must stay consistent with. - #461 (open, jcartu, "Ready To Merge" 2026-12-05 02:31) edits the same required-mode paragraph plus
docs/TODO.txtand test-onlyhelios/src/grammar/strict.rs(not opened); its own reviews note "#685/#718 touch docs/api.md elsewhere". Whichever lands second needs a small rebase. - #670 (merged 2026-12-02) added
TAGGED_JSON; the earlier docs falsity is repaired at:545-546; conflict is textual only. #718 (closed 2026-12-05) toucheddocs/api.mdas well; no conflict.
Precedent citations (restated, not re-derived)
#102 (merged 2026-11-05) already dropped an open tagged/DSML/XTML envelope instead of erroring, for OutputLimit, with explicit maintainer acceptance — so only UserStop/Cancelled/ExecutionError are new here. Issue #133 (closed) records that changing stream semantics after a parse failure "is a maintainer policy decision that would edit docs/api.md, not a defect fix", i.e. the block is legitimate until answered. Issue #679 (closed 2026-12-04) endorsed the opposite terminal ("the stream correctly ends with server_error … Failing the request is the right behaviour"); #685 converts some of those mid-stream failures into a clean incomplete/stop terminal — a tension to report, not a conflict.
Timeline (UTC)
2026-12-02 18:07 opened · 18:10 intake case 91494b52 · 18:31 review #1 (up to 2f0ed9d) · 20:04 review #2 (up to 80c87b3) · head b9864ab · 2026-12-03 01:17 review #3 (up to b9864ab) · head dd38123e · 2026-12-05 head 826a427a · 11:25 author ping · 11:27 Autobot decline ("no new commits … push new changes and mention @flare-autobot again") · 11:36 author re-ping · 12:06 review #5 (up to 826a427) · head c28c3c3f → dfe38d4c · 12:10 and 12:22 author asks both maintainers and re-issues the consent question. dfe38d4c itself is unreviewed.
Retired / do not re-raise downstream
- "Round 5's three Simplify and two Nit items are outstanding" — they are on
dfe38d4c(item 4). - "Blockers 2/3 remain" — superseded by review #5's single governance blocker (item 2).
- "The head has had no automated review" — false for
826a427, true only fordfe38d4c. - Previously retired and still retired: the four broken
helios/tests/integration tests (repaired atb9864abby editing the assertions), the unclosed Messages/Responses blocks, the truncated-custom-call error, thedocs/api.md:543-547falsity against #670, theAccumulator::finishsignature churn, and the--lib-only evidence claim.
Open questions
- Does the governance gate close, and on which answer? The author offered to change the code if either maintainer says no; nothing in the thread records a decision, and the new
triage:design-reviewlabel suggests triage has classified this as exactly that kind of decision. - Will the next review pass on
dfe38d4c(unreviewed) still hold the post-publication ordering (item 5) or the docs reach overstatement (item 6)? - Is the live 566-frame / 2196-byte parity measurement reproducible by anyone but the author (his own deployment,
llm.giugl.io,pino/chat, DeepSeek-V4.1-Flash-1017)? No harness or log was published. - Does any consumer depend on
server_errorfor a truncated tool call (alerts, retry logic)? #679 suggests operator tooling does care, but no complaint about its removal was found either way.
What could not be found or verified
No CI run exists on any hash, so the body's 1848 passed / 20 failed / 84 ignored and the 1fbcc3c9 baseline (1776/17 plus three message_boundaries failures) remain self-report. No issue, roadmap item or maintainer request for streaming tool arguments exists in the tracker; the behaviour was documented at docs/api.md:541 on main before this PR deleted that sentence. #347's body remains unreadable, so whether that umbrella lists the silent-tool-call symptom is still unknown. The full review pages (autobot.eidonix.com/p/…) are unreachable from this environment. Nothing was executed in any run.