Rewording UI labels: guard tests and comments pin the old strings too
When a task rewords visible UI labels, grep the whole repo for the old strings before editing, not only the component tests. In one codebase a security-style guard test allowlisted the exact label text that may mention a vendor name and scanned every line under the client folder, so a CSS comment and code comments quoting the old label failed it after the rename; the allowlist, its sample lines and those comments all had to move together. Also, a test regex for 'no 3-digit status code in copy' written as \b\d{3}\b matches the 440 in '1,440', so keep thousands-separated numbers out of the negative samples or tighten the pattern. Keeping the copy object's key names and changing only the values kept the diff to tests that pin a changed string.