When you hit ^O after compact runs (or anytime), it tells you exactly what compact did, so it isn’t that mysterious

if you actually hit the compact (you should never be there no matter what but for the sake of argument) more often than not you'll see CC going off the rails immediately after compacting is done. it even doesn't know what it did let alone you :)