---
description: "After changing a name, value or path, find every place that still refers to the old one — comparisons, branches, keys, lookups, tests, docs. This is the kind that fails silently"
allowed-tools: Read, Grep, Glob, Bash
argument-hint: "[what to run it on]"
---

First fix in one line **what was changed to what** (old → new). If more than one thing changed, write one line each. Leave this vague and everything after it is wasted.

This class of failure **raises no error.** A comparison quietly turns false, a branch quietly never runs, a lookup quietly returns nothing, a field on the screen quietly disappears. So "I ran it and it was fine" is not evidence.

**Search for every occurrence** of the old value, then sort what you find into six buckets. Where a bucket is empty, write 'none'.

1. **Comparisons and branches** — `==` `!=` `===` `includes` `startsWith` `switch` `if`. **The most commonly missed and the quietest bucket.**
2. **Keys and names** — dictionary keys, config names, column names, field names, CSS selectors, ids, classes.
3. **Inside strings** — URLs, paths, regular expressions, message bodies, queries. It may be split in ways a plain search will not catch.
4. **Outside this code** — tests, hard-coded expectations, automation scripts, other repositories, stored data. **Count beyond your own repository.**
5. **Docs and copy** — README, comments, user-facing text, email templates.
6. **People** — is anyone, or any routine, using the old value from memory?

For each bucket write **fixed / no change needed / could not find**, and give a short reason for every 'no change needed'.

Then one line: **if this were wrong, what would look different.** Name a way to see with your own eyes that the changed place actually works — since this class raises no error, **the fact that it ran is not evidence.** Check one field on screen, one line of log, one value.

If the old value is short or common (`id`, `new`, `ko`) the search will return hundreds. Do not narrow the search — **go bucket by bucket and strike out what is irrelevant.** Narrowing is how things get missed.
