The UK and Irish governments will shortly publish their long-awaited framework to deal with the legacy of the Troubles.