Symmetry breaking boundaries I. General theory