The moving of the shelf from a global location to a sub-directory in the .idea directory has caused me problems for years.
I recently came across a few related issues which led me to an idea for a feature.
I was travelling and so pushed my work and cloned it on my laptop. Obviously, this didn't include the shelves.
I have also started to deploy a dev environment with Terraform which also caused problems as I didn't transfer the state.
The fix for Terraform is to use remote storage: https://www.terraform.io/docs/language/state/remote.html.
This then reminded me of the IDEA feature of storing settings remotely: https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html
What if we extended the remote settings feature to include synchronising the shelves?