The real question being debated, although it hasn't been expressed as such, is whether other people at the table (DM and/or other players) should be establishing pre/proscribing what actions your character can take, based on some supposed "rules" of roleplaying.
I think that that is something that everyone will draw the line at in a different place, and that each group will probably come to some sort of consensus about expectations of the level of roleplay.
Although I'd expect that in most cases actual
rules won't be needed because people will pick up approval or disapproval from the group and align themselves along the table consensus without the DM having to actually law down the law. - Except maybe in cases where a new addition to a group was used to a table with a very different perspective.
But every table will have that different consensus due to being made up of people who draw the line between use of OOC knowledge by their characters in different places. And (this is what I was alluding to in my previous post) it isn't just a situation of "Is it OK to use OOC knowledge", there are different degrees of OOC knowledge and different justifications.
Ultimately, the members of a group aren't generally going to do something that seems to impinge on their friends' fun, whether player or DM. If some of the group seem to be enjoying roleplaying that their characters aren't aware of some fact that you know they know OOC, you're probably not going to blurt it out unless you have a pretty solid idea that your character would know it. Likewise if the rest of the group and the DM don't seem to have any issues with someone opening up the monster manual and reading out the stats of the creature that you just encountered, you're probably not going to make waves even if you don't think that your character would know that, and would have liked to play out your character discovering them.