Skip to content

ci: verify docs/art/receipts.json digests against the stored SVGs - #27

Merged
HarperZ9 merged 1 commit into
mainfrom
art-receipts-ci-check
Oct 4, 2026
Merged

HarperZ9 merged 1 commit into
mainfrom
art-receipts-ci-check

Conversation

@HarperZ9

@HarperZ9 HarperZ9 commented Oct 4, 2026

Copy link
Copy Markdown
Owner

docs/art/receipts.json lists a SHA-256 for each hero SVG, and nothing in CI rechecked them, so regenerating an SVG without updating the receipt passed.

This adds scripts/check_art_receipts.py (stdlib only) and an art-receipts job on ubuntu-latest in ci.yml. It exits 1 on a digest mismatch or an unreadable receipt. Listed files that are not committed (renders) are reported and skipped.

Limit: a match shows the bytes are the ones the receipt names, not that the scene and seed produced them.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@HarperZ9
HarperZ9 merged commit d889be9 into main Oct 4, 2026
14 checks passed
@HarperZ9
HarperZ9 deleted the art-receipts-ci-check branch October 4, 2026 13:14
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