[doc] agent upgrade protocol definition