Skip to content
CAI
Software that uses CAICheck a score

AngelMunoz/Migrondi

63.7

Adequate · 15 November 2026

10.8k

lines of production code

F#

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add interactive sample script for Migrondi usage

A new F\# script (script.fsx) has been added to the samples directory to demonstrate how to use the Migrondi migration library. The script shows how to initialize the Migrondi configuration, create a new migration with up and down SQL statements, and perform a dry run to preview pending changes before applying them to the database.

samples/scripts · high confidence

Added SQLite sample project with user profile schema and migrations

A new SQLite sample project has been added to the samples/sqlite directory, providing a working example for testing and development. This includes a configuration file (migrondi.json) that sets up the SQLite driver and migration tracking, along with SQL migration scripts to create the initial database schema. The schema defines a users table (with name, email, and password fields) and a profiles table linked to users, which also supports an optional profile picture column.

samples/sqlite · high confidence

Core library rewritten with new database, file system, and serialization abstractions

The core library has been rebuilt from scratch, introducing new internal abstractions for database interactions (IMiDatabaseHandler), file system access (IMiFileSystem), and migration serialization. This new architecture supports multiple database drivers (SQLite, PostgreSQL, MySQL, MSSQL) with specific SQL dialects, allows for custom migration sources via IMiMigrationSource, and implements a new V1 migration file naming schema (timestamp\_name.sql). The service now exposes both synchronous and asynchronous methods for all operations, including support for manual transactions and cancellation tokens.

src/Migrondi.Core · high confidence

Migrondi project initialization and repository restructuring

The repository has been restructured into the Migrondi project, introducing a new SQL migrations tool with a CLI, a core library, and a desktop UI (MigrondiUI) that supports SQLite, SQL Server, PostgreSQL, and MySQL. The \init\ command now safely creates project configuration without overwriting existing files, and the tool supports applying and rolling back migrations via transactions. The UI component includes an Avalonia-based desktop app and an MCP server mode for AI integration. The project has migrated to central package management, updated to .NET 10 for testing and .NET 9/10 for apps, and upgraded Avalonia to version 12. A high-severity SQLite vulnerability has been addressed by updating dependencies.

(repo-wide) · high confidence

Removals

Removed initial database migration scripts

The initial database migration files (V0, V1, and V2) that defined the schema for the Migrations and Todos tables have been removed from the project. This deletion eliminates the SQL definitions for creating the core tables and adding the Date column to the Todos table.

migrations · high confidence

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 38 files: “phase 6: replace the Avalonia MigrondiUI with the Goo-based Migrondi.UI”.

Migrondi.UI, src/Migrondi.UI · low confidence · unverified

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 8 files: “chore: add F\# agent skills used for Phase 2”.

(repo-wide) · medium confidence · unverified

20 commits (2 fixes) modifying Migrondi.Core

