add a revision.txt to the runtime and helpers for querying