Article

AI-assisted development in data projects – safely and with evidence

An AI agent can write code, run tests, read logs and maintain manuals in a data project. That saves time, but only within a clear framework: least privilege, human decisions, tests as the gate and measurements instead of assumptions. Drawing on a running migration project, this article describes which rules and working patterns have proven themselves, where the AI gets things wrong and how to bring this way of working into a team.

Stefan Corsten · 25 November 2026 · approx. 11 min read

What agentic development means in a data project

Many people still think of AI support as autocomplete in the editor: the AI suggests a line, the human accepts it or not. Agentic development goes further. A tool such as Claude Code from Anthropic works in the terminal and in the repository. It reads files, runs commands, starts tests, evaluates their output and changes the code until the task is solved or a question needs to be clarified. The AI is no longer a source of suggestions but a partner that acts on its own. That is exactly why it needs rules.

In a data project this affects almost every activity. Since September 2026 I have used Claude Code daily in a project for a biotechnology company: a FileMaker landscape that has grown over many years with 28 files, about 430 GB and more than 100 million records is being migrated to MySQL 8.4 and Microsoft SQL Server 2022, both targets in parallel. The migration toolkit for it was built from scratch.

Analysis

The AI reads legacy code, schemas and export formats and summarises what it finds. In the reference project this meant, among other things, evaluating the FileMaker Database Design Report (DDR) as XML and understanding the .fmp12 file format well enough for a native reader to process the files directly. The AI proposes hypotheses; the human checks them against real files.

Code and tests

The AI writes new code, refactors existing code and adds tests. In this project that means Python modules, hot loops in Cython and C, SQL for two target dialects and the translation of FileMaker formulas into SQL columns and views. Every translation is checked against the values FileMaker itself stored.

Operations

Running the load chain is part of it too: reading run reports, narrowing down the cause of a failed step, building and testing a fix, restarting the run. The AI works on the development and run system, never on production source systems.

Documentation

The user, operations and technical manuals and the Confluence pages are updated in the same working step as the code. Documentation is no longer an afterthought that is missing at the end of the project.

The rules that make it safe

An agent that executes commands can do damage: delete data, turn wrong assumptions into code, put load on a system that must not be loaded. A better model does not help against these risks; a clear framework does. In my practice, six rules carry most of the safety.

Least privilege

The AI gets no credentials. Passwords and connection details live in configuration files outside the repository that the human maintains, and they never belong in a prompt. Production systems are off limits for the agent. In the reference project this is also solved technically: the toolkit reads the .fmp12 files directly from a backup copy and puts no load at all on the production FileMaker Server. Where server access is needed, it goes only to development and test servers, read-only.

The human decides

Architecture, data model, variants, approvals and everything that affects operations are decided by me, not by the AI. The AI may lay out options, name pros and cons and give a recommendation. It must not anticipate a decision, for example by weakening a check because it takes too long or changing a data format because it is more convenient.

Tests are the gate

No change counts as finished before the test suite passes. In the reference project that means more than 2,000 automated unit tests that run in CI on every change. The gate applies to the AI as much as to the human.

Decisions as project rules in the repository

A language model forgets between two sessions what was decided yesterday. That is why everything important is versioned in the repository: in a project rules file (for Claude Code, CLAUDE.md) and in a project memory with measured facts, pitfalls and dated decisions. The next session starts with this knowledge, and every decision can be traced by colleagues and auditors.

Review

I read what the AI changes before it is committed. Small commits with a clear one-sentence subject make the review possible. In addition, independent subagents, further AI instances without the first one's context, check changes and documentation against the code.

Measure instead of “it should work”

The most dangerous sentence an AI says is: “This should work now.” It sounds convincing and is often wrong. For me, only what has been measured counts as done: a passing test, a row count that matches the source, a run time before and after the change. This matters especially for data paths, because drivers and interfaces sometimes fail silently. The absence of an error is not proof; the number of bytes or rows transferred is.

Working patterns that have proven themselves

Rules say what must not happen. Working patterns say what everyday work looks like. The following have proven themselves over months in the reference project.

First the test that fails

Before the AI fixes a bug, it writes a test that shows it and runs it. If it fails, the bug is understood. Only then comes the fix, and the same test proves that it works. This guards against the most common pattern in AI fixes: a change that looks plausible but solves a different problem from the real one.

Proof on real data copies

Synthetic test data finds many bugs, but not all. Real data has quirks nobody thinks of: dates sometimes day-first, sometimes month-first, keys that are unique according to the model and not in the data, repeating fields, embedded files in container fields. That is why a change to a load path is proven on a copy of real data before it is used and never in the published generation.

Measure before and after

Every optimisation starts with a measurement and ends with one. The AI is good at guessing bottlenecks and not always good at finding the right one. Only the measurement shows whether a change shortens the run time, has no effect or creates costs elsewhere. This is how the full load in the reference project came down from over 6 hours to about 3 hours, with every step along the way backed by a measurement.

Documentation in the same step as the code

