Amendments to the PR #686 case file (head 9ca1f72, run 3031 → this run)
Scope of this document: only what changed since the previous report (scratchpad notes #16/#22 content), plus the corrections that follow from it. Everything else in the earlier report stands: the verified-claims table, reach (DeepSeek V4/V4.1, thinking is the default), charter fit, the "Fixes #445" flag, and the people/community reading.
Key findings
- Scale corrected: 2 files, +13/−5 (previously 1 file, +14/−8).
docs/api.md(+8/−3) anddocs/core-design.md(+5/−2) —pr_files, and both hunks visible inpr_diff. - The "undone by omission" finding is withdrawn. The
docs/core-design.md:1727contradiction the previous run flagged as the PR's one real gap is fixed by the author in9ca1f72: at that commit the line reads "tool_choice=requiredrequires a completed call to a declared tool; Jinja-template and TMLv0 prompt encoders also add a system prompt instruction, while native DeepSeek V4 and V4.1 encoders do not (see the API contracts)." —docs/core-design.md:1727-1730at9ca1f72bd0b40ead0fe13f20364fb876c6607295. The anchor resolves:docs/api.md:485is## Conversation and tool semantics. A search at that commit foradds a prompt instructionreturns only the newapi.mdphrasing, not the old core-design sentence. - Process picture changed. Five labels now exist (
area:api,documentation,model:deepseek-v4,model:deepseek-v4.1,triage:review); there is one bot review and one author reply (pr_comments): flare-autobot at 21:06 recommended Changes Requested — 0 blockers / 1 should-fix / 1 subtract-simplify, and jcartu replied at 21:45 that both are addressed in9ca1f72. Previous report's "no labels, no reviews, no comments" is superseded. - The review's two remaining targets are both gone at this head. The should-fix was the
core-design.md:1727-1728gap (now closed); the subtract-simplify was the internal"shared lowering"shorthand and the undefined`chat`label, which existed indocs/api.md:667and:671as served from the old ref and are absent from the9ca1f72text (docs/api.md:666-674at9ca1f72reads "Jinja-template and TMLv0 prompt encoders add a system instruction…", "…in non-thinking mode their template opens the DSML tool-call block…"). - Net verdict moves from Changes Requested to approvable-with-nits. The residual items are all non-blocking: the
Fixes #445closure tension, one new duplicate-pointer nit, an unverifiable #461 overlap claim, and no visible CI on the new head.
1. What the diff now does
Two hunks, prose only (pr_diff):
docs/api.md— the required-mode paragraph is rewritten in place (new prose:666-674at9ca1f72; whole paragraph to:677, Responses custom tools reflowed unchanged from:678). It splits the old unconditional claim into: (a) Jinja-template and TMLv0 encoders add a system instruction; (b) native DeepSeek V4/V4.1 add none — thinking mode renders identically to"auto"so reasoning starts in<think>, non-thinking mode opens the DSML block at the prompt end; (c) completion validation applies in all modes.docs/core-design.md— thetool_choice=requiredsentence is replaced by the same split plus a relative link intoapi.md(9ca1f72:1727-1730). Named-selection andtool_choice=nonesentences below it are untouched.- No runtime, schema, test, or compatibility file is touched; the description's "No runtime code, wire schemas, or compatibility contracts changed" still matches the diff.
2. Corrections to the file map (line numbers shifted)
At 9ca1f72 (verified by reading that exact commit):
docs/api.md: required-mode new prose 666-674; paragraph including sampling/missing-call/stream text 666-677; Responses custom tools 678-685; the section heading stays at:485.docs/core-design.md: rewritten required-mode text 1727-1730; named-selection sentences 1731-1734;tool_choice=none+ existing "See the API contracts" 1735-1736.- The earlier report's
api.md:666-678andcore-design.md:1727-1728anchors should be restated with these ranges; all other anchors in the earlier report are unaffected.
3. What is unchanged (and still needs a reviewer's eye)
Fixes #445still closes an issue whose behavioural half was declined. The PR body still ends withFixes #445(read_item#686), and the behaviour #445 asked for is still deliberately not implemented:helios/src/frontend/deepseek.rs:275-280— comment "Required calls are checked at completion; thinking starts before the tool block", thenRequired → Autowhenthinking_mode. This is defensible given yatesdr's 2026-11-21 triage in #445 ("this is deliberate, and the gap is in the docs… The docs should say so"), but the issue's "Expected" paragraph is recorded nowhere except this new prose, so merging closes it as won't-fix-by-design.- Verified-claims table still holds, now mirrored in both docs:
helios/src/frontend/mod.rs:151-156,helios/src/server/request.rs:467-476(+506-514),helios/src/server/inference.rs:387-390(+445-461),helios/src/frontend/deepseek.rs:272-280,helios/tests/deepseek_requests.rs:347-415and:689-711,helios/src/server/protocol/encode.rs:582-584(undeclared-name rejection, re-checked at the PR head) and:685-689(missing completed call). Nothing in the new core-design wording introduces a claim not already verified. - Reach unchanged: DeepSeek V4/V4.1 only, thinking is the default (
deepseek.rs:156-157), so "identical toauto" describes the default path for those recipes. - Charter fit unchanged: docs-only correction of text a maintainer called "not true for these recipes" matches the "bad docs" merge criterion; no new per-model runtime branch is added.
- #461 overlap is unverified. The bot review's "
docs/api.md:562-575onpr/461vs666-678here" was measured at6a2cacc;pr/461is not in the local copy, so it cannot be re-checked. #461 (same author, adjacent named-selection/strict-admission paragraph, Changes Requested since 2026-11-23) is plausibly a rebase risk, not a semantic conflict. Confirm at merge time. - No CI evidence for
9ca1f72. The previous report noted no checks on6a2caccdespite thepull_requesttrigger; nothing here shows checks on the new head either, and the author's declared limitation ("no build, test suite, or GPU execution was run") remains, which is harmless for a prose-only diff.
4. New nit introduced by the core-design edit
docs/core-design.md:1735 already says "See the API contracts" for the same section, and the new edit adds another api.md#conversation-and-tool-semantics link two sentences earlier at :1729-1730 (9ca1f72; both links found in the file). Two pointers to the same section in adjacent sentences — trim one at the author's discretion. Not a blocker.
Open questions / could not verify
- Whether the
#conversation-and-tool-semanticsanchor renders on GitHub exactly as intended — the heading is## Conversation and tool semantics(docs/api.md:485), so it should, but this was resolved by reading, not by rendering. #461's live hunks (unverifiable locally) — the only outstanding merge-order question.- No human maintainer has reviewed any version of #686; the only review is the bot's, and yatesdr — the maintainer who asked for this doc fix — has not commented.
- Tool caveat for downstream reviewers: reading files at ref
pr/686returned the pre-push (6a2cacc) content of both docs whilepr_files/pr_diffshowed the new state, so line-number and wording claims here were re-pinned to commit9ca1f72bd0b40ead0fe13f20364fb876c6607295directly.search_historyat that commit also failed (missing objectc513e46), so the two incoming main-branch commits in the same event (ef38cb93/#661,cc0a49d2/#681) could not be independently confirmed as scheduler-only; they are the rebase base and touch neither API doc.