Policy-as-code still doesn't solve this
Policy-as-code engines evaluate decisions consistently. They do not preserve them. The case for capturing each decision at execution rather than asking the engine to reconstruct it later.
By Sam Carter
Read the article