`crates/reims-vgpu` — `runtime/exec` becomes a directory. Pure motion: the
reassembled file is token-identical to its predecessor. The rest of the diff is
comments.
`exec.rs` was 6682 lines, of which 3277 were one colocated `mod tests`. It
joins `compute_exec`, `drain`, `icb`, `metal_draw` and `storage_flush` as a
directory:
exec/mod.rs 3403 (product)
exec/tests.rs 3277
The product half is unchanged, including the two `#[cfg(test)]` *items* at what
is now mod.rs:2058 — a `UNIMPL_TEST_LOCK` and a dedup-latch reset. Those are
test-only helpers living in the product region and they stay there; they are
not a test module and moving them would change what `super::` means for the
callers that take the lock.
This is the prerequisite for the census extraction, which wants a sibling
module in the same directory; doing the motion first means that change can be
read as a change.
**The measurement that chose this file was nearly wrong.** Sorting the five
colocated god-test modules by "lines after the first `#[cfg(test)]`" ranks
`decode/resource.rs` top at 5070. Brace-matching instead says it has 1959 test
lines in two modules and **4077 lines of production code after the last one** —
the exact trap this repo has recorded before. The real ranking is exec 3277,
blit_exec 2308, decode/render 2381, decode/resource 1959, objects 1375; and
`drain/mod.rs`, which the eye reads as a god-file, has **no** colocated tests
at all.
Twenty comments across thirteen files referred to this module as `exec.rs`.
They now say `exec`, which is what they meant and what survives the next move.
Two were deliberately left: `scripts/silent-arms/README.md` line 101 is a
`git show <sha>:…/exec.rs` command whose path is historical and must stay
wrong-for-today to still work, and line 48 describes a past state in past
tense.
Verified:
- Pure motion proved mechanically: reassembling `mod.rs` + `tests.rs` and
comparing token streams against `HEAD:runtime/exec.rs` gives equality
(229 625 chars each), so no product line changed.
- `cargo fmt --check`; clippy `-D warnings` clean on all three arms,
`--all-targets`. It compiled clean on the first attempt — nothing in the
test module reached a private item by a path the move broke.
- Full serial suite: 1469 passed, 0 failed, 4 ignored — unchanged.
- `scripts/feature-matrix/feature-matrix.sh`: all four cells pass, warnings=0,
`lib=1385 all_targets=1473` unchanged.
Not verified: no boot. A token-identical product region cannot change any
pathway's behavior. Metal cross-compiled and linted, not executed.
Co-Authored-By: Claude <noreply@anthropic.com>