So I wonder how we can cultivate truth investigation (dhammavicaya) while doing dana or sila.
The cittas arising while performing dana and sila can be with wisdom or without.
Nina Van Gorkom - Abhidhamma in daily life - 19 (vipassana.info)
In the Abhidhamma we learn that there are eight types of maha-kusala cittas, kusala cittas of the sensuous plane of consciousness. Why isn’t there only one type? The reason is that each type has its own conditions through which it arises. If we know about these different types and if we can be aware of them when their characteristics present themselves, it will help us not to take them for self. Four types of maha-kusala cittas arise with somanassa (pleasant feeling) and four types arise with upekkha (indifferent feeling). We would like to have kusala cittas with somanassa, because we cling to somanassa. However, one cannot force somanassa to arise. Sometimes we perform dana with somanassa, sometimes with upekkha. It depends on conditions whether somanassa or whether upekkha arises with the maha-kusala citta. Four types are accompanied by wisdom : four types are not accompanied by wisdom. We may, for example, help others without panna or with panna. When we realize that helping is kusala, or when we are aware of the nama or rupa appearing at that moment, there is panna arising with the maha-kusala citta. Four types are asankharika (unprompted, spontaneous, not induced by someone else or by one’s own consideration) and four types are sasankharika (prompted, by someone else or by self-inducement) The eight types of maha-kusala cittas are the following: .
Accompanied by pleasant feeling, with wisdom, unprompted (Somanassa-sahagatam, nana-sampayuttum, asankharikam ekam)
Accompanied by pleasant feeling, with wisdom, prompted (Somanassa-sahagatam, nana-sampayuttam, sasankharikam ekam)
Accompanied by pleasant feeling, without wisdom, unprompted (Somanassa-sahagatam, nana-vippayuttam, asankharikam ekam)
Accompanied by pleasant feeling, without wisdom, prompted (Somanassa-sahagatam, nana-vippayuttam, sasankharikam ekam)
Accompanied by indifferent feeling, with wisdom, unprompted (Upekkha-sahagatam, nana-sampayuttam, asankharikam ekam)
Accompanied by indifferent feeling, with wisdom, prompted (Upekkha-sahagatam, nana-sampayuttam, sasankharikam ekam)
Accompanied by indifferent feeling, without wisdom, unprompted (Upekkha-sahagatam, nana-vippayuttam, asankharikam ekam)
Accompanied by indifferent feeling, without wisdom, prompted (Upekkha-sahagatam, nana-vippayuttam, sasankhaikam ekam)
Thank you for this information. This is good to know. When I do good deeds, I know it is kusala and can produce good results.