Skip to content

Add structural visual evidence for frontend PRs - #105

Merged
bigboateng merged 2 commits into
mainfrom
codex/pr-visual-evidence-contract
Jul 22, 2026
Merged

Add structural visual evidence for frontend PRs#105
bigboateng merged 2 commits into
mainfrom
codex/pr-visual-evidence-contract

Conversation

@bigboateng

Copy link
Copy Markdown
Contributor

What changed

  • add opt-in workflow.pr_visual_evidence policy with off, suggest, and require
  • make visual relevance and screenshot scenarios structural in managed plans and PR schema v3
  • store exact PNG evidence, hashes, privacy receipts, and capability state outside Git history
  • bind evidence freshness to commits, product diffs, scenarios, and PR preview fingerprints
  • add browser-comment publication state, manual fallback, and fix-forward recovery
  • cover managed and ad-hoc PR paths, configuration, documentation, troubleshooting, and release notes

Why

Frontend PR reviewers should be able to inspect a small set of exact screenshots without requiring projects to adopt a particular framework, committing large media files, or treating screenshots as mechanical proof of correctness.

Developer impact

The field remains backward compatible when omitted. Projects may opt into suggestions or make current evidence a publication requirement. Capture setup stays machine-local and must not edit application dependencies or configuration.

Validation

  • go test ./...
  • python3 -m unittest tests.test_product_loop (18 tests)
  • git diff --check

@bigboateng
bigboateng marked this pull request as ready for review July 22, 2026 13:26
@bigboateng
bigboateng merged commit 1ac8b94 into main Jul 22, 2026
4 checks passed
@bigboateng
bigboateng deleted the codex/pr-visual-evidence-contract branch July 22, 2026 14:15
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.

1 participant