fake_runtime is a leleka.runtime.v1 server (the real RuntimeServer) whose engine is the same
engine.sh the smokes already use; fixture.runtime_stack() swaps strata-next's engine child for
it when STRATA_TEST_FAKE_RUNTIME is set, otherwise nothing changes. scripts/test-api-over-runtime.py
runs the ten smokes whose assertions do not depend on strata-next owning the engine process.
The HTTP layer clamps reasoning_tokens to the engine-reported output total, which a text-level
engine's re-tokenized pieces can otherwise exceed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
smoke-chat-completions expected frequency_penalty 0.1 to be refused and
smoke-messages expected top_k 1 and a countable picture block to be refused;
cce4333 (sampling forwarding) and 81b9070 (vision) made those valid, so both
smokes failed against the current binary (they run in linux.yml). Use
out-of-range values for the refusal cases and expect a picture block to be
countable (one pad, nothing encoded) while generation without an encoder still
refuses it. Both pass against the current debug strata-next.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>