6f1e20e4e1
STRA-338 size: cuda-driver qsa_prompt_index: split run phases into run_phases and run_launches, helpers within limits
Pavlo Ratushnyi2026-11-06 13:41:45 +01:00
75457cd918
STRA-338 size: model-format: kar inspect_file split into header, records, nested (fn_lines 232->30, complexity 93->10)
Pavlo Ratushnyi2026-11-06 13:35:19 +01:00
0d7f2f1140
STRA-338 size: move the plain pub use re-exports of the crate root into root_exports.rs
Pavlo Ratushnyi2026-11-06 13:33:28 +01:00
9592d92148
STRA-338 size: scripts/limits-offenders.py lists the production functions over the limits, longest first
Pavlo Ratushnyi2026-11-06 13:30:59 +01:00
a06cb92cd1
STRA-338 size-gw: merge e15ca2ae8 (hexagonal-integ) into the size-gw branch; baselines re-run with --update-baseline
Pavlo Ratushnyi2026-11-06 13:32:19 +01:00
7eb0628742
STRA-338 size: scripts/limits-offenders.py lists the production functions over the limits, longest first
Pavlo Ratushnyi2026-11-06 13:30:59 +01:00
e4c83e6af8
STRA-338 size: scripts/limits-offenders.py lists the production functions over the limits, longest first
Pavlo Ratushnyi2026-11-06 13:30:59 +01:00
0b9430e2db
STRA-338 size: scripts/limits-offenders.py lists the production functions over the limits, longest first
Pavlo Ratushnyi2026-11-06 13:30:59 +01:00
1f8effb97e
STRA-338 size-gw: 25 production functions of control-plane and desktop-core brought within the limits (helpers extracted, behaviour unchanged)
Pavlo Ratushnyi2026-11-06 13:30:31 +01:00
9b3620d204
STRA-338 size: split the sm_86 companion table into five row files joined at compile time
Pavlo Ratushnyi2026-11-06 13:29:35 +01:00
70a907a58b
STRA-338 S12: the seal tooling follows the split symbols table and knows chain_window.ptx is sealed (repin_expect); the fake-seal test now gets past chain_window and mtp_original_full_head_native
Pavlo Ratushnyi2026-11-06 13:26:37 +01:00
ad87e5b57d
STRA-338 size: scripts/dev/split_types.py moves the types, consts and statics of oversize files into child modules (12 more files split; width census +750 and test census +10 are the restored compact data tables and the reflow, nothing added); 1793 tests listed before and after
Pavlo Ratushnyi2026-11-06 13:16:11 +01:00
7610ba3568
STRA-338 size-gw: the 19 oversize files of control-plane and desktop-core split by topic (no file over 400 lines); mechanical child modules renamed
Pavlo Ratushnyi2026-11-06 13:13:59 +01:00
ab4280a3df
STRA-338 size: data tables keep their compact form (rustfmt::skip: 1719/2051/1905 -> 933/259/360 lines), kernel_ab example becomes a directory example split into 13 modules (3992 -> 1635 in main.rs)
Pavlo Ratushnyi2026-11-06 13:05:10 +01:00
cdfec56460
STRA-338 size: the engine crates are rustfmt-clean at 120 columns (per-crate rustfmt.toml: max_width 120, Max heuristics); width violations 6869 -> 2862 prod, 1273 -> 717 test; files that grew are re-split. Reasons for the raised census numbers: fn_lines +119 and complexity +14 are functions that cross 30 lines / 10 branches only because rustfmt put their one-line bodies on several lines (nothing was added); test lists identical (1793), 800 tests pass, the same 5 known failures; bring-up print gate lookback 20 -> 30 lines for the same reason
Pavlo Ratushnyi2026-11-06 13:03:51 +01:00
a9d80333b4
STRA-338 size: large inline modules of 15 engine-crate files move to files (extract_modules.py now emits #[path] only for files that are themselves loaded through #[path]); test lists identical (1793). Ratchets raised with reason: path-include +3 cuda-driver, +4 engine, +7 model-format... are the child declarations of files that sit under a #[path]-loaded parent (their children cannot be found otherwise); the follow-up that removes them is turning those parents into directory modules
Pavlo Ratushnyi2026-11-06 12:53:35 +01:00
adf65a53b9
STRA-338 size: 28 oversize test files of the engine crates split by topic with scripts/dev/split_tests.py (tests keep their names, gain a topic module; 1793 tests listed before and after, same leaf names; baseline tightened: 121 -> 98 oversize files)
Pavlo Ratushnyi2026-11-06 12:41:45 +01:00
171a194c8c
STRA-338 size-gw: the bring-up print gate test is back within the limits (census test scope fell below its baseline)
Pavlo Ratushnyi2026-11-06 12:34:46 +01:00
b3c78c4d26
Merge commit '412d9a48a' into claude/hexagonal-smoke
Pavlo Ratushnyi2026-11-06 12:27:53 +01:00
8934a1616a
STRA-338 S22: smoke inventory follows the moved tests: helpers split into child modules stay visible, every smoke has a declared group, packages of engine-core, model-format and deploy are named, the table is regenerated
Pavlo Ratushnyi2026-11-06 12:27:34 +01:00
8890db316b
STRA-338 S26: docs/architecture/hexagonal.md (layers, ports, how to add an engine family, gates, evidence rules, state after S22); tech-debt.md records S19 to S22 and corrects statements they made stale; AGENTS.md and README.md link the page
Pavlo Ratushnyi2026-11-06 11:57:26 +01:00
b27dbeaf88
STRA-338 S26: scripts and documented commands that ran tests of the moved engine now name leleka-engine-qwen35-cuda (leleka-runtime is a facade with no tests); test binaries are found as leleka_engine_qwen35_cuda-<hash>; smoke inventory groups follow the crate directory
Pavlo Ratushnyi2026-11-06 11:57:14 +01:00
ac50c32f31
STRA-338 S26: CI coverage list names the engine crates (leleka-engine-core, leleka-engine-fake, leleka-engine-qwen35-cuda) and leleka-gateway-domain; scripts/check-ci-coverage.py was red on the S22 tip
Pavlo Ratushnyi2026-11-06 11:43:58 +01:00
412d9a48af
STRA-338: merge the STRA-367 limits gate (claude/hexagonal-integ-lints) into the integration; check-local.sh keeps both the engine-crate package names and the limits steps
Pavlo Ratushnyi2026-11-06 11:39:49 +01:00
a4ceeab69c
STRA-338 S22: the Qwen3.5 CUDA engine moves to the adapter crate leleka-engine-qwen35-cuda (L3, edges to cuda-driver, model-format, native-cpu-expert declared); leleka-runtime is a one-line facade over it; scripts, CI and the baseline follow the path. Test fixes found on the way: the digest pin test reads backend/config.rs, the bring-up print gate understands rustfmt-split cfg attributes and the settings snapshot guards
Pavlo Ratushnyi2026-11-06 11:34:15 +01:00
a8f1d11e64
STRA-338 S21: the CI coverage list and the product test step include leleka-gateway-domain
Pavlo Ratushnyi2026-11-06 11:29:46 +01:00
48b2ce9f4c
STRA-367: docs/architecture/limits-gate.md (rules, measures, allowlist, census, decision) and the legacy sites of tech-debt.md linked to allowlist entries
Pavlo Ratushnyi2026-11-06 11:26:26 +01:00
054b57bec8
STRA-367: opt-in Clippy ratchet for too_many_lines, cognitive_complexity and too_many_arguments; limits gate in check-local --product
Pavlo Ratushnyi2026-11-06 11:26:22 +01:00
e049e24fe3
STRA-338 S20: EngineFamily seam in leleka-engine-core, Qwen35Cuda family in leleka-runtime, the scripted engine as leleka-engine-fake; the inference binary and the full-chain test start their engines through spawn::<F>. Ratchets raised by the Box<dyn Backend> signatures of the seam (core +2, fake +1, runtime +1) and 2 test lines: the Backend trait object is the process boundary the gRPC server already held
Pavlo Ratushnyi2026-11-06 11:20:57 +01:00
58e3d864e1
STRA-338 S19e: admission, the stop set, ServeError<E> and the sequencing of one request (run_request over Lifecycle, generic, no trait object) move to leleka-engine-core::request; the runtime's owners reach it through a thin adapter
Pavlo Ratushnyi2026-11-06 11:12:25 +01:00
8987e9ab06
STRA-338 S19d: the draft policy and the adaptive window policy move to leleka-engine-core::spec; LELEKA_SPEC_* parsing stays in the runtime (free function), SpecError converts to contract::Error
Pavlo Ratushnyi2026-11-06 11:05:47 +01:00
93afb07bfb
STRA-338 S19c: the conversation policy (cache, manager, snapshot, kv, state, model, binding) moves to leleka-engine-core::conversation; the 17 dyn-trait uses and 3 oversize test files move with it (runtime 68 -> 51, core 0 -> 17: a transfer, not growth); SessionDevice::available_memory becomes required, OriginalDevice reads the governor as before
Pavlo Ratushnyi2026-11-06 11:02:14 +01:00
d717c69777
STRA-338 S19b: the Original prompt plan moves to leleka-engine-core::prompt; the serving-context cell bound is a separate constructor the runtime calls
Pavlo Ratushnyi2026-11-06 10:57:41 +01:00
38eb771a44
STRA-338 S19a: the cross-session prefix cache and the pure memory admission move to the new leleka-engine-core crate (L2); leleka-runtime re-exports them under the old paths
Pavlo Ratushnyi2026-11-06 10:54:33 +01:00
fc591f4e96
STRA-338: integrate the gateway G track (S21 protocol in gateway-domain, S6 rest, S7 serve phases) into the hexagonal integration
Pavlo Ratushnyi2026-11-06 01:46:01 +01:00
e765c06ae3
STRA-338 S7: last_activity at the start and end of a request reads the request's clock
Pavlo Ratushnyi2026-11-06 01:36:49 +01:00
c0f6888310
STRA-338 S21: the pure part of the Anthropic Messages adapter moves to leleka-gateway-domain
Pavlo Ratushnyi2026-11-06 01:29:57 +01:00
4394ac3337
STRA-338 S21: the Harmony prompt of a gpt-oss request moves to leleka-gateway-domain
Pavlo Ratushnyi2026-11-06 01:21:16 +01:00
339a4c82cc
STRA-338 S7: the request record and the worker request stamps read the Clock port
Pavlo Ratushnyi2026-11-06 01:13:30 +01:00
a0052cda6c
STRA-338 S7: serve() is a list of phase functions (state, engine, http children), none over 30 lines
Pavlo Ratushnyi2026-11-06 01:12:37 +01:00
5d2564f4ff
STRA-338 S6: control-plane/src/responses.rs children named by responsibility (intake, create, route, history, resources, errors, tool_recovery, reasoning, render)
Pavlo Ratushnyi2026-11-06 01:00:33 +01:00
3aa96fbf0e
STRA-338 S21: the pure Responses protocol moves from strata-control to leleka-gateway-domain
Pavlo Ratushnyi2026-11-06 00:50:30 +01:00
02b5aedc23
STRA-338 S21: golden fixture of the pure Responses protocol (validation, prompt rendering, response trace, tool-call parsing), recorded from the code before it moves
Pavlo Ratushnyi2026-11-06 00:39:42 +01:00
17296a58fd
STRA-338: integrate engine S18 (WeightSource port, one migrated load phase) into the hexagonal integration
Pavlo Ratushnyi2026-11-06 00:30:15 +01:00
6164880902
STRA-338 S18: numbers of the S18 check in tech-debt.md
Pavlo Ratushnyi2026-11-06 00:29:44 +01:00
e0b4757683
STRA-338 S18: KarInspection and the sealed archive as WeightSource, WeightRange for the KAR stager, S18 notes in tech-debt.md
Pavlo Ratushnyi2026-11-06 00:29:31 +01:00
f8f6d780e2
STRA-338 S18: WeightSource port in leleka-model-format (borrowed regions, identity, digest), file, GGUF shard and resident-tensor adapters, in-memory double; the ranked profile is read through it
Pavlo Ratushnyi2026-11-06 00:15:11 +01:00
71ab80d018
STRA-338 S3: arch-install.sh can install a named second candidate (CAND_NAME) beside the one queued jobs read
Pavlo Ratushnyi2026-11-06 00:07:35 +01:00
18b4647d4d
STRA-338: integrate engine S15 (ServeDevice seam, fake request-lifecycle device) into the hexagonal integration
Pavlo Ratushnyi2026-11-06 00:01:28 +01:00
c3aa7c2703
STRA-338 S15: ServeDevice seam for the request layer, scripted FakeDevice and lifecycle tests on the real generate and run_request
Pavlo Ratushnyi2026-11-06 00:00:42 +01:00
b262abbc2c
STRA-338: integrate engine S14 (Clock and MemoryPressure ports) into the hexagonal integration
Pavlo Ratushnyi2026-11-05 23:34:06 +01:00
b19b83dff3
STRA-338 S14: Stopwatch for the prefix cache retention scale, PrefixServe::new keeps its size, S14 notes in tech-debt.md
Pavlo Ratushnyi2026-11-05 23:32:14 +01:00
2cc7b11fb3
STRA-338 S14: admission tests on the scripted host
Pavlo Ratushnyi2026-11-05 23:24:12 +01:00
e4340f077d
STRA-338 S14: the GPU ordinal reaches the telemetry sampler through Run, not a process static
Pavlo Ratushnyi2026-11-05 23:23:01 +01:00
1d94c7b378
STRA-338 S14: request, sweep and retention timing read an injected Clock in leleka-runtime
Pavlo Ratushnyi2026-11-05 23:21:04 +01:00
117378198b
STRA-338 S14: Clock port in leleka-obs and MemoryPressure port in leleka-memory
Pavlo Ratushnyi2026-11-05 22:59:48 +01:00
3179309127
STRA-338: integrate engine S13 (Settings port, EnvSource) into the hexagonal integration
Pavlo Ratushnyi2026-11-05 22:49:10 +01:00
348e52bb1e
STRA-338 S13: merge claude/hexagonal-integ, tighten the architecture baseline after the Settings port
Pavlo Ratushnyi2026-11-05 22:43:29 +01:00
fe6fc3313a
STRA-338 S13: CPU pool settings grouped, golden tests for the strict parsers, S13 notes in tech-debt.md
Pavlo Ratushnyi2026-11-05 22:41:13 +01:00
c347d46b80
STRA-338 S13: diagnostics settings, and the ratchets follow modules declared inside test-only files
Pavlo Ratushnyi2026-11-05 22:41:12 +01:00
5119cc812a
STRA-338 S2: round transcripts of the speculative controller through the fake device as goldens (5 scenarios)
Pavlo Ratushnyi2026-11-05 22:34:34 +01:00
ecc774a530
STRA-338 S17: inline modules of the cuda-driver root and FFI files move to files, lib.rs and ffi/enabled.rs split by responsibility
Pavlo Ratushnyi2026-11-05 22:28:30 +01:00
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)
Pavlo Ratushnyi2026-11-05 21:51:28 +01:00
4e15092579
STRA-338: integrate the gateway track (S16, S7, S21) into the hexagonal base
Pavlo Ratushnyi2026-11-05 21:50:40 +01:00
82d31e68da
STRA-338 S13: the source ratchets also skip an inline module under a test cfg
Pavlo Ratushnyi2026-11-05 21:44:34 +01:00
a389ebb0eb
STRA-338 S13: the source ratchets count production code only, not modules compiled for tests
Pavlo Ratushnyi2026-11-05 21:43:43 +01:00
2be88ede85
STRA-338 S13: re-baseline the architecture gate for the kar-off-ab integration growth
Pavlo Ratushnyi2026-11-05 21:40:38 +01:00