I captured most of the above in the docs now:
https://enroll.sh/docs.html#harvest
I've also published a JSONSchema of the state.json file here to help people understand its structure: https://enroll.sh/schema.html