Commit attribution and AI disclosure
Cloudera Migration Assistant notifies you before a Code Migrator job uses AI, saves your acknowledgment with the job, and marks the commits that the job writes.
When you create a refactor job, the AI Settings step shows the alert This job uses AI to change your code. The alert states the following:
- Your code is sent to the LLM gateway that is configured for this Cloudera Migration Assistant instance. The alert also names the model.
- The changes go to a new branch, and nothing is merged.
- You can stop the job at any time.
The Review step has an AI use card with this check box: I understand that an AI system will change this code, and that I need to review the changes before they are merged. You must select the check box to create the job. Cloudera Migration Assistant saves your acknowledgment with the job.
Commit messages
Code Migrator commits each iteration to the work branch of the job. Code Migrator never opens a pull request and never merges its branch.
Each commit that Code Migrator writes ends with a trailer that names the version of Cloudera Migration Assistant and the models that ran the job:
Assisted-by: Cloudera Migration Assistant [***VERSION***] (model: [***MODELS***])
If your organization requires you to mark AI-generated code, keep the
Assisted-by line when you merge the branch. If you squash or rewrite the
commits, copy the line into the new commit message.
In the full migration flow of a plan, the commits that Cloudera Migration Assistant creates to merge the branches,
and the change on the target repository, do not have the Assisted-by line.
See Known issues and limitations in Cloudera Migration Assistant 2.0.0.
For the steps, see Creating refactor jobs and Reviewing output on Git branches.
