pub const STEP_LAYOUT_SAVE: StepId;
The workbench’s layout is saved ({ "document" }): by App::save (so at exit) and App::save_layout. A before-hook may redirect or veto; a run-hook saves it elsewhere (AppHandle::layout).
{ "document" }
App::save
App::save_layout
AppHandle::layout