Apply folder additions/removals to ApplicationState.Workspace. URIs drive removal matching; new folders are appended after the existing set so existing indices stay stable.
ApplicationState.Workspace