1.8 KiB
name, description, disable-model-invocation
| name | description | disable-model-invocation |
|---|---|---|
| visual-verification | Verify running desktop UI changes with screenshots and recordings. Use when changing shell styling, layout, panels, menus, notifications, animations, transitions, or capture flows; inspect the artifacts before reporting completion. | true |
Visual Verification
Use this before finishing a change with a visual effect. Automated tests do not replace verification in the running UI.
-
Check the command needed for the selected branch with
command -v. Start the changed UI and keep its PID if it runs in the background. -
Capture a screenshot for layout, styling, state, or focus changes:
screenshot_filename="${screenshot_filename:-visual-verification-candidate.png}" hyprshot -m output -m active -f "$screenshot_filename"-m output -m activecaptures the active output;-fsets the filename. Useomarchy screenshotwhen interactive region selection is needed. Capture reference and candidate states as separate files for layout or layer-shell changes. -
Record a short video for animation, transition, timing, capture, or screen-recording changes:
video_filename="${video_filename:-visual-verification.mp4}" screen-recorder -o "$video_filename" # Exercise the changed behavior. screen-recorder stop -
Inspect each saved artifact for clipping, overlap, spacing, stale state, focus, and visual regressions. For interactive changes, use
wtypewhen available (for example,wtype -k Right -k Return) and verify the resulting state or command output. -
Stop only the UI process started for verification, and confirm it is the tracked PID. Finish when the changed behavior is visibly correct and every relevant screenshot or recording has been inspected.