A framework to mitigate patchy reionization contamination on the primordial gravitational wave signal. Issue 2 (19th April 2023)