* Refresh the passwordless sudo indicator on change instead of polling
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Refresh the sudo indicator after failed changes and on a wall-clock deadline
Addresses Codex review: a rolled-back renewal skipped the refresh, the monotonic user timer paused through suspend, and default timer accuracy allowed a minute's delay.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Test the sudo indicator refreshes by running the grant flows
Replace source-string checks with runs of timed, renewed, failed, permanent and disable flows against the fixture, asserting the recorded omarchy-shell refresh and wall-clock systemd-run --user timer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>