Skip to content

docs: GUI screenshot rule + headless-run recipe + Send screenshots - #57

Merged
hellno merged 1 commit into
mainfrom
claude/gui-screenshot-convention
Jun 14, 2026
Merged

docs: GUI screenshot rule + headless-run recipe + Send screenshots#57
hellno merged 1 commit into
mainfrom
claude/gui-screenshot-convention

Conversation

@hellno

@hellno hellno commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Follow-up to #54 (Un-gate Send). Establishes a durable convention so GUI changes ship with visual proof, and permanently hosts the Send reference shots.

What this adds

  • CLAUDE.md → Visual verification rule: when an agent touches a crates/deckard-app view, run the app and attach before/after screenshots to the PR — tests alone don't prove a screen renders. QA/review flag GUI PRs without screenshots.
  • docs/dev/headless-gui-screenshots.md: a reproducible recipe to bring the GPUI app up in a headless Linux / Claude-on-the-web session (software Vulkan via Mesa llvmpipe + Xvfb), drive it with xdotool, and capture real pixels. Captures the two gotchas that cost the most time so nobody re-derives them:
    • gpui_linux's x11 backend is compiled out by default → startup panics unreachable; enabling it needs a cargo clean -p gpui_linux to force the recompile (temporary, never committed).
    • pkill -f 'target/debug/deckard' matches your own shell command and kills the session (the mysterious exit 144).
  • docs/screenshots/send-home.png, send-review.png: the reference shots the rule points at.

Docs only — no code, no dependency changes.

The reference shots (captured live via the recipe above)

Portfolio — Send un-gated Review — clear-signing card
Send enabled on the Portfolio Send review card

https://claude.ai/code/session_01VF1DsazbsSL1bHbcz1qzvC


Generated by Claude Code

Adds a "Visual verification" rule to CLAUDE.md: when an agent touches a
deckard-app view, run the app and attach before/after screenshots to the PR
(tests alone don't prove a screen renders).

- docs/dev/headless-gui-screenshots.md: reproducible recipe to launch the
  GPUI app headlessly (software Vulkan/llvmpipe + Xvfb), drive it, and capture
  pixels — including the gpui_linux x11-feature gotcha and the pkill self-kill
  trap, so future agents don't re-derive them.
- docs/screenshots/send-home.png, send-review.png: the two reference shots
  from the un-gated Send work (PR #54), used as the template the rule points at.

Docs only; no code, no dependency changes.
@hellno
hellno merged commit b751c35 into main Jun 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants