Pavlo Ratushnyi
da9e4367ae
Merge main into claude/debt-rename
2026-11-14 20:36:02 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
c0d34a6648
engine-qwen35-cuda: explicit imports instead of use super::* in all 193 files (test modules, GPU proofs and platform-cfg files included)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 20:35:20 +01:00
Pavlo Ratushnyi
e443333d4d
Merge claude/debt-control: gateway-text env reader inside prompt (engine gpu_proofs include it by path)
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 31s
Rust port / port-oracles (push) Failing after 33s
Rust port / port-linux-tests (push) Failing after 35s
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Linux / verify (push) Failing after 46s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Rust port / port-typecheck (push) Successful in 59s
Product / product (push) Failing after 15m22s
2026-11-14 20:34:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
1cc29ea9db
gateway-text: the env switch reader is a child of prompt, so the gpu_proofs of the engine crate that include prompt.rs by path still compile
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 20:34:45 +01:00
Pavlo Ratushnyi
94592f4fa0
wip: rename strata-next/strata-control/strata-desktop-core (to be squashed in the final rename commit)
2026-11-14 20:30:41 +01:00
Pavlo Ratushnyi
252fa1a890
Merge claude/debt-low: low-level crates stage 10, cold part (allow(unused_imports) 552 -> 0, #[path] modules 132 -> 0 with 502 files moved, one env reader per crate with typed settings, exceptions list for dyn / Instant::now / process globals; EnvSwitch; STRA-338 debt c3)
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 32s
Rust port / port-linux-tests (push) Failing after 36s
Rust port / port-oracles (push) Failing after 39s
Linux / verify (push) Failing after 48s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Rust port / port-typecheck (push) Failing after 1m16s
Product / product (push) Failing after 14m38s
2026-11-14 20:27:52 +01:00
Pavlo Ratushnyi
622832be64
Merge branch 'main' into claude/debt-low
2026-11-14 20:26:27 +01:00
Pavlo Ratushnyi
03ea6b1f16
Merge main into claude/debt-low (npu-service: keeps the other agent's env_settings.rs; exceptions and baseline merged)
2026-11-14 20:21:02 +01:00
Pavlo Ratushnyi
a931fa9341
Merge claude/debt-control: modules without _and_ names
Rust port / port-fast (push) Failing after 36s
Rust port / port-oracles (push) Failing after 45s
Rust port / port-linux-tests (push) Failing after 26s
Linux / keyless-cuda-gate (push) Skipped
Linux / verify (push) Failing after 53s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Rust port / port-typecheck (push) Failing after 1m24s
Product / product (push) Failing after 15m34s
2026-11-14 20:19:51 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b66ed637ff
engine-qwen35-cuda: the GPU proofs use leleka-gateway-text instead of compiling its prompt.rs as a module; 23 more #[path] modules become ordinary; orphan renderer copy to garbage
...
rust_modtree.py: a cfg(feature = "preview-path") attribute was taken for a #[path] attribute (two modules were invisible to the tools).
path_to_modules.py keeps a file that two parents declare (native_down_pair_io.rs, one copy of the state each).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 20:19:50 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
11aac22f80
Modules without _and_ in their name: overlay_source_reading, preview_tensor_io, reconfigure_commit, host_actions, state_records, wsl_translation
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 20:19:50 +01:00
Pavlo Ratushnyi
45da62d9e7
tech-debt.md: stage 10 for the low-level crates (first results)
2026-11-14 20:18:48 +01:00
Pavlo Ratushnyi
b68e4b931f
cpu-worker: the Engine::prefill trait method keeps its dyn callback
2026-11-14 20:13:14 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
96b947248c
Low-level crates: dyn and Instant::now reduced to named exceptions (port boundaries, measurement timers with a comment), generics for the callbacks, memory settings reader; baseline lowered
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 20:10:43 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a354533a85
Low-level crates: the process environment is read in one settings module per crate (typed values for cpu-worker, tokenizer, gptoss-npu, gpu-npu-worker, igpu, npu-service, memory, gptoss, model-format), named exceptions for readers that must stay; baseline lowered
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:59:23 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
e8421945f1
Hot paths of the control side: env switches parsed in env_settings, time read through the Clock ports (worker, backend worker, admission pool, responses deadlines, views, stage trace)
...
env-read strata-control -> 0 outside env_settings.rs (debug_failed_output is read per call instead of cached in a OnceLock; request_log profile and stage trace mode come from env_settings), instant-now strata-control 15 -> 0 and strata-desktop-core 4 -> 0 outside the adapters: tokio-clock deadlines read SystemClock / RuntimeClock (zero-sized adapters, the same Instant::now call inlined), MemoryView and PrefixView hold an AnyClock, the request monitor and GenerationMetrics stamp with leleka-obs SystemClock. No change of order, branching or timing semantics. NOT merged: waits for the two-binary bitwise identity run (hot path: admission, streaming, gRPC client).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:52:01 +01:00
Pavlo Ratushnyi
64669ed528
Merge claude/debt-control: control side debt (env readers, explicit imports, exceptions list, 60 renamed modules, doc headers; STRA-338 stage 10)
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 23s
Rust port / port-oracles (push) Failing after 24s
Rust port / port-linux-tests (push) Failing after 25s
Linux / verify (push) Failing after 39s
Linux / keyless-cuda (push) Skipped
Desktop foundation / core (ubuntu-latest) (push) Failing after 39s
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Product / product (push) Failing after 15m59s
Rust port / port-typecheck (push) Failing after 48s
2026-11-14 19:44:06 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
77ae300d71
tech-debt.md: stage 10 pass over the control side (numbers, exceptions, what is left)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:44:05 +01:00
Pavlo Ratushnyi
c3add435eb
Scripts: paths of moved Rust files updated (update_path_refs.py)
2026-11-14 19:42:32 +01:00
Pavlo Ratushnyi
8fe23f043f
Merge branch 'main' into claude/debt-control
2026-11-14 19:40:25 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
5bda5596a2
Architecture gate: exceptions for the readers, ports, adapters and singletons of the control side, baseline lowered; explicit_imports.py FORCE_FILES, wsl-cargo.sh debug=0
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:40:21 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
64b6c6d30a
strata-control: env_settings reader, explicit imports, no blanket unused-import allows, MCP and hardware series on a clock, doc headers and renamed modules
...
env-read 14 -> 0 outside src/env_settings.rs (config/process_env.rs removed; typed text/number/path/mode accessors), glob-super-import 9 -> 0, allow-unused-imports 48 -> 0, 38 modules renamed by responsibility (worker_entry, serve_generation, file_download, pack_outputs, request_context, status_routes, ...). The hot-path code (admission, streaming, gRPC client) is untouched here.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:40:20 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
13742421bb
gateway-domain, gateway-text, backend-api, runtime-client, npu-service: env_settings readers, no dyn in the budget loop, no blanket unused-import allows, doc headers and renamed modules
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:40:19 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
21967f3de4
strata-desktop-core: env_settings reader, evaluation_measurement is a lib module, RuntimeClock port, explicit imports, doc headers and renamed modules
...
env-read 13 -> 0 outside env_settings.rs, path-include 2 -> 0, allow-unused-imports 9 -> 0, node inventory cache and ssh tunnel / managed worker deadlines through a clock. Modules renamed by responsibility (gateway/pool_gateway, runtime_gateway/{tool_responses,text_responses,registry,model_control}, runtime_rpc/{generation_lifecycle,server_state}, managed_worker/{worker_process,manager}, runtime_tools/tool_declarations).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:40:18 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
e2e8b78abf
leleka-deploy: one env_settings reader, no dyn, supervisor and flows read time through the Clock port, explicit imports
...
glob-super-import 15 -> 0, env-read 41 -> 0 outside crates/deploy/src/env_settings.rs (typed accessors: home, PATH, tokens presence, route, distro; the LELEKA_* lookup is a fn pointer EnvLookup), dyn-trait 17 -> 0 (impl Fn / impl FnMut), instant-now 28 -> 0 (ServiceSupervisor holds an AnyClock, command flows use SystemClock of leleka-obs). Doc headers of the generated files are real sentences.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:40:18 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
623f9a015f
Low-level crates: #[path] modules become ordinary modules (cuda-driver 118 -> 0 counted, model-format 12 -> 0, native-cpu-expert 2 -> 0; 500 files moved to the place their module name gives); gate: a cfg(test) mod declaration with #[path] is test code; ptx! macro for the sealed assets table
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:38:37 +01:00
Pavlo Ratushnyi
5a15003bb8
path_to_layout.py: module tree walk with flat (#[path]) and default layout, include fixer
2026-11-14 19:16:59 +01:00
Pavlo Ratushnyi
c0524a72a4
Merge branch 'main' into claude/debt-low
2026-11-14 19:09:13 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
599f45a885
Low-level crates: allow(unused_imports) removed from cuda-driver, native-cpu-expert, cpu-sys, model-format, tokenizer and the small crates (unused imports deleted, test-only ones under cfg(test)); root_exports glob replaced by crate paths; EnvSwitch in cuda-model; scripts: prune_unused_imports.py, path_to_layout.py
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 19:09:13 +01:00
Pavlo Ratushnyi
556958de91
Merge claude/debt-engine: engine modules without #[path] (397 files moved; path-include 100 -> 1)
Desktop foundation / core (ubuntu-latest) (push) Failing after 31s
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 36s
Linux / verify (push) Failing after 55s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Rust port / port-linux-tests (push) Failing after 24s
Rust port / port-oracles (push) Failing after 35s
Rust port / port-typecheck (push) Successful in 1m1s
Product / product (push) Failing after 12m58s
2026-11-14 18:55:54 +01:00
Pavlo Ratushnyi
be14ed2308
Merge branch 'main' into claude/debt-engine
2026-11-14 18:55:52 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
ec39c481ff
engine-qwen35-cuda: #[path] modules become ordinary modules (397 files moved to the place their module name gives; path-include 100 -> 1)
...
scripts/dev/path_to_modules.py moves each module declared with #[path] to the file the compiler looks for without the attribute, moves the
children of a path-loaded file with it (such a file owns its directory like mod.rs) and rewrites include_str!/include_bytes! paths. Only the
two declarations that point into the crate's tests/ directory keep their attribute. No code changes: parent files lose attribute lines.
Gates that quote source paths follow: smoke-groups.json (directory patterns for runtime-gr/gdn/moe/qsa/ple/mtp; 7 real-model smokes now classify as
model-assets, 3 fallback smokes now sit in their runtime group), docs/gpu-bringup.md table, docs and the qsa oracle pin path.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 18:51:54 +01:00
Pavlo Ratushnyi
af77c63fa3
Merge claude/debt-engine: architecture gate exceptions list
2026-11-14 18:16:57 +01:00
Pavlo Ratushnyi
92b03fca4e
Architecture gate: named exceptions list (crate, file, ratchet, reason) so a ratchet can be zero outside documented sites; unused or reasonless entries are errors
2026-11-14 18:16:56 +01:00
Pavlo Ratushnyi
b7c7ab1d38
Merge claude/arch-names-low: low-level crates (explicit imports 674 -> 3 production globs, 61 renamed modules, env readers of five crates in one settings module, baselines lowered; STRA-338 debt c, b)
2026-11-14 18:08:58 +01:00
Pavlo Ratushnyi
fd64c607e4
Merge main (claude/arch-names-high) into claude/arch-names-low: keep the other side's names where both renamed (context rope setup, experimental-ref cvec reading), both tool families (explicit_imports_lowlevel.py, rename_module_map.py next to theirs), regenerated baseline
2026-11-14 18:06:15 +01:00
Pavlo Ratushnyi
b604f7cc45
Plan: stage 10 architecture tech debt to zero (owner 2026-11-14)
2026-11-14 17:58:33 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
701f76c8e8
tech-debt.md: second pass of (c) for the low-level crates (imports, names, ratchets, what is left)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 17:48:11 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7557dcb0f9
Limits and architecture baseline: width fixes, copy_ring_layer stays a glob at the line limit, baselines lowered (glob-super-import 674 -> 3, allow-unused-imports 1097 -> 552, env-read 122 -> 28 in the low-level crates)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 17:46:15 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
658864d4a9
cuda-driver: prune the explicit imports against the non-test build, keep the names of other feature sets under a narrow allow; naming.md rows
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 17:41:59 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
0c913a2b5c
explicit_imports.py: BASE_CONFIG for the residual step
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 17:10:41 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
878f6f9a94
leleka-model-format: prune the explicit imports against the non-test build; explicit_imports.py prune fixes
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 17:09:48 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
2a6cb31542
cuda-driver: explicit imports (571 -> 2 production globs); explicit_imports.py: prune by the non-test build plus the test tokens of the file
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 16:48:12 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7637c2f0c2
explicit_imports.py: unused-import warnings of the test build only come from units built with cfg(test)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 15:51:04 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
09f57963bd
explicit_imports.py: test-only modules from cfg(all(test, ..)), included files, shared files
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 15:35:17 +01:00
Pavlo Ratushnyi
6a9bd1a283
Merge claude/arch-names-high: desktop-core binary imports, debt register numbers
2026-11-14 15:32:13 +01:00
Pavlo Ratushnyi
13d1480289
Merge branch 'main' into claude/arch-names-high
2026-11-14 15:32:01 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3498bab1c6
Explicit imports: desktop-core binary root; debt register numbers
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-14 15:30:42 +01:00
Pavlo Ratushnyi
09cfd88317
Merge claude/arch-names-high: names, explicit imports and env readers of the engine, gateway and deploy side (STRA-338 debt c)
2026-11-14 15:23:30 +01:00
Pavlo Ratushnyi
abfc50ba7e
Merge branch 'main' into claude/arch-names-high
2026-11-14 15:23:00 +01:00