archify icon indicating copy to clipboard operation
archify copied to clipboard

Add artifact-bound 16:9 presentation delivery evidence

Open drabdhafizr opened this issue 3 months ago • 0 comments

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

  • deliver already provides atomic deterministic delivery and source/artifact hashes.
  • visual-check already 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:

  1. preserve and hash the source artifact;
  2. use the existing Chrome/DevTools transport without a network listener;
  3. capture an exact 3840×2160 full-page PNG;
  4. derive an exact 1600×900 review PNG;
  5. print a one-page 16:9 PDF and verify page geometry;
  6. optionally require exact visible/status phrases before accepting the packet;
  7. write an atomic machine-readable receipt with absolute/relative paths, byte counts, SHA-256 values, dimensions, PDF page geometry, and evidence kind;
  8. keep visualReview: "pending"—successful automation must never claim perceptual approval;
  9. 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 test on current main;
  • 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.

drabdhafizr avatar Sep 01 '26 06:09 drabdhafizr