ContentsAI data migration
2AI data migration
5Lifecycle
7Playbooks
Guide · AI data migration
AI data migration
This guide is a method for data migration with AI. This part says how an AI is used in it: what the AI builds, where it works, what it can take on, and how people direct and check it. A person can follow every page of the part with no AI.
What is managed
The project
Project and timelineMeetingsRequirementsDecisionsPackagesThe build
SourceTargetMappingsTransformationsChecksThe proof
TestsValidationRunsProblemsTotalsThe developer workspace
SELECT
s.customer_no AS No,
trim(s.name) AS Name,
map_value('terms', s.terms) AS Payment_Terms
FROM source.customers s
- Builds the SQL.
- Proposes the mappings.
- Reports each run.
rows in scope 45,000loaded 44,800rejected 200
AI builds the migration. You direct it.
The same picture, as text
THE WORKSPACE: one folder for one migration, open in an editor such as VS Code
WHAT IS MANAGED THE DEVELOPER WORKSPACE
THE PROJECT THE FILE the SQL of one table, open to read and to change
project and timeline THE AI builds the SQL, proposes the mappings, reports each run
meetings THE RUN rows in scope 45,000 · loaded 44,800 · rejected 200
requirements
decisions
packages
THE BUILD
source · target · mappings · transformations · checks
THE PROOF
tests · validation · runs · problems · totals
AI builds the migration. You direct it.An AI does not migrate the data. It builds the migration, and people make the decisions and maintain control.
Nothing in this part needs an AI. A person can follow the same method, with the same commands of the tool, and do every step by hand.
The picture shows the workspace of a migration as a window. At the left is what is managed: the project, the build, and the proof that the build is right. In the middle is where the work is done. A file is open, the AI builds and reports beside it, and the run below shows the result.
In this part
- AI builds, it does not migrate: the two ways to use an AI, and how the method meets the risks.
- The workspace: the folder that holds the migration, and the links from a meeting to a result.
- What an AI can do: the work that an AI takes on, and what stays with people.
- Working with an AI: how to give an AI the method, and how to check what it builds.
What an AI needs
An AI that is given a migration and no rules will build something, and it will build it differently each time. The same is true of a person. A new developer, however able, works inside the rules of the project: how a table is built, where a value is mapped, what is counted, and who decides. Those rules are what make the work of one person usable by the next. An AI needs the same, and it comes as three things.
- A pattern to build toThe pattern of this guide, which the instructions in the migration folder give to the AI, tells it how every table is built. So each table that it builds looks like the others.
- A tool that runs the buildThe tool runs each file and returns the checks and the counts, and the rows where the AI is permitted to read them. So the AI can measure its own work. Convago is that tool for this guide.
- People who decideThe business says what the data means, and the project says what is in scope and when to go live. The AI proposes, and a person approves.
A more capable AI still needs these rules, as a senior developer still works to the rules of the project.
More
- Principles: the eight principles for AI.
- Team composition: how a method, a tool and an AI change the size of the team.
- The pattern: the design of the load that the AI builds.
- Why this guide exists