Skip to content
github-actions[bot] edited this page Nov 25, 2026 · 4 revisions

Review evidence

Use this page to reproduce the checks behind the example handbooks or understand what previous reviews covered. For reviewing a particular application, start with the review skill and the exact run ID.

Audit an existing run

hooserguide audit <run-directory>
hooserguide audit <run-directory> --strict --json

The audit is read-only and works offline. It verifies both PNG variants against the execution report, then inspects the reader text, recorded steps and optional PDF layout record. Every finding has a stable code, a suggested repair and, where applicable, one-based execution chapter/capture/mark indices. Responsive results identify the profile. New reports also point to the source scenario or capture step; check the recorded source digest if the file has changed. Use hooserguide_audit {runId, strict} over MCP or auditRun(directory) from TypeScript.

Finding What to do
DRAFT_COPY, SELECTOR_COPY, EMPTY_LEGEND Read the named field in the delivered guide. Replace draft text or selector syntax with the visible control name, and give each badge a useful caption. Keep literal terms when they are the subject of the guide.
UNCHECKED_ACTION, MISSING_OUTCOME Check what the scenario promises. A successful click proves the click ran; if the guide promises persistence, assert the state after reopening or reloading. Custom steps may have their own assertions.
REPEATED_FIGURE Compare the two named captures within the same execution chapter. Byte-identical annotated images can be intentional.
PDF_UNMARKED_SLICE, PDF_SPLIT_TARGET Open the continuation pages. An extra page may give useful context; if it only shows another panel, focus the capture on the area the reader needs.
PDF file or layout errors Restore matching artifacts or rebuild. Slice metadata must cover each image once, with no gaps or overlaps. New layout records include a PDF digest so the audit can detect a swapped PDF. For legacy records, pdfHashVerified is false. The page count comes from the layout record.

Errors fail the command. Warnings fail only in strict mode. A missing or changed screenshot stops the audit rather than returning a misleading clean result. Legacy raw images without a stored digest are counted separately. A failed run remains failed. visualReview: "required" applies even with zero findings: the audit does not interpret screenshot pixels, prove a mask hid all private information, judge the visual result, or establish that an assertion supports a reader claim.

For example, the preferences figure in the HooTasks demo used to start with a whole PDF page of unrelated task controls. A focused screenshot now shows the checkbox, save button and confirmation together. Reading the numbered instructions separately also revealed that they omitted the reload check even though the scenario performed it. That second issue required a reader's judgment.

November 25, 2026: reader review

Reviewing the English A4 and German Letter landscape guides found three defects that a successful browser run did not catch: an arrow crossed the notification label, the instructions omitted a reload check the scenario actually made, and the first page of the preferences figure contained only unrelated controls. Replacing the arrow with a box, naming the reload check and cropping to the preferences panel addressed those defects.

A separate landscape check found that a figure could fit in a single image slice while two of its three legend entries flowed onto another physical page. The renderer now reserves space for the additional entries when scaling a figure to fit. The English example went from eight pages to seven and the German example from twelve to eight. The longer saved-task screenshot still spans two landscape pages. Both guides retain four figures and the two tested workflows.

November 24, 2026: authoring through offline delivery

Area What was checked
Application workflow The README scenario ran from an installed package against HooTasks. The English and German demos each recorded two chapters and 29 passing steps. Both scenarios reload the app and verify that the task or notification preference survived.
Capture and export Regression cases include a mask disappearing after scrolling, a font request that never finishes, truncated PNGs, and a rebuild after removing the original HTML and Markdown. Pages and its downloadable ZIP were checked for matching PDF, Markdown and screenshot bytes and the same original report hash.
Reader and PDF All eight English A4 portrait pages and twelve German Letter landscape pages were rendered and visually inspected alongside all sixteen raw/annotated screenshot variants. The offline reader was checked at narrow and desktop widths. A separate stress case checks 160 warning sentences in order across page breaks.
Responsive guidance Three screen profiles shared some instructions and differed on others. The HTML, Markdown and PDF named every relevant screen and placed warnings before actions. A narrow focus capture that previously filled five PDF pages fit on one; a two-scenario landscape fixture fell from 27 to 17 pages while retaining every screenshot pixel.
Installation and CI adapters Checks included a fresh Git install, the packed CLI and MCP server, and local execution of the GitLab and GitHub generation and Pages scripts. Browser qualification covers Chromium, Firefox and WebKit.

The examples use a loopback app and browser emulation. Local checks do not qualify physical devices or establish a hosted deployment.

Repeat the review

From a source checkout, install dependencies and the browser versions specified by its lockfile:

npm ci
npx playwright install chromium firefox webkit
npm run check
npm test
npm run test:browsers
npm run test:package

Use npm run demo:docs to regenerate the tracked examples in docs/demo/ and docs/layout-demo/. For each run, check the recorded selection and passing assertions, compare every masked raw PNG with its annotated version, open the HTML at desktop and narrow widths, and render every PDF content page. Inspect labels, legends, continuation seams and the saved result. The layout audit and extracted PDF text supplement the visual check.

To reproduce the alignment comparison below, run npm run review:gallery in a checkout with the historical 0.2.0 revision. The script compares the old and current capture implementation on the same browser fixtures and writes its intermediate files under output/review/.

Browser captures before and after alignment fixes

Earlier reviews

Version Findings and regression coverage
0.2.1 Corrected annotation coordinates on zoomed mobile pages, paused animations and image edges. Tested dense controls, explicit arrow origins, four-character badges and legacy captions without labels. Long legends and instructions were checked for off-page content; PDF seams were adjusted to keep annotation groups together. CLI option rejection, profile overrides, init conflicts, failed context setup and selecting successful MCP rebuild evidence also gained coverage.
0.3.1 Centralized report consistency checks, contained evidence reads and verification in direct renderers. Compared decoded pixels so recompression no longer looks like a UI change; checked execution steps, tags and browser metadata. Covered noisy plugin output, exclusive scaffold writes and ZIP write/cleanup failures.
0.4.0 Added a Linux qualification matrix for Chromium, Firefox and WebKit: saved outcomes, high-DPI scroll and focus, masks, responsive reader, PDF, cancellation and failure evidence. The installed-package smoke exercised the GitLab generation shell, its job-scoped artifacts and a loopback app.
0.5.0 Qualified responsive execution across desktop, tablet and mobile profiles. Tests covered incomplete or mismatched groups, per-screen guidance, raw-image links, PDF overviews/detail pages, narrow-width stacking and profile preservation through rebuild, compare, bundle, CLI, MCP and GitLab.
0.6.0 Added static Pages preparation, GitLab job-summary selection, GitHub upload/deployment integration and tests for project subpaths, download links, failed evidence, target collisions and regeneration of previously corrupted reader files.

Browser qualification: annotation placement across three engines

Limits of the evidence

  • Privacy: A matched mask protects its chosen target, not every sensitive part of the page. Inspect both image variants and the report before sharing.
  • Layout: A crowded screenshot may need extra padding or separate captures. An annotation group taller than a PDF page cannot stay together; unmarked content can cross a seam.
  • Provenance: Hashes verify consistency with an unsigned report. A rebuild uses existing screenshots and preserves their capture time. It does not verify today's app.
  • Publication: An uploaded CI artifact, a passing local component shell and a live site are different results. Verify the intended commit and actual site URL when publishing; see the Pages checklist.

Clone this wiki locally