Pavlo Ratushnyi
8b34c9506e
Format the control-plane, engine-host and library crates at 120 columns (rustfmt.toml) and drop stale docs/ references
2026-11-23 09:34:30 +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 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
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 Ratushnyi and Claude 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 Ratushnyi and Claude Sonnet 5.5
9c77d603d7
single-copy RAM: refuse a full sealed memfd for a ple_only profile, lab holder seals sparse, design page
...
The 2026-11-09 server reading (Shmem 58.6 GB, MemAvailable 7-8 GB) is the lab holder's full 55.3 GB memfd
(single-copy-holder.sh sealed without --sparse-ple), not the sparse memfd of leleka up. The supervisor
now checks the allocated bytes (st_blocks) of an inherited descriptor against the profile and refuses a
ple_only profile on a full copy (LELEKA_ALLOW_FULL_MEMFD=1 overrides, logged); the holder script seals
--sparse-ple by default (HOLDER_MEMFD=full keeps the old form). Design, candidates and the ordered
measurements: docs/design/single-copy-ram-2026-11-09.md. No GPU/server run; identity/A-B pending.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 11:13:17 +01:00
Pavlo Ratushnyi
78cda328cc
Merge branch 'claude/par-p01' into claude/hexagonal-finish-14ee3a
2026-11-08 01:02:11 +01:00
Pavlo Ratushnyi
672e4bfc72
STRA-338 params p01: deploy, gateway-domain, gateway-text, desktop-core and the rest of control-plane to at most 5 parameters; domain names for the new structs
2026-11-08 00:59:37 +01:00
Pavlo Ratushnyi
4cecb118ac
STRA-338 params p02: native-cpu-expert, cpu-sys, cpu-kernels, cpu-worker, obs down to 5 parameters
2026-11-08 00:36:16 +01:00
Pavlo Ratushnyi
a830d8f110
STRA-338 size-fn2: check_* that act are named for what they do (cancel_stalled_generation, probe_host, fail_if_api_exited, fail_if_engine_exited, read_assistant_text, detach_if_unattached), helpers named verb + object (report_stopping / report_engine_lost leave the Flow to the caller, count_failed_start, answer_refused_start, require_free_endpoint + spawn_worker_process, pin_engine_gpu, describe_load_verdict, run_worker_action, open_watch_stream, ...), the cold path reuses catalog_changed, the three Supervisor types are AttachLoop, SessionSupervisor and ServiceSupervisor; behaviour unchanged
2026-11-06 23:07:59 +01:00
Pavlo Ratushnyi
4b72ddf054
STRA-338 size-fn2: gptoss softmax_inverse_denominators renamed softmax_scores_in_place (it rewrites the scores; doc says so; arithmetic and attributes untouched), store_rotated_qkv split into rotate_queries (pure) and store_rotated_kv (cache write); stale docs of the cpu-sys VNNI block helpers and deploy recover_engine fixed
2026-11-06 21:30:02 +01:00
Pavlo Ratushnyi
0ea7fa75ae
STRA-338 size-fn2: leleka-deploy lines within 120 columns (307 -> 33 wide lines; the 33 left are the byte-exact lines of the --help text USAGE that scripts/release/package-5090.sh parses); comments reflowed by paragraph, long messages continued with a trailing backslash (cooked bytes unchanged), JSON macros re-wrapped, URL/raw-string constants split with concat!; reconfigure_by_restart helper keeps the function within 30 lines
2026-11-06 20:01:55 +01:00
Pavlo Ratushnyi
5198b90da5
STRA-338 size-fn2: leleka-deploy test functions within the limits (64 -> 0 test functions over 30 lines; helpers are not tests, test names, ids and assertions unchanged; e2e_windows checks moved to tests/e2e_windows/checks.rs)
2026-11-06 19:48:01 +01:00
Pavlo Ratushnyi
6f225ee466
STRA-338 size-fn: leleka-deploy: e2e tests split into scenario helpers, wide messages with named arguments
2026-11-06 18:36:34 +01:00
Pavlo Ratushnyi
05398b9a3f
STRA-338 size-fn: leleka-deploy: no new dyn, remaining helpers within 30 lines
2026-11-06 17:58:59 +01:00
Pavlo Ratushnyi
0b89649e6b
STRA-338 size-fn: leleka-deploy: wrap comments and long literals, split the last helpers over 30 lines
2026-11-06 17:53:11 +01:00
Pavlo Ratushnyi
6d50d8a478
STRA-338 size-fn: leleka-deploy: split the longest unit tests into checks, remaining prod functions within 30 lines
2026-11-06 17:46:28 +01:00
Pavlo Ratushnyi
cdf963ea4a
STRA-338 size-fn: leleka-deploy: further helpers for the functions still above 30 lines
2026-11-06 17:35:39 +01:00
Pavlo Ratushnyi
28cd67752c
STRA-338 size-fn: leleka-deploy: winfront, wsl paths, units, http, status, doctor, logs, steps, profile and fake runtime split into stage helpers (second batch)
2026-11-06 17:23:39 +01:00
Pavlo Ratushnyi
e0f43a59af
STRA-338 size-fn: leleka-deploy: supervisor, startup, reconfigure, plan, cli flags, logview, steps, facts, winservice split into stage helpers (first batch)
2026-11-06 17:07:49 +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