Asking the agent to refactor to reduce spectral complexity, it worked. Trivial change, but this did reduce code complexity.