commit query plan workflow and debug instruction