Pavlo Ratushnyi
49bf8800a7
STRA-338 size-fn: strata-control: prepare_preview and model_pipeline functions within limits (fn>30 22 -> 0)
2026-11-06 17:22:37 +01:00
Pavlo Ratushnyi
024df6564e
STRA-338 size-fn: strata-control: model, request log/monitor, prometheus, pool, preflight and test helpers within the function limits
2026-11-06 17:14:22 +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
e183b1b237
Merge remote-tracking branch 'origin/claude/hexagonal-integ' into claude/hexagonal-size-gw
2026-11-06 16:29:32 +01:00
Pavlo Ratushnyi
0ad203f7d7
STRA-338 size-rest: tokenizer, gateway-text, gateway-domain, runtime-client, cpu-worker and experimental-ref within 400 lines per file
...
Oversize files before/after: tokenizer 1 -> 0 (lib.rs 840 into construction, encoding, decoding, bpe_merge, vocabulary),
gateway-text 1 -> 0, runtime-client 1 -> 0, cpu-worker 1 -> 0, experimental-ref 1 -> 0 (test files split by topic),
gateway-domain 1 -> 0: render_request_with (385 lines, complexity 93) became an entry function plus one function per
system message and one method per input item kind; messages, check order and rendered text unchanged (gateway-domain 17
tests and strata-control responses 72 tests pass).
Census prod/test (fn>30 / cx>10 / nesting>4 / wide lines): gateway-domain 16/3, 13/0, 6/0, 53/1 -> 16/3, 12/0, 5/0, 45/1;
runtime-client test 9 -> 6 long functions; experimental-ref test wide lines 58 -> 37; tokenizer, gateway-text and
cpu-worker unchanged. Test ids and outcomes unchanged.
2026-11-06 16:28:25 +01:00
Pavlo Ratushnyi
3be0bab601
STRA-338 size-rest: igpu, gptoss-igpu, gptoss-npu, openvino and shm within 400 lines per file
...
Oversize files before/after: igpu 2 -> 0 (lib.rs 1386 into 12 modules with the long Gpu and Recorder impls cut between
methods, shaders.rs 440 into WGSL constant modules), gptoss-igpu 1 -> 0, gptoss-npu 1 -> 0, openvino 1 -> 0,
shm 1 -> 0 (the unix and windows mapping code in their own files). unsafe blocks and SAFETY comments moved verbatim
(openvino 110 -> 110).
Census prod/test (fn>30 / cx>10 / nesting>4 / wide lines): igpu 12/12, 1/1, 0/0, 5/0 -> 10/12, 1/1, 0/0, 5/0;
gptoss-igpu, gptoss-npu, openvino and shm unchanged. Test ids and outcomes unchanged.
2026-11-06 16:28:25 +01:00
Pavlo Ratushnyi
c1e7c02d1e
STRA-338 size-rest: cpu-kernels, cpu-sys, gguf, gptoss and quant-core within 400 lines per file
...
Oversize files before/after: gptoss 2 -> 0 (lib.rs 1788 into 14 modules, synthetic_model.rs 922 into topic modules),
cpu-sys 2 -> 0 (lib.rs 1007, simd.rs 1503 with its inline x86 module split by kernel family), gguf 2 -> 0,
cpu-kernels 1 -> 0, quant-core 1 -> 0 (iq2s_grid.rs reflowed four entries per line, entries unchanged).
Modules are named after what they hold; public paths are re-exported unchanged; unsafe blocks and SAFETY comments moved
verbatim (cpu-sys 70 -> 70).
Census prod/test (fn>30 / cx>10 / nesting>4 / wide lines): cpu-sys 19/16, 3/0, 2/0, 5/2 -> 11/16, 3/0, 2/0, 3/2;
gptoss 13/16, 6/4, 1/0, 1/7 -> 12/14, 6/4, 1/0, 1/8; gguf 6/5, 6/0, 0/0, 3/1 -> 6/3, 6/0, 0/0, 3/1;
cpu-kernels and quant-core unchanged. Test ids and outcomes unchanged (recorded in docs/architecture/size-split-rest.md).
2026-11-06 16:28:24 +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
da5a67e773
STRA-338 size: cuda-driver GrMicrobatchRead::close_inner <= 30 lines
2026-11-06 16:06:07 +01:00
Pavlo Ratushnyi
49f9917a82
STRA-338 size: cuda-driver GrMicrobatchRead::inject split into admit/arguments/enqueue/complete (106 -> 18 lines)
2026-11-06 16:05:21 +01:00
Pavlo Ratushnyi
cd1d8c4c93
STRA-338 size: cuda-driver OriginalMtpDraftProgram capture/stage_round/write_mapped_round/finish_after_drain <= 30 lines, complexity <= 10
2026-11-06 16:02:49 +01:00
Pavlo Ratushnyi
685b779da1
STRA-338 size: engine produce_rows, retry settle trimmed
2026-11-06 16:00:00 +01:00
Pavlo Ratushnyi
48ae2be713
STRA-338 size: cuda-driver OriginalMtpForwardProgram capture/validate_flags/stage_coupled <= 30 lines, complexity <= 10
2026-11-06 15:59:42 +01:00
Pavlo Ratushnyi
ad71096f26
STRA-338 size: engine project_impl and cache retry helpers within limits
2026-11-06 15:58:03 +01:00
Pavlo Ratushnyi
bccb8d1b7d
STRA-338 size: cuda-driver split experiment_load and stream_start out of files over 400 lines
2026-11-06 15:58:01 +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
57e4200135
STRA-338 size: cuda-driver prefix_commands/FullGeometry::admit/scalar empty trimmed to <= 30 lines, complexity <= 10
2026-11-06 15:55:29 +01:00
Pavlo Ratushnyi
fb1f1c5901
STRA-338 size: engine q6 project_impl split, cache open retry trimmed
2026-11-06 15:55:27 +01:00
Pavlo Ratushnyi
f36fdd6fd6
STRA-338 size: cuda-driver OriginalMmqCopySchedule::stream_launch <= 30 lines
2026-11-06 15:54:24 +01:00
Pavlo Ratushnyi
e6edd2d86e
STRA-338 size: cuda-driver OriginalMtpPrefill::project split into tile/grid/operand/launch helpers (<= 30 lines)
2026-11-06 15:52:52 +01:00
Pavlo Ratushnyi
4a37d9bff7
STRA-338 size: engine original_cache_startup::open split (open_parts)
2026-11-06 15:52:32 +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
5fda2b3b9f
STRA-338 size: cuda-driver Ring::stage_one split into wait/copy/record helpers (<= 30 lines)
2026-11-06 15:50:49 +01:00
Pavlo Ratushnyi
e541a197a5
STRA-338 size: engine sample_and_verify trimmed
2026-11-06 15:50:27 +01:00
Pavlo Ratushnyi
85c5bc51e7
STRA-338 size: engine host run_window split (sample_and_verify, verify_sampled, finish_window)
2026-11-06 15:49:04 +01:00
Pavlo Ratushnyi
aeb895517c
STRA-338 size: cuda-driver GrNativeBatch finish/read end <= 30 lines, complexity <= 10
2026-11-06 15:48:59 +01:00
Pavlo Ratushnyi
210c9ac358
STRA-338 size: cuda-driver MmqWorkspace prepare_original_expert_layer(_device) split into route plan/upload helpers (<= 30 lines)
2026-11-06 15:46:51 +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
f6d2402476
STRA-338 size: engine generate_mtp_resume/handle_command/verify_commit trimmed
2026-11-06 15:46:36 +01:00
Pavlo Ratushnyi
52bfb0d824
STRA-338 size: engine generate_mtp_resume within limits (step/Decoding)
2026-11-06 15:45:07 +01:00
Pavlo Ratushnyi
cbf9f166ef
STRA-338 size: engine verify_commit within limits (commit_parts)
2026-11-06 15:42:56 +01:00
Pavlo Ratushnyi
8f862e5e0f
STRA-338 size: cuda-driver OriginalGroupBank init/load_functions and OriginalMmqCopySchedule close/stream_launch end <= 30 lines
2026-11-06 15:42:53 +01:00
Pavlo Ratushnyi
880f90e84b
STRA-338 size: engine runner::run and generate within the limits (command_loop, Delivery)
2026-11-06 15:40:54 +01:00
Pavlo Ratushnyi
952dcaf4c5
STRA-338 size: cuda-driver OriginalMmqLayer ring helpers and enqueue_ring_project end <= 30 lines, complexity <= 10
2026-11-06 15:40:47 +01:00
Pavlo Ratushnyi
fbb6c87ed3
STRA-338 size: cuda-driver MmqExperiment::new/enable_original_formats/observed_admit end <= 30 lines, complexity <= 10
2026-11-06 15:39:23 +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
0189f777bf
STRA-338 size: engine generate split (Delivery, serve_request_for, finish_request)
2026-11-06 15:38:05 +01:00
Pavlo Ratushnyi
82df6cd43b
STRA-338 size: cuda-driver OriginalMtpForwardProgram assembly and mmq weight uploads end <= 30 lines, complexity <= 10
2026-11-06 15:37:38 +01:00
Pavlo Ratushnyi
fb9d315360
STRA-338 size: engine run_direct split, prefill weights table, source checks within limits
2026-11-06 15:35:46 +01:00
Pavlo Ratushnyi
4e08fca79d
STRA-338 size: engine assemble takes AssembleInputs (assemble 55 -> 6), record_*_draft_kv shorter
2026-11-06 15:31:54 +01:00
Pavlo Ratushnyi
f7d748211a
STRA-338 size: cuda-driver GrMicrobatchRead::read/micro_launch end <= 30 lines, complexity <= 10
2026-11-06 15:31:34 +01:00
Pavlo Ratushnyi
70c1720e90
STRA-338 size: cuda-driver OriginalMtpDrafter launch_inner/finish_inner/launch_admit/chain_step_run end <= 30 lines, complexity <= 10
2026-11-06 15:29:45 +01:00
Pavlo Ratushnyi
d0b2b633b8
STRA-338: the archive-pin test of leleka-deploy reads the child file that now holds the pinned profile tests
2026-11-06 15:23:41 +01:00
Pavlo Ratushnyi
331e28c265
STRA-338 size-deploy: e2e lifecycle covers KarSource::None (the test target did not compile); crate census unchanged (oversize files 15; fn>30 105/89, cx>10 53/0, nesting>4 7/0, wide lines 387/67)
2026-11-06 15:14:16 +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
868a3160ce
Merge branch 'claude/size-eng-am2' into claude/hexagonal-integ
...
# Conflicts:
# limits-baseline.json
2026-11-06 15:13:18 +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