Commit Graph
99 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 de51a07f91 Speed program: fix cell count in the split note
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 14:31:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ede9542fd9 Speed program: per-request split of the real-session gap LEL vs VANL (no gateway cost: 85% decode, 16% prefill) and session_split.py
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 14:31:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1e258fe469 Speed program: lever 7 gate on n=7 (not passed on rounds), lever 6 result (no gain), lever 3 A/B variant G queued
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:31:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d6ed4931f1 Speed program lever 7: owner-gate correction, spd-g cells re-accepted with the fixed accept.py (CRM 2 of 3 at 56/56; r3 fails its own e2e test)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 08:38:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b7ff47f044 Speed program lever 2: closed with no change (CPU leg equals vanilla per expert; the excess is the miss count, lever 3); lever 6 and lever 7 logit gate queued
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 08:32:59 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a2bc720b99 Speed program lever 7: fix baseline ttt rounds in the gate table
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 08:32:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 9f395d9043 Speed program lever 7: final replay result (+12.6% decode) and the owner gate on real Codex sessions (CRM 0/3 at 56/56: stays experimental, off)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 08:32:02 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 db765f833e Speed program lever 7: interim paired result (+13.2% decode, experimental) and the owner-gate Codex runs queued
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:11:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5c0e4187ad Speed program: levers 2 and 4 from existing evidence, lever 7 paired A/B queued
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:10:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7941347ee9 Speed program lever 1: identity gate PASS on the product-tree test binaries rt-c9 and rt-main
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:10:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 cd83f843bc Speed program lever 1: sm_120 ATTN_DAILY + GU_SWIGLU on in the 5090 profiles (teacher-forced identity PASS, decode +1.85% paired)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:10:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 bfa7b381d3 Speed program lever 1: live-replay identity floor is 10/30, teacher-forced gate queued
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:10:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 812b82ff7e Speed program lever 1: final 10-pair A/B (+1.85% decode) and the frozen-placement identity job
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:10:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c523f70ce0 Speed program: lever 1 interim (5 pairs) and the identity-gate finding
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:10:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 13f3adb482 Speed program: paired A/B tools (lossless sm_120 variant, output hashes, report) and lever 1 queued
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:10:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c4e0f31e9f Speed program phase 1: ranked levers for the decode/prefill gap to vanilla Strata
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 04:10:44 +01:00
Pavlo Ratushnyi c0f6888310 STRA-338 S21: the pure part of the Anthropic Messages adapter moves to leleka-gateway-domain
messages/request.rs (the Messages request types and Request::into_responses, CountRequest, text and block helpers) and
messages/reply.rs (message, stop reason, tool_use block, usage, the error type table and envelope as functions of the
status number) are in crates/gateway-domain. strata-control keeps the route layers, the SSE adaptation and the HTTP errors;
error_value(StatusCode, ..) is a wrapper over the domain function. The adapter tests stay where they are and pass on the
moved code (same test ids). The long functions are added to docs/architecture/tech-debt.md, the continuation is recorded in
docs/experiments/stra-338-gateway-track.md (90 golden cases; an earlier commit message says 96, which was a miscount).
2026-11-06 01:29:57 +01:00
Pavlo Ratushnyi eecbfce60d STRA-338: integrate the engine track (kar-off-ab base, S5a, S5b, S13 ratchets) into the hexagonal base; the baseline is recomputed on the merged tree (growth only in the seven kar-off-ab files) 2026-11-05 21:51:28 +01:00
Pavlo Ratushnyi 705125f858 STRA-338 S21: Clock in three more handlers, gateway-track report and ports doc
server_api::{ensure_loaded, model_busy, load_post} stamp last_activity from state.services.clock instead of
tokio::time::Instant::now() (instant-now:strata-control 34 -> 31; SystemClock returns the same value). The baseline is
tightened. docs/experiments/stra-338-gateway-track.md records the commands, the per-step test-outcome comparison (Linux:
597 ok before, 615 ok after, 0 changed, 0 missing), the gate movement and what was not done;
docs/architecture/gateway-ports.md shows the AppState groups and the domain crate.
2026-11-05 20:49:47 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5cc2257ea7 kar-off-ab: results page, codex/browser evidence, cmp_report knows LELK/LELG
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 16:30:18 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0a30049913 codex-compare: results page (18 cells, three arms), browser check outcomes, gap-clustering probe
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 08:22:15 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 01e0504942 codex-compare: VANL (vanilla, lossy defaults off) is the reference arm; paired differences against it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 02:32:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ba26e685bf codex-compare: nestng-crm task (NestJS + Angular), frozen manifest, shared node_modules installer with Codex sandbox proof, optional-task guard
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 02:01:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 9e9895fc9e codex-compare: vanilla Strata vs Leleka on Codex with two tasks: job, window, report, installer, design page; cell.py --link-tree
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 01:45:40 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4cbbd2729c Merge claude/window-policy: draft-floor ceiling default 0.60 (LELEKA_SPEC_POLICY=legacy restores 0.9), replay-arm policy tooling, spec-trace bar/slope, run-e2e ATTN_DAILY_MTP default
Paired A/B 245k (8 blocks): +1.09% tok/s, se 1.86 (not resolved); replay screening +0.35..+1.72 tok/s; argmax flips 1.9-2.0% vs A/A 1.3-1.55% (<2.8% bound). Not claimed as a speedup.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 05:57:14 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 77e0554a2a docs: window-policy-5090 (cause, replay screening, identity, paired A/B, fused-commit decision); adaptive-spec knobs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 05:56:26 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4df5f3dcf0 docs, check-local: experimental ports re-synced to Strata 41cf05a0; literal_port is a hard gate again
* docs/experiments/2026-10-14-experimental-modes-port.md: "Re-sync" section (what drifted per program, what was done, verification,
  the stale-PTX gate, the server-side reseal list and steps, open items found on the way: remote experts host code, K8V4 streaming,
  multi-token append entries).
