Skip to content

Add research doc on interrupted shutdown dialog - #35

Merged
KTSCode merged 2 commits into
mainfrom
todo/interrupted-shutdown-research
Jun 5, 2026
Merged

Add research doc on interrupted shutdown dialog#35
KTSCode merged 2 commits into
mainfrom
todo/interrupted-shutdown-research

Conversation

@KTSCode

@KTSCode KTSCode commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add docs/research/2026-06-04-interrupted-shutdown-dialog.md cataloging how to get past the macOS " interrupted shutdown" dialog.
  • Documents the root cause (non-root processes cannot force a shutdown past an app's applicationShouldTerminate: veto) and the current implementation (graceful System Events shutdown + 60s retry loop that just re-triggers the dialog).
  • Catalogs four approaches with tradeoffs — passwordless sudo /sbin/shutdown, force-quit apps then graceful shutdown, loginwindow Apple events, pmset schedule — plus a security/governance note on the sudoers path.
  • Research only, no code change. Picking A vs B is deferred to a follow-up spec.

Test plan

  • mix quality (full suite, dialyzer included) passes via pre-commit hook — doc-only change, no Elixir touched

@KTSCode
KTSCode merged commit 3fe8ff4 into main Jun 5, 2026
@KTSCode
KTSCode deleted the todo/interrupted-shutdown-research branch June 5, 2026 03:02
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