When a classical legacy system such as a manufacturing production line, gets upgraded with a deterministic module replaced by an AI module, what are the criteria to consider, and how to adapt methodology from existing standards for software engineering (such as ISO-IEC-JTC1-SC6 12206)?