2805 Commits
Author SHA1 Message Date
Pavlo Ratushnyi 1be955bb37 leleka-memory: the governor owns its inventory and published report; MemoryServices replaces Governor::global and Inventory::global
The process-wide cells (GLOBAL governor, the global inventory, the published-report static) become state of one
Governor value. MemoryServices is the one handle a composition root creates per engine: it holds the governor once
installed (first install wins), starts its sampler once and answers the status surface. A test builds its own
governor, inventory and services (STRA-338 S13/S14 follow-up).
2026-11-23 12:16:17 +01:00
Pavlo Ratushnyi 1259c38dcf Serve host: static dispatch over the expert pool instead of dyn OriginalServePool
The Original serve host and its decode round no longer call the routed-expert pool through a trait object. OriginalServeHost and HostOwners take the pool as a type parameter, the serve step chooses the pool type once per request (the GPU share over the CPU pool, or the CPU pool alone) and runs one generic body over it, so every window group and every round is a direct call. The decode view is split so the pool can borrow the view's tier while the serve body uses the rest; the order of every call, the ownership of the pool until the teardown and the log lines are unchanged. The dyn-trait ratchet of leleka-engine-qwen35-cuda falls from 3 to 0 and the architecture baseline is regenerated.

- serve_over_pool.rs: ServeJob, ServeParts and the generic serve_over, with the host and env builders moved from decode_steps.rs
- decode_steps.rs: serve picks the pool type and hands over
- serve_request_step.rs, original_serve_host*: generic over the pool
2026-11-23 11:51:56 +01:00
Pavlo Ratushnyi 12cba8095c Merge codex/leleka-arxiv-paper into main: docs/ moved to MCP, 120-column formatting, CI fixes, hooks; conflicts resolved on main's side and re-formatted
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-typecheck (push) Successful in 1m27s
Rust port / port-linux-tests (push) Failing after 4m34s
Rust port / port-fast (push) Successful in 5m56s
Desktop foundation / core (ubuntu-latest) (push) Successful in 5m7s
Linux / verify (push) Failing after 8m49s
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
Product / product (push) Failing after 16m46s
Rust port / port-oracles (push) Successful in 11m11s
2026-11-23 09:42:41 +01:00
Pavlo Ratushnyi 48220f1b6c Point the limits-gate and README references at the spec node instead of docs/; paper text follow-up 2026-11-23 09:34:56 +01:00
Pavlo Ratushnyi 65bbabaa0b Project hooks: CRR-3 guard, adoption-pin and section resolvers, precompact permit, stop advisory 2026-11-23 09:34:34 +01:00
Pavlo Ratushnyi 7c000ce93f CI workflows (oracle numpy pin per interpreter, copy-source test harness), ignore rules, root files without docs/ links; AGENTS.md is a local pointer to the MCP (STRA-382) 2026-11-23 09:34:33 +01:00
Pavlo Ratushnyi 3f22c4ae29 Drop stale docs/ references from scripts, tools and deploy files; add rope-regeneration.json 2026-11-23 09:34:33 +01:00
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 deae0aa6ba Move the notes and evidence out of docs/ (MCP is the store; STRA-338 follow-up) 2026-11-23 09:34:21 +01:00
Pavlo Ratushnyi af48f165a2 Merge branch 'claude/debt-hot-engine' into HEAD
# Conflicts:
#	architecture-baseline.json
2026-11-23 01:28:37 +01:00
Pavlo Ratushnyi f246cb9951 Merge branch 'claude/debt-hot-control' into HEAD
# Conflicts:
#	architecture-baseline.json
#	docs/architecture/tech-debt.md
2026-11-23 01:27:52 +01:00
Pavlo Ratushnyi decc5ffd18 Merge branch 'claude/debt-hot-low' into HEAD
# Conflicts:
#	architecture-baseline.json
#	architecture.json
#	docs/architecture/tech-debt.md
2026-11-23 01:27:17 +01:00
Pavlo Ratushnyi 5819a26f75 Pin Leleka manuscript references 2026-11-20 01:20:30 +01:00
Pavlo Ratushnyi 6553337e46 Add Leleka arXiv manuscript and evidence map 2026-11-19 23:16:06 +01:00
Pavlo Ratushnyi 5db2a5da3d Merge claude/debt-rename: stage 9, strata-next -> leleka-api, strata-control -> leleka-control-plane, strata-desktop-core -> leleka-engine-host (STRA-338)
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 24s
Desktop foundation / core (ubuntu-latest) (push) Failing after 27s
Rust port / port-linux-tests (push) Failing after 26s
Rust port / port-oracles (push) Failing after 27s
Linux / verify (push) Failing after 37s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Product / product (push) Failing after 12m41s
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 47s
2026-11-14 22:42:40 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8ea06849e6 leleka-deploy recipe test: the pinned-profile test file moved with the engine's modules
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 22:42:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 2b75a037d2 hot path (not for main before the identity run): the prefill GEMM loan and the profile drain are generics, not trait objects (engine dyn 9 -> 3)
PrefillLoans<'a, 'ctx, G: GdnGemm> and the GDN and MoE prefill stage functions take the loaned GEMM by type; prefill_profile::span takes the
Context itself (it was the only implementer of Drain). The same calls in the same order; static instead of dynamic dispatch.
Not run on a GPU: needs the laptop two-binary identity gate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 22:28:15 +01:00
Pavlo Ratushnyi 7df1a4b473 Merge main (engine stage 10) into claude/debt-rename; rename script rerun, old-names marker for the rename table, baseline regenerated 2026-11-14 22:17:24 +01:00
Pavlo Ratushnyi f331975685 Merge claude/debt-engine: engine crates stage 10 (explicit imports, no #[path], 50 renamed modules, 449 real headers, dyn generics, named exceptions; tech-debt.md c3)
Linux / keyless-cuda-gate (push) Skipped
Linux / verify (push) Failing after 49s
Linux / keyless-cuda (push) Skipped
Rust port / port-fast (push) Failing after 33s
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 31s
Rust port / port-oracles (push) Failing after 43s
Rust port / port-typecheck (push) Successful in 1m20s
Product / product (push) Failing after 14m51s
2026-11-14 22:14:48 +01:00
Pavlo Ratushnyi 8eca35e64e Merge branch 'main' into claude/debt-engine 2026-11-14 22:10:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8f8289de7c tech-debt.md: stage 10 pass over the engine crates; rustfmt of the engine crates
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 22:10:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4e0bb1dd98 engine crates: 50 modules renamed for what they hold (the *_methods, *_and_*, *_sdet, *_types and qwen4exp_* names), exceptions and script paths follow
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:59:19 +01:00
Pavlo Ratushnyi ed781797ed Merge main into claude/debt-rename; rename script rerun over what the engine and low-level branches added; baseline regenerated 2026-11-14 21:47:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5b84cd2cf8 engine crates: dyn closures and sinks become generics (engine-core 18 -> 2, engine 53 -> 9 outside the Box<dyn Backend> process boundary), load laps on the Clock port, named exceptions for what must stay, real headers for the last generated ones
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:44:58 +01:00
Pavlo Ratushnyi 463c272adc Merge claude/debt-low-docs: tech-debt.md c3 table
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 30s
Linux / verify (push) Failing after 1m1s
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-oracles (push) Failing after 47s
Rust port / port-linux-tests (push) Failing after 44s
Rust port / port-typecheck (push) Successful in 1m20s
Product / product (push) Failing after 29m27s
2026-11-14 21:43:31 +01:00
Pavlo Ratushnyi 36ed771335 tech-debt.md: first c3 table without placeholders 2026-11-14 21:43:31 +01:00
Pavlo Ratushnyi b84985ab6d tech-debt.md: stage 10 low-level crates, final numbers, what is left 2026-11-14 21:43:21 +01:00
Pavlo Ratushnyi 4d7ad096dd Merge main into claude/debt-hot-low 2026-11-14 21:42:40 +01:00
Pavlo Ratushnyi 4cf61eef91 Merge claude/debt-low-docs: 52 modules named by responsibility instead of two things joined by _and_
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 34s
Linux / verify (push) Failing after 1m0s
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-oracles (push) Failing after 44s
Rust port / port-typecheck (push) Successful in 1m1s
Rust port / port-linux-tests (push) Failing after 47s
Product / product (push) Failing after 29m26s
2026-11-14 21:41:14 +01:00
Pavlo Ratushnyi a62fed956c Merge branch 'main' into claude/debt-low-docs 2026-11-14 21:40:20 +01:00
Pavlo Ratushnyi d19ef823d6 architecture.json: exception paths follow the renamed hot-path modules 2026-11-14 21:40:19 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1207415a19 Low-level crates: 52 modules named after two things (*_and_*) are named after their responsibility; exception paths, include paths and docs updated
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:33:08 +01:00
Pavlo Ratushnyi 891736f061 Merge branch 'claude/debt-low-docs' into claude/debt-hot-low 2026-11-14 21:33:08 +01:00
Pavlo Ratushnyi ec39380e48 Merge claude/debt-engine: engine crates without use super::*, without #[allow(unused_imports)], without #[path] modules (except two shared/foreign files), 438 real doc headers; STRA-338 stage 10
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-linux-tests (push) Failing after 20s
Desktop foundation / core (ubuntu-latest) (push) Failing after 23s
Rust port / port-fast (push) Failing after 24s
Rust port / port-oracles (push) Failing after 27s
Linux / verify (push) Failing after 32s
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 47s
Product / product (push) Failing after 21m6s
2026-11-14 21:31:57 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 fbca47bd75 engine-qwen35-cuda tests: bringup_prints_gated finds test-only children in parent/name.rs (modules no longer use #[path])
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:31:39 +01:00
Pavlo Ratushnyi 9254bb3129 Merge main into claude/debt-engine 2026-11-14 21:23:57 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f62f1762e2 engine crates: open_cache_steps split off open_phase_steps, rustfmt, engine-core without #[allow(unused_imports)], baselines lowered (glob 70 -> 0, allow 166 -> 0 in the engine, 18 -> 0 in engine-core)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:23:09 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d027790278 cuda-driver and CPU expert pool (hot path, awaiting the identity gate): head_dispatch compiled once (shared module, no glob, no #[path]), copy_ring_layer split in two with explicit imports, measurement-timer comments, exceptions for the dyn, Instant::now and process-global sites that stay
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:20:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ed3a497233 Plan row 9: the rename is done on claude/debt-rename, merged after the engine branch
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:11:00 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e45e4d7aa0 engine crates: the generated doc headers (Methods of ..., Functions: ..., Split out of ...) are real descriptions of what the file is and why it is a file of its own (438 files, comment lines only)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:04:47 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 dce1676baf cuda-driver (hot path, awaiting the identity gate): 22 OnceLock<bool> env switches become EnvSwitch entries of the settings catalogue; &dyn ArenaMap and &mut dyn Write parameters become generics
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:04:14 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8b5e94fce9 engine-qwen35-cuda: no #[allow(unused_imports)] left (re-exports nobody used are gone, names only the test build needs are cfg(test), names only another platform needs sit under their cfg)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 20:59:50 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f2bc888459 engine-qwen35-cuda: no #[allow(unused_imports)] left (re-exports nobody used are gone, names only the test build needs are cfg(test), names only another platform needs sit under their cfg)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 20:57:34 +01:00
Pavlo Ratushnyi 1f917f3714 Merge claude/debt-rename into claude/debt-hot-control, baseline regenerated 2026-11-14 20:56:30 +01:00
Pavlo Ratushnyi c7ee5b1068 Merge branch 'claude/debt-rename' into claude/debt-hot-control 2026-11-14 20:54:18 +01:00
Pavlo Ratushnyi f6f0955378 Merge main into claude/debt-hot-control 2026-11-14 20:54:18 +01:00
Pavlo Ratushnyi 50084eac2f Merge claude/debt-low-docs: 604 real doc headers in the low-level crates
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 25s
Rust port / port-linux-tests (push) Failing after 28s
Rust port / port-oracles (push) Failing after 31s
Linux / verify (push) Failing after 33s
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
Product / product (push) Failing after 14m49s
Rust port / port-typecheck (push) Successful in 1m10s
2026-11-14 20:53:04 +01:00
Pavlo Ratushnyi c7587625a4 Merge branch 'main' into claude/debt-low-docs 2026-11-14 20:53:03 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 001f2a3063 Low-level crates: the generated doc headers (Methods of ..., Functions: ..., Split out of ...) are real descriptions: what the file holds and why it is a file of its own (604 files, comment lines only)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 20:53:02 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a3ad1e2380 tech-debt.md (f): the Strata names of our own code (stage 9), baseline key order
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 20:51:14 +01:00