No, the God of love and peace and complete sacrifice does not care to live in the midst of bustling and ado to please oneself, even if this is carried on perhaps under some kind of pretence. There is one way to make a test: if your peace of mind is troubled, if you become dejected or perhaps a little angry if for some reason you have to give up performing the good deed you had planned, then you know that the spring was muddy.
Compunction comes when you consider how much you have grieved God Who is so good, so sweet, so merciful, so kind, and entirely full of love; Who was crucified and suffered everything for us. When you meditate on these things and other things the Lord has suffered, they bring compunction.
The way to attain compunction is an attentive life. ‘The beginning of repentance comes from the fear of God and attention,’ as the holy martyr Boniface says.