No, your supposition is wrong. Sentences like You should have come are somebody's reaction to a fact in the past: You didn't come and it's a pity (= it's bad, regrettable etc)
She might not have known = Maybe, she didn't know - this is the speaker's supposition about the past.
Hope it helps. Regards,