fix: start Deep Search LaunchAgent reliably #28

Merged
tkmind merged 1 commits from codex/fix-deep-search-launchagent into main 2026-07-24 02:31:17 +00:00
Owner

Root cause

The verified runtime starts correctly in the foreground, but the first-install LaunchAgent used a symlink as its working directory and invoked the script directly. launchd rejected that configuration before the process could write logs. The rollback also left the newly created agent loaded when no previous release existed.

Fix

  • launch through /bin/bash explicitly
  • use the stable runtime base as WorkingDirectory
  • unload and remove a first-install LaunchAgent during rollback
  • suppress expected health-probe connection noise

Validation

  • shell syntax checks passed
  • runtime packaging test passed
  • standalone runtime rebuilt successfully
## Root cause The verified runtime starts correctly in the foreground, but the first-install LaunchAgent used a symlink as its working directory and invoked the script directly. launchd rejected that configuration before the process could write logs. The rollback also left the newly created agent loaded when no previous release existed. ## Fix - launch through `/bin/bash` explicitly - use the stable runtime base as `WorkingDirectory` - unload and remove a first-install LaunchAgent during rollback - suppress expected health-probe connection noise ## Validation - shell syntax checks passed - runtime packaging test passed - standalone runtime rebuilt successfully
tkmind added 1 commit 2026-07-24 02:26:38 +00:00
fix: start deep search launchagent reliably
Memind CI / Test, build, and release guards (pull_request) Successful in 4m7s
22a45f34f5
tkmind merged commit 6573c6bee0 into main 2026-07-24 02:31:17 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tkmind/memind#28