To ensure perfect safety while also allowing for maximum freedom is to base the entire thing on informed consent. AI, at scale, could allow for each individual person or intelligence to give/obtain informed consent. That would result in perfect alignment