Commit Graph
17 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 e08eab5fad feat(deploy,e2e): bind the MTP draft vocabulary (--mtp-rt-dir = the MTP pack) in the generated engine command, the e2e runner and the replay
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>
2026-10-23 19:42:01 +02:00
Pavlo Ratushnyi 0e9eab62f7 e2e: reference-equivalent Codex rerun jobs (943c/945c) and replay arms job 948 2026-10-23 19:30:23 +02:00
Pavlo Ratushnyi 7a96807351 docs/e2e: Codex session results, final binaries, trace tables; analyze_session attributes prefix lines to the next request 2026-10-23 17:38:40 +02:00
Pavlo Ratushnyi c12685156e e2e: browser checker finds the cells by probing (perspective boards) 2026-10-23 16:07:51 +02:00
Pavlo Ratushnyi 6389188d7a e2e: job 943b 2026-10-18 04:38:06 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 505f3ee70f fix(runtime): output cap 4096 -> 32768 (one shared constant); /v1/status omits a null prefix_cache
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>
2026-10-18 04:36:37 +02:00
Pavlo Ratushnyi 0e7e621cfe e2e: CRM prompt phase 2 (long refactor-and-extend) and replay job template 2026-10-18 01:28:54 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 2ecfd42001 e2e: engine request capture (LELEKA_CAPTURE_DIR), offline replay smoke, session analysis headline, CUPTI trigger helper
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 01:28:02 +02:00
Pavlo Ratushnyi 50cd95fdbb e2e: browser checker serves the game over local http (ES modules are blocked on file://) 2026-10-18 01:08:53 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 29cfd8378e e2e: session analysis, status writer, CUPTI hook, timestamps, Codex job scripts; merge of 7330ddb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 01:08:04 +02:00
Pavlo Ratushnyi fabcdd3c14 e2e: long scenario measures the cache without depending on the model's tool-call format 2026-10-17 22:08:53 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 da187a9b36 e2e: Codex CLI job tooling (config, prompts, checkers, report), env sampler, one log line per generation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 18:42:46 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 af3beab76e fix(api): text-level-only features are 400s, generation failures are logged; e2e: xlong scenario and failure notes
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>
2026-10-17 17:35:29 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 f5925f3a15 fix(api): context overflow and output-cap violations are 400s from the HTTP layer; default budget keeps the 8-token margin
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>
2026-10-17 15:47:34 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 856d538a83 wip: HTTP-layer 400 for context/output-cap errors, fake-engine tooling for the e2e client
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:45:13 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 9b56aec2ec fix(runtime): Original serve load now loads the retained expert source
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>
2026-10-17 14:57:56 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 b4d12bdd53 fix(runtime): bounded generation identity window instead of a 256-generation epoch limit
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>
2026-10-17 14:21:41 +02:00