Teacher notes in threads
A new type of posts, which is visible only to teachers. Could be global (note on a task, for example suggested grading), or per student (communication between multiple teachers on grading of the student's solution).
How does this interact with student grading?
Perhaps add a visibility level (everybody / graders / teachers) to every post? Students always produce posts with visibility to everybody, graders and teachers can choose the visibility level.