This is good and all, but it doesn't stop the agent from deleting you remote github branches, s3 data or potentially gdrive data.
Are you able to set access read only?
I'd never personally use something like this because I don't see what it offers over doing dev in a linux VM, and setting folders to read only with chattr.
Most solutions can be engineered with standard Linux tools.