What is the first step to secure AI-generated code?
Capture provenance. Record the model, prompt context, agent identity, and editing session so reviewers can reconstruct how the change was produced. Without provenance, AI-generated code cannot be meaningfully verified.