migrationState property

Future<MigrationAxes> get migrationState

Read-only snapshot of all on-device data migration axes.

Reflects the migration_meta row written by init_source_db: sql_schema_version, hnsw_format_version, bm25_stats_version, embedding_fingerprint, embedding_fingerprint_pending, plus the last engine version recorded at boot. Later phases gate behavior on the integer axes; the fingerprint axes feed the P0-2 mismatch gate exposed via embeddingFingerprintLock.

Implementation

Future<migration_meta.MigrationAxes> get migrationState =>
    migration_meta.readMigrationAxes();