Toward a Theory of Phase Transitions in Self-Modeling Cognitive Systems: When Goal Persistence Becomes Structurally Unsustainable | Synapse