scripts/engine_split/slot_access.py rewrites the slot fields to their accessors
(Tracked presets deref through one more *), adds the trait imports, turns
s.presets_changed() into presets::presets_changed(s) and points Session::method doc
links at the trait methods. Its fix mode applies what cargo check reports; branch
mode serves open branches and lists their edits to the moved methods. The
definition-span helpers session_state.py uses move to rust_source.py so both
scripts share them (session_state.py's output is unchanged).
This commit is split plus the fix rounds against cargo check of engine-core,
engine, ui-egui and automation (lib and tests). Part of #15710.
The clipboards, the presets, the colour proofs and the image-assets list become
Tracked, so the menu's facts can key on their revisions. DocId derives PlainData
and MemoProps. UI: the recent files and the workspaces become Tracked.
Main's `cargo xtask test-binaries` rejects single-file integration test
binaries. Tests on process-wide state live in `tests/global_state`, so the
test moves there beside `spot_dot_gain` and `text_gamma` and takes the
shared process lock.
`cargo xtask test-binaries` refuses single-file test binaries under
crates/*/tests. The test sets the scratch disk and the memory budget for
the whole process, so it moves next to scratch_disk.rs in
tests/global_state and takes the same process lock and test volume.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The modules that assert on the scratch pool, spill configuration, simulated memory, global caches or compositor settings move to tests/global_state, where one lock makes them take turns. test-binaries lists it with the reason.