Add first-time installer baseline migration

This commit is contained in:
Tom Boucher
2026-05-10 23:25:11 -04:00
parent 9889d0a9aa
commit 3084ecc2a6
6 changed files with 383 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ We decided to introduce an explicit Installer Migration Module for install-time
- Require migrations to plan first, then apply through a shared executor that owns backup, rollback, and reporting.
- Default ambiguous or unknown files to preserve; destructive changes need managed-file evidence or explicit user choice.
- Support dry-run output using the same planner used by apply mode.
- Include a first-time baseline scanner for legacy installs that need classification before destructive migrations can be trusted.
- Treat the runtime configuration contract registry in `docs/installer-migrations.md` as the source of truth for migrations that touch host runtime config.
## Runtime Contract Decision