mix rendro.visual_uat (Rendro v0.3.0)

Copy Markdown View Source

Renders the branded invoice fixture, rasterises page 1 to PNG via pdftoppm, asks the Claude API to grade three visual criteria (logo present, header uses the embedded branded font, layout looks intentional), and writes the verdict back into the phase's UAT file.

Replaces the manual visual UAT step for phase 29 (branded invoice preview).

mix rendro.visual_uat            # phase 29 (default)
mix rendro.visual_uat 29

Requires:

  • pdftoppm on PATH (brew install poppler / apt install poppler-utils)
  • ANTHROPIC_API_KEY env var

Optional env:

  • RENDRO_VISUAL_UAT_MODEL — defaults to claude-opus-4-7