Commit Graph
663 Commits
Author SHA1 Message Date
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 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 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 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 abfc50ba7e Merge branch 'main' into claude/arch-names-high 2026-11-14 15:23:00 +01:00
Pavlo Ratushnyi a8584c545e Tool: ROOT_FILE for other crate roots 2026-11-14 15:23:00 +01:00
Pavlo Ratushnyi 5d0d96ed76 Merge claude/laptop-3080-live: VM memory gate 2026-11-14 14:38:20 +01:00
Pavlo Ratushnyi 9a6fe120f0 Laptop gates: wait for the VM memory the engine start check needs (31 GiB MemAvailable) 2026-11-14 14:38:20 +01:00
Pavlo Ratushnyi 3913360a54 wip tool: prune mode reads cfg attributes 2026-11-14 14:36:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 fb428d3d9b Explicit imports in leleka-model-format, leleka-native-cpu-expert and leleka-cpu-sys; explicit_imports.py: own glob names, static mut, intrinsics
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 14:35:23 +01:00
Pavlo Ratushnyi c869a9a328 Merge claude/laptop-3080-live: stretch tooling (foreign service guard, ladder, polling gate) 2026-11-14 14:33:55 +01:00
Pavlo Ratushnyi 5091dfc10d Laptop stretch: leave a foreign Leleka service alone, ladder mode (cold prompts of growing size), 2-minute polling gate in lap_lib 2026-11-14 14:33:55 +01:00
Pavlo Ratushnyi 354a128c7f Merge branch 'main' into claude/arch-names-high 2026-11-14 14:32:15 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f59b00d027 Explicit imports in gptoss, gptoss-igpu, gptoss-npu, gpu-npu-worker, cpu-worker, igpu, openvino, tokenizer, leleka-memory; explicit_imports.py fixes (module depth order, keywords, intrinsic constants, RAM and GPU gates)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 14:14:40 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 84024c1151 Explicit imports: deploy, control-plane, desktop-core, gateway-domain (tool fixes: stale files after revert, cfg-carrying imports)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 13:42:43 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4655baefaf Fix renamed paths (include_str of window_launches, a function imported from its planner module), drop the unused var_os of two settings modules
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 13:20:36 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 2f562efa36 explicit_imports.py: names used by include!()d files
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:45:28 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 945f20524a explicit_imports.py: intrinsics that come through a std::arch glob of the parent
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:42:37 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7f3d5a5935 WIP (not compiled yet): rename vague module files to what they hold, explicit-import tool handles supported-target gate and feature cfg, config env reader, node credential reader
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:39:01 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1e88f3266a Funnel the env reads of cuda-driver, cuda-model, model-format, native-cpu-expert and gptoss through one settings module per crate (unverified until the next build)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:21:26 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 546323906e explicit_imports.py: plain globs, production files only, files below src only
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:12:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 30e17355f0 explicit_imports.py: ONLY batches
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:10:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 95a4f48e1d explicit_imports.py: the shared linux/windows gate is not a platform difference
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:07:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 af356be95d Rename modules named after function lists or mechanical splits to what they hold (git mv, mod and path updates, doc comments): leleka-memory governor, tokenizer, context, serving-policy, experimental-ref, cuda-model, gptoss, npu-service, native-cpu-expert, backend-api, model-format, cuda-driver (_methods, enabled, state, shared, core)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:06:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e9580fb6b9 Laptop identity gate: base-vs-new bitwise comparison on the 3080 (identity-gate.sh, identity_compare.py with self-test, lap_lib.sh gates and the gpu-wanted flag)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 11:54:45 +01:00
Pavlo Ratushnyi 5697e1e441 Merge claude/laptop-3080-live: laptop identity gate scripts
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-oracles (push) Failing after 24s
Rust port / port-linux-tests (push) Failing after 23s
Linux / verify (push) Failing after 39s
Rust port / port-typecheck (push) Successful in 45s
Product / product (push) Failing after 12m38s
Rust port / port-fast (push) Failing after 22s
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
2026-11-14 11:54:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7db8403838 Explicit imports in leleka-gguf and leleka-cpu-kernels; explicit_imports.py: cfg-gated names, platform files, glob module paths, trait resolution; rename_module.py
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 11:51:52 +01:00
Pavlo Ratushnyi 39b343a5ae Merge claude/laptop-3080-live: laptop stretch tooling fixes
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 36s
Rust port / port-linux-tests (push) Failing after 38s
Rust port / port-oracles (push) Failing after 40s
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) Successful in 1m4s
Product / product (push) Failing after 20m54s
2026-11-13 21:44:01 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4336283163 Laptop run tooling: stretch script (lock, memory and build gates, LAP_ENV diagnostics, GPU-busy budget from ready, stale engine.log fix), guard fixes (process name, limit, RSS, turbo watchdog), turbo_status.sh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 21:43:59 +01:00
Pavlo Ratushnyi af96442453 Merge branch 'main' into claude/arch-debt-c-names 2026-11-13 20:00:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e03bedc3b1 Debt rework: doc headers everywhere, two import ratchets with the baseline, process-global counts uses and not import lists, 400-line fixes, docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 19:48:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 15faea9d46 Explicit-imports tool, libc-shim trace modules named for what they hold, two import ratchets, docs of the debt rework
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 19:27:50 +01:00
Pavlo Ratushnyi aa0633d94a Laptop: turbo-watchdog.ps1 keeps the ASUS Turbo scheme active and writes a status file (Turbo, AC, GPU power limit) that run tooling checks before any GPU run
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 27s
Rust port / port-linux-tests (push) Failing after 26s
Rust port / port-oracles (push) Failing after 33s
Linux / verify (push) Failing after 38s
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) Successful in 59s
Product / product (push) Failing after 13m9s
2026-11-13 18:59:40 +01:00
Pavlo Ratushnyi fc79029ebb Merge claude/laptop-3080-finish: 3080 laptop audit, profile pin, WSL2 worker cap, profile guard, run tooling
Rust port / port-oracles (push) Failing after 26s
Linux / verify (push) Failing after 29s
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) Successful in 59s
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 20s
Rust port / port-linux-tests (push) Failing after 22s
Desktop foundation / core (ubuntu-latest) (push) Successful in 3m15s
Product / product (push) Failing after 13m24s
2026-11-13 17:53:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7ccd1b8b5e Laptop 3080: audit of the 5090 defaults, profile pins the tier layout, WSL2 planner caps CPU workers at the physical cores, profile guard for switches without an sm_86 companion, laptop run tooling; live validation not run (30 W power cap)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 17:53:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 51b45b82d8 leleka-memory loses libc and windows-sys: PageLocking and ProcSource ports, OS adapters in the new L3 crate leleka-memory-os
The two baselined forbidden-dep violations are gone. FdMapping keeps the bounds checks and lock bookkeeping as safe Rust over plain addresses;
mmap/mlock/mincore/madvise/munmap/setrlimit are LinuxPageLocking, the Win32 host facts are WindowsProc, the glibc heap trim moved verbatim.
Governor::real is replaced by leleka_memory_os::real_governor (the page-locking adapter is part of it). No behaviour change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 17:46:38 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b5e7c2834f Merge claude/tail-skip-default: confirmation of the tail skip default on package 945fc44f32
Rust port / port-fast (push) Failing after 32s
Linux / verify (push) Failing after 45s
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 / keyless-cuda-gate (push) Skipped
Linux / release-cli (push) Skipped
Rust port / port-oracles (push) Failing after 38s
Rust port / port-linux-tests (push) Failing after 26s
Rust port / port-typecheck (push) Successful in 1m12s
Product / product (push) Failing after 23m26s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 15:22:20 +01:00