* Keep profile saving alive after a stalled main loop
After a long main-loop stall (overnight sleep, dark wakes), the profile
writer's overdue 30s timeout could run before an acknowledgement that was
already queued, permanently retiring the writer until restart. Terminal
creation then failed because pane bindings could not be saved.
- Writer deadlines measure lateness on the monotonic clock and grant a
bounded fresh window when the callback is overdue or the system reports
suspended; resume re-arms without spending grace. Applies to
initialization, every command, and the close/exit wait.
- The "Saving stopped" alert is parented to a visible main window (never a
parentless synchronous macOS alert), deferred until shown, deduplicated,
and says whether the latest change is unconfirmed.
- Timeouts, grace, writer faults, and alert presentation leave sanitized
durable breadcrumbs.
* Fix profile writer timeout and shutdown races
* Run profile writer stall regression on Linux and Windows
* Keep Electron probes out of headless runtime qualification