Skip to content

fix: preserve KeepMind SB profiles and validate native Corp updates - #17

Merged
criptogus merged 6 commits into
mainfrom
fix/isolated-installer-updates
Nov 13, 2026
Merged

criptogus merged 6 commits into
mainfrom
fix/isolated-installer-updates

Conversation

@criptogus

@criptogus criptogus commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

KeepMind SB / Corp installer
  → stable, separate user profile
  → verified persisted update
  → native replacement + relaunch with the same profile

Corrects Corp continuous packaging (it previously shipped the personal application), adds Corp update support, verifies update size/SHA-256, persists pending downloads across restart, and preserves profiles during native relaunch. macOS stages replacement and retains a recovery bundle. Windows uninstall explicitly retains data; Linux requires an AppImage installation.

Personal-facing branding becomes KeepMind SB. Internal package/bundle identifiers and the existing keepmind data directory remain unchanged. The macOS bundle remains KeepMind.app for compatibility with already-installed updaters; display/UI and artifact names identify SB. KeepMind OS is a separate project and is untouched.

Evidence

  • Published 0.2.6 DMGs from both repositories were mounted read-only and copied into disposable installations. Both contained name: keepmind, main: out/main/index.js: the Corp artifact was the wrong edition.
  • Published personal DMG: opening, synthetic account creation, removing/reinstalling the app and session/account restoration passed. No real credentials were used.
  • Corrected macOS source packages: 4 lifecycle checks passed for each edition: opening/account creation; removal/reinstall/session preservation; real updater download/integrity verification; physical swap/relaunch preserving account, session and sentinel data. Update feed is a controlled local fixture; not a claim that these fixes are already published.
  • Regression red against original source: 6 failures covering wrong Corp packaging/repository, lost pending updates and accepted corruption.
  • Full local suite: 288 passed, 2 existing skips; typecheck/build, Corp selfcheck, Experience 9/9, CRM 7/7, report checker, actionlint and diff check passed.
  • Final head 9b33b6e00aab47ee6cef957a112da473bf827fd8: all 9 PR checks passed. Native lifecycle run: both editions passed on macOS, Windows and Linux, 24/24 lifecycle checks across 6 native packages. Each artifact includes its report, screenshots and process log.
  • CI, Experience smoke, and CRM smoke passed on the same head.
  • Native Windows regression reproduced PowerShell exiting 0 without executing under detached. A hidden cmd bootstrap plus startup handshake fixes the handoff; both real NSIS updates now complete after the app exits. Startup failures leave the app open.
  • Repeated native tests exposed two harness races (startup update timer and Chromium endpoint truncation); the harness now waits for the actual state, including a focused endpoint regression test. Earlier failed runs remain visible; final results above are from a complete fresh run.
  • Auth persistence regression covers a real write failure during registration, restoring both disk/in-memory state and allowing a retry. Writes use atomic replacement and propagate failures instead of reporting a saved account.
  • Jev advisory review jev-1.14.0: supports .84 / gap .13 / uncertain .03; 2,805 input / 40 output tokens.
  • Account expiry test proves that a 30-day expired session requires login while retaining the existing account.

Merge Danger

Door: two-way

No migration/deletion of existing user data. Installation rollback bundles are retained. Unsigned app restrictions remain; this does not add notarization.

Blast Radius: installers-updates

Corp users who installed the previously mislabeled personal app need the corrected Corp installer; personal credentials are not silently migrated into a corporate organization. Existing personal updater compatibility is preserved. Validated source packages use a controlled local update feed; corrected public release artifacts still require merge and publication. No live user installation/account was used for registration or update tests. Signing/notarization and fresh-download Gatekeeper approval are outside this validation.

@criptogus
criptogus merged commit 176d6ec into main Nov 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant