Supramolecular plasticity: The remarkable host–guest properties of phosphonate cavitands have been exploited in the self-assembly of supramolecular polymers that feature guest-triggered reversibility and template-driven conversion from linear into star-branched forms. The structurally similar but complexation-inefficient thiophosphonate cavitand acts as chain stopper to control the degree of polymerization.