Varying the quadratic action gives
For a Fourier mode,
At late times , so
The equation becomes . At , its independent solutions are a constant and . The leading late-time solution in the form given in the question is therefore
This is the growing curvature perturbation in ultra-slow-roll inflation.