Amendments to the #685 case file — new event of 2026-12-02 (later run)
Amendments only; the base case file (entry #14) plus its first amendment set (#23) stand except where superseded below. All citations re-read at head b9864ab8243b2a54caf0d990f6759b1ddd9ec2db unless labelled main.
Key findings (amendments only)
- SUPERSEDED — head, size, labels. Head moved
80c87b3d→b9864ab824, still parented on1fbcc3c9, same author and subject. Files 13 → 15, +662/−72 → +722/−80; the two new files arehelios/tests/deepseek_output.rs(+15/−6) andhelios/tests/deepseek_requests.rs(+11/−2) (pr_files;read_item(685),updated 2026-12-02 21:47). Labels nowarea:api, bug, enhancement, model:deepseek-v4, model:deepseek-v4.1, performance, triage:review. - SUPERSEDED — "zero engagement" AND my own blocker #1. A third flare-autobot review landed at 20:04 UTC, still "Changes Requested" (tally 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"): https://autobot.eidonix.com/p/c9c2f86f-6ee1-4ca2-bb17-25b4b3bde16b.html, quoted in full inpr_comments. Both reviews analysed ≤80c87b3;b9864abis unreviewed (intake notice: auto re-review 90 min after a push, so a pending review is not evidence either way). - RESOLVED — the four broken integration tests (my blocker #1, review blocker #1). No longer holds by static reading: the author changed the tests, not the parser.
helios/tests/deepseek_output.rs:499-515replacedassert!(published.is_empty())(stillmain:511) withassert_eq!(parsed.ended, 0, "a rejected call reported an end")(:515); the shared helperparse_literal_parameters(:572-601) now routes events intoParsedinstead of asserting empty pushes, keepingassert_eq!(parsed.ended, 1)(:599);helios/tests/deepseek_requests.rs:683-693concatenates allEvent::ToolArgumentsfragments beforeserde_json::from_str. CI (cargo test … --features runtime-core,server, no--lib) should now pass these four. - UPGRADED rejection ground — the repair is itself the charter violation. The PR now edits code, documentation and tests to accommodate the behaviour change, which
AGENTS.md:201-207explicitly forbids ("Apply these criteria to documentation and test changes that would weaken the rules as well as code"; touched rule atAGENTS.md:182-187: do not "remove validation, suppress errors … to obtain passing checks"). Weakening "nothing at all was emitted before the 'nonempty and unique' rejection" to "no call ended" permits an announced-then-rejected call. Both Autobot reviews cite the same clause. - RESOLVED — the SSE framing violation (my blocker #2, review blocker #2).
ResponseOutput::finish(cause)now pushesChange::End(last)before clearingopenand records it (helios/src/server/output.rs:1731-1744), withtake_abandoned/drop_abandoned(output.rs:1747-1755);Encoder::finishrenders the changes and only then drops the block (helios/src/server/protocol/encode.rs:677-689), socontent_block_stop(encode.rs:424-428) andresponse.output_item.done(encode.rs:470-516) are emitted first. New assertions require exactly that in the finish frames for OutputLimit/UserStop/Cancelled/ExecutionError (helios/src/server/protocol/tests.rs:3861-3876). - NEW residual defect (static reading, not executed) — a truncated custom/grammar tool call now errors instead of being omitted. The abandoned block's
Change::Endis rendered throughencode.rs:470-484, which forBlock::Toolwhose declared tool iscustomdoesserde_json::from_str(arguments).map_err(|e| format!("invalid custom tool arguments: {e}"))?. A truncated call's arguments are partial JSON by construction, so theErrpropagates out ofEncoder::finishand the stream ends in an error frame with noresponse.completed/response.incomplete. Nothing in the new tests covers a custom tool (the new protocol tests use the plainlookupfunction tool). Strict calls remain parked and still error at EOS (encode.rs:667-671) — unchanged. - REVISED framing of the behaviour change: now declared, still unauthorized. "Undeclared" no longer fits:
docs/api.md:547-551states an announced call cut off before completion "is omitted from a buffered response for every termination other than natural end-of-sequence", the PR body says the same ("ExecutionErrorincluded"), anddocs/api.md:561-562now documents thestring="false"literal deferral — two of the six previously undeclared details. What remains is authority, not disclosure: removing the non-EOSErr("incomplete emitted tool call")(output.rs:163-173, predicateoutput.rs:478-480;close()at:1721-1730keeps it for EOS and non-tail calls) plus the docs/test edits has no maintainer decision on record (AGENTS.md:201-207). Note the doc's own admission at:550-551— "A client that received fragments of such a call has already seen a call that cannot complete" — which is precisely the wire-level concern item 5 fixes for Messages/Responses but not for Chat, where the inverted test still blesses a header-then-no-tool_callsmessage (output.rs:1265-1274;main:1262-1270assertedunwrap_err() … "incomplete emitted tool call"). - UNCHANGED after the push — the rebase debt is semantic and still unaddressed.
docs/api.md:543-547still claims the tagged parsers "build [arguments] from parameter syntax and the declared schemas rather than copying the model's text", whichTAGGED_JSON(#670, merged 2026-12-02 14:16) falsifies:helios/src/output/tagged_json.rs:14-49(not opened) parses the model's own{"name":…,"arguments":…}object and re-serializes it,JSON_BODY = true(tagged_json.rs:57(not opened)), no schema coercion. No rebase atb9864ab. Both reviews reach the same conclusion ("no textual merge conflict with #670 … makingdocs/api.md:543-547factually false againstmain"). - UNCHANGED — the #364 reversal survives.
docs/api.md:568-572: the 1 MiB bound "is enforced on the append that crosses it, after the call name and earlier argument fragments were published and are not retracted"; publishing happens per text append aftercheck_size(helios/src/output/dsml.rs:191-192), i.e. #364's publish-after-check property (voipmonitor, reviewed by yatesdr) stays reversed. Also unchanged: no filed issue or maintainer request for tool-call streaming exists. - NEW — the self-reported test numbers are stale at
b9864ab. The body still reports1787 passed / 16 failed,output:: 113,server::protocol 96, the same numbers as at80c87b3, althoughb9864abaddsmod streaming_tests(dsml.rs:750-987),mod rejection_tests(:988-1033) and three protocol tests (protocol/tests.rs:3809-4017). The evidence remains self-reported and un-refreshed; there is no CI run on any hash.
Timeline (all 2026-12-02)
| Time (UTC) | Event |
|---|---|
| 18:07 | PR opened, peperunas, FIRST_TIME_CONTRIBUTOR, fix/dsml-tool-call-streaming → main |
| 18:10 | flare-autobot intake case file (case 91494b52) |
| 18:31 | Autobot review #1 — Changes Requested, "up to 2f0ed9d" |
| 20:04 | Autobot review #2 — Changes Requested, "up to 80c87b3" |
after 20:04 (PR updated 21:47) |
head b9864ab pushed; not yet reviewed |
Still zero human comments, reviews or inline comments, and neither natural reviewer has engaged: voipmonitor (whose #364 bound is reversed) and yatesdr (approved #364, authored the UserStop/Cancelled finish paths). Author standing unchanged: peperunas / Giulio De Pasquale, one prior PR #519 closed unmerged, Discord: peperunas.
Open questions (revised)
- Whether review #2's three blockers are exactly (a) the four
helios/tests/failures, (b) the SSE framing violation, (c) theErr("incomplete emitted tool call")contract reversal — the posted Merge Risk section names exactly those three, so it is highly likely; the "Should fix: 2" and "Subtract/Simplify: 2" items are not identified anywhere in the posted summaries (the full review pages are unreachable from this environment). - Whether the pending 90-minute re-review of
b9864abfinds the custom-tool truncation error (item 6) and the weakened:515assertion (item 4); unknown at the time of writing. - Whether a truncated custom/grammar tool call is reachable in production configurations (it requires a
custom-declared tool plus truncation by stop string/cancel/output limit); the code path is real, the exposure is not measured. - Whether the
Errremoval has a maintainer decision on record anywhere else — not findable in the tracker;AGENTS.md:201-207would require one. - #347's body is still unreadable (reading tool refused: "the arguments are not valid JSON for this tool"), so whether that umbrella lists the silent-tool-call symptom remains unknown.
What could not be found / verified
Nothing was executed: every outcome claim above (patching of the four tests, the framing fix, the custom-tool error path) is static reading of the diff at b9864ab; no CI run exists on any hash. The full text of both Autobot reviews and the value-proposition page were not retrievable, only the posted summaries. No issue, roadmap item, or maintainer request for streaming DSML tool arguments exists in the tracker, and no consumer complaint about the removed server_error was found. Downstream note: base-report blockers "CI breakage" and "framing violation" are now stale at this head — re-raise only items 4, 6, 9 (and the doc falsity in item 8 still blocking a rebase).