Towards Sustainable Buildings and Energy Communities: AI-Driven Transactive Energy, Smart Local Microgrids, and Life Cycle Integration | Synapse