Pavlo Ratushnyi and Claude Sonnet 5.5
04287257f2
Speed program: split the profile kernel test under the 30-line limit; limits baseline lowered
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:34:16 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b686f6ab75
STRA-338: rename the 854 mechanically named modules (impl_*, *_fn, *_<N>) after what they hold; mechanical_names census 854 -> 0
...
git mv of the files and of the module directories next to them, mod declarations, #[path] attributes and
the paths that name the modules, rewritten by scripts/dev/rename_mechanical.py from a reviewed name table.
Two files lost one to two lines so the 400-line limit holds again (qsa_prompt_index, original_verify_expert_probe).
limits-baseline.json: test fn_lines 0 -> 1 is --allow-increase for crates/deploy builtin_profiles.rs:149 (37 lines,
the speed-vs-strata session's file, not touched here); the prod params census falls 108 -> 1 (w_launch, extern C ABI).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 13:43:56 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
8f38a5fc91
STRA-338 params: split three files over 400 lines, regenerate architecture and limits baselines (params census 1149 -> 108)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 03:31:21 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4b04c24981
STRA-338: limits gate gets the params metric (max 5 parameters, self counted): scanner, diff gate, census baseline, tests, doc
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 23:54:40 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
bd18c91065
STRA-338: archcheck test_only_modules within the limits; limits census at zero
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 17:39:39 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
5ba57146ed
STRA-338: deploy USAGE wide lines wrapped with string continuations (cooked bytes identical), archcheck python within the limits, baselines at zero
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 17:37:52 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d9264eda11
STRA-338: last limits fixes (3 native-cpu-expert items), baselines tightened
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 17:34:57 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
5b77c18213
Merge claude/hexagonal-integ (size4-d/e/g/n1) into the finish branch; size3 slices and nce kept; conflicts in their crates resolved to their side
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 09:56:51 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
34a454ffe1
STRA-338: libc-shim keeps its process-global count (statics stay function-local); baselines tightened
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 09:52:53 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9fe547cc4f
STRA-338: tighten limits baseline after size4-d/e/g merges
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 09:47:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4293f419a9
Merge origin/claude/hexagonal-size-gw into claude/size4-g (allowlist merged by key)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 09:22:00 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a4ff37b968
Merge claude/hexagonal-size-nce-g (igpu conflicts resolved with the size-gw versions), baselines tightened
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 09:14:07 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
2ad4b61622
Merge origin/claude/hexagonal-size-gw into hexagonal-integ (allowlist taken from size-gw: 1 entry)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 09:12:50 +01:00
Pavlo Ratushnyi
758f72b2a9
STRA-338 size2: merge slice en3 (conflict in moe_activation_reuse_gpu resolved with the en4 version), baselines
2026-11-06 23:45:35 +01:00
Pavlo Ratushnyi
2d25958e42
STRA-338 size2: merge of the 14 function-size slices; seven files over 400 lines split again, baselines regenerated (dyn-trait ratchet raised by helper parameters that repeat an existing &dyn seam, allowlist gets the legacy functions the splitter moved)
2026-11-06 23:36:21 +01:00
Pavlo Ratushnyi
f1723b582d
STRA-338 size-fn2: allowlist 133 -> 1 entry, baselines tightened, cpu-sys attention test helpers moved to tests/attention/kernel_checks.rs (file back under 400 lines, test ids unchanged), size-fn record of pass 2
...
Census of these crates: production fn>30 17 -> 2 (igpu gemm WGSL, OpenVino::load FFI table), cx>10 11 -> 0, wide 449 -> 38
(33 USAGE lines of the deploy --help text, 5 WGSL lines); test fn>30 122 -> 0, cx>10 3 -> 0, nesting>4 4 -> 0, wide 150 -> 0.
2026-11-06 21:52:37 +01:00
Pavlo Ratushnyi
a337119255
Merge remote-tracking branch 'origin/claude/hexagonal-size-gw' into claude/hexagonal-integ
2026-11-06 21:30:32 +01:00
Pavlo Ratushnyi
0e3216bf45
STRA-338 size (fix): review findings of the size splits: native_prompt_device finish phases keep the failure path on a poisoned workspace, the DBG window and nan-guard log lines are one line again, with_qsa_moe binds QSA before MoE as before
2026-11-06 21:02:00 +01:00
Pavlo Ratushnyi
b8765786b7
STRA-338 size-fn: fetch_steps within the limits, allowlist 429 -> 133 entries (fixed functions dropped, 18 unfinished desktop-core functions recorded), baselines tightened, size-fn record
2026-11-06 19:16:24 +01:00
Pavlo Ratushnyi
a9ec61606a
STRA-338 size: baselines after merging engine a-m round three
2026-11-06 17:11:49 +01:00
Pavlo Ratushnyi
5e6e440faf
STRA-338 size: backend-api lib.rs split (756 -> 338): the repo has no .rs file over 400 lines; baselines tightened
2026-11-06 17:10:34 +01:00
Pavlo Ratushnyi
03c48a84d1
Merge remote-tracking branch 'origin/claude/hexagonal-size-gw' into claude/hexagonal-integ
2026-11-06 16:39:28 +01:00
Pavlo Ratushnyi
29b6fe3463
STRA-338 size: baselines after merging cuda-driver n-z round two
2026-11-06 16:35:39 +01:00
Pavlo Ratushnyi
0c594d351f
STRA-338 size-rest: split record, render_request_with entry within 30 lines, allowlist of functions moved verbatim, baselines re-run
...
docs/architecture/size-split-rest.md records the mapping of the 24 oversize files and the test-id parity (27 crates, 0
missing / 0 new / 0 outcome changes on Linux). render_request_with now delegates the template call to render_messages
(gateway-domain fn>30 16 -> 15, cx>10 13 -> 12). limits-allowlist.json gains 80 entries (owner STRA-338, reason "moved
verbatim ... not yet decomposed"); limits-baseline.json and architecture-baseline.json re-run with --update-baseline
(no total raised). Oversize files in the crates of this batch: 0.
2026-11-06 16:33:36 +01:00
Pavlo Ratushnyi
2ae8d47a00
Merge branch 'claude/size-eng-nz2' into claude/hexagonal-integ
2026-11-06 16:10:41 +01:00
Pavlo Ratushnyi
25d5066d66
STRA-338 size: engine generate_mtp tile_parts split, wide lines wrapped, baselines tightened
2026-11-06 16:10:17 +01:00
Pavlo Ratushnyi
cbe83aac90
Merge branch 'claude/size-cd-am2' into claude/hexagonal-integ
2026-11-06 16:09:46 +01:00
Pavlo Ratushnyi
710dadb648
STRA-338 size: limits baseline tightened after the cuda-driver a-m round 2
2026-11-06 16:09:11 +01:00
Pavlo Ratushnyi
5628289171
STRA-338 size-deploy: merge origin/claude/hexagonal-integ ( d0b2b633b); architecture baseline re-run with --update-baseline, limits baseline re-run (allowlist 349 entries)
2026-11-06 15:55:35 +01:00
Pavlo Ratushnyi
b495f972d9
STRA-338 size-deploy: Profile::validate and resources::compute within the limits (one function per rule / per sizing stage, messages unchanged); oversize files 0; fn>30 101/89, cx>10 48/0, nesting>4 7/0, wide lines 305/63; 220 tests, ids and outcomes unchanged
2026-11-06 15:52:19 +01:00
Pavlo Ratushnyi
38e570872a
STRA-338 size-deploy: mechanical child modules renamed after what they hold, export lines compacted, split recorded in docs/architecture/size-split-deploy.md; oversize files 0; fn>30 103/89, cx>10 50/0, nesting>4 7/0, wide lines 339/63; 220 tests, ids and outcomes unchanged
2026-11-06 15:46:38 +01:00
Pavlo Ratushnyi
95676884b4
STRA-338 size-deploy: every .rs file of leleka-deploy within 400 lines (15 oversize files split into named modules; preflight and plan steps decomposed into one function per check/step); crate census oversize files 15 -> 0; fn>30 105/89 -> 103/89, cx>10 53/0 -> 50/0, nesting>4 7/0, wide lines 387/67 -> 339/63; 220 tests, ids and outcomes unchanged
2026-11-06 15:38:57 +01:00
Pavlo Ratushnyi
c540944ceb
STRA-338 size: baselines after merging the a-m engine round two
2026-11-06 15:13:57 +01:00
Pavlo Ratushnyi
cc2d496d9a
Merge remote-tracking branch 'origin/claude/hexagonal-size-gw' into claude/hexagonal-integ
2026-11-06 15:12:34 +01:00
Pavlo Ratushnyi
a5078a9c84
STRA-338 size-gw: 6 more production functions within the limits; doc comments and cfg attributes given back to the functions they belong to
...
settings_from, planner candidate, request_monitor begin and render, PrefixView::prefix_match and settings_post now use
helpers. Earlier helper insertions had taken the doc comment (or, for validate_auto, the #[cfg(unix)]) of the function
below them: restored for tool_markup, decode_tensor_row, read_events, one_layer, model_control_prelude,
check_activation_link, validate_auto and finish; the unix-only helpers carry the same #[cfg(unix)] (checked with a
Windows host `cargo check`, which shows no new warning in the two crates).
Test ids: 543 before and after, 0 missing, 0 outcome changes; warnings in the two crates 0 (Linux).
Counts (strata-control / strata-desktop-core), functions over 30 lines / complexity 10 / nesting 4 / wide lines, prod:
151/123/17/185 -> 146/122/17/185 and 63/56/6/52 -> 62/56/6/52.
2026-11-06 15:01:37 +01:00
Pavlo Ratushnyi
51e92a355c
STRA-338 size: baselines after merging the n-z engine splits
2026-11-06 15:00:25 +01:00
Pavlo Ratushnyi
a38f76a3aa
STRA-338 size: fmt and baselines after merging the cuda-driver a-m and prefill-chunk follow-ups
2026-11-06 14:46:57 +01:00
Pavlo Ratushnyi
5aec574627
STRA-338 size: baselines regenerated after merging model-format and proof splits
2026-11-06 14:36:49 +01:00
Pavlo Ratushnyi
83565a456b
STRA-338 size-gw: 11 more production functions of control-plane and desktop-core within the limits (helpers extracted, behaviour unchanged)
...
Vision::encode, StdioTransport::request, handle_cancel, RuntimeServer::{serve,reserve}, finish (legacy done line wrapped
with a string continuation, text unchanged), event_to_proto, ResponseHistory::insert_with_limit, ToolStream::{text,
finish_text} (json! bodies wrapped, key order unchanged), cuda_memory::inventory, HarmonyDecoder::translate and
Server::call.
Test ids: 543 before and after, 0 missing, 0 outcome changes; warnings in the two crates 0.
Counts (strata-control / strata-desktop-core), functions over 30 lines / complexity 10 / nesting 4 / wide lines, prod:
158/127/17/194 -> 151/123/17/185 and 67/58/6/54 -> 63/56/6/52.
2026-11-06 14:30:18 +01:00
Pavlo Ratushnyi
8e8befdeb4
Merge branch 'claude/size-core' into claude/hexagonal-integ
2026-11-06 14:30:12 +01:00
Pavlo Ratushnyi
3623a6d503
STRA-338 size: leleka-engine-core: split test helpers (Pools::new, world, World::request, golden layer layouts)
2026-11-06 14:29:29 +01:00
Pavlo Ratushnyi
69f5e081aa
STRA-338 size: leleka-engine-core: tighten the limits baseline after the adaptive doc wrap
2026-11-06 14:25:49 +01:00
Pavlo Ratushnyi
6f201929bb
STRA-338: merge claude/size-cd-nz (QsaPromptIndexWorkspace::run, native_head::dispatch, expert stager, PLE queues, verifier run split into phase helpers); baselines regenerated
2026-11-06 14:24:53 +01:00
Pavlo Ratushnyi
fbc7e82596
STRA-338 size: leleka-engine-core: split begin_request/park_current, adaptive choose/observe/draft_plan, prefix store admission/scoring/eviction, K/V layout/save/verify, snapshot, state, prompt plan (production fn_lines/complexity/width to 0; test helpers still pending)
2026-11-06 14:20:44 +01:00
Pavlo Ratushnyi
627e190392
STRA-338 size: baselines after merging the cuda-driver hot-path splits
2026-11-06 14:20:41 +01:00
Pavlo Ratushnyi
ae3b1e5fa6
STRA-338 size: baselines tightened after the cuda-driver n-z function splits
2026-11-06 14:19:36 +01:00
Pavlo Ratushnyi
59916c1b67
STRA-338: merge claude/size-eng-am (step_core, moe_group_chunk project_group*, execute_bound split into helpers); limits baseline regenerated on the merged tree
2026-11-06 14:13:13 +01:00
Pavlo Ratushnyi
3799155c04
STRA-338 size: engine moe_group_chunk: shared group helpers move to project_group_shared_fns (file size)
2026-11-06 14:09:02 +01:00
Pavlo Ratushnyi
ba93550022
STRA-338 size-gw: 22 test functions of control-plane and desktop-core within the limits; the size split recorded in docs/architecture
...
Helpers extracted from test functions that were moved verbatim by the split (their allowlist entries are gone):
native_pack one_layer, service_install unix tests, request_monitor streams, vision fetch, config control_vector_file,
kar_writer, node_reconnect launch, worker lifecycle, model hub token, kar_codec f16, the backend_worker_http prompt
limits, wire gen lines, lifecycle admission, service_switch journal, node_contract proxy, memory_gate reconfigure,
the ggml Q6/Q2 block builders, gguf_f32_stream IQ3/IQ4 truncation and the control-token rendering test.
docs/architecture/size-split-control-plane-desktop-core.md records where every oversize file went and how test ids moved.
Test ids: 543 before and after, 0 missing, 0 outcome changes; warnings in the two crates 0.
2026-11-06 14:07:28 +01:00
Pavlo Ratushnyi
47918757f4
STRA-338 size: limits census recorded after the prefill-chunk / prompt-executor split (fn_lines +19, complexity +2: the 857- and 492-line bodies are now phase helpers of 30-60 lines, one step short of the limit; the next pass finishes them)
2026-11-06 14:02:07 +01:00