Commit Graph

  • 8c75d48e9b STRA-338 size: engine moe_group_chunk execute_bound: admission, scope, upload/prepare, BoundRows phases (fn_lines 242 -> see offenders) Pavlo Ratushnyi 2026-11-06 13:49:15 +01:00
  • c2265eb31b STRA-338 size: model-format: kar verify_with, integrity pass and row reads split (fn_lines 128->30, complexity 50->10) Pavlo Ratushnyi 2026-11-06 13:49:01 +01:00
  • f021ce73cb STRA-338 size: cuda-driver mmq_original_ring Ring::new split into construction phases in ring_init (213 -> 19 lines) Pavlo Ratushnyi 2026-11-06 13:48:40 +01:00
  • cdb02d527f STRA-338 size: engine original_serve_stack: OriginalServeStack::open split into open_parts helpers (fn_lines 385 -> ~120) Pavlo Ratushnyi 2026-11-06 13:47:57 +01:00
  • 9daa1ddfa0 STRA-338 size: cuda-driver native_head dispatch: kernel names move into static tables, helpers per concern (fn_lines 323 -> 28) Pavlo Ratushnyi 2026-11-06 13:47:45 +01:00
  • 8e43ba3a2f STRA-338 size: cuda-driver MtpOriginalInt8::record_kv_only split into admit/stage/run/publish helpers (224 -> 28 lines) Pavlo Ratushnyi 2026-11-06 13:46:17 +01:00
  • e02f6ac9f6 STRA-338 size: model-format: gguf native head and resident loaders split into checks and helpers (fn_lines 74->30, complexity 26->10) Pavlo Ratushnyi 2026-11-06 13:45:37 +01:00
  • a7f64e092a STRA-338 size: engine moe_group_chunk project_group: ResidentGroup phases, shared descriptor/format helpers (fn_lines 233 -> 48) Pavlo Ratushnyi 2026-11-06 13:43:47 +01:00
  • 6abab96174 STRA-338 size: engine original_serve_stack: decode_phase split into decode_parts/serve_parts helpers (fn_lines 364 -> ~160) Pavlo Ratushnyi 2026-11-06 13:42:17 +01:00
  • 6f1e20e4e1 STRA-338 size: cuda-driver qsa_prompt_index: split run phases into run_phases and run_launches, helpers within limits Pavlo Ratushnyi 2026-11-06 13:41:45 +01:00
  • 2d993b642e STRA-338 size: engine moe_group_chunk project_group_direct: DirectGroup phases (fn_lines 184 -> 37) Pavlo Ratushnyi 2026-11-06 13:41:45 +01:00
  • 328c4624ef STRA-338 size: model-format: gguf cursor value readers, metadata snapshot builder, tokenizer validation, profile check (fn_lines 70->30, complexity 54->10) Pavlo Ratushnyi 2026-11-06 13:41:16 +01:00
  • 78f2ff83e7 STRA-338 size: cuda-driver OriginalMtpFullForward::prefix_commands split into phase helpers (321 -> 28 lines) Pavlo Ratushnyi 2026-11-06 13:40:55 +01:00
  • 8821381d02 STRA-338 size: cuda-driver ffi/enabled: mmq_original_group_function looks symbols up in a const table (306 -> 18 lines) Pavlo Ratushnyi 2026-11-06 13:40:54 +01:00
  • d33859362b STRA-338 size: cuda-driver mtp_original_full_head_dispatch: kernel-name tables as consts, selectors extracted (head_dispatch 323 -> 30 lines) Pavlo Ratushnyi 2026-11-06 13:40:54 +01:00
  • e1dd305480 STRA-338 size: split native_down_public_pair into arm and run modules, share the pair io Pavlo Ratushnyi 2026-11-06 13:40:48 +01:00
  • 08624f358e STRA-338 size: split run_resident_arena into plan, submit and check phases Pavlo Ratushnyi 2026-11-06 13:39:52 +01:00
  • edb8d790f2 STRA-338 size: engine moe_group_adaptive: split resident/miss partition, CPU job preparation, validation and upload helpers (fn_lines 218 -> 73) Pavlo Ratushnyi 2026-11-06 13:39:43 +01:00
  • e81f0950dd STRA-338 size: leleka-context + leleka-engine-fake: split resolve_context, rope fill/resolve/validate, plan estimate; wrap strings (context fn_lines 6->0, complexity 6->0, width 9->0; fake width 1->0) Pavlo Ratushnyi 2026-11-06 13:39:31 +01:00
  • b98b169cbd STRA-338 size: leleka-obs: split scrub/format/parse helpers, wrap long comments (fn_lines 5->0, complexity 4->0, nesting 1->0, width 7->0) Pavlo Ratushnyi 2026-11-06 13:39:30 +01:00
  • ac26f729ad STRA-338 size: model-format: gguf index parse shared by owned and provisional readers, block geometry table, open helpers (fn_lines 139->30, complexity 60->10) Pavlo Ratushnyi 2026-11-06 13:38:16 +01:00
  • 79f49258ae STRA-338 size: cuda-driver qsa_prompt_device_index: run_original_arena reuses the run phases (fn_lines 349 -> 31) Pavlo Ratushnyi 2026-11-06 13:37:44 +01:00
  • 6a6433cbe3 STRA-338 size: split native_down_candidate_only into shared pair io, arm, owner, run and proof modules Pavlo Ratushnyi 2026-11-06 13:37:11 +01:00
  • a5cd0e3924 STRA-338 size: engine executor step_core: per-layer phases into step_layer_fns (fn_lines 284 -> 45) Pavlo Ratushnyi 2026-11-06 13:36:48 +01:00
  • 1fdb1011cc STRA-338 size: cuda-driver qsa_prompt_index: run split into upload/plan/push/execute/check phases (fn_lines 363 -> 48) Pavlo Ratushnyi 2026-11-06 13:36:24 +01:00
  • c6eee4eab1 STRA-338 size: split OriginalPromptExecutor::forward into per-phase helpers Pavlo Ratushnyi 2026-11-06 13:35:42 +01:00
  • 75457cd918 STRA-338 size: model-format: kar inspect_file split into header, records, nested (fn_lines 232->30, complexity 93->10) Pavlo Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-11-06 13:26:37 +01:00
  • e15ca2ae82 Merge remote-tracking branch 'origin/claude/hexagonal-smoke' into claude/hexagonal-integ Pavlo Ratushnyi 2026-11-06 13:19:58 +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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-11-06 12:53:35 +01:00
  • 7a752b6d92 STRA-338 size: mock_driver, preflight probe, conversation tests, qwen artifact fixtures, obs lib and backend_original_serve split into child modules (94 oversize files left) Pavlo Ratushnyi 2026-11-06 12:44:05 +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 Ratushnyi 2026-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 Ratushnyi 2026-11-06 12:34:46 +01:00
  • b3c78c4d26 Merge commit '412d9a48a' into claude/hexagonal-smoke Pavlo Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-11-06 11:26:22 +01:00
  • 334af80d3d STRA-367: limits gate for lawbook 301 (function 30 lines, complexity 10, nesting 4, width 120) Pavlo Ratushnyi 2026-11-06 11:15:08 +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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-11-06 01:21:16 +01:00
  • 339a4c82cc STRA-338 S7: the request record and the worker request stamps read the Clock port Pavlo Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-11-06 01:00:33 +01:00
  • 3aa96fbf0e STRA-338 S21: the pure Responses protocol moves from strata-control to leleka-gateway-domain Pavlo Ratushnyi 2026-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 Ratushnyi 2026-11-06 00:39:42 +01:00
  • 17296a58fd STRA-338: integrate engine S18 (WeightSource port, one migrated load phase) into the hexagonal integration Pavlo Ratushnyi 2026-11-06 00:30:15 +01:00
  • 6164880902 STRA-338 S18: numbers of the S18 check in tech-debt.md Pavlo Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-11-06 00:07:35 +01:00
  • 18b4647d4d STRA-338: integrate engine S15 (ServeDevice seam, fake request-lifecycle device) into the hexagonal integration Pavlo Ratushnyi 2026-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 Ratushnyi 2026-11-06 00:00:42 +01:00
  • b262abbc2c STRA-338: integrate engine S14 (Clock and MemoryPressure ports) into the hexagonal integration Pavlo Ratushnyi 2026-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 Ratushnyi 2026-11-05 23:32:14 +01:00
  • 2cc7b11fb3 STRA-338 S14: admission tests on the scripted host Pavlo Ratushnyi 2026-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 Ratushnyi 2026-11-05 23:23:01 +01:00
  • 1d94c7b378 STRA-338 S14: request, sweep and retention timing read an injected Clock in leleka-runtime Pavlo Ratushnyi 2026-11-05 23:21:04 +01:00
  • 117378198b STRA-338 S14: Clock port in leleka-obs and MemoryPressure port in leleka-memory Pavlo Ratushnyi 2026-11-05 22:59:48 +01:00
  • 3179309127 STRA-338: integrate engine S13 (Settings port, EnvSource) into the hexagonal integration Pavlo Ratushnyi 2026-11-05 22:49:10 +01:00
  • 348e52bb1e STRA-338 S13: merge claude/hexagonal-integ, tighten the architecture baseline after the Settings port Pavlo Ratushnyi 2026-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 Ratushnyi 2026-11-05 22:41:13 +01:00
  • c347d46b80 STRA-338 S13: diagnostics settings, and the ratchets follow modules declared inside test-only files Pavlo Ratushnyi 2026-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 Ratushnyi 2026-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 Ratushnyi 2026-11-05 22:28:30 +01:00
  • dd584a09d6 STRA-338 S13: prefill, cache and prefix settings Pavlo Ratushnyi 2026-11-05 22:23:05 +01:00
  • 4e6a9c6c24 STRA-338 S13: memory and expert-tier settings Pavlo Ratushnyi 2026-11-05 22:19:05 +01:00
  • baf93de2e7 STRA-338 S13: serve and decode settings Pavlo Ratushnyi 2026-11-05 22:09:14 +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 Ratushnyi 2026-11-05 21:51:28 +01:00
  • 4e15092579 STRA-338: integrate the gateway track (S16, S7, S21) into the hexagonal base Pavlo Ratushnyi 2026-11-05 21:50:40 +01:00
  • 82d31e68da STRA-338 S13: the source ratchets also skip an inline module under a test cfg Pavlo Ratushnyi 2026-11-05 21:44:34 +01:00
  • a389ebb0eb STRA-338 S13: the source ratchets count production code only, not modules compiled for tests Pavlo Ratushnyi 2026-11-05 21:43:43 +01:00
  • 2be88ede85 STRA-338 S13: re-baseline the architecture gate for the kar-off-ab integration growth Pavlo Ratushnyi 2026-11-05 21:40:38 +01:00
  • 7699138a6e STRA-338 S5b: decompose serve_load into ordered phase functions Pavlo Ratushnyi 2026-11-05 21:39:26 +01:00
  • c434a97c7e STRA-338 S5a: unify the identity digest functions behind two helpers Pavlo Ratushnyi 2026-11-05 21:15:15 +01:00