Skip to main content
A hook adds your own connections to the graph after every ingest and refresh — say, linking each test to the function it covers. Drop a Python file with a run(writer, repo, target_sha) function into ~/.auryn/hooks/. No packaging needed.
Hooks only ever load from your home folder, never from a repository, so ingesting code you don’t trust can’t run one. The worked example is in docs/authoring-a-hook.md in the Auryn repository.