Skip to content

fix(service): clear launchd disabled overrides before bootstrap#69

Merged
drpedapati merged 1 commit intomainfrom
fix/launchd-disabled-overrides
Feb 23, 2026
Merged

fix(service): clear launchd disabled overrides before bootstrap#69
drpedapati merged 1 commit intomainfrom
fix/launchd-disabled-overrides

Conversation

@drpedapati
Copy link
Owner

Summary

  • launchctl bootout leaves the service label in launchd's disabled overrides database, causing subsequent bootstrap calls to fail with misleading "Input/output error"
  • Fix: call launchctl enable before bootstrap in Install() and Start(), and after bootout in Uninstall() to prevent stale disabled state
  • Fix wizard service step to show error icon (not ) on failure, with actual command output

Test plan

  • sciclaw service uninstall && sciclaw service install succeeds on macOS
  • Repeated uninstall/install cycles don't accumulate disabled overrides
  • Wizard service step shows red error on failure, green check on success

🤖 Generated with Claude Code

launchctl bootout leaves the service label in launchd's disabled
overrides database. Subsequent bootstrap calls fail with a misleading
"Input/output error". Fix by calling launchctl enable before bootstrap
in Install() and Start(), and after bootout in Uninstall().

Also fix wizard service step to show error icon on failure instead of
success checkmark, and include command output in error message.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@drpedapati drpedapati merged commit 3365c63 into main Feb 23, 2026
1 check was pending
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