Commit Graph
1514 Commits
Author SHA1 Message Date
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 2e9f12841e STRA-338 size: the extracted spec-trace helpers check the trace switch themselves (the print gate looks for the guard next to the print) 2026-11-06 15:08:43 +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 7592d22487 Merge branch 'claude/size-eng-nz' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 14:59:44 +01:00
Pavlo Ratushnyi fcdc0d95c2 STRA-338 size: engine census baseline tightened (fn_lines 606->605, width 760->723, nesting 30->27) 2026-11-06 14:58:31 +01:00
Pavlo Ratushnyi 39e1d8f8e1 STRA-338 size: engine helpers within the limits (window_failed/retry_window, draft_batch, served_outcome, source checks, reconfigure_parts, comment width) 2026-11-06 14:51:52 +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 fa9cfdf68d Merge branch 'claude/size-engine2' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 14:45:50 +01:00
Pavlo Ratushnyi 7b8dd1cf67 Merge branch 'claude/size-cd-am' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 14:45:48 +01:00
Pavlo Ratushnyi cae9e1ebc1 STRA-338: the bring-up print gate treats the children of test-only files as test-only (split modules) 2026-11-06 14:45:45 +01:00
Pavlo Ratushnyi 730d05d4e0 STRA-338 size: engine more helper splits (verify_parts, finish_parts, serve_tuning, direct_parts, mtp prefill) 2026-11-06 14:43:22 +01:00
Pavlo Ratushnyi 04076a25c5 STRA-338 size: limits baseline falls after the executor_prefill_chunk and executor_original_prompt split 2026-11-06 14:40:26 +01:00
Pavlo Ratushnyi a7170b0241 STRA-338 size: cuda-driver complexity census back to parity (helpers trimmed), limits baseline tightened (fn_lines 2099 -> 2095, nesting 139 -> 136) 2026-11-06 14:39:28 +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 f9b656f998 STRA-338 size: every function of executor_original_prompt within 30 lines and complexity 10 2026-11-06 14:36:00 +01:00
Pavlo Ratushnyi edf7ffbb4a Merge branch 'claude/size-proofs' into claude/hexagonal-integ 2026-11-06 14:35:48 +01:00
Pavlo Ratushnyi 87a612269c Merge branch 'claude/size-modelformat' into claude/hexagonal-integ
# Conflicts:
#	limits-baseline.json
2026-11-06 14:35:47 +01:00
Pavlo Ratushnyi 5df0c8b7fc STRA-338 size: engine split the new helpers further (decode_parts, serve_parts, open_parts, run_parts, generate_fn, generate_mtp); no dyn added 2026-11-06 14:34:18 +01:00
Pavlo Ratushnyi a3a63a0ec0 STRA-338 size: model-format: row read tests split into phase helpers, baseline follows (test width 727->716) 2026-11-06 14:33:13 +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 1751f515e9 STRA-338 size: every function of executor_prefill_chunk within 30 lines and complexity 10 2026-11-06 14:30:06 +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 d683567e4a STRA-338 size: model-format: limits baseline tightened (prod fn_lines 69->0, complexity 63->0, nesting 4->0, width 69->0) 2026-11-06 14:29:15 +01:00
Pavlo Ratushnyi f9bbc09ab3 STRA-338 size: move the kernel_ab example tests into tests/{reader,alternation,timing} 2026-11-06 14:29:06 +01:00
Pavlo Ratushnyi 58b95eeb5e STRA-338 size: model-format: incremental test helper (fn_lines 31->30) 2026-11-06 14:27:40 +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 aa6d28d74a STRA-338 size: model-format: split the five long transport tests into phase helpers (fn_lines 146->30) 2026-11-06 14:25:33 +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 8cf01bcebe STRA-338 size: split the synthetic verifier of the preflight probe into weights, window and replay modules 2026-11-06 14:23:04 +01:00
Pavlo Ratushnyi 79473442db STRA-338 size: cuda-driver new helper modules resolve by name (no path includes, no dyn in Ring::empty) 2026-11-06 14:22:58 +01:00
Pavlo Ratushnyi 4ca6f9b65d STRA-338 size: model-format: kar row read tests in their own file (kar.rs 411->255 lines), generic closures instead of dyn 2026-11-06 14:21:34 +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 07b7a60e84 STRA-338 size: prefill chunk entry points share one joint publication; q6 columns, mtp-cancel check split 2026-11-06 14:20:38 +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 8fe776f5a1 Merge branch 'claude/size-cudadriver' into claude/hexagonal-integ 2026-11-06 14:19:33 +01:00
Pavlo Ratushnyi c49205423f STRA-338 size: model-format: wrap long comments and format strings to 120 columns (width 69->0) 2026-11-06 14:19:05 +01:00
Pavlo Ratushnyi d00723490c STRA-338 size: cuda-driver OriginalMtpScalarPrefill::new_internal admit/empty/init phases extracted (132 -> 8 lines) 2026-11-06 14:17:08 +01:00
Pavlo Ratushnyi d259125d88 STRA-338 size: engine original_mtp_prefill/scalar_prefill: shared check_final_sources/shifted_next_ids/finish_draft_kv helpers (fn_lines 140 -> ~30, 110 -> ~35) 2026-11-06 14:16:39 +01:00
Pavlo Ratushnyi c5b3cd3397 STRA-338 size: model-format: last production helpers (native dense push_matrix, bulk read span helpers, arena request check) 2026-11-06 14:16:13 +01:00
Pavlo Ratushnyi 9679ca9929 STRA-338 size: cuda-driver ple_batch_queue: compose split into input check/plan/command build/upload/launch phases (fn_lines 170 -> 47) 2026-11-06 14:15:22 +01:00
Pavlo Ratushnyi a893014a44 STRA-338 size: cuda-driver OriginalGroupBank::new admit/init/load phases extracted (116 -> 24 lines) 2026-11-06 14:15:17 +01:00
Pavlo Ratushnyi 401414057b STRA-338 size: split the GDN and GR prefill-stage GPU proofs into topic modules 2026-11-06 14:14:51 +01:00
Pavlo Ratushnyi e77fb49964 STRA-338 size: model-format: huge pages allocate/settle/coverage and read-ahead pump split (fn_lines 72->30, nesting 5->4) 2026-11-06 14:14:27 +01:00
Pavlo Ratushnyi 8fde3e93c8 STRA-338 size: engine original_serve_host: run_window helpers (window_ple, run_pool_group, report_window) (fn_lines 109 -> ~55) 2026-11-06 14:14:15 +01:00
Pavlo Ratushnyi 0bc91b4c0c STRA-338 size: split prepare_micro_ffn_rows and check_chunk_on_loaded into per-phase functions 2026-11-06 14:13: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 53f4578b29 STRA-338 size: cuda-driver GrNativeBatch::read argument builders and command order extracted (118 -> 33 lines) 2026-11-06 14:13:12 +01:00