#1 [high] Subtraction/Simplicity lens findings for PR #686 (docs-only)
Scope: PR #686 changes only docs/api.md (+8/−3) and docs/core-design.md (+5/−2), prose only (pr_diff). No code, flags, config knobs, helpers or abstractions can be added or left behind; the subtraction lens therefore reduces to prose duplication/dead text.
Finding 1 (medium, single-source duplication + duplicate pointer). docs/core-design.md:1727-1730 at head restates the per-encoder split that docs/api.md:666-674 specifies in full, and links to it, while docs/core-design.md:1735 already links the same section:
1727 tool_choice=required requires a completed call to a declared tool;
1728 Jinja-template and TMLv0 prompt encoders also add a system prompt instruction,
1729 while native DeepSeek V4 and V4.1 encoders do not (see the
1730 API contracts). Without a grammar it
... 1735 tool_choice=none removes tools from the template. See the API contracts
Suggested replacement (collapse the encoder clause to the pointer, dropping the restatement and the second pointer):
tool_choice=required requires a completed call to a declared tool; prompt
encoders differ in the instruction they add (see the
API contracts). Without a grammar it
uses ordinary sampling. ... tool_choice=none removes tools from the template.
Two pointers to the same section two sentences apart, plus a verbatim-ish copy of the api.md rule, create drift risk exactly where #445 reported drift.
Finding 2 (low). docs/api.md:670-672 carries a tautological tail:
670 starts in <think>, and in non-thinking mode their template opens the DSML
671 tool-call block at the end of the prompt so generation starts inside the
672 tool-call envelope.
"opens the DSML tool-call block at the end of the prompt" already implies generation continues inside it; the trailing "so generation starts inside the tool-call envelope" (7 words) restates it. Trim to "...their template opens the DSML tool-call block at the end of the prompt."
Finding 3 (trivial formatting, mention only). Insertion reflows two unrelated wrap points: docs/api.md:674 "Sampling is unchanged; no calls are fabricated" (old wrap kept "fabricated and no retries") and docs/core-design.md:1731 now begins a new line with the 35-char "uses ordinary sampling. Named tool". Harmless; no action needed.
Checked and clean: no leftover unconditional claim in either doc (search for "adds a prompt instruction" finds only the new split); no new anchor/term without definition ("DSML" defined at api.md:549, "Jinja-template/TMLv0/DeepSeek V4/V4.1 prompt encoders" used consistently at api.md:521-527, 979, 1004); anchor #conversation-and-tool-semantics resolves to api.md:485 "## Conversation and tool semantics"; no table/list abstraction would express the addition more simply than the prose used, and repo prose conventions (.agents/skills/repo-prose/SKILL.md) are followed (present-state spec, no chronology, evidence not narrated).
Key code cross-refs (unchanged behavior the prose describes): helios/src/frontend/mod.rs:151-156 renders_tool_choice; helios/src/server/request.rs:465-476 shared_lowering → ToolChoice::Auto; helios/src/frontend/deepseek.rs:272-280 required→Auto under thinking_mode.
#2 [high] Research summary
Applied the Subtraction, Simplicity & Conventions lens to PR #686. The diff is prose-only in two files (docs/api.md +8/−3, docs/core-design.md +5/−2), so there is no dead code, flag, wrapper, fallback branch or speculative generality to remove; the lens reduces to whether the added prose duplicates something that already exists and whether it can be said in fewer words. It is largely lean and idiomatic, and it obeys the repository prose skill (present-state specification, no chronology, no unexplained identifiers). I found two simplifications, both non-blocking, and one harmless wrap-point churn.
The one worth acting on: docs/core-design.md:1727-1730 restates in near-verbatim form the per-encoder rule that docs/api.md:666-674 specifies in full, and links to that section — while docs/core-design.md:1735 already links the same section two sentences later. Collapsing the encoder clause to the pointer keeps one authoritative statement of the rule and removes the second pointer, which is precisely the drift the issue behind this PR reported. Second: docs/api.md:670-672 ends with a tautological restatement ("so generation starts inside the tool-call envelope") that the preceding clause already implies, worth seven words. Third, trivial: the insertion reflows two unrelated wrap points in both files; no action needed. No duplicate helper, abstraction or existing pattern is missed: the referenced runtime behavior (renders_tool_choice, shared_lowering, DeepSeek required→Auto under thinking) is described consistently with how api.md already uses the same vocabulary elsewhere, and the new anchor resolves to the real heading. Details and verbatim quotes are in scratchpad note #1.
#3 [medium] PR #686 subtraction-lens verdict and recommended report shape
Verdict for the Subtraction/Simplicity/Conventions lens on PR #686 (docs/api.md +8/−3, docs/core-design.md +5/−2, prose only):
The diff is already lean and idiomatic; nothing should be deleted from it as code. A prose-only change cannot introduce flags, config knobs, wrappers, fallback branches, speculative generality or dead code, and none is left behind. No repo helper or abstraction is duplicated (repo-prose skill .agents/skills/repo-prose/SKILL.md conventions are followed; AGENTS.md "inaccurate documentation" merge criterion is met). Maximum useful output is two trims, neither a blocker, plus one no-action formatting note — all quoted with file:line in scratchpad note #1.
Recommendation ordering for the report:
- Collapse the restated encoder clause in docs/core-design.md:1727-1730 to the api.md pointer, which also removes the second pointer-to-same-section now sitting next to docs/core-design.md:1735. Cite this as the single highest-value simplification (single source of truth for the rule #445 reported drifting).
- Trim the tautological tail at docs/api.md:670-672.
- Note the incidental reflow of docs/api.md:674 and docs/core-design.md:1731 as cosmetic only.
Do not raise: correctness of the described behavior (Correctness lens owns the verified-claims table in the Dossier), the Fixes #445 closure tension, the anonymous #461 rebase risk, or the missing CI — all out of scope for this lens and already covered elsewhere in the Dossier.