An example of pre-registration of study protocols and open source documents and code to clearly describe key assumptions and decisions made for data curation and analysis of a micro-randomized trial. The documentation also includes sensitivity analyses showing how the results change under alternative decisions. The workflow provides a template for other scholars to use.