Digital Transformation · AI-Assisted Engineering
AI-Assisted System Modernisation
Modernising business-critical software with AI.
I independently led the analysis, planning and migration of a complex enterprise system to .NET 10 with AI assistance. Five days to a working development build, followed by verification and production deployment.
- My role
- Technical Lead & AI-Assisted Implementation
- Source files
- 800+
- Data entities
- 164
- From discovery to a working development build
- 5 days
- Used within the organisation
- In production
Existing business workflows
Understanding the legacy
Modernising without disrupting.
The starting point was an internal Windows system supporting established work across 12 business areas. The migration had to preserve workflows, database behaviour and shared functionality, including reporting and external integrations.
Conceptual system map
At the start of the migrationThe migration had to preserve established work across all twelve areas.
- Business areas
- 12
- Interconnected code projects
- 3
- Source files
- 804
- XAML files
- 153
- Data models
- 3
- Data entities, 146 in the largest model
- 164
The Windows client used .NET Framework 4.8. Both supporting libraries used .NET Framework 4.5.2, and data access used Entity Framework 6.
Context before execution
Understanding before changing.
Before changing code, I asked Codex to inventory the solution. I set three requirements: preserve existing behaviour, limit the scope of changes and verify the migration in stages. The inventories then became working inputs to the plan and the checks.
From codebase to actionable context
Existing codebase
- Source files
- Project definitions
- Dependencies
- Model definitions
Analysis with Codex
I set the constraints. Codex traced references and categorised dependencies.
Structured knowledge
- System inventoryDependency inventory
- Data model inventoryMachine-readable JSON
- Migration planVerification records
Decisions supported
- Group interdependent changes and preserve required dependencies
- Select a smaller, less interconnected model for the isolated pilot
- Sequence changes and select workflows for targeted checks
Reused during implementation and verification
Human direction
Accelerating execution. Retaining control.
Working with an established business-critical system, my priority was to maintain control over technical changes and their consequences. I used Codex to extend my implementation capacity while retaining responsibility for scope, decisions and verification.
Human-directed implementation
Structured project context
- System inventory
- Migration plan
- Dependency inventory
- Verification records
- Technical decisions
Direct & constrain
Objectives, constraints, technical decisions and migration boundaries.
AI-assisted execution
Analysis, implementation, automated tests and documentation.
Review and verify
Review changes, run real workflows and assess remaining problems.
Approve & proceed
Authorise the next controlled stage.
Findings, decisions and verification results feed back into the project records. Each stage draws on the project context. Approval starts the next cycle.
What I owned
Technical direction, scope, migration boundaries, decisions, validation and accountability.
Where AI helped
Codebase analysis, documentation, planning, implementation, automated comparisons, error reproduction and regression checks.
Controlled modernisation
Modernising in controlled steps.
I established a baseline, tested EF Core in isolation and moved the projects to .NET 10 while keeping EF6 in place temporarily. That separated framework compatibility from changes in data access. I then migrated the data models individually, with the largest model last.
Stages are shown in sequence. The working development build was the five-day milestone. Broader validation and production deployment followed.
Migration timeline
- Registry modelEF6
- Import modelEF6
- Core business modelEF6
Baseline
Build the original solution and establish reference behaviour for selected workflows.
Verification
Compiling is not verification.
The modernised client built and started successfully. When I tested a real workflow, a business overview failed to show grouped results. To check how the system behaved, I compared versions, tested representative database operations and reports, and ran targeted regression checks.
- Matching observations
- 13
Representative reads and saves in the main model. One additional observation reproduced the same pre-existing error in both versions.
- Compared PDF exports
- 4
Nine pages in total. The print date was the only difference identified in those outputs.
- Successful query-translation scenarios
- 1,545
Scenarios included repeated expressions and covered translation to SQL. The analysis documented coverage limitations.
Verification combined build checks, model validation, comparisons, manual testing and subsequent verification by colleagues.
From runtime failure to verified correction
Illustrative application · fictional recordsOverview has not been opened yet.
| Record | Category |
|---|---|
| R-01 | Aspen |
| R-02 | Birch |
| R-03 | Cedar |
Grouped results could not be displayed.
Grouped results could not be displayed.
- Old · no saved filter
- Old · saved filter
- New · no saved filter
- New · saved filter
| Category | Items |
|---|---|
| Aspen | 18 |
| Birch | 12 |
| Cedar | 8 |
Verification log
- Build passes
- Client starts
- Overview fails
- I report the failure
- Codex reproduces and corrects
- Run regression checks
- Grouped results display
The modernised solution compiles successfully.
The Windows client opens in the development environment.
Opening the overview reveals a runtime failure. The data-access layer cannot translate the full grouping query into SQL.
I identify and report the behaviour while manually testing the workflow.
Codex reproduces the failure and corrects how the query is constructed.
Four checks compare the old and new implementations with and without a saved filter.
The corrected overview displays the groups. The finding also prompted a broader review of complex database queries.
Result
Modernised. Verified. In production.
The development build was the first milestone. Broader automated and manual checks followed, including verification by colleagues, before the system went into production.
5 days
From discovery, analysis and planning to a running Windows development build.
In production
Colleagues verified the system without requiring further changes to the original framework and data-access migration. The modernised system is in production and continues to support established workflows.
- All three code projects
- .NET 10
- All three data models
- EF Core 10
- Modernised project and package structure
- Schema retained
A later integration expanded the system to 13 business applications. It followed the initial migration.
Reflections
What this taught me about enterprise AI.
Five principles from the project apply to other systems people already rely on.
Context is part of implementation.
Structured knowledge lets AI-assisted work build on documented dependencies and prior decisions.
Maintain control over technical change.
AI can extend implementation capacity. Keep the scope, constraints and approval of changes explicit.
Separate complexity where possible.
Staging major changes makes problems easier to isolate and outcomes easier to verify.
Verify actual behaviour.
Use both automated comparisons and real workflows, even when the code compiles and the application starts.
Keep human accountability explicit.
People remain responsible for technical decisions, acceptable risk and the outcome.
Tools and technologies
- AI-assisted engineering
Codex
- Application development
- C#
- .NET Framework
- .NET 10
- WPF
- XAML
- Data access
- Entity Framework 6
- Entity Framework Core 10
- SQL
- Analysis and verification
- Roslyn
- PowerShell
- JSON
- CSV
- Development tooling
Git
- Visual Studio