1

First, as Derek Stucki mentioned in the comments, the errata for the Ranger's companion animal clear up some of this:
Ranger’s Companion (p. 93). Like any
creature, the beast can spend Hit Dice
during a short rest. If you are incapacitated
or absent, the beast acts on its own,
focusin...