You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed live 2026-08-19 by Etan ("there are now two brainbars at the same time").
Root cause: the 1.5.8 deploy runbook works around the agent-spawn _dyld_start hang by launching BrainBar via Terminal.app open. That instance is NOT launchd-managed (registers as application.com.brainlayer.brainbar.<n>) and nothing ever reaps it — PID 13335 ran from Aug 17 19:47 until manually killed Aug 19 21:5x, alongside the launchd-managed app (com.brainlayer.brainbar). Two menubar icons, two app processes, indefinitely.
Also found: 168 stale /tmp/brainbar-test-*.sock files from test runs (Aug 17-19) and 8 orphaned brainbar-hybrid-<pid>.sock files whose owning PIDs were long dead. Cleaned manually this session.
Asks:
Deploy path should not leave an unmanaged GUI instance — either fix the agent-spawn hang so launchd can own it, or have the runbook hand the process to launchd (and refuse to start a second instance if one is already registered).
BrainBar should single-instance itself: on launch, if another BrainBar is already running, either exit or take over — never silently run two menubar apps against the same DB.
Tests must clean up their sockets (tmpdir fixture or atexit); the hybrid helper should unlink its socket on exit and sweep brainbar-hybrid-*.sock whose PID is dead at startup.
Observed live 2026-08-19 by Etan ("there are now two brainbars at the same time").
Root cause: the 1.5.8 deploy runbook works around the agent-spawn
_dyld_starthang by launching BrainBar via Terminal.appopen. That instance is NOT launchd-managed (registers asapplication.com.brainlayer.brainbar.<n>) and nothing ever reaps it — PID 13335 ran from Aug 17 19:47 until manually killed Aug 19 21:5x, alongside the launchd-managed app (com.brainlayer.brainbar). Two menubar icons, two app processes, indefinitely.Also found: 168 stale
/tmp/brainbar-test-*.sockfiles from test runs (Aug 17-19) and 8 orphanedbrainbar-hybrid-<pid>.sockfiles whose owning PIDs were long dead. Cleaned manually this session.Asks:
brainbar-hybrid-*.sockwhose PID is dead at startup.🤖 Generated with Claude Code