While waiting for more feedback on the above detailed approach, I opened a draft PR implementing the above algorithm: https://github.com/snapcore/snapd/pull/9541
While waiting for more feedback on the above detailed approach, I opened a draft PR implementing the above algorithm: https:/ /github. com/snapcore/ snapd/pull/ 9541