repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

docs(quickshell): verify power dry-run matrix

1af9e4aaeaec1ecee6b83b630e45fc7245dc09be

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

docs/super/inventory/2026-06-17-quickshell-phase-4d-power-dryrun-matrix.md

Added
new file mode 100644
1 +# Quickshell Phase 4D Power Dry-Run Matrix — 2026-06-17
3 +## Scope
5 +Verified all non-lock Quickshell power menu actions remain two-step and dry-run by default. This extends earlier reboot-only power verification.
7 +## Test
9 +Temporary `XDG_CONFIG_HOME` named config was used; no live home symlink mutation.
11 +Actions tested:
13 +- sleep
14 +- logout
15 +- reboot
16 +- poweroff
17 +- cancel/close path
19 +Commands used the IPC surface:
21 +```sh
22 +qs ipc -c nugu call nugu requestPowerAction <action>
23 +qs ipc -c nugu call nugu pendingPowerAction
24 +qs ipc -c nugu call nugu confirmPowerAction
25 +qs ipc -c nugu call nugu lastPowerAction
26 +qs ipc -c nugu call nugu powerMenuVisible
27 +qs ipc -c nugu call nugu closePowerMenu
28 +```
30 +## Observed returns
32 +```text
33 +request_sleep=sleep
34 +pending_sleep=sleep
35 +confirm_sleep=dry-run sleep
36 +last_sleep=dry-run sleep
37 +visible_sleep=false
39 +request_logout=logout
40 +pending_logout=logout
41 +confirm_logout=dry-run logout
42 +last_logout=dry-run logout
43 +visible_logout=false
45 +request_reboot=reboot
46 +pending_reboot=reboot
47 +confirm_reboot=dry-run reboot
48 +last_reboot=dry-run reboot
49 +visible_reboot=false
51 +request_poweroff=poweroff
52 +pending_poweroff=poweroff
53 +confirm_poweroff=dry-run poweroff
54 +last_poweroff=dry-run poweroff
55 +visible_poweroff=false
57 +request_cancel=reboot
58 +pending_cancel_before=reboot
59 +visible_cancel_after=false
60 +pending_cancel_after=
61 +```
63 +Destructive process sanity check:
65 +```text
66 +pgrep -a systemctl | grep -E 'suspend|reboot|poweroff': empty
67 +pgrep -a hyprctl | grep 'dispatch exit': empty
68 +```
70 +Runtime output:
72 +```text
73 +INFO: Configuration Loaded
74 +```
76 +No QML errors, binding loops, reference errors, annotation warnings, or lingering `qs` process were observed.
78 +## Screenshot
80 +- `/tmp/nugu-qs-power-confirm-poweroff.png`
82 +Vision check confirmed:
84 +- confirmation state says `Confirm power off`
85 +- destructive/error styling is visible
86 +- cancel and confirm controls are visible
87 +- text is readable and style matches Nugu surfaces
89 +## Conclusion
91 +Power/session replacement is safe at the current gate: non-lock actions require confirmation and still dry-run. No real logout, suspend, reboot, or poweroff happened.
93 +## Still open
95 +- Live `CTRL+ALT+Delete` bind migration after Quickshell service is active/recoverable.
96 +- Real action execution, if ever enabled, requires explicit user approval and separate destructive-action validation.