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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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
Pavlo Ratushnyi and Claude Sonnet 5.5
ff44dd606b
e2e codex-delta: plan doc, matrix job generator, browser check helper
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:35:27 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3b0fec1b75
scripts+docs: footprint2 paired A/B and identity jobs, VRAM footprint second pass page
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:01:03 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
e1bd61f59b
Merge claude/draft-vocab: opt-in LELEKA_DRAFT_VOCAB (default off). Identity 353/353 rows, 0 flips; paired A/B +0.08% tok/s: no speed claim
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 22:42:10 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
0cb0488665
docs: models-move root cause of the Shard0 failure (damaged copy after NVMe write aborts), direct-IO verification
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 05:01:38 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d6fc908641
scripts, docs: draft-vocab paired A/B and identity jobs, upstream findings and port notes
...
* scripts/e2e/decode/draftvocab-ab.sh: speedtrain3-ab shape, one binary in every arm, counterbalanced
base/en order, arms dv-base, dv-en, dv-en-eqslots; spec-stats give tokens per round, accepted/offered and
the accepted-length histogram; validity rejects fallback, missing or unexpected draft-vocab log lines
* scripts/e2e/decode/draftvocab-id.sh: teacher-forced replay with LELEKA_ORIGINAL_SERVE_RT_DIR set (the older
identity jobs draft over the full head), A/A floor, en against default, optional LELEKA_SPEC=3 control
* docs/experiments/2026-10-30-draft-vocab-en.md: what upstream does (format, digests, selection, default off),
our status, the port, expectations, what is not verified
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 03:29:07 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
5e4c9c9530
models: all model paths point into the work folder (models/leleka-gates, models/deepseek-v41-flash)
...
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 >
2026-10-29 19:12:29 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
24c2743c3d
docs: speedtrain3-id PASS
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 14:42:04 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a28c0c316b
docs: dt-id2 PASS (engine commits and PLE fix bit-identical to base on 353 rows, adaptive tier on)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 14:41:56 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3fe64f384d
docs: headline table, speed-train3 against speed-train and vanilla (2 alternating runs each, all valid)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 12:40:23 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b63a91b2fa
deploy: rtx5090-32g gpu_budget_bytes 30 GiB -> 32,819,404,800 (31,299 MiB) so the dense-slab slot gain reaches the product
...
Needed for the slot gain: the slabs save physical bytes the Context never charged, so the
budget must rise by about that much. Smoke with this budget: ~11,568 slots, lowest free VRAM
1,035 MiB. Also the systemd unit template, the config and reconfigure tests, and the docs.
Preflight now needs 31,299 MiB free at start (was 30,720; idle 5090 reports 32,110).
Revert by restoring 32212254720. Owner confirmation required before merge.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 11:59:55 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
6e12104616
docs: slots-footprint-ab2 result (fixed planner: 11,568 slots, 135.7 vs 130.3 tok/s, n=2, not interleaved)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 11:56:36 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
83df1cfa7f
Merge claude/slots-footprint ( eef6f598, planner fix) into speed-train3
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 11:12:30 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
eef6f598b4
decode reserve back to 300 MiB (130 stays opt-in), A/B job: budget 31,300 MiB, RUN_TAG, slots-res130 arm; docs: the failed first A/B and its fix
...
The reserve cut was not the cause (the budget was) but it is unproven on the card; per the conservative rule only the slab ships by default. The job runs
both arms with E2E_GPU_BUDGET 31,300 MiB (the slab's savings need budget headroom; the base is card-bound at either value) and RUN_TAG lets a rerun sit beside the
earlier run directories.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 11:07:46 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3ec764c588
docs: slots-footprint-ab result (slots build fails every request with BudgetExceeded; base arms valid)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 11:03:59 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4f77d76257
docs: dt-id2 (identity of the engine commits) is queued, not yet read
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 10:42:57 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
f762fc5502
Merge claude/draft-tail into speed-train2
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 10:36:06 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
2d38ffb1c5
Merge claude/slots-footprint into speed-train2
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-29 10:36:01 +01:00