add repository graph to safeContexts
Add passing test directly on loadAndInfer