Do shortcodes in title before permalink is generated

You should be able to use a plugin and set your shortcode as a stop word. Search for a “SEO slugs” plugin that lets you add your own “stop words” and you should find several possibilities.

From there, anything that is inside your shortcode needs to be added as a stop word, which will not be included in the final published slug.

You may be able to check the source code of these plugins and incorporate something similar in your own plugin – it would be best to include this type of code in your own plugin, so your own code prevents the conflict, but be sure to namespace it so that if the end user ever installs one of these SEO Slugs plugins, it won’t cause a conflict.