Antigen-experienced CD8+PD-1+ T cells within a 30-μm radius of PD-L1+ cancer cells were common in HRD-Dup cases but rare or absent in FBI tumours (Extended Data Fig. 14a). Here, PDCD1 is linked to cancer.