It has been pointed out in other posts that if DS bypasses Scoped Storage (SS)
and your app does when it's running from DS Home or Edit
then when you build your app and users download and install it also will need to bypass SS (or it will fail).
At some point it will be possible to apply to Google Play for an exemption,
no announcement on when that will be or what the process will be.
But DS and your app would both need an exemption.
I know that X-plore bypasses SS, so in theory DS and your apps could do the same, but there is a danger that if comes to Google's attention they could exclude such apps as Malware.
I can't find many details on Android folder/file security.
I can list the contents of /Sys/Img and read the files, but I can't list the contents of /Sys.
So presumably it's similar to Un*x where each folder/file has permissions
for Owner/Group/Public for Read/Write/Execute.