Abstract We study localized versions of spectral action of Fargues–Scholze, using methods from higher algebra. As our main motivation and application, we deduce a formula for the cohomology of moduli spaces of local shtukas under certain genericity assumptions, and discuss its relation with the Kottwitz conjecture.
Hansen et al. (Fri,) studied this question.