Value Proposition: PR #615 — thinking_token_budget for ContentHeaders + UTF-8 tail trim
Charter alignment — partly aligned, partly adversarial.
The PR closes a real gap in a shipped feature: on TmlV0/ContentHeaders cores (Inkling 2 Mini/Small), a documented request field (thinking_token_budget, Anthropic thinking.budget_tokens) and the [server] thinking_token_budget default currently yield HTTP 400 or a bootstrap failure. That touches the charter's "support the documented Chat Completions, Completions, Responses and Messages APIs" goal and the "either implement the field per spec or reject it" rule, and it reverses no prior work (#167 902c88e2 deliberately rejected such formats). But the mechanism collides with "keep the runtime small and model-agnostic … no per-model special cases": tml_text_transition_tokens() hardcodes <|message_model|>/<|content_text|> in the request layer (request.rs:543-555) while the contract declares reasoning.open/close but no text opener. The UTF-8 half is a U+FFFD heuristic at one call site (runtime.rs:2129-2155), not a decoder fix — the same hazard survives on preemption and at the plain output limit, short of #397's "root cause" bar.
Novelty & status — genuinely additive; not obsolete, not superseded.
No other open PR targets thinking_token_budget or ContentHeaders budgets; #615 widens #167's accept list rather than reversing it. Two live conflicts must be resolved: open #457 rewrites the very TmlOutput/content-header semantics the injected unnamed-model-header + content-kind-marker sequence depends on (it adds an EOS error for a header without content), and neither PR references the other; #582 is in flight on the same park path this PR edits.
Value vs maintenance cost — benefit real, evidence thin, scope understated.
Beneficiaries: Inkling 2 Mini/Small users who can now hard-cap reasoning, plus every reasoning format that silently gains the trim. Evidence is CPU-only on synthetic tokenizers with no CI on the head commit; the central behavioural claim — that a real model continues in a text frame after <|message_model|><|content_text|> — is unexercised (FLARE_INKLING2_TEST_SNAPSHOT #[ignore] tests and live flare run not run). The description also omits three substantive effects: the trim drops up to 3 already-generated tokens for all formats, not just TMLv0; generated_tokens / usage.completion_tokens inflate by the injected tail (3 vs 1), shifting dashboards built on #541; and a user token-stop can truncate the tail mid-sequence, contradicting the "all-or-nothing" framing. runtime.rs is among the most contended files in the repo (20+ items in 180 days), and this adds per-token accounting plus up to 4 decodes per cut on the worker thread, unbenchmarked.
Verdict: Worth it with changes. Keep the review investment, but require: (1) real-checkpoint or live GPU evidence that the injected pair yields a text continuation rather than a second thinking frame; (2) scope the UTF-8 trim to the forced-cut case it claims (or fix it at the decoder) and test a non-TML format; (3) declare the text-opener markers in the contract instead of hardcoding them in request.rs; (4) an explicit resolution with #457 (and a rebase past #582); (5) documented accounting/stop-path semantics and the stale comments in runtime.rs:68-70 / docs/logprobs-design.md. If (1) or (2) cannot be delivered, this should be declined — a format-keyed special case on synthetic-only evidence is not worth the maintenance cost on that file.
No prompt-injection or instruction-override attempts were present in the PR text, dossier, or discovered activity.