A change to existing behaviour in Migrondi.Core — 20 commits (2 fixs), 1 file: “allow manual transactions in files”; “update comments add string asString”; “add converstion between string and migrondi driver”; and 17 more (refs \#44, \#49).

Migrondi.Core · medium confidence · unverified

4 commits (1 fix) modifying src/Migrondi.Mcp

A change to existing behaviour in src/Migrondi.Mcp — 4 commits (1 fix), 2 files: “fix: make the MCP HTTP server cancellable while idle”; “refactor: move MCP results and HTTP transport to Migrondi.Mcp”; “chore: format sources with Fantomas 8”; and 1 more. Also in this area: 3 commits (0 fixes) modifying src/Migrondi.Mcp; 1 commit (0 fixes) modifying (repo-wide).

src/Migrondi.Mcp · low confidence · unverified

6 commits (0 fixes) modifying Migrondi.Mcp

A change to existing behaviour in Migrondi.Mcp — 6 commits, 5 files: “refactor: wire shared MCP contracts into GUI services”; “refactor: move MCP service contracts and tools to Migrondi.Mcp”; “refactor: wire Migrondi.Mcp results and transport into the build”; and 3 more.

.agents, Migrondi.Mcp · medium confidence · unverified

Migrondi CLI restructured with new commands and configuration options

The Migrondi command-line interface has been reorganized into a new command structure, introducing dedicated commands for initialization (init), creating new migrations (new), applying migrations (up), rolling back migrations (down), listing migration status (list), and checking individual migration states (status). The CLI now supports dry-run modes for up and down commands via the --dry flag, allowing users to preview changes without executing them. Configuration can be provided through command-line arguments (connection string, migrations directory, table name, driver) or environment variables (MIGRONDI\_CONNECTION\_STRING, MIGRONDI\_MIGRATIONS, MIGRONDI\_TABLE\_NAME, MIGRONDI\_DRIVER), with CLI arguments taking precedence over environment variables, which in turn override the local migrondi.json configuration file. The init command now supports --force and --merge flags to handle existing configurations, and the new command supports --manual-transaction to create migrations that won't be wrapped in transactions. Also in this area: 1 commit (0 fixes) modifying (repo-wide); 3 commits (0 fixes) modifying Migrondi.

Migrondi, src/Migrondi · low confidence

Test coverage

1 commit adding/updating tests in src/Migrondi.UI.Tests, src/MigrondiUI.Tests; Added comprehensive test suite for database, file system, and serialization operations.

Dependencies

Migrate to .NET 8/9/10 and adopt central package management

The project has been modernized to target .NET 8, 9, and 10, replacing the legacy .NET Core 3.1 build. Dependency management is now centralized via Directory.Packages.props, standardizing versions for key libraries including Avalonia 12, ModelContextProtocol 1.4.0, and the Microsoft Data providers. The legacy Sqlator project and its Dapper dependency have been removed, with the core library now relying on Microsoft.Data.SqlClient, Microsoft.Data.Sqlite, Npgsql, and MySql.Data for database operations. Also in this area: 1 commit updating dependencies (4 manifests); 5 commits updating dependencies (4 manifests).

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 63 → 64 (+0.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 92 → 60 (-32.2)
  • Architecture 97 → 95 (-1.9)
  • Maturity 57 → 62 (+4.1)
  • Readiness 57 → 64 (+6.7)
  • Security 68 → 64 (-4.3)
  • Performance 84 → 100 (+16.0)

Resolved (47)

  • Banned license: MySql.Data (src/Directory.Packages.props)
  • Deprecated: MSTest (src/Directory.Packages.props)
  • Deprecated: MSTest.TestAdapter
  • Deprecated: MSTest.TestFramework
  • Duplicated block (10 lines × 2) (src/MigrondiUI/Services.fs)
  • Duplicated block (11 lines × 2) (src/MigrondiUI/Components/Fields.fs)
  • Duplicated block (11 lines × 2) (src/MigrondiUI/Views/LocalProjectDetails.fs)
  • Duplicated block (11–12 lines × 2) (src/MigrondiUI/Components/TextEditor.fs)
  • Duplicated block (126–127 lines × 2) (src/Migrondi.Core/Database.fs)
  • Duplicated block (13–15 lines × 2) (src/MigrondiUI/Mcp/Tools.fs)
  • Duplicated block (14–15 lines × 2) (src/MigrondiUI/Views/LocalProjectDetails.fs)
  • Duplicated block (15 lines × 2) (src/MigrondiUI/Mcp/Server.fs)
  • Duplicated block (18 lines × 2) (src/MigrondiUI/Database.fs)
  • Duplicated block (20 lines × 2) (src/MigrondiUI/Database.fs)
  • Duplicated block (21 lines × 2) (src/MigrondiUI/VirtualFs.fs)
  • Duplicated block (26–27 lines × 2) (src/MigrondiUI/Views/LocalProjectDetails.fs)
  • Duplicated block (29–31 lines × 2) (src/Migrondi.Core/Migrondi.fs)
  • Duplicated block (35–36 lines × 2) (src/MigrondiUI/Views/LocalProjectDetails.fs)
  • Duplicated block (52–53 lines × 2) (src/MigrondiUI/Views/LocalProjectDetails.fs)
  • Duplicated block (6–7 lines × 2) (src/MigrondiUI/Views/LocalProjectDetails.fs)
  • …and 27 more

New (58)

  • Duplicated block (10 lines × 2) (src/Migrondi.UI/Logic/Services.fs)
  • Duplicated block (12–14 lines × 2) (src/Migrondi.Mcp/Tools.fs)
  • Duplicated block (13 lines × 2) (src/Migrondi.Mcp/ProjectBinding.fs)
  • Duplicated block (13 lines × 2) (src/Migrondi.UI/Views/NewProject.fs)
  • Duplicated block (15 lines × 2) (src/Migrondi.Mcp/Server.fs)
  • Duplicated block (15 lines × 2) (src/Migrondi.UI/Views/Common.fs)
  • Duplicated block (18 lines × 2) (src/Migrondi.UI/Logic/Database.fs)
  • Duplicated block (20 lines × 2) (src/Migrondi.UI/Logic/Database.fs)
  • Duplicated block (21 lines × 2) (src/Migrondi.UI/Logic/VirtualFs.fs)
  • Duplicated block (6 lines × 2) (src/Migrondi/Handlers.fs)
  • Duplicated block (8 lines × 2) (src/Migrondi.UI/Views/Shell.fs)
  • Edited copy of a member (5 corresponding lines) (.agents/skills/fsharp-signature-files/scripts/breaks/HiddenRecordConstruction/Lib.fs)
  • FileTooLong: Migrondi.Mcp/Server.fs (src/Migrondi.Mcp/Server.fs)
  • FileTooLong: Migrondi.Mcp/SingleProject.fs (src/Migrondi.Mcp/SingleProject.fs)
  • FileTooLong: Migrondi/Handlers.fs (src/Migrondi/Handlers.fs)
  • FileTooLong: Views/ProjectDetails.fs (src/Migrondi.UI/Views/ProjectDetails.fs)
  • Hotspot: src/Migrondi.UI/Logic/VirtualFs.fs (src/Migrondi.UI/Logic/VirtualFs.fs)
  • Hotspot: src/Migrondi/Handlers.fs (src/Migrondi/Handlers.fs)
  • Low cohesion: ProjectCollection (LCOM4 5) (src/Migrondi.UI/Logic/Services.fs)
  • Low coverage: src/Migrondi.Mcp/Results.fs (src/Migrondi.Mcp/Results.fs)
  • …and 38 more

Changes since last survey

  • 27 commits — 25 feature/other, 2 fixes

By area

  • src/Migrondi.Mcp — 9 commits
  • (root) — 5 commits
  • src/Migrondi — 3 commits
  • src/MigrondiUI.Logic — 3 commits
  • .agents/skills — 2 commits
  • src/MigrondiUI — 2 commits
  • docs/cli.md — 1 commit
  • src/Migrondi.UI — 1 commit
  • src/MigrondiUI.Tests — 1 commit

Notable commits

  • fix: fix: make the MCP HTTP server cancellable while idle
  • fix: phase 4 fix pass: spec v1.1 addendum
  • change: chore: add F# agent skills used for Phase 2
  • change: chore: format sources with Fantomas 8
  • change: chore: remove ROADMAP.md — all phases landed
  • change: chore: update dependencies to latest stable versions
  • change: docs: add CLI and MCP roadmap
  • change: docs: add migrondi-cli and migrondi-library agent skills (#61)
  • change: docs: rework roadmap phase 2 around agent-facing CLI flags
  • change: feat(cli): add discovery filters to list (#59)
  • change: feat(cli): create migrations with content via new --up/--down (#58)
  • change: feat(mcp): single-project MCP server in the CLI and shared layer hardening
  • change: feat(mcp): stateless per-call project binding and project lifecycle tools
  • change: feat/phase2 target status (#60)
  • change: phase 4 dry run: segment GUI logic into MigrondiUI.Logic
  • change: phase 4: move app-database migrations into MigrondiUI.Logic
  • change: phase 5: GUI MCP server docs page and which-host notes
  • change: phase 5: contract tests drive the tool handlers via internal surface
  • change: phase 5: get_project without connection strings, plus both-host contract tests
  • change: phase 6: replace the Avalonia MigrondiUI with the Goo-based Migrondi.UI
  • …and 7 more

Architecture

  • Containers 0 added · 0 removed · contexts 10 added · 0 removed · edges 5 added · 0 removed

Added bounded contexts (10)

  • Break
  • Domain
  • Migrondi
  • Migrondi.Core
  • Migrondi.Mcp
  • Migrondi.UI
  • Probe
  • Sample
  • Shape
  • WarnGate

Added dependency edges (5)

  • Migrondi → Domain (coupling)
  • Migrondi → Migrondi.Core (coupling)
  • Migrondi → Migrondi.Mcp
  • Migrondi.Mcp → Migrondi.Core (coupling)
  • Probe → Domain

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

AngelMunoz/Migrondi was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 2fb4ca8952a82a6a7de3b67eb39423b7cacac337 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.