From Collins, If you are mindful of something, you think about it and consider it when taking action.
When I am writing, I am always mindful of committing logical fallacies (e.g., red herring, hasty generalization, post hoc, straw man, false dichotomy, and appeal to authority).
This sentence is ambiguous. What I am trying to say is that when I write, I am careful not to commit the logical fallacies in my arguments. While I can say it this way, trying to use "mindful of" makes things confusing.
Does "mindful of committing logical fallacies" mean (a) mindful that I don't commit fallacy or (b) mindful that I do commit fallacy?
One answer in this post Be mindful of using vs be mindful of in ELU - says "Be mindful of using verbs in your sentences" tells you that you should be careful to make sure you include verbs in your sentences.
As per that logic, "mindful of committing logical fallacies" in my original sentence means that I am mindful that I do commit fallacies.
Should I write: "mindful of not committing logical fallacies?"