pagoda staging and commit