cats.data.Validated[L, R] is a right-biased validation type where Invalid(l) holds an error value and Valid(r) holds a success value. The two projections here allow a pipeline to route values based on which side is present, producing h8io.stages.Yield.Some for the expected side and h8io.stages.Yield.None otherwise. In both cases the status is h8io.stages.Status.Success.
Example:
import h8io.stages.cats.Validated
val validStage = Validated.Valid[String] // Stage[cats.data.Validated[Any, String], String, Nothing]
val invalidStage = Validated.Invalid[String] // Stage[cats.data.Validated[String, Any], String, Nothing]