Add artifact-bound 16:9 presentation delivery evidence
User problem
Archify can atomically deliver a trustworthy standalone HTML artifact and visual-check can collect desktop browser evidence from it. There is still no supported non-interactive handoff for a fixed 16:9 presentation/chat surface.
A team sharing a diagram through a slide, report, or compressed chat preview currently has to assemble its own browser commands and evidence for:
- an exact 3840×2160 full-page PNG;
- a 1600×900 review copy representing the compressed preview surface;
- a one-page 16:9 PDF that retains text rather than flattening the page;
- hashes and dimensions bound to the exact delivered HTML;
- a truthful perceptual-review state that remains pending until a human or image-capable reviewer inspects the preview.
A passing desktop visual-check does not prove that fixed delivery surface, and an ad-hoc screenshot/PDF command has no standard receipt or stale-sidecar handling.
Existing related work
deliveralready provides atomic deterministic delivery and source/artifact hashes.visual-checkalready separates automated browser evidence from perceptual review.- #179 / #180 address an interactive full-page PNG export. This proposal should not duplicate or replace that export UI.
- The roadmap's rejection of a dedicated PDF button remains compatible: this is a bounded CLI/evidence profile, not new viewer chrome.
Proposed contract
Add one opt-in, zero-runtime-dependency presentation evidence path—either a profile on visual-check or a narrowly named companion command, whichever best fits the maintainers' CLI boundary.
For an already delivered local HTML artifact, it would:
- preserve and hash the source artifact;
- use the existing Chrome/DevTools transport without a network listener;
- capture an exact 3840×2160 full-page PNG;
- derive an exact 1600×900 review PNG;
- print a one-page 16:9 PDF and verify page geometry;
- optionally require exact visible/status phrases before accepting the packet;
- write an atomic machine-readable receipt with absolute/relative paths, byte counts, SHA-256 values, dimensions, PDF page geometry, and evidence kind;
- keep
visualReview: "pending"—successful automation must never claim perceptual approval; - fail closed and remove incomplete/stale presentation sidecars while preserving the trusted HTML.
Compatibility and non-goals
- Additive and opt-in; existing
deliver,visual-check, viewer exports, schemas, renderers, and default viewport coverage stay unchanged. - No perceptual-quality auto-pass.
- No mobile product acceptance gate.
- No new PDF/export button.
- No AIOS-, organization-, customer-, or authority-specific wording.
- No server, browser driver dependency, or mutation of the delivered HTML.
- No overlap with #180's interactive full-page export; if #180 lands, this evidence path may consume that same page composition rather than create a second visual composition.
Acceptance evidence
A contribution should include:
- focused CLI/receipt/failure-path regression tests;
- source immutability and stale-sidecar cleanup tests;
- exact 3840×2160 and 1600×900 checks;
- one-page 16:9 PDF geometry proof;
- a real Chrome run on a checked-in redacted example;
npm teston currentmain;- truthful perceptual review status reported separately.
I can prepare a draft implementation after maintainer feedback on whether this belongs under visual-check --profile presentation-16x9 or a companion command.