* scripts/check-local.sh: --fast no longer skips `_bodies_are_literal` and no longer carries literal_port as debt.
* docs/ci-audit.md (findings 4, 5 and the "what changed" note) and docs/windows.md: literal_port closed, minimal edits.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 02:27:51 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 932416a68f docs: draft-round-5090 (profile of the MTP draft round, changes, identity, paired A/B at 245k, fixed-window and fused-commit isolation, controls)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 19:43:51 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1416973a9c Merge claude/baseline-pair (part e complete): fresh-boot reboot series, 9 cycles, ours 155.4 vs v1 137.0 vs v2 144.7 tok/s
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 9s
Rust port / port-typecheck (push) Failing after 9s
Desktop foundation / core (ubuntu-latest) (push) Failing after 13s
Rust port / port-linux-tests (push) Failing after 14s
Linux / verify (push) Failing after 18s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Rust port / port-oracles (push) Failing after 11s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 07:29:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6eeafeda92 docs: baseline-pair part e completed (9 cycles, fresh boot per arm, eviction, THP gate): paired tables
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 07:29:14 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5aa27eeb73 Merge claude/baseline-pair (part e): reboot-per-run series scripts, prefetch, owner-readahead; series stopped after cycle 1 (cold-read cost)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 01:27:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 535087e04a baseline-pair part e: reboot-per-run series stopped after cycle 1 (cold-read cost), fresh-boot vanilla finding, owner readahead script
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 01:27:05 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 75f6cf9684 docs: laptop-pair frozen inputs (manifest a0da2980, prompts, corpus d29e3dba2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 23:37:52 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5c408d8374 laptop-pair: guarded paired ours-vs-vanilla series for the RTX 3080 laptop (prepared, not run)
scripts/e2e/laptop/laptop-pair.ps1: Install (frozen inputs + MANIFEST), Vanilla (launcher
identity), Prepare (ours up --mode none + verify), Check (read-only preconditions: Turbo,
AC, enforced limit >= 100 W, not P5, timeouts, no WSL/Docker/build/engine, ports, STOP,
lock), SelfTest, Smoke (one 5-minute guarded ours arm), Series (ours/v1/v2 in balanced
block permutations). Each arm: guard.ps1 -> watchdog.ps1 (1 Hz, 85 C) -> arm driver
(30 s progress lines, AC check, log-stall rule -> STALL). Client sends two frozen,
byte-identical requests per arm (cold N tokens, reuse + 2k delta); analyzer pairs
arms inside blocks with validity per run. Thresholds: S3.1 BOOTSTRAP with 85 C.
docs/experiments/laptop-pair-3080.md: plan, preconditions, owner actions, commands,
durations, inventory and build hashes of main d29e3dba2.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 23:37:02 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d29e3dba24 Merge claude/baseline-pair (parts c, d): final pairing on main ffd9322c7: ours 155.6 tok/s vs vanilla v2 132.9 (+17.2%, 6/6 blocks; vanilla mostly in poor THP state), hugepages +0.5% (unresolved)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 07:50:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e738d1c3eb docs: baseline-pair parts c and d (main 11e021161 and ffd9322c7, hugepages arm, PCIe 0.45), final paired table
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 07:50:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 3126b9e6cf Merge claude/cpu-service2: CPU expert admission moved to pool open (LELEKA_CPU_ADMIT_EAGER=off restores first use), vectorised q8_k. Bit-identical (353/353 rows both), paired A/B +4.24% tok/s (6/6 pairs, base SD 0.34%), -0.36 ms/round; PCIe share 0.45/0.55/0.65 equal end to end, product default stays 0.45
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 05:57:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 2e03d2bd12 docs: cpu-service2 page (PCIe share equal in 0.45-0.65, host breakdown, eager admission +4.24% tok/s 6/6 bitwise, q8_k, draft analysis, CRLF build pitfall)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 05:56:43 +01:00
Pavlo RatushnyiandClaude Opus 5.5 610cf5d95d docs: hugepages exit-fragmentation count corrected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 04:35:31 +01:00
Pavlo RatushnyiandClaude Opus 5.5 0f68cbb990 docs: hugepages page (mapping facts, bitwise identity 353/353, paired A/B 8 pairs: +1.29 % tok/s 7/8, -0.11 ms/round 6/8, CPU pool per expert -1.8 % 8/8; exit leaves +5.3 GiB free 2 MiB blocks)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 04:35:23 +01:00
Pavlo RatushnyiandClaude Opus 5.5 2725385741 scripts: hugepages-id private MTP staging dir (0700), installer --tools-only; docs: hugepages page draft (mapping facts)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:56:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 bc75204387 Merge claude/decode-tail: measurement records (PLE fix, seed quality gate, engine-commit identity, speedtrain3 tables)
Docs: docs/experiments/decode-tail-5090.md takes the branch's records (sections 1-9) and keeps main's seed-off profile text as section 7a, with a merge note on where main differs.
Code: no change to main. kar_ple_cache.rs (branch b5d4a0db7 equals main a73d09060; main also has the persistent scatter staging buffers) and original_serve_host.rs are main's. The branch's LELEKA_SERVE_ADAPT_DEFER default flip (9b03de2be, deferral off by default) is NOT taken: main's default is the deferral on, and flipping it would change main's behaviour; the opt-out LELEKA_SERVE_ADAPT_DEFER=off already exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 23:59:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b49c9eb56b Merge claude/baseline-pair: paired interleaved ours-vs-vanilla tooling (sampler, analysers) and results: ours level with vanilla average (143.4 vs 145.4/142.1 tok/s, n=11/6/16), far steadier; vanilla drift partly explained by THP after ours runs. Part c (main 11e021161) queued
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 23:00:16 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b16a40656f docs: baseline-pair page (balanced ours-vs-vanilla, machine-state record, THP predecessor effect)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 22:59:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a6fa596f62 docs: cpu-service page (window attribution, register-built IQ3 single-token dot + vectorized scan: bitwise 353/353, +6.34% tok/s / -0.27 ms/round over 5 blocks; open cache neutral; pcie 0.35 negative; harness runs pcie 0.55)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 21:38:37 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8c8c6725d7 Merge claude/codex-lossy-delta: four-variant Codex lossy-delta harness (tasks, logging proxy, index) and results record; 72-cell matrix done, ours lossy vs lossless +0.6% rounds (n=3, resolution ~35%), vanilla early-stop confound documented
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 17:52:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 61fb6ac215 docs: footprint3 page (alias and reserve-130 A/B, MTP dense sharing, placement gate PASS)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 10:33:58 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a002eef9ae docs: codex lossy-delta execution record
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 09:15:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4a1b9bfec7 Merge claude/slots-footprint2: free 1,084 MiB VRAM (unused MTP pack bank, lazy legacy QSA key mirrors); 11,568 -> 12,144 expert slots, +1.75% paired tok/s (n=3), bit-identical at equal slots; LELEKA_FOOTPRINT_LEGACY=1 restores. Placement-class gate on the larger cache still to run
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:49:06 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 745c0ad0db docs: footprint2 measurements (paired A/B, identity at an equal slot count)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:48:45 +01:00