The pan-Canadian framework, which was agreed to by first ministers, does indeed include commitments that both the federal government and provinces and territories agreed to in terms of work to establish a retrofit code, which is then up to each individual province and territory to implement. It then establishes a code where retrofits are done.
On November 2nd, 2017. See this statement in context.