Universal build migration inventory
docs/build/MIGRATION_INVENTORY.md · Open in source tree
Historical migration ledger. This file preserves dated migration evidence and therefore contains earlier package and edge counts. It is not a current inventory. See the generated workspace status and the root/package manifests for current facts.
Recorded status: NATIVE GRAPH IMPLEMENTED; PACKAGING PARTIAL. At this
migration checkpoint the workspace contained 46 package-local manifests and
131 declared compile edges. Those figures are intentionally retained as dated
evidence. Current authoritative facts come from the root and package manifests,
mrml.lock, and the generated workspace status. Canonical
package and fixed boot SystemRelease construction were implemented at this
checkpoint; general Store release, image, and publication work remained
incomplete.
Recorded Manifest V2 completion state
- Manifest V2 is the sole active representation; no active loader serializes structured manifests back into the former declaration grammar.
mrml manifest migrate LEGACY_WORKSPACE NEW_ROOTis the retained bounded, one-way V1 converter. Its fixture tests parse V1, emit and parse V2, compare the normalized targets/artifacts/dependencies/features/tests/examples/ benchmarks/input/output graph, and reject dependency loss.mrml manifest checkadmits 46 of 46 package manifests, rejects unadmitted discovered manifests, and resolves 131 compile edges plus the one declared runtime interface requirement.mrml.lockV2 keeps compile, build-tool, runtime-interface, package, and SystemRelease graphs distinct. The recorded declared counts were 131, 0, 1, 127, and 3 respectively. Package edges are explicitly classified as static runtime, boot-bound, or SystemRelease-bound; test-only and interface-schema compile edges are excluded from that package graph.- The only remaining
Cargo.tomlandCargo.lockare the clean-source stage-zero bootstrap formrml; package-local Cargo manifests are gone. - The current
.gitea/workflows/ci.ymlowns stage-zero, manifest, lock, exact-input audit, assurance, and full host-test gates. The earlier proposed standalonemanifest-v2.ymlfile was not retained as a current workflow. - On Windows GNU/LLVM, 20 warm process invocations of
mrml manifest checkaveraged 16.69 ms (minimum 15.70 ms, maximum 26.84 ms) on 2026-08-25. This is end-to-end process plus V2 parse/validation/graph overhead on this host, not a cross-host benchmark or a comparison against the retired in-process V1 path.
Implemented first gate
- dependency-free Rust
packages/tools/mrml, bootstrapped with pinned Cargo/rustc; - versioned native component inventory with distinct identity, path, Cargo bridge, class, target families, default selection, dependencies, features, outputs, and per-component input policies;
- Windows/Linux host recognition and MRML/Windows/Linux/UEFI/CUDA target families;
- structured list, doctor, build, test, target/toolchain failure, and planned- command results;
- bounded native graph resolution and
mrml auditverification of component identities, local dependencies, features, outputs, build scripts, procedural macros, and direct source-input sites; see BRIDGE_INVENTORY.md; - explicit dependency-free
mrml-math,mrml-windows, andmrml-linuxnative rustc build/test actions with validated crate names/types/sources, deterministic artifact paths, pinned target flags, exact dated rustup tool resolution independent of the caller's default, and no Cargo fallback;
The direct-action platform increment was checked on 2026-08-25 with exact dated toolchains:
- Windows GNU/LLVM: direct
mrml-mathbuild/test — PASS, 1 test; - Windows GNU/LLVM: direct
mrml-windowsbuild/test — PASS, 15 tests; - Arch Linux WSL2 (
6.18.33.2-microsoft-standard-WSL2): nativedoctorandaudit— PASS, 43 components and 120 dependency edges; - Arch Linux WSL2: direct
mrml-mathbuild/test — PASS, 1 test; - Arch Linux WSL2: direct
mrml-linuxbuild/test — PASS, 4 tests. - Windows GNU/LLVM: dependency-first direct
mrml-runtimebuild/test with only the Windows platform extern — PASS, 38 tests; - Arch Linux WSL2: dependency-first direct
mrml-runtimebuild/test with only the Linux platform extern — PASS, 37 tests. - Windows GNU/LLVM: direct build/test of the eight-component featureless runtime consumer layer — PASS, 31 tests;
- Arch Linux WSL2: the same eight-component direct build/test layer — PASS, 31 tests.
- Windows GNU/LLVM: direct
mrml-rustclibrary, inline harness, conformance target, and nightly-replacement target — PASS, 420 + 10 + 335 tests; - Arch Linux WSL2: the same direct multi-output compiler-core action — PASS, 420 + 10 + 335 tests. The declared 32 MiB stack is applied before exec; an earlier ELF-metadata-only attempt failed 29 stack-heavy tests and is not counted as parity evidence.
- Windows GNU/LLVM: direct
mrml-opusbuild, 179 inline tests, and three example links — PASS; - Arch Linux WSL2: the same Opus action — PASS after installing the explicit
distribution
opustest dependency. The initial-lopusabsence failed closed and is not counted as parity evidence.
This is hosted WSL2 evidence. No KVM, bare-metal Linux, or physical hardware was exercised by this increment.
- stage1
mrmlselection,mrml-rustc-driver, current-host WHP/KVM selection, x86-64 UEFI routing, and lazy CUDA/PTX routing; - duplicate
mrml-opusroot workspace member removed. - dependency-free
mrml-mathmoved to its semantic library home with all three consumer paths and the native graph updated; its Cargo bridge remains. mrml-percent-encodingmoved with its runtime dependency and sole tools consumer updated; its malformed-input tests and Cargo bridge remain.mrml-tokenizermoved with its runtime dependency and sole trainer consumer updated; its UTF-8 round-trip/training tests and Cargo bridge remain.mrml-zstdmoved with its runtime dependency, Wikipedia consumer, and patent source reference updated; its eight decoder tests and Cargo bridge remain.mrml-zimmoved with its runtime dependency and Wikipedia consumer updated; its four archive/parser tests and Cargo bridge remain.mrml-jsonmoved with its runtime dependency and six consumers updated; its four parser/writer tests and Cargo bridge remain.mrml-wikipediamoved after ZIM/Zstandard, with sibling semantic paths and its trainer consumer updated; its six extraction/filter tests and bridge remain.mrml-opusmoved with its math dependency converted to a sibling semantic path; its codec implementation, examples, native-link declaration, and Cargo bridge remain unchanged.mrml-windowsmoved with all six consumer paths updated; its allocation-free Windows primitives, native-link declarations, and Cargo bridge remain unchanged.mrml-linuxmoved with all five consumer paths updated; its allocation-free Linux/Unix primitives, native-link declaration, and Cargo bridge remain unchanged. Linux execution evidence remains outstanding.mrml-runtimemoved after both platform leaves, with its two dependency paths and all thirty-one inbound Cargo paths updated across thirty manifests; its runtime implementation, direct-input policy, and Cargo bridge remain unchanged.mrml-cryptomoved after runtime, with its runtime edge and all fourteen inbound Cargo paths updated; its algorithms, feature behavior, review status, and Cargo bridge remain unchanged.mrml-tlsmoved after crypto/runtime, with both dependency paths and its two inbound Cargo paths updated; its protocol implementation, review status, and Cargo bridge remain unchanged.mrml-httpmoved after TLS/runtime, with both dependency paths and its two inbound Cargo paths updated; its HTTP/HTTPS implementation and Cargo bridge remain unchanged.mrml-sshmoved after crypto/runtime, with both dependency paths and its Git consumer path updated; its SSH/signing implementation and Cargo bridge remain unchanged.mrml-errormoved after JSON/runtime, with both dependency paths and all eleven inbound Cargo paths updated; its error schema and Cargo bridge remain unchanged.mrml-terminal-stylemoved after its platform/runtime dependencies, with all three dependency paths and five inbound Cargo paths updated; its terminal behavior and Cargo bridge remain unchanged.mrml-av1moved after its platform/runtime dependencies, with all three dependency paths updated; its codec implementation, conformance evidence, feature behavior, review status, and Cargo bridge remain unchanged.- dependency-free
mrml-rustcmoved topackages/compiler/core, with its driver, recovery, oracle, checkpoint, hygiene-command, and patent-review paths updated; compiler semantics and its Cargo bridge remain unchanged. mrml-rustc-drivermoved topackages/compiler/driverafter its core, error, and runtime dependencies; its three dependency paths, recovery/checkpoint paths, command behavior, and Cargo bridge remain unchanged.mrml-gitmoved topackages/tools/gitafter error/runtime/SSH/terminal-style; its dependency paths already resolve to semantic packages, while library/bin behavior, compile-environment policy, and Cargo bridge remain unchanged.mrml-toolsmoved topackages/tools/hostafter all eight dependencies, with all four inbound Cargo paths updated; its feature behavior, 26 external-command sites, compile-environment policy, and Cargo bridge remain unchanged.
The runtime move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-runtime -- --check— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-runtime— PASS, 38 tests;.\target\debug\mrml.exe doctorand.\target\debug\mrml.exe audit— PASS;.\target\debug\mrml.exe build mrml-runtime— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-runtime --all-targets --no-deps -- -D warnings— FAIL, six existing lints in unchanged runtime source and tests.
No Linux host or runtime execution was exercised by this move.
The cryptography move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-crypto -- --check— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-crypto— PASS, 27 tests;.\target\debug\mrml.exe doctor,.\target\debug\mrml.exe audit, and.\target\debug\mrml.exe build mrml-crypto— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-crypto --all-targets --no-deps -- -D warnings— FAIL, five existing lints in unchanged cryptography source.
No Linux host or runtime execution was exercised by this move.
The later native cryptography action was checked with the exact dated
2026-08-24 toolchains on Windows and Arch Linux WSL2. Its resolved effective
default set selects runtime, activating the exact optional runtime extern.
mrml doctor, mrml audit, mrml build mrml-crypto, and all 27 direct tests
passed on both hosts. This did not exercise external ACVP vector directories,
physical hardware, or establish independent cryptographic validation.
The TLS move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-tls -- --check— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-tls— PASS, 11 tests;.\target\debug\mrml.exe doctor,.\target\debug\mrml.exe audit, and.\target\debug\mrml.exe build mrml-tls— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-tls --all-targets --no-deps -- -D warnings— FAIL, seven existing lints in unchanged TLS source.
No Linux host or runtime execution was exercised by this move.
The later native TLS action was checked with the exact dated 2026-08-24
toolchains on Windows and Arch Linux WSL2. mrml doctor, mrml audit,
mrml build mrml-tls, and all 11 direct tests passed on both hosts. The
environment-selected live peer, external certificate fixtures, KVM, bare metal,
and independent protocol validation were not exercised.
The HTTP move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-http -- --check— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-http— PASS, 3 tests;.\target\debug\mrml.exe doctor,.\target\debug\mrml.exe audit, and.\target\debug\mrml.exe build mrml-http— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-http --all-targets --no-deps -- -D warnings— FAIL, one existing lint in unchanged HTTP source.
No Linux host or runtime execution was exercised by this move.
The later native HTTP action was checked with the exact dated 2026-08-24
toolchains on Windows and Arch Linux WSL2. mrml doctor, mrml audit,
mrml build mrml-http, and all three direct tests passed on both hosts. The
environment-selected live URL/range probes, KVM, bare metal, and external
network interoperability were not exercised.
The SSH move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-ssh -- --check— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-ssh— PASS, 23 tests;.\target\debug\mrml.exe doctor,.\target\debug\mrml.exe audit, and.\target\debug\mrml.exe build mrml-ssh— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-ssh --all-targets --no-deps -- -D warnings— FAIL, six existing lints in unchanged SSH source.
No Linux host or runtime execution was exercised by this move.
The later native SSH action was checked with the exact dated 2026-08-24
toolchains on Windows and Arch Linux WSL2. mrml doctor, mrml audit,
mrml build mrml-ssh, and all 23 direct tests passed on both hosts, including
loopback transport. No live remote, real external host key, external signing,
KVM, bare metal, or physical hardware was exercised.
The error-library move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-error -- --check,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-error --all-targets --no-deps -- -D warnings,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-error— PASS, 1 test;.\target\debug\mrml.exe build mrml-error— PASS.
No Linux host or runtime execution was exercised by this move.
The terminal-style move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-terminal-style -- --check,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-terminal-style --all-targets --no-deps -- -D warnings,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-terminal-style— PASS, 3 tests;.\target\debug\mrml.exe build mrml-terminal-style— PASS.
No Linux host or runtime execution was exercised by this move.
The AV1 move was checked on a Windows host:
.\target\debug\mrml.exe doctor,.\target\debug\mrml.exe audit, and.\target\debug\mrml.exe build mrml-av1— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-av1 --lib— FAIL, 257 passed and 18 failed; sixteen failures reported stack overflow and two reported existing assertion/arithmetic failures;- the same test with
RUST_MIN_STACK=33554432— FAIL with the same 257/18 result; cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-av1 -- --check— FAIL on existing formatting differences;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-av1 --all-targets --no-deps -- -D warnings— FAIL, four existing lints in unchanged AV1 source.
No Linux host, NVIDIA feature path, conformance corpus, or physical decoder was exercised by this move.
The later native-action increment was checked on Windows and Arch Linux WSL2
with the exact dated 2026-08-24 toolchains. On both hosts, mrml doctor,
mrml audit, and mrml build mrml-av1 passed, including native compilation of
the declared decode_ivf example. The empty feature set left both optional
nvidia platform externs inactive and retained the unconditional runtime edge.
With a declared 32 MiB executable stack, mrml test mrml-av1 reached 273 passed
and 2 failed on each host; those are the same pointer-identity assertion and
restoration arithmetic failure already present in the pinned Cargo baseline.
This establishes build-system parity only. No NVIDIA path, corpus, KVM, bare
metal, physical decoder, or complete AV1 interoperability was exercised.
The compiler-core move was checked on a Windows host with
RUSTFLAGS=-C link-arg=/stack:16777216:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-rustc -- --checkandcargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-rustc --all-targets --no-deps -- -D warnings— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-rustc— PASS, 765 tests (420 library, 10 conformance, 335 replacement);.\target\debug\mrml.exe doctor,.\target\debug\mrml.exe audit, and.\target\debug\mrml.exe build mrml-rustc— PASS;rg -n "(^|[^A-Za-z])(std|alloc)::|unsafe\\s*\\{" packages/compiler/core/src— PASS with no matches.
No Linux compiler-core execution was exercised by this move; the existing oracle records retain their exact historical Linux evidence and limitations.
The compiler-driver move was checked on a Windows host with
RUSTFLAGS=-C link-arg=/stack:16777216:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-rustc-driver -- --check,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-rustc-driver --all-targets --no-deps -- -D warnings,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-rustc-driver— PASS, 2 tests;rg -n "(^|[^A-Za-z])(std|alloc)::|unsafe\\s*\\{" packages/compiler/core/src packages/compiler/driver/src— PASS with no matches;.\target\debug\mrml.exe build mrml-rustc-driver— FAIL because the selected MSVC target could not findlink.exe.
No Linux compiler-driver execution was exercised by this move.
The later bin-only native action was checked with the exact dated 2026-08-24
toolchains on Windows and Arch Linux WSL2. The action declares no primary rlib,
binds the exact mrml-rustc binary source/output, and consumes native compiler-
core, error, and runtime artifacts. Native build and both inline tests passed on
each host, eliminating the earlier MSVC link.exe bridge failure. No emitted
object was executed, no oracle delta was measured, and no KVM, bare metal, or
physical hardware was exercised.
The target-feature prerequisite was then checked from both Windows and Arch
Linux WSL2 with the exact dated 2026-08-24 toolchains. The loader requires every
featureful action target to appear in exactly one feature set. Direct
mrml build mrml-crypto --target native passed on both hosts, selecting no
features and no runtime extern for x86_64-unknown-none; the host runtime
profile continued to pass all 27 tests. No target code was executed and no
bare-metal or physical-hardware claim follows.
The Git-tool move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-git -- --check,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-git— PASS, 52 tests;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-git --all-targets --no-deps -- -D warnings— FAIL, 15 existing lint instances in unchanged Git-tool source/tests;.\target\debug\mrml.exe build mrml-git— FAIL because the selected MSVC target could not findlink.exe.
No Linux Git-tool execution or live remote operation was exercised by this move.
The later native Git action was checked with the exact dated 2026-08-24
toolchains on Windows and Arch Linux WSL2. Its exact library and mrml-git
binary outputs build directly; CARGO_PKG_VERSION=0.0.1 is an explicit action
input rather than inherited Cargo ambience. mrml test mrml-git passed 51
library tests plus the binary's one inline test on each host. mrml doctor and
mrml audit passed with 48 external-command sites. No live remote, external
host key/signing operation, KVM, bare metal, or physical hardware was exercised.
The 2026-08-30 native Git object-format and standalone OpenPGP action was checked
on an Arch Linux host with the dated nightly-2026-08-29 toolchain. Exact
outcomes were:
RUSTFLAGS='-D warnings' ./target/debug/mrml build mrml-crypto --target linux, and the corresponding commands formrml-openpgp,mrml-interface-security-detached-signing-v1, andmrml-git— PASS for Linux debug; the correspondingmrml-git --releasebuild also passed;- canonical
./target/debug/mrml test ... --target linuxruns — PASS: 37mrml-cryptotests, 10mrml-openpgptests, seven detached-signing-interface tests, and 77mrml-gitlibrary tests plus its one binary test; ./target/debug/mrml manifest fmt --check,./target/debug/mrml manifest check,./target/debug/mrml manifest lock --check,./target/debug/mrml doctor, and./target/debug/mrml audit— PASS. The resulting inventory covered 60 components, 171 dependency records, 92 features, 88 outputs, 61 external-command sites, and seven included files;- direct
rustc -D warningsno-stdbuilds for thex86_64-unknown-uefitarget — PASS formrml-crypto,mrml-openpgp, and the detached-signing interface. This is compile-only evidence, not an early-boot, runtime-provider, or physical-hardware result. The component-select UEFI frontend does not select projected libraries independently, so no canonical UEFI frontend build is claimed; ./target/mrml-native/linux/debug/mrml-git signing verify HEAD— PASS for the checked-in public key, exact documented primary fingerprint, and checked SHA-256HEAD;./target/mrml-native/linux/release/mrml-git status— PASS against this checkout's packed SHA-256 history and dirty-file inventory in approximately 21.5 seconds.
A disposable hosted controlled probe used Git 2.55.0 and GnuPG 2.4.9. The
standalone interface signer created commits and annotated tags in separate
SHA-1 and SHA-256 repositories with a disposable Ed25519 key and an explicitly
selected SHA-256 OpenPGP digest. System git fsck --full --strict, git verify-commit --raw HEAD, and git verify-tag --raw v1 all passed in both
repositories. The SHA-1 commit used ordinary gpgsig framing; the SHA-256
commit had a 64-hex object ID and gpgsig-sha256. Both commit and tag GnuPG
VALIDSIG records selected digest ID 8 in each repository. Separate standalone
detached signatures using SHA-256, SHA-384, and SHA-512 also passed GnuPG
verification with digest IDs 8, 9, and 10 respectively. A second fresh SHA-256
repository exercised the public mrml-git CLI end to end: init,
signing configure-openpgp, commit --sign, tag-sign, signing verify, and
signing verify-tag all passed; Git strict fsck and the independent GnuPG
commit/tag verifiers passed for the resulting objects. GnuPG was only an
independent test oracle: the implementation has no runtime GnuPG executable,
agent, keyring, or process dependency.
This is Linux hosted-process and direct cross-compile evidence. No live SSH remote, Windows, KVM, bare-metal, or physical-hardware path was exercised. The remote fetch path still installs only advertised branch references: peeled tag advertisements parse, but tag references are not installed.
A separate git fsck --full --strict against the shared development checkout
failed because six existing loose-object paths were zero-length; it also
reported dangling trees. Their modification times predated this verification
pass, none appeared in git rev-list --objects --all, the current signed HEAD
remained readable and verifiable, and this work did not remove or repair
user-owned .git state. The clean fsck result above is therefore limited to the
disposable interoperability repository.
The host-tool move was checked on a Windows host:
cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-tools -- --check,.\target\debug\mrml.exe doctor,.\target\debug\mrml.exe audit, and.\target\debug\mrml.exe build mrml-tools— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-tools— FAIL, 31 passed and the installed-Edge integration test failed because DevTools was not exposed on its assigned port;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-tools --all-targets --no-deps -- -D warnings— FAIL, 19 existing lints in unchanged host-tool source.
No Linux host-tool execution, live remote web service, physical desktop/audio route, or accessibility hardware was exercised by this move.
The later native host-tool action was checked with the exact dated 2026-08-24
toolchains. It records the resolved runtime set, repository-relative
CARGO_MANIFEST_DIR=packages/tools/host, six universal externs, and one host platform
extern. Arch Linux WSL2 passed all 32 tests. Windows reproduced the Cargo
baseline at 31 passed and one installed-Edge DevTools-port failure. mrml doctor,
mrml audit, and native build passed on both hosts. No live remote web service,
physical browser, desktop/audio route, accessibility hardware, KVM, or bare
metal was established by this evidence.
The kernel move from crates/mrml-kernel to packages/system/kernel was checked on a
Windows host without changing kernel source behavior:
cargo metadata --no-deps --format-version 1,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-kernel -- --check,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-kernel— FAIL, 472 passed and 2 existing stack-heavy tests overflowed the default Windows test-harness stack;- the same test with
RUST_MIN_STACK=33554432— FAIL with the same 472/2 result because those tests execute on the harness main thread; - the same test with
RUSTFLAGS=-C link-arg=/stack:67108864— PASS, 474 tests; cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-kernel --all-targets --no-deps -- -D warnings— FAIL on one existingdrop_non_droplint in unchanged kernel test code;.\target\debug\mrml.exe build mrml-kernel— FAIL closed withNoMatchingComponents { target: WINDOWS }because the kernel is declared only for theMRML_NATIVEtarget, not the Windows host target;git grep -n 'crates/mrml-kernel/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact kernel-package path matches.
No Linux, KVM, WHP, nested-virtualization, UEFI, Secure Boot, TPM, IOMMU, bare-metal, or physical-hardware execution was exercised by this path-only move.
The later native kernel action was checked from Windows and Arch Linux WSL2
with the exact dated 2026-08-24 toolchains. Each host directly cross-built the
kernel and empty-feature crypto dependency for x86_64-unknown-none, then used
a fresh host dependency graph and the explicitly declared 64 MiB test stack.
All 474 host tests passed on each host. mrml doctor and mrml audit passed.
The target rlib was not executed; no KVM, WHP, nested virtualization, UEFI,
Secure Boot, TPM, IOMMU, bare metal, or physical hardware was verified.
The bootloader move from crates/mrml-kernel-image to packages/system/bootloader was
checked on a Windows host without changing bootloader source behavior:
cargo metadata --no-deps --format-version 1,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-kernel-image -- --check,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm check -p mrml-kernel-image --target x86_64-unknown-uefi --no-default-features --features kernel-image— PASS;- the corresponding
clippycommand with--no-deps -- -D warnings— PASS; .\target\debug\mrml.exe build mrml-kernel-image— FAIL closed withNoMatchingComponents { target: WINDOWS }because the bootloader is declared only for theUEFItarget;git grep -n 'crates/mrml-kernel-image/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact bootloader-package path matches.
No UEFI runtime, Secure Boot, TPM, bare-metal, or physical-hardware execution was exercised by this path-only move.
The signed service-image move from crates/mrml-service-image to
packages/system/service-image was checked on a Windows host without changing service
source behavior:
cargo metadata --no-deps --format-version 1,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-service-image -- --check,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm check -p mrml-service-image --target x86_64-unknown-uefiand the corresponding strictclippycommand with--no-deps -- -D warnings— PASS;.\target\debug\mrml.exe build mrml-service-image— FAIL closed withNoMatchingComponents { target: WINDOWS }because the service image is declared only for theMRML_NATIVEtarget;git grep -n 'crates/mrml-service-image/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact service-image path matches.
The UEFI target compilation above is compile-time evidence only. No signed service runtime, WHP/KVM, UEFI firmware, bare-metal, or physical-hardware execution was exercised by this path-only move.
The configuration-service move from crates/mrml-config to packages/services/config
was checked on a Windows host without changing service source behavior:
cargo metadata --no-deps --format-version 1,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-config -- --check,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-config— PASS, 31 tests;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-config --all-targets --no-deps -- -D warnings— FAIL on one existingdrop_non_droplint in unchanged configuration test code;.\target\debug\mrml.exe build mrml-config— PASS;git grep -n 'crates/mrml-config/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact configuration-package path matches.
No Linux host/runtime, signed service, WHP/KVM, bare-metal, or physical-hardware execution was exercised by this path-only move.
The storage-service move from crates/mrml-storage to packages/services/storage was
checked on a Windows host without changing storage source behavior:
cargo metadata --no-deps --format-version 1,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-storage -- --check,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-storage— FAIL, 118 passed and 3 existing stack-heavy tests overflowed the default Windows test-harness stack;- the same test with
RUSTFLAGS=-C link-arg=/stack:67108864— PASS, 121 tests; cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm clippy -p mrml-storage --all-targets --no-deps -- -D warnings— FAIL on four existingdrop_non_droplints in unchanged storage test code;.\target\debug\mrml.exe build mrml-storage— PASS;git grep -n 'crates/mrml-storage/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact storage-package path matches.
No Linux host/runtime, live block device, signed service, WHP/KVM, bare-metal, or physical-storage execution was exercised by this path-only move.
The 2026-08-29 modular-storage extraction moved every implemented AHCI source
from packages/services/storage/src into
packages/libraries/storage-ahci/src without discarding mechanism. Manifest V2
now records org.mrml.library.storage.ahci as the isolated generation-1
org.mrml.interface.storage.block-provider, and the storage service requires
that exact dynamic interface. mrml test passes 50 AHCI-library and 135 storage-
service tests on Windows and Arch Linux. This is source/package/interface graph
evidence; no live provider process, restart, AHCI hardware, IOMMU, OVMF, or
physical disk was exercised.
The new packages/libraries/storage-fat32 semantic package declares the isolated
generation-1 filesystem provider independently of AHCI. Its bounded FAT32 boot-
sector/geometry, FSInfo, FAT-chain, atomic directory-chain, and checksum-bound
read-only LFN parsers, atomic file-range reader, and canonical interface probe
adapter and authenticated receive/release/reply service loop pass thirty-three
mrml test cases on Windows and Arch Linux; the filesystem interface codec
passes three, and storage passes 136 with a hosted exact-generation replacement
test. Windows builds mrml-fat32-service.efi for MRML_NATIVE as a 5,120-byte
x86-64 PE32+ EFI application with a nonzero entrypoint. No installed provider
launch, lookup/open policy, formatting, recovery boot, interoperability oracle,
or physical media was exercised.
The shared UEFI-library move from crates/mrml-uefi to
packages/libraries/uefi was checked on a Windows host without changing source
behavior:
cargo metadata --no-deps --format-version 1,cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm fmt -p mrml-uefi -- --check,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-uefi --lib— PASS, 24 tests;- UEFI-target
checkand strictclippyformrml-uefiwith theuefi-imagefeature — PASS; .\target\debug\mrml.exe build mrml-uefi— PASS;git grep -n 'crates/mrml-uefi/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact UEFI-library path matches.
No Linux host/runtime, UEFI firmware, Secure Boot, TPM, bare-metal, or physical- hardware execution was exercised by this path-only move.
The kernel benchmark/test-harness move from crates/mrml-kernel-bench to
packages/tests/kernel-bench was checked on a Windows host without changing harness
source behavior:
cargo metadata --no-deps --format-version 1, formatting, strict Clippy,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-kernel-bench— PASS with 14 manual performance gates ignored and no measured tests run;.\target\debug\mrml.exe build mrml-kernel-bench— PASS;git grep -n 'crates/mrml-kernel-bench/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact benchmark-package path matches.
No Linux host/runtime, release-mode performance gate, affinity-pinned physical core, bare-metal, or physical-hardware execution was exercised by this move.
The signing-tool move from crates/mrml-sign to packages/tools/sign was checked on a
Windows host without changing signing source behavior:
cargo metadata --no-deps --format-version 1, formatting, strict Clippy,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-sign— PASS, 8 tests;.\target\debug\mrml.exe build mrml-sign— FAIL because the frontend's selected MSVC target could not findlink.exeon this host;git grep -n 'crates/mrml-sign/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact signing-tool path matches.
No Linux host/runtime, live signing key, Secure Boot enrollment, firmware, bare-metal, or physical-hardware execution was exercised by this path-only move.
The KVM-library move from crates/mrml-kvm to packages/system/vmm/kvm was checked on a
Windows host without changing VMM source behavior:
cargo metadata --no-deps --format-version 1, formatting, strict Clippy,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-kvm— PASS, 7 portable ABI tests;.\target\debug\mrml.exe build mrml-kvm— FAIL closed withNoMatchingComponents { target: WINDOWS }because KVM is Linux-only;rustup target list --installedshowed no Linux target, so Linux cross-check compilation was unavailable in this host toolchain;git grep -n 'crates/mrml-kvm/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact KVM-library path matches.
No Linux host/runtime, /dev/kvm, nested virtualization, VM launch, or physical-
hardware execution was exercised by this path-only move.
The WHP-library move from crates/mrml-whp to packages/system/vmm/whp was checked on a
Windows host without changing VMM source behavior:
cargo metadata --no-deps --format-version 1, formatting, strict Clippy,.\target\debug\mrml.exe doctor, and.\target\debug\mrml.exe audit— PASS;cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-whp— PASS, 22 tests with 1 manual live-mapping performance gate ignored;.\target\debug\mrml.exe build mrml-whp— PASS;git grep -n 'crates/mrml-whp/' -- ':!docs/build/MIGRATION_INVENTORY.md'— PASS with no stale exact WHP-library path matches.
Several focused tests are conditional on hypervisor availability; a passing test process does not by itself prove those conditional operations ran. No nested-virtualization, physical-hardware, VTL1, TPM, IOMMU, or remote-attestation evidence was established by this path-only move.
The KVM-runner move from crates/mrml-kvm-run to packages/tools/vmm/kvm-run was checked
on a Windows host without changing launcher source behavior:
- workspace metadata, formatting, strict Clippy,
mrml doctor, andmrml audit— PASS; cargo +nightly-2026-08-24-x86_64-pc-windows-gnullvm test -p mrml-kvm-run— PASS, 5 portable handoff/policy tests;.\target\debug\mrml.exe build mrml-kvm-run— FAIL closed withNoMatchingComponents { target: WINDOWS }because this runner is Linux-only;- stale exact
crates/mrml-kvm-run/path scan — PASS.
No Linux host/runtime, CUDA, /dev/kvm, VM launch, nested virtualization, or
physical-hardware execution was exercised by this path-only move.
The WHP-runner move from crates/mrml-whp-run to packages/tools/vmm/whp-run was checked
on a Windows host without changing launcher source behavior:
- workspace metadata, formatting, no-default-feature strict Clippy,
mrml doctor, andmrml audit— PASS; - pinned-nightly tests both with
--no-default-featuresand with default CUDA enabled — PASS, 7 tests in each configuration; the default build compiled Rust CUDA PTX but did not execute it; .\target\debug\mrml.exe build mrml-whp-run— FAIL because the selected MSVC target could not findlink.exeon this host;- stale exact
crates/mrml-whp-run/path scan — PASS.
No GPU execution, VM launch, nested virtualization, physical hardware, VTL1, TPM, IOMMU, or remote-attestation evidence was established by this move.
The tensor/GPU-package move from crates/mrml-tensor to packages/gpu/tensor
was checked on a Windows host without changing tensor, CUDA, or build-script
source behavior:
- workspace metadata, formatting,
mrml doctor, andmrml audit— PASS; the audit retained exactly one build script, one included file, and one external command for this package; - pinned-nightly
cargo test -p mrml-tensor --lib— PASS, 14 tests; - strict all-target Clippy — FAIL on 38 existing warning/lint sites in unchanged tensor source and tests;
.\target\debug\mrml.exe build mrml-tensor— FAIL while compiling theno_stdbuild script for the selected MSVC target because its prebuilt core uses unwinding;- stale exact
crates/mrml-tensor/path scan — PASS.
No Linux runtime, CUDA execution, native GPU, WHP/KVM launch, or physical- hardware evidence was established by this path-only move.
Patent review: TRIGGERED remains in force for the existing tensor/GPU
mechanisms; see ../patents/REVIEW_LOG.md. The
relocation itself introduced no new mechanism.
The model-library move from crates/mrml-model to packages/libraries/model
was checked on a Windows host without changing model source behavior:
- workspace metadata, formatting, strict package Clippy,
mrml doctor, andmrml audit— PASS; - pinned-nightly
cargo test -p mrml-model— PASS, 7 tests; the unchanged tensor dependency emitted its existing warnings; .\target\debug\mrml.exe build mrml-model— FAIL at the relocated tensor dependency's already-recorded MSVC/no_std build-script unwind limitation;- stale exact
crates/mrml-model/path scan — PASS.
No Linux runtime, model corpus, CUDA/GPU execution, or physical-hardware evidence was established by this path-only move.
The agent-library move from crates/mrml-agent to packages/libraries/agent
was checked on a Windows host without changing agent source behavior:
- workspace metadata, formatting,
mrml doctor, andmrml audit— PASS; - pinned-nightly
cargo test -p mrml-agent— PASS, 20 tests; conditional live query test success does not prove that a remote query occurred; - strict all-target Clippy — FAIL on 17 existing lint sites in unchanged agent source/tests;
.\target\debug\mrml.exe build mrml-agent— FAIL at the relocated tensor dependency's already-recorded MSVC/no_std build-script unwind limitation;- stale exact
crates/mrml-agent/path scan — PASS.
No Linux runtime, live remote model service, CUDA/GPU execution, desktop tools, or physical-hardware evidence was established by this path-only move.
The CLI move from crates/mrml-cli to packages/apps/cli was checked on a Windows host
without changing application source behavior:
- workspace metadata, formatting,
mrml doctor, andmrml audit— PASS; - pinned-nightly no-default-feature tests — PASS with zero tests defined;
- no-default-feature strict all-target Clippy — FAIL on four existing lint sites in unchanged CLI source/test compilation;
.\target\debug\mrml.exe build mrml-cli— FAIL at tensor's already-recorded MSVC/no_std build-script unwind limitation;- stale exact
crates/mrml-cli/path scan — PASS.
No Linux runtime, interactive CLI, remote model download, CUDA/GPU execution, or physical-hardware evidence was established by this path-only move.
The machine-application move from crates/mrml-machine to packages/apps/machine was
checked on a Windows host without changing application source behavior:
- workspace metadata, formatting,
mrml doctor, andmrml audit— PASS; - pinned-nightly no-default-feature tests — PASS, 4 protocol/parser tests;
- no-default-feature strict all-target Clippy — FAIL on 18 existing dead-code sites in unchanged test compilation;
.\target\debug\mrml.exe build mrml-machine— FAIL at tensor's already- recorded MSVC/no_std build-script unwind limitation;- stale exact
crates/mrml-machine/path scan — PASS.
No Linux runtime, live machine session, remote model service, CUDA/GPU execution, or physical-hardware evidence was established by this path-only move.
The server move from crates/mrml-server to packages/apps/server was checked on a
Windows host without changing application source behavior:
- workspace metadata, formatting,
mrml doctor, andmrml audit— PASS; - pinned-nightly no-default-feature tests — PASS, 4 library tests plus an empty binary test target, including a controlled native-TCP test;
- no-default-feature strict all-target Clippy — FAIL on one existing dead-code lint in unchanged binary test compilation;
.\target\debug\mrml.exe build mrml-server— FAIL at tensor's already- recorded MSVC/no_std build-script unwind limitation;- stale exact
crates/mrml-server/path scan — PASS.
No Linux runtime, externally exposed server, remote traffic, CUDA/GPU execution, or physical-hardware evidence was established by this path-only move.
The trainer-tool move from crates/mrml-trainer to packages/tools/trainer was checked
on a Windows host without changing trainer source behavior:
- workspace metadata, formatting,
mrml doctor, andmrml audit— PASS; - pinned-nightly tests — PASS, 4 training/export tests;
- strict all-target Clippy — FAIL on 8 existing dead-code sites in unchanged test compilation;
.\target\debug\mrml.exe build mrml-trainer— FAIL at tensor's already- recorded MSVC/no_std build-script unwind limitation;- stale exact
crates/mrml-trainer/path scan — PASS.
No Linux runtime, production corpus, long-running training, CUDA/GPU execution, or physical-hardware evidence was established by this path-only move.
That historical checkpoint predated the implemented package and bounded boot
release commands. mrml package now constructs/verifies canonical packages and
boot media, while mrml release create|verify exposes the exact signed three-
package boot SystemRelease. General Store releases, image, and publish
remain PLANNED. Physical UEFI/GPU evidence is still absent unless separately
recorded below.
The native WHP and KVM runners now use the same no_std package-format kernel-
admission function for package trust, exact identity, version floor, optional
signed SystemRelease binding, payload selection, and decoded-size bounds. On
2026-08-25 their optimized focused verification modes accepted the same exact
release/package pair and each decoded 2,232,432 bytes; optimized live WHP and
nested-KVM runs from that pair then reached the expected kernel halt. This is
native direct-launch evidence, not native-runner OVMF, physical UEFI, Secure
Boot, TPM, IOMMU, or bare-metal evidence.
Current semantic classes
| Class | Current components/direction |
|---|---|
BOOTSTRAP_ONLY |
packages/tools/mrml; Cargo stage zero, then self-build graph |
COMPILER |
mrml-rustc at packages/compiler/core; driver at packages/compiler/driver |
MRML_NATIVE |
kernel, service image, configuration, storage |
UEFI |
kernel-image bootloader artifact; mrml-uefi is shared support |
HOST_WINDOWS_LINUX |
Git at packages/tools/git, host tools at packages/tools/host; CLI/server/sign/trainer and VMM launchers remain transitional |
GPU |
tensor/CUDA compatibility path; native GPU remains separate |
TEST |
kernel benchmark |
SHARED |
reusable crypto/runtime/protocol/media/model/platform libraries |
The exact entries live in package-local mrml.toml files enumerated by the root
mrml.toml; this table must not become a
second inventory.
Post-migration constraints
- Every component retains Cargo dependency metadata for audit parity and
historical comparison, but normal component build/test paths do not invoke
Cargo. No tracked component remains beneath generic
crates/. - Tensor's obsolete Cargo
build.rsis deleted. Its explicit structured PTX action is the sole generated-kernel path after stage-zero bootstrap. - Dependency, feature, output, and source-input facts are persisted and fail closed on Cargo metadata or lexical-audit drift. Lexical discovery still cannot prove that arbitrary macro expansion introduces no additional input.
- Native graph construction now provides dependency-first ordering, cycle diagnostics, and target-scoped exact extern artifacts for migrated library nodes. Native integration-test outputs and bounded test-process stacks are explicit, native example outputs are checked and compiled, and exact feature sets can gate optional target-specific externs. Exact binary outputs, binary test harnesses, compile-time environment values, and bin-only actions are explicit. All 43 components now have native actions. Direct-rustc expansion still needs lock/digest validation for later packaging, but Cargo has been removed from every normal component build/test path.
- Moving all paths requires updating Cargo dependencies, docs, scripts, fixtures, and CI together and verifying both Windows/WHP and Linux/KVM. The present task intentionally establishes the graph before that high-churn move.
Named provider feature profiles close a host-projection gap in that resolver.
An extern may select a validated nondefault provider profile; the selected
profile participates in recursive-build identity and the rlib filename. The
kernel now binds crypto's empty core profile for MRML_NATIVE, Windows, and
Linux instead of acquiring crypto's host-default runtime feature during host
tests. Verification with the exact dated toolchains passed mrml's 11 unit
tests and clippy, mrml doctor, mrml audit, the native kernel cross-build,
and all 474 kernel host tests on Windows gnullvm and Arch Linux WSL2. The
separate libmrml_crypto__core.rlib artifact was observed; this remains hosted
and cross-build evidence only.
Provider profiles may now vary with a named consumer profile through an exact
rust-extern-profile declaration. The parser rejects missing components,
externs, consumer profiles, provider profiles, target coverage, and duplicate
mappings; unspecified consumer profiles retain the extern's base profile.
Windows gnullvm and Arch Linux WSL2 each pass all 12 frontend tests and strict
Clippy. No application feature graph is claimed migrated by this resolver-only
increment.
The next bounded action adds explicit host-build projections without widening a
provider's public target declaration. Kernel permits Windows/Linux projection;
storage binds that artifact and crypto's empty core profile. With both exact
dated toolchains, mrml unit tests, clippy, doctor, and audit pass; storage
cross-builds for x86_64-unknown-none and its 64 MiB host harness passes all 121
tests on Windows gnullvm and Arch Linux WSL2. Twenty-four components are native
and 18 remain transitional. This is not physical-device or durability evidence.
Configuration is the next dependency-ordered native action. It declares only
crypto's empty core profile, kernel, and storage, matching its Cargo graph.
Both exact dated host toolchains pass doctor/audit, cross-build the library for
x86_64-unknown-none, and run all 31 projected host tests. Twenty-five
components are native and 17 remain transitional; no signed service or target
runtime was exercised.
Kernel-bench is now a native host action over the exact kernel/runtime artifacts. Doctor, audit, build, and test pass on both exact dated toolchains. Windows registers 14 tests and Linux 13; every test remains explicitly ignored as a manual performance gate, so no benchmark executed and no performance or physical-core evidence is claimed. Twenty-seven components are native and 15 remain transitional.
The resolver now separately validates non-host dependency projections and
present versus absent compile-environment inputs. Kernel-image projects kernel
and crypto-core to UEFI, selects exactly kernel-image, and emits a PE32+ EFI
application with both exact dated host toolchains. Rebuilding after poisoning
all four inherited MRML_* option variables yields the unchanged same-host hash,
proving rustc receives their declared absence. Twenty-eight components are
native and 14 remain transitional. This is compile-time evidence only; no UEFI,
Secure Boot, TPM, bare-metal, or physical hardware ran.
Target/feature-gated binary actions now distinguish a package's host library
from a required-feature UEFI executable, and explicit UEFI selectors are no
longer replaced by the default kernel image. mrml-uefi emits a PE32+ EFI loader
on both exact dated hosts and passes all 24 projected library/TPM simulation
tests per host. On Windows, poisoning all 21 absent compile inputs leaves the
loader hash unchanged. Twenty-nine components are native and 13 remain
transitional. No firmware, TPM, Secure Boot, or physical hardware ran.
Profile separation now includes a stable rustc metadata discriminator in
addition to cache identity and filenames. The signing tool exposed this gate by
depending on host-default crypto directly and crypto-core through kernel. With
that corrected, both exact dated host toolchains build mrml-sign and pass all
eight temporary-file tests. Thirty components are native and 12 remain
transitional. No live key, Secure Boot enrollment, firmware, or hardware signing
operation occurred.
Direct externs now distinguish production and test-only scope. KVM's direct
crypto-core dev edge is supplied only to its test harness; kernel continues to
bring crypto-core transitively into production. The exact Arch Linux toolchain
passes doctor/audit, builds the library, and runs 18 tests with one manual live-
mapping performance gate ignored. /dev/kvm was usable, so conditional API and
signed-guest probes ran under nested WSL2 KVM. Thirty-one components are native
and 11 remain transitional. This is not bare-metal, IOMMU, TPM, or physical-
hardware evidence.
WHP applies that existing test-only extern scope to its corresponding Windows graph: kernel and runtime are production externs, and crypto-core is supplied only to the harness. The exact Windows gnullvm toolchain passes frontend tests, Clippy, doctor, audit, native build, and the native/Cargo test baselines at 22 passed with one manual live-mapping performance gate ignored. Running the ignored executable separately completed 10,000 WHP map/revoke iterations. The exact Linux toolchain passes frontend tests, Clippy, doctor, and audit while correctly omitting the Windows-only action. Thirty-two components are native and 10 remain transitional. This establishes hosted WHP API and mapping execution only, not VTL1, TPM, IOMMU, bare-metal, or physical-hardware evidence.
Tensor closes the remaining custom-build execution gap with a structured native
PTX action. It binds the exact kernel source, output name, generated OUT_DIR,
cuda feature, nvptx target, optimization, ABI-mismatch flag, and required
command-line GPU architecture. Tests, feature-gated examples, and the harness-
free benchmark are now exact native declarations, and semantic CUDA artifacts
are isolated by Windows/Linux host ABI triple. With both exact dated toolchains:
- frontend tests, strict Clippy, doctor, and audit pass;
- native portable tensor builds and all 29 portable tests pass;
- native and Cargo CUDA-enabled suites each pass all 43 tests;
- both native CUDA paths compile the two CUDA-only examples and execute the focused prefill-primitives probe through their available CUDA device path;
- Windows and Linux emit byte-identical
sm_120PTX with SHA-25683ad662cd1f6cb6f7736ddb817da1d12fa022394fa0bf415152c302e8e09c920.
Thirty-three components are native and nine remain transitional. The evidence covers hosted Windows and WSL2 CUDA driver/device execution; it does not prove physical GPU topology, passthrough isolation, native MRML GPU execution, or production model correctness.
Engineering Constitution record:
Complexity impact: MEDIUM
TCB impact: NONE
New parser boundary: YES
New authority model: NO
New persistent state: NO
External dependency: NO
Failure isolated: YES
Existing-object reuse: HIGH
The bounded extension reuses the existing fail-closed workspace parser and reuses the pinned compiler, native graph, feature model, artifact directory, and test runner. Generated artifacts carry no runtime authority.
Model is the next dependency-ordered native action. Its default runtime
feature activates exactly JSON and tensor while runtime remains unconditional,
matching the Cargo manifest. Both exact dated host toolchains pass doctor/audit,
build the library directly, and match Cargo at all seven inline tests. Thirty-
four components are native and eight remain transitional. No production model,
remote service, CUDA model profile, or inference workload was exercised.
Compile-environment declarations now record a bounded use count separately from
the exact value. This closes agent's multiplicity gap: one
CARGO_PKG_VERSION=0.0.1 binding accounts for both audited env! read sites
without duplicate declarations. Agent's default runtime feature activates its
seven optional providers while runtime remains unconditional. Both exact dated
host toolchains pass frontend tests, strict Clippy, doctor/audit, native build,
and the native/Cargo 20-test baselines. Thirty-five components are native and
seven remain transitional. No configured live Hugging Face query, remote
inference, production model workload, or CUDA agent profile ran.
Trainer is an exact bin-only native action over its five already-native semantic providers. The exact Windows gnullvm and Arch Linux WSL2 toolchains pass doctor/audit and match the native and Cargo four-test baselines. Thirty-six components are native and six remain transitional. Tests used bounded generated data only; no production corpus, sustained training, CUDA path, or physical hardware ran.
The WHP runner is an exact Windows bin-only action matching the transition bridge's deliberate no-default-features mode. It directly binds core crypto, error, kernel, runtime, and WHP while leaving the optional CUDA/tensor edge inactive. The pinned Windows gnullvm toolchain passes doctor/audit, native build, and matching native/Cargo seven-test suites. Thirty-seven components are native and five remain transitional. No VM, VBS/VTL1, IOMMU, CUDA-runner path, or physical hardware ran.
CLI and machine are exact bin-only native actions with default auto forwarding
through agent and model to tensor's host cuda profile. Generated PTX is now a
recursive dependency action with the declaration's validated sm_120 default,
while an explicit command architecture still overrides it. Both exact hosts
pass frontend tests, strict Clippy, doctor/audit, native builds, and matching
Cargo baselines (zero CLI tests and four machine tests). Their PTX SHA-256 is
83ad662cd1f6cb6f7736ddb817da1d12fa022394fa0bf415152c302e8e09c920.
Thirty-nine components are native and three remain transitional. No CUDA device,
model inference, live provider, or production workload ran.
Server is now a native library-plus-self-linked-binary action. Its direct model
edge and agent's forwarded model edge both bind the exact auto artifact,
preserving Cargo's effective feature unification and shared Rust type identity.
Both exact hosts pass doctor/audit, native build, and matching native/Cargo
baselines of four library tests plus the zero-test binary harness. Forty
components are native and two remain transitional. No live listener, TLS
endpoint, remote model, CUDA device, or production traffic ran.
The KVM runner is now an exact Linux bin-only action over core crypto,
error, kernel, KVM, runtime, and tensor's host cuda profile. The pinned Arch
Linux WSL2 toolchain passes doctor/audit, native build, and matching native/Cargo
eight-test suites. Forty-one components are native and only mrml itself
remains transitional as the clean-source bootstrap boundary. No VM, bare metal,
IOMMU, physical GPU, or physical hardware ran.
The mrml build tool now has an exact native self-build/self-test action.
Workspace loading rejects any component without an action, structured listing
has no transition builder, and the internal Cargo subprocess path is deleted.
Fresh locked Cargo bootstrap followed by doctor/audit, native self-build, and
all 12 native self-tests passes on Windows gnullvm and Arch Linux WSL2. All 43
components are native; Cargo is required only to obtain the first mrml binary
from clean source. Full host-family builds pass on both hosts, as do all declared
MRML-native components, both UEFI components, and the CUDA target. Runtime,
error, JSON, and AV1 no longer overclaim target families lacking source cfg
implementations. Package/release/image work remains separately incomplete.
Service-image requires a different compiler ABI from the default semantic
family: it is an MRML native service payload stored as PE, so its exact target is
x86_64-unknown-uefi. The resolver now validates that sole nondefault pairing,
propagates it through the complete dependency graph, and isolates the artifact
directory by triple. Both exact dated host toolchains pass the frontend tests,
clippy, doctor, and audit and emit PE32+ EFI applications in debug and release
profiles. Repeated builds are byte-stable within each host; Windows and Linux
hashes differ, so cross-host reproducibility remains unproved. Twenty-six
components are native and 16 remain transitional. No UEFI or signed-service
runtime was exercised.
Next safe migration order
- Move the next dependency-light leaf into
packages/libraries/, update every reference, and prove Cargo-bridge andmrmlbuilds agree. - Expand by semantic groups: shared libraries, services, system, host tools; keep compiler and bootstrap roots distinct.
- Prove Windows WHP and Linux KVM matrices, then remove generic
crates/only after repository-wide stale-path search returns none. - Add direct-rustc nodes using the implemented native resolver, leaving Cargo
required only for clean-source stage-zero
mrmlbootstrap.
Patent review: TRIGGERED for the native dependency-resolver increment under the
existing package/cache/resolver review in
../patents/REVIEW_LOG.md.