mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Pre-commit now runs three additional drift checks beyond the existing
docs-sync + any-budget gates:
1. check-env-doc-sync (strict) — blocks commits that drift the env
contract across code, .env.example, and ENVIRONMENT.md.
2. check-translation-drift --warn — advisory only; prints a hint when
docs/i18n mirrors are stale so devs can run `npm run i18n:run`
before pushing. CI enforces strict mode in the new gate.
3. check-ui-keys-coverage --threshold=80 — pre-commit prints a hint
when any locale dips below 80%, but does not block. CI enforces
strict mode.
End-to-end pre-commit duration: ~28s on a clean tree (40 locales).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>