Recommendation: Ready To Merge
All four should-fix items from my 2026-11-24 review are resolved at 9e1c470, and yatesdr's two CHANGES_REQUESTED asks are met by the documentation alternative he himself offered ("Or leave admission as it is and document the limit"). The diff's production-code surface is empty — every added Rust line lives inside #[cfg(test)] mod tests (helios/src/grammar/strict.rs:2457, additions at :3033-3089) — so no code-correctness, enum/guard, ordering, float-overflow or hot-path regression can be introduced, and I found no unfixed prior blocker. I re-derived each documented behaviour from the code it describes and each one holds; the new assertions are non-vacuous and pin the exact llguidance =1.9.1 outcomes the prose quotes. Converging clean: ## Blockers: None. / ## Should Fix: None.
Merge Risk
Level: Low
- Zero non-test lines changed in
helios/:validate_strict_tool_schema(helios/src/grammar/strict.rs:53-145), the range-bound finiteness check (:575-584) and the1 << 53cap (:176-192, reached only fromconst:348/enum:368) are byte-identical tomain, so "zero new HTTP 400s" is structurally true. - The admitted/refused split the docs describe is enforced by the pinned dependency, not by moved code:
llguidance = "=1.9.1"(helios/Cargo.toml:63), so a bump surfaces as a unit-test failure rather than silent prose drift. - Residual risk is documentation drift only;
docs/TODO.txt:25-33tracks the underlying leniency with a closure criterion perAGENTS.md:57-58.
Walkthrough
- Admission scope now matches the code.
docs/api.md:775-776states every declaredstrict: trueschema is validated at admission even undertool_choice: "none";compile_strict_validatorsfilters ontool.strictwith notool_choiceterm (helios/src/server/request.rs:94), is called unconditionally fromprepare_inference_cached(:125) and fromhelios/src/server/http.rs:264-266, and is pinned byignored_strict_tools_still_require_compiler_admissible_schemas(request.rs:760-825, loop overToolChoice::NoneandNamedat:800-803). - "Active" is defined once and matches
request.rs:230-246: empty underNone, the named tool underNamed(:236), all tools otherwise, withstrict_schema: tool.strict.then_some(...)(:241) andhas_active_strict_tool(:247) gating grammar attachment. - The refusal class is documented and asserted where it becomes HTTP 400.
docs/api.md:805-807namesminimum: -9223372036854775808onintegerandminimum: 1152921504606846976onnumber;strict.rs:3075-3089assertsError::Admission(AdmissionError::Grammar(_)), whichhelios/src/server.rs:746maps toBAD_REQUESTwith codeinvalid_grammar(server.rs:757), viagrammar.rs:567-579. - Every quoted rounding outcome is pinned, and the pins are non-vacuous.
strict.rs:3044-3049(minimum: 2^53+1admits2^53, rejects2^53-1),:3051-3057(exclusiveMinimum: 2^53admits the endpoint),:3059-3064(maximum: 2^53+1rejects2^53+1),:3066-3073(minimum: 0.30000000000000001admits0.3, rejects0.29),:3033-3040(10^18andi64::MAXaccept endpoint, reject successor;i64::MAX as u64 + 1does not overflow) alongside the pre-existing2^53case at:3015-3022. - The advisory is implementable as written.
docs/api.md:808-812tells clients to validate from raw JSON text;serde_jsonalready hasfloat_roundtripandraw_value(helios/Cargo.toml:52), and post-validation does consume the raw accumulated arguments (helios/src/server/protocol/encode.rs:612-614). - Repo-required tracking exists and the description is honest.
docs/TODO.txt:25-33gives the missing condition and a both-signs closure criterion; the description carries Why / What changed / Claimed result / Evidence plus the explicit limitation, and the branch is squashed to one commit (9e1c4701).
Pre-merge Checks
- [PASS] Security / malicious screen: All clear; the diff is prose plus one test, no fetch/execute directives or new external links — the only agent-adjacent text is the repo's own
Discord:trailer. - [PASS] Charter & value fit: "bad docs" is an explicit merge path; this removes a docs/
core-design.md:1729-1731contradiction and closes #418's last review item with no new code, flag, or per-model branch. - [PASS] Related / duplicate / conflict check: #418, #686, #575 merged and already in the rebase base; #457 closed unmerged; no open PR or issue proposes the same rule, and #685/#718 touch
docs/api.mdelsewhere (related_items 461). - [PASS] Tests & verification evidence: 29
#[test]instrict.rswith exactly one#[ignore](:4537), so "28 passed, 0 failed, 1 ignored" reconciles; refusal assertions check the exact error variant, not bareis_err(), and everymatches!binds_only, so the fallback" {err}"still compiles.
Blockers
None.
Should Fix
None.
Subtract / Simplify
docs/api.md:698-699restates the admission rule already stated at:775-776; deleting the trailing clause leaves the section that defines strict admission as the single owner (−2 lines, no loss).docs/api.md:724-727: the five-line parenthetical defining "active strict function" sits in a paragraph about required-mode prompting, ~90 lines before three of its four uses (:814,:839,:851,:853); moving it next to:773-776puts the definition where the term is first needed.helios/src/grammar/strict.rs:3044-3089: five near-identical schema literals differ only in keyword, bound, and expected outcome; one local closure taking(kw, bound)would cut roughly 20 lines and make the llguidance differences the readable content.docs/TODO.txt:25-33re-derives the numeric taxonomy thatdocs/api.md:792-812documents in full; a shorter entry citingapi.mdwould remove a second copy that can drift.
Nits
helios/src/grammar/strict.rs:3012:strict_bounds_do_not_round_integers_or_fractional_multiplesnow pins rounding as well as the original exactness cases; the name predates the additions.exclusiveMaximum's- 1.0rounding direction is covered only generically by "can round endpoints in either direction" (docs/api.md:794-796); both documented directions are pinned (viaminimum/exclusiveMinimum/maximum), so this is coverage breadth, not a false claim. If desired, add oneexclusiveMaximum: 9007199254740993case beside:3059-3064.docs/api.md:782listsmultipleOfas supported, and the pre-existingstrict.rs:3019-3023already pins thatmultipleOf: 0.1rejects1e-12— i.e.multipleOfshares the binary64 inexactness the new paragraph scopes to range bounds. One "andmultipleOf" clause in the TODO would close the gap with no added length.docs/api.md:800wraps at 86 columns versus ~78-80 around it.
Dropped on verification
- "Unstated admission scope" (2026-11-24 should-fix) — resolved, not carried:
docs/api.md:775-776plus the:698-699clause, verified againstrequest.rs:94/125and theToolChoice::Nonetest atrequest.rs:800-803. - "No
docs/TODO.txtentry" (2026-11-24) — resolved:docs/TODO.txt:25-33exists with the missing condition and a both-signs closure criterion. - "Rounding examples pinned by no test" (2026-11-24) — resolved: all three rounding cases plus the fractional case are asserted at
strict.rs:3044-3073. - "Paragraph omits refused bounds" (2026-11-24) — resolved:
docs/api.md:805-807names both, asserted atstrict.rs:3075-3089. - "New test duplicates existing coverage" — largely superseded: the standalone test was folded into the existing one as asked; the retained loop contributes
10^18andi64::MAX, the only executable record of those rows (yatesdr's table rows at#4612026-11-23 15:04). - "Test count 27 vs 28 inconsistency" — resolved: 29
#[test]+ 1#[ignore]at head makes "28 passed, 1 ignored" the consistent figure. - "
matches!(err, …)moveserrbefore"{err}"" — checked, not a defect: the patterns bind only_, so the match is a non-moving place inspection and theDisplayuse compiles. - "No CI status observable on the head" — dropped as non-actionable: the anti-pedantry rule forbids blocking on unobservable CI, and no failing check or test is reported anywhere in the record.
- "Maintainer has not re-approved" — a merge-mechanics note, not a gate: yatesdr's CHANGES_REQUESTED (2026-11-23 15:04) had two asks; both are satisfied (documented-limit route taken, compatibility stated as "zero new HTTP 400s" in Claimed result, commit-message provenance nit gone after the squash), and his review explicitly offered the documentation path this PR takes.
- Honest limitation retained: I cannot execute
cargo testhere, so the three llguidance-dependent outcomes rest on the author's x86_64 run and yatesdr's aarch64 table; the PR's own mitigation is the tests that now encode them, and no production line depends on the answer.