Canonical BAF complex activity shapes the enhancer landscape that licenses CD8+ T cell effector and memory fates.