pub fn with_global_mut<F: FnOnce(&mut SceneTree)>(f: F)
Apply a mutation to the active tree, if installed. No-op when no session has published one. Used by the runner’s lifecycle emit sites so the tree mirrors the observer’s view.