Make local UI setup truthful and rerunnable

This commit is contained in:
master
2026-04-14 21:44:35 +03:00
parent c69ebb4c48
commit 75ccdf81c1
28 changed files with 1272 additions and 173 deletions

View File

@@ -263,6 +263,11 @@ reconfiguration checks.
Current runtime behavior:
- Authoritative wizard state is persisted in `platform.setup_sessions` via
migration `063_PlatformSetupSessions.sql`.
- Installation-scoped environment settings and the `SetupComplete` marker now
converge through `platform.environment_settings` keyed only by `key`.
Migration `064_EnvironmentSettingsInstallationScopeConvergence.sql` upgrades
older compose-created tables that still used the legacy `(tenant_id, key)`
primary key.
- The persisted store keeps only non-sensitive draft configuration plus step
state, timestamps, and check results. Secret material is still expected to be
staged through a secret authority rather than stored in wizard session state.