Why the mirror modifier is not applied on my half-cube?
You are mirroring in the X direction, while your half cube is oriented along the Y direction. So the mirror works, but the generated vertices coincide with existing vertices.