Rewrite the 5090 server model paths in 30 repo files (scripts, tools, docs) from the old
locations (/home/para/leleka-gates, $HOME/leleka-gates, /data/models) to
/home/para/work/leleka/models/..., add the AGENTS.md workspace rule and the move record
docs/experiments/models-move.md. Not merged: the smoke test is pending.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
run-e2e.sh defaulted LELEKA_ORIGINAL_SERVE_EXPERT_PROFILE to gpu-runs/baseline/profile.bin, a bring-up placeholder in expert-id order (47 % overlap with the
ranked upstream data/expert-profile.bin at 11,280 slots). Every harness run therefore started from an unranked VRAM set. The product deploy already pins the
upstream file (crates/deploy EXPERT_PROFILE_SHA256 8f59b4aa...). The harness now defaults to $A/data/expert-profile.bin, writes $OUT/expert-profile.sha256 and
refuses a profile whose digest differs from the pinned one unless E2E_ALLOW_PROFILE_OVERRIDE=1 (the record then says override).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Original drafts over the 106k-row draft_vocab.bin of data/mtp-rt; the daemon default (rt_directory None) and the smokes drafted over
the full 248k-row head (+0.18 ms per draft step, ledger agent). Jobs 943b/945 ran without it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Codex tic-tac-toe run (job 943) ended after 4 minutes: the model wrote the whole index.html in one tool call, hit the
runtime's 4096-token output cap three times (tool call unterminated -> response.failed 'tool parameter is incomplete', then
'incomplete: max_output_tokens' -> turn.failed -> Codex exit 1). The Original server has no such cap (max_tokens 0 = the rest
of the context). RuntimeServer, the engine request check, strata-next's runtime default, the leleka-deploy generated config
and the examples now use leleka_backend_api::MAX_OUTPUT_TOKENS = 32768. /v1/status keeps the Python server's key set when no
prefix cache exists (http_surface golden regressed with the prefix-cache merge).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
reasoning_budget_tokens, strata_tune, experimental_speed_projection and sampling finer than the
text contract's fixed point were queued and then refused as 502 generation_failed; the HTTP layer
now answers 400 unsupported_request_field / invalid_sampling_precision for a text-level engine.
Every failed generation logs its client-visible message; STRATA_DEBUG_FAILED_OUTPUT=1 also logs
the generated text of a failed tool turn (operator debugging only).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A prompt that cannot fit the context, or max_output_tokens above the runtime cap, used to be
queued and refused by the worker as 502 generation_failed (SSE: response.failed after a 200),
which clients retry. Now 400 context_length_exceeded / invalid_output_limit before queueing.
The default output budget (context - prompt) ignored the engine's 8-token margin and failed for
prompts near the context; it now leaves the margin. Merge of claude/port-gpu-bringup 0b0d128:
the duplicate expert-source load of this branch is dropped in favour of the integrated one.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
leleka-inference --backend-mode original failed at Load with
'MoeWeightCache::new_original_prompt_arena: InputRead': only the optimized (experimental)
path called load_resident_expert_source, the Original path assumed the serve smoke had done it.
Load it for the Original path (RAM-resident; LELEKA_ORIGINAL_SERVE_EXPERT_SOURCE=mapped selects
the low-RAM mapping). run-e2e.sh fails fast on a leleka-load failure.
Found by the first stack run on the RTX 5090 (job 940); verified by job 941.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
RuntimeServer and the engine Proxy remembered every accepted request id for the life of
an epoch and refused work after 256 (generation_capacity), which an agent session
exhausts quickly. Both now use leleka_backend_api::RecentIds (16384 most recent ids, FIFO).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>