Hi,
It's time to proper review your proposal :-)
I faced with obstacles of monorepo during review process, especially where nested path (subdir) has more than one level.
which is required for restic update.
I will apply your patches and play with importing/upgrading projects like restic to check how it feels.
Related issues:
Thanks,
Oleg