I'm not sure there ever was such a social contract, since the personal space you're describing is a very modern innovation. As late as the 60s, all offices were open plan offices, and single-room occupancy was simply what you got on the cheaper end of the urban housing market.