Skip to content

fix(report): publish exhaustive JSON evidence - #343

Merged
BenSheridanEdwards merged 3 commits into
mainfrom
fix/publish-report-json
Aug 6, 2026
Merged

fix(report): publish exhaustive JSON evidence#343
BenSheridanEdwards merged 3 commits into
mainfrom
fix/publish-report-json

Conversation

@BenSheridanEdwards

Copy link
Copy Markdown
Owner

Why does this feature exist?

Large StyleProof reports can be byte-capped and direct reviewers to report.json for exhaustive evidence. The durable report publisher only uploaded report.md and crop PNGs, so that promised source of truth was missing from the report branch.

What changed?

  • Publish generated report.json alongside report.md and every crop PNG.
  • Add a regression test that proves the collected publication file list and JSON bytes.
  • Document the fix under the unreleased changelog.

Behavioural Proof (with video and screenshots)

Not applicable: this changes the durable report artifact set, not rendered report layout. The behavior is proved by collectReportFiles publishes report.json with markdown and crops.

Verification Summary

  • Definition of Done: followed .agents/project/DEFINITION_OF_DONE.md.
  • Commands run: npm run build; focused Action/publisher tests; npm run typecheck; npm run lint; npm run format:check; npm run privacy:check; npm test; npm run demo:check; git diff --check.
  • Results: full unit suite passed 636/636; focused suite passed 36/36; demo report is current; lint, format, privacy and type checks passed.
  • Known risks or skipped checks: browser E2E was not rerun because capture/rendering behavior is unchanged; the release workflow will run it before publication.

Checklist

  • Proof above — behavior test demonstrates the changed publication contract
  • If you changed capture/diff/report rendering, ran npm run demo:check; rendered output is unchanged and current
  • npm run build && npm run typecheck && npm run lint && npm run format:check pass
  • npm test passes
  • Added/updated tests for the change
  • Updated the CHANGELOG
  • Captured output is unchanged; adopters do not need to regenerate baselines
  • Followed .agents/project/DEFINITION_OF_DONE.md
  • Visual proof is not applicable because no rendered surface changed
  • The PR body contains no local paths, private consumer references, or placeholders

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

🗺️ StyleProof report

📊 View the side-by-side visual report →


Coverage, determinism, or report/diff consistency evidence is incomplete — repair the capture or reflow source; visual approval cannot clear this failure.

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