cache events in events.json, filter unmerged PRs using event

debug checkpoint -- something's broken here