@type t() :: :startup | :active | :inactive
@spec new(any()) :: Croma.Result.t(t())
@spec new!(any()) :: t()
@spec valid?(any()) :: boolean()