In the system() function, it would be useful to be able to get the name or some other identifier on the current space and/or repository used.
system('repositoryname')
system('spacename')
If spaces or repos are used to switch between DEV/UAT/PROD environments on the same machine, this could be used to get this context - and with the keywords currently allowed in the system function, I don’t see an alternative option. The current workaround is to hold this info in the shared memory.