f 0.7.7: cache scan_insights to fix cold-path slowdown (50x speedup)