Assets traditionally used for such hedge are already massively inflated (look gold an silver price charts), so I'm not sure it's worth it.
This all depends on what timelines you work on, how many assets you are trying to protect.
Alternatively you protect yourself by lowering your dependence on steady income.
Yeah, as a SWE I just got sufficient money to pay my expenses AND have some to invest quite recently (about 2/1 months ago), but I basically froze the money instead of investing because everything seems overvalued and about to fall (even silver and gold).
Prices of investments will also go down - stocks certainly, although precious metals were traditionally recession proof, we've never had such a bull run on gold/silver in anticipation of recession. My guess is that it won't hold - I've heard that jewelers already refuse to take precious metals at anything near market value.