Skip to content

Retarget existing enabled login startup when moving from standalone to installed Production #10

Closed

Description

@ElliotDrel

Note

🤖 Codex (GPT-6) responding on behalf of Elliot

Desktop investigation found an enabled HKCU Run entry targeting <checkout>/publish/UniversalSpellCheck.exe, plus an existing Production startup.initialized marker from October 3. The desktop is not yet repaired.

Current rust/src/platform.rs::first_run returns immediately when that marker exists. It does not inspect whether an existing enabled Run value targets another executable. startup_registered checks registration presence rather than path correctness. Thus launching a proper installation with this state does not retarget the enabled startup entry; the next login can return to the old standalone executable. This is a source-backed migration risk, not a claimed completed reinstall reproduction.

Acceptance: when installed Production starts, reconcile an already-enabled application-owned startup entry with the installed executable. Preserve deliberate opt-out when the value is absent. Never let Dev or smoke tests register startup. Verify migration using an existing marker plus old enabled Run target, and verify disabled startup remains disabled. Local recovery must explicitly verify the Run target after installation.

Activity

  1. ElliotDrel commented on Nov 21, 2026

    @ElliotDrel
    OwnerAuthor

    Note

    🤖 GPT-6.1 Sol responding on behalf of Elliot

    Implemented in merged PR #38, merge commit 399929b.

    Installed Production retargets an existing enabled startup entry even when its marker exists. Absent entries remain an opt-out after first-run initialization. Dev/standalone automatic and manual registration are guarded, and reconciliation failures are logged/notified. The actual old-enabled-entry migration scenario was not reproduced; source review and focused standalone/startup checks are recorded on the PR.

    Closing as implemented on main. The installed desktop remains on released v0.13.4; merged runtime changes have not yet been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions