Outside of the main TRAPI spec, there are secondary specifications and implementation guidance here which specify additional required implementations requirements (MUST log xyz, MUST return errors, etc.)
Currently, these haven't been explicitly included in Retriever's implementation, but we should conform to them where feasible.