One that:
- creates a temp directory;
- checks out the given commit;
- git-annex gets the data files;
- runs bids-validator;
- runs the output through
ansifilter --html --fragment --line-numbers --anchors=self
- spits out a minimal HTML header and footer for the fragment
- cleans up the temp directory
See the current worker script for a skeleton.