Correction to: Nature https://doi.org/10.1038/s41586-024-08282-3 Published online 4 December 2024

In the version of the article initially published, the middle initial of Alice Y. Ting was missing, and the Acknowledgements omitted thanks to Sean A. Yamada-Hunter, Louai Labanieh and Crystal L. Mackall for helpful discussions and protocols related to T cells. The corrections have been made in the HTML and PDF versions of the article.