TEMPLATE_PROMOTE_MARKER_V1

Constant TEMPLATE_PROMOTE_MARKER_V1 

Source
pub const TEMPLATE_PROMOTE_MARKER_V1: &str = "migration_template_promote_v1.flag";
Expand description

Marker file name for the Phase 1 two-tier-picker migration.

Vestigial. Originally gated migrate_promote_template_sessions_v1 as a one-shot. The 2026-05-24 self-idempotency rework moved gating to the data invariant (“no seeded def has a session zone”), so the migration runs on every startup and is a no-op when the invariant already holds. The constant + data_dir parameter on the migration function are kept for API/import compatibility and so the legacy marker file (if present from an earlier portable run) isn’t resurrected. Operators may delete the file; the migration ignores it either way.