When the AI changes a switch, a phase or a check, it updates the matching manual in the same step. At that moment it costs little, because the context is right there. Documenting later costs much more and usually does not happen.

Subagents for independent reviews

An AI that wrote a piece of code is poor at seeing its own assumptions. A subagent that receives only the code and the question, but not the reasoning of the first session, reads with fresh eyes. I use such subagents for reviews, for reconciling manuals with the code and for extensive documentation work that can run in parallel with the actual development.

Small, reversible steps

Large changes in one go are hard to review and hard to undo. Small commits, feature branches and publication through a generation switch keep every step reversible. In the reference project a new data generation is first built and verified completely and only then published by a switch; the previous generation is kept. Readers have no downtime.

Stop and ask before destructive actions

Deleting, overwriting, dropping schemas, changing server parameters, ending a running process: before such steps the AI stops and asks. This applies even when the step appears technically correct. The question costs seconds; a deleted data set costs days.

Where AI fails and how the rules catch it

AI makes mistakes, in the reference project too. Looked at honestly, there are a few types of error that keep coming back. What matters is that each rule catches one of them.

Confident mistakes

The AI states a wrong assumption with the same confidence as a correct one. It claims that a function behaves in a certain way, that an option exists, that a result is correct. The tone gives nothing away. The test gate and the duty to measure help here: what is not proven does not count as done, however convinced it sounds.

Missing context

The AI knows only what is in the session or can be found in the repository. A decision from a conversation with the business side, a quirk of the server, an agreement with operations are unknown to it. It then fills the gap with a plausible guess. Project rules and project memory in the repository help here: every decision that has been made is recorded there so that it does not have to be guessed again.

Misread logs and measurements

Long logs and run reports invite quick conclusions. A line is assigned to the wrong step, a metric is read as a cause when it is only a symptom, a wait is attributed to a process that was not involved at all. Measuring before and after a change and the independent review help here. If an explanation is right, a targeted measurement must confirm it.

Too much zeal

Sometimes the AI solves more than the task: it tidies up on the side, changes a default or weakens a check so that a test turns green. Small commits, the review and the rule that only the human changes checks and approvals help here.

What came out of the reference project

Results can never be credited to the tool alone. They are the product of domain knowledge, decisions and a way of working in which the AI takes on a large share of the implementation. Under this way of working, the following results were measured in the reference project:

  • A complete migration toolkit, built from scratch: from the native reader of the .fmp12 format through export with row hashes, staging, typing, deferred indexes, translated formulas and container files with SHA-256 verification to end-to-end verification against the source and publication without downtime.
  • The full load was reduced from over 6 hours to about 3 hours.
  • Daily delta loads from the nightly production backup run fully automated in about 30 to 75 minutes. Only changed sectors of the files are read; changed rows are found by a hash comparison.
  • Runs with 0 errors; every full run ends with an end-to-end verification against the source before new data is published.
  • More than 2,000 automated unit tests run in CI on every change.
  • The user, operations and technical manuals and the Confluence pages are current because they are maintained together with the code.

Just as important is the framework this was built under: the AI gets no credentials and no access to production systems, and every change can be traced through commits, tests and documented decisions.

Introducing it in a team

What works for one person works in a team only with shared rules. I recommend four steps.

A pilot on a real task

Not a toy project, but a real, bounded undertaking with clear acceptance criteria: a load process that needs tests, a legacy system that is to be documented, a migration of individual tables. Two or three people work with it for a few weeks, and one person in charge records the experience.

Rules before you start

Before the first prompt there is a project rules file in the repository: which systems the AI may touch and which not, how tests run, which actions require asking first, what commits look like, where decisions are recorded. This file grows with the pilot and is reviewed like code.

Security review

Information security and data protection belong at the table before the start, not afterwards. Questions to settle: which data a model may see, which tools and providers are permitted, how credentials stay separate, which rights the agent has in the file system and on the network, and how its actions are logged.

Metrics

Whether the way of working pays off should be measured, not felt. Suitable metrics include the lead time of tasks, the number of bugs found after a merge, test coverage, the share of current documentation and the time the review takes. A baseline measurement before the pilot is essential; otherwise there is nothing to compare.

Conclusion

AI-assisted development in data projects is no longer an experiment but a way of working that delivers measurably. Its benefit, however, depends less on the model than on the framework: no secrets and no production for the AI, the human decides, tests are the gate, decisions live in the repository, and what has not been measured does not count as done. With this framework the AI becomes a fast, thorough partner. Without it, it becomes a risk that sounds very convincing.

How I help

I bring this way of working into your data platform projects: as a developer and architect who delivers with AI assistance myself, or as a guide for introducing it in your team, with project rules, review practice, security review and metrics. More on the page Generative AI for data platforms; details of the migration project this article draws on are under FileMaker migration.

If you would like to talk about a pilot or a specific project, write to me or give me a call.

Project inquiry

Contact

Would you like to talk about a project?

Remote · Hybrid · Germany · EU · Brazil · Part-time · Full-time

Phone
+49 173 3637888
Networks
LinkedInXingfreelancermapfreelance.deGULP