Risk and knowledge-informed framework for residual risk decisions