Confusing accusations and mixed messages with lecturer, what can I do to resolve this?
Getting questioned should never be an issue unless the demeanor is hostile. But, you probably have good answers to any questions. Just tell the prof what it is you do and assure them that you, for example, don't code for the students.
In face to face education it is advised that people even professors, normally advise students &quot;with the office door open&quot;. You might consider getting a way to retain a transcript of any 1-1 advising you do, just as a check on any misunderstandings.
But, asking the prof for advice on what they feel you &quot;should have done&quot; in anything that they question might help. But keep a record of their advice.
You might also exploit the relationship with the other (former) professor who might have a conversation with their colleague to make sure that the groups are treated the same from year to year and across sections. If they can come to a common understanding and communicate it to you then everyone will be better off. They don't need to say that you've complained, and you haven't, if you just point out that there may be differences that might better be resolved. It might even be a department wide issue.
If the current professor is a novice at this, they may have some learning to do themselves about how to manage a group of students effectively. Especially online.