Can a university revoke my degree for not attending classes?
It is part of the cultural norms of American universities that your attendance or lack thereof is an issue for each individual course instructor to pursue or not pursue as they choose. At my university the administration is involved precisely insofar as to have the following policy:
Students are expected to attend classes regularly. A student who incurs an excessive number of absences may be withdrawn from a class at the discretion of a professor.
This states the situation well: the administration empowers the instructor to penalize the student for poor attendance, including withdrawing them from the course. Thus whether and how your lack of attendance in a course is problematic is between you and the instructor of that course. You seem to be worried about attendance that is acceptable to the instructor -- more precisely, not resulting in failure or withdrawal -- but is somehow unacceptable to the university as a whole, since you write
Despite this, would it be unprecedented for the university to claim I was in violation of an attendance policy anyway and revoke my degree? I'm worried the school may see this as an insult and retaliate.
In a word: yes, this would be completely unprecedented and moreover implausible. First of all, how does the university even know about your attendance? Even if they somehow found out (maybe you write an editorial in your school paper advocating attending class as little as possible?!?) it would widely be viewed as a violation of the instructor's rights to penalize you for lack of attendance when the instructor did not. Finally, you speak of a degree being revoked which means that first you get it and then they take it away from you. Degrees are only revoked for the grossest forms of academic misconduct. It would be outrageous for a university to revoke a degree due to lack of attendance -- frankly, that would reflect very badly on them and would invite censure and possibly even legal action, as it seems manifestly unfair to conjure requirements retroactively.
Summing up: you should clear your attendance plans with each course instructor in advance. To do otherwise is really not safe, as you can see that e.g. my university (which is not so far away from yours) empowers me to withdraw a student for sufficiently poor attendance. If your attendance plan is okay with the instructor, it will be okay with everyone else too.
Assuming you haven't been awarded a degree yet, you can't have your degree revoked.
As for whether the university can refuse to award you a degree because you didn't attend class - key point to note is that university isn't high school. University students are generally treated as adults, and adults are free to do what they want, including miss class. It comes down to whether you can meet the stated requirements for the course even if you miss class. If you can, then sure, go ahead. Missing class isn't the same as the situation in the question you linked - that involves cheating by not actually meeting the requirements, but giving the impression that you did.
Caveats: by not attending class,
- Your lecturers can't write you recommendation letters since they have no impression of you.
- You miss anything that's said in class, e.g. the lecturer might mention an interesting fact that's never examined for, but would've helped you five years in the future.
- Some lecturers might have attendance requirements.