diff --git a/architecture-baseline.json b/architecture-baseline.json index 6a329052..57077cf6 100644 --- a/architecture-baseline.json +++ b/architecture-baseline.json @@ -9,20 +9,20 @@ "dyn-trait:leleka-engine-core": 18, "dyn-trait:leleka-engine-fake": 1, "dyn-trait:leleka-engine-qwen35-cuda": 53, - "env-read:leleka-engine-qwen35-cuda": 1, "env-read:leleka-control-plane": 3, + "env-read:leleka-engine-qwen35-cuda": 1, "glob-super-import:leleka-cuda-driver": 2, "glob-super-import:leleka-engine-qwen35-cuda": 70, + "instant-now:leleka-control-plane": 15, "instant-now:leleka-cuda-driver": 25, + "instant-now:leleka-engine-host": 4, "instant-now:leleka-engine-qwen35-cuda": 16, "instant-now:leleka-native-cpu-expert": 27, - "instant-now:leleka-control-plane": 15, - "instant-now:leleka-engine-host": 4, "path-include:leleka-cuda-driver": 1, + "process-global:leleka-control-plane": 2, "process-global:leleka-cuda-driver": 96, "process-global:leleka-engine-qwen35-cuda": 59, - "process-global:leleka-native-cpu-expert": 27, - "process-global:leleka-control-plane": 2 + "process-global:leleka-native-cpu-expert": 27 }, "mechanical_names": [] } diff --git a/docs/architecture/tech-debt.md b/docs/architecture/tech-debt.md index 458e9d20..2ed257a3 100644 --- a/docs/architecture/tech-debt.md +++ b/docs/architecture/tech-debt.md @@ -256,6 +256,16 @@ Crates: `leleka-control-plane`, `leleka-engine-host`, `leleka-deploy`, `leleka-g | Windows-only files (`key_init/windows.rs`, `facts/windows.rs`, `winfront/*`, `winservice/*`) | edited by hand (names read from the code); no Windows `cargo check` could run because `leleka-memory` and `leleka-model-format` do not compile for Windows at this commit (`governor/operations.rs`, `qwen4exp_*`: unresolved imports under `cfg(windows)`) | a Windows `cargo check -p leleka-deploy -p leleka-control-plane` once those two crates compile there | | deploy end-to-end tests `dry_run_*` and `reconfigure_flow::*` | need free VRAM and a quiet GPU (host checks read `nvidia-smi`); they fail on the busy laptop with "GPU memory: ... free but the engine needs ..." | run on the 5090 | +### (f) Stage 9: the historical Strata names in our own code (owner decision 2026-11-14, branch `claude/debt-rename`) + +| Old | New | Where | +|---|---|---| +| binary `strata-next` | `leleka-api` | `control-plane/Cargo.toml` (`[[bin]]`, `default-run`), the usage texts, the service unit names (`leleka-api.service`, `leleka-api-NAME.service`), `leleka up`/`leleka run` calls (`leleka-api model ...`, `api-key init`), the installed file list and MANIFEST, `install.sh`, the Windows scripts (`leleka-api.exe`), the release and runtime-image build scripts, the CI workflows, the e2e harness scripts, the fake runtime double (`leleka-api` symlink) and the docs | +| crate `strata-control` | `leleka-control-plane` (identifier `leleka_control_plane`) | `Cargo.toml` of the workspace and of every dependent, `Cargo.lock`, `use` paths, `-p` arguments of scripts and CI, `architecture.json` and the baselines | +| crate `strata-desktop-core` | `leleka-engine-host` (identifier `leleka_engine_host`) | the same; the crate hosts the engine process `leleka-inference` (and `leleka-daemon`, `leleka-cli`, `leleka-seal-exec`) with the node, pool, managed worker and gateway services around it, so the name says what it hosts; the `strata-desktop` binary keeps its name (not part of the order) | + +Done by `scripts/dev/rename_strata_names.py` (a plain text replacement over the tracked files, rerunnable, which also catches what a branch merged later adds). `STRATA_*` environment variables stay. Not touched: `engine/strata` (the Original, including its Python package `strata_control`), `docs/experiments/` and `docs/e2e-data/` (records of what was run, with the names of that day), `docs/ledger*`, `docs/upstream/` and every `*.patch` (diffs against the Original). **Compatibility:** no `strata-next` alias is shipped, because nothing outside the repository calls the binary by that name; a prefix installed by an older `leleka` is complete in itself (its `leleka`, its MANIFEST and its `strata-next`), and a new `leleka up` takes the binaries from the package it was built in, which carries `leleka-api`; mixing a new `leleka` with an old package directory is not supported (the MANIFEST lists different files). The owner's running service (`leleka.service` on rnr5090) runs a package built before the rename and was not touched. + ### (d) Other open items of this file (unchanged by the pass; the owner's order for them) 1. S13/S14 injection: `settings::process()`, `Governor::global()`, `INSTANCE`/`RECONFIGURING` and the clock into the engine stack (sections S13, S14, S19 below). Blocks most of the `process-global` and `instant-now` numbers of (b).