Skip to content

ci: golden-guard — re-baselining goldens must be deliberate - #2

Merged
LittleRoom4Bessa merged 2 commits into
mainfrom
golden-alarm
Aug 5, 2026
Merged

ci: golden-guard — re-baselining goldens must be deliberate#2
LittleRoom4Bessa merged 2 commits into
mainfrom
golden-alarm

Conversation

@LittleRoom4Bessa

Copy link
Copy Markdown
Owner

Golden-change alarm (Gate A)

Implements openspec/changes/golden-change-alarm.

Any PR/push touching tests/golden/**.png now requires [goldens] in a commit message or the PR body, else the new golden-guard job fails naming the files and teaching the ack flow.

  • scripts/check_golden_changes.sh — local-testable; verified all four scenarios (clean pass, unacked fail, ack via commit, ack via PR body)
  • New golden-guard CI job (ubuntu, ~seconds); will be added to required checks on merge
  • Docs: tests/golden/README.md + AGENTS.md working agreement

This PR touches no goldens → guard should pass trivially (dogfooding the "No golden changes" scenario).

@LittleRoom4Bessa
LittleRoom4Bessa merged commit 6655dd9 into main Aug 5, 2026
6 checks passed
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