Dirauths should only assign the HSDir flag to valid relays
Currently directory authorities assign the HSDir flag to relays if they:
- want to be a HSDir (default)
- are configured to be a relay
- have been up long enough
- are running
These criteria should be augmented and include that the relay is valid (or not invalid).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information