Fix a bug with Codex using problem doc, independent diagnosis, failing test, fix, review, and validation.