A state ombudsman has handed down a damning report into a multi-departmental failure to identify two at-risk children over a 20-year period.