pub async fn resolve_context( identifier: &str, user_id: &UserId, repo: &ContextRepository, ) -> Result<ContextId>