Value Proposition — PR #704 docs/api: enumerate accepted response_format JSON Schema keywords
Charter alignment: strong. The charter targets "the documented subset of … JSON Schema for structured outputs," and "What gets merged" includes bad docs and maintainer requests. This adds no runtime branch, no per-model special case, no flag, no dependency — it is the "solve it without new code at all" shape, and it documents a reject-with-400 policy, i.e. the charter-compliant side of "don't silently ignore API fields." pr_files confirms one file (docs/api.md, +17/−0), so "keep the runtime small" is untouched.
Novelty & status: genuinely additive — not superseded, not obsolete. No other PR/issue requests this enumeration, and nothing landed after the branch point touches docs/api.md. It implements the second branch of open issue #449 ("if the keyword set is meant to stay narrow, docs/api.md should list the accepted keywords"), matching yatesdr's "closed on purpose" position. The headline claim survives independent re-derivation: 42 code keywords (helios/src/grammar.rs:902-948) == 42 documented (29+13), and bounds 262_144/64/8_192 match grammar.rs:23-25. Caveat: #449 stays open — this is Refs, not Fixes; deprecated is still rejected.
Value vs cost: good value, near-zero upkeep — with two gaps.
- Beneficiaries: every caller sending a structured-output schema on Chat Completions/Completions, Responses, or Messages; previously discoverable only by reading
grammar.rs. - Evidence: adequate but light — hand-verifiable parity, no committed check; body cites
3d1614ccrather than head77941c4(bookkeeping only), parity script uncommitted. - Gap 1 (substantive): a second, differently-scoped "closed" list already sits at
docs/api.md:717-734(strict function tools, merged #418). #704 never relates the two and words the$refrule differently — two unreconciled "closed" lists in one reference is a defect this PR is positioned to fix. - Gap 2 (process): no test pins the list to code, so it can drift silently; #689's
error.code: invalid_grammardocs (same author, same day, 680 lines away) are unlinked though they describe the same rejection path.
Verdict: Worth it with changes. Require: (1) one sentence relating the output-constraint allowlist to the strict-tool subset and aligning $ref wording; (2) correct the commit reference; (3) optionally cross-reference invalid_grammar and add a cheap drift guard. Also rebase — the ~10-file rendered diff is stale-base drift, not scope.
No instruction-like content was found in the PR material reviewed.