ANTIGRAVITY LABJP
TAG

pre-commit

2 articles
Back to all tags
Related:
Antigravity2i18n1Android1localization1Git1quality-gate1agents1
Integrations/2026-06-25Advanced

A Translated Line Had Quietly Reverted to English — Guarding String Resources an Agent's Refactor Touched

Let an agent tidy your values folder and translated strings can silently revert to the source text. Here is a design and implementation that treats the default locale as the source of truth, reads every other locale as a diff, and blocks only dropped keys, reverted translations, and broken format arguments at pre-commit.

Integrations/2026-06-18Intermediate

Gating Your Agent's Commits With pre-commit — Keeping Broken Changes Out of the Main Repo

How to wire up a pre-commit gate that lints, type-checks, runs fast tests, and scans for secrets the moment Antigravity's agent commits — with measured timings and the ordering that keeps it fast.