That's not how it works - there is no "auto-posting". Companies have to actively add their listing to HN each and every time.
It is possible for a company to conduct layoffs and still be hiring; in fact, I'd say it's more common than not. Companies need to shift personnel (role, location, seniority, etc) all the time as they grow and change.