repo-standard/scripts
Kjell Tore Guttormsen 36583646ff test: scope the rename guard to the emission site, not any occurrence
The 0.9.0 guard asserted `!src.includes('VERSION-UNAVAILABLE')`. That is
stricter than the intent: it fails the suite the moment someone writes the
historical name into a comment explaining why the code was renamed — the
archaeology this repo deliberately keeps next to the code. Scoped to
`code: 'VERSION-UNAVAILABLE'` instead.

Mutation-tested: re-introducing the old code name at the emission site fails
2 tests. No behaviour change, so no version bump — v0.9.0 still names this
engine.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTNGvxzCLZp3UXfibYG4kb
2026-08-09 22:09:03 +02:00
..
repo-standard-check.mjs feat(engine)!: "no version to compare against" is a verdict, not a skip 2026-08-09 22:05:21 +02:00
repo-standard-check.test.mjs test: scope the rename guard to the emission site, not any occurrence 2026-08-09 22:09:03 +02:00