You have converted a fuzzy task into a conventional software engineering problem, and then relying on conventional software for the reliability :-)
What can I say? This is how I get results from AI. It also gives me context & tools to fight the AI when I have to.