Dimitris Kyrkos examines what can disappear in a seemingly routine cleanup in Every deletion in your diff had a reason to exist. AI doesn't know what it was.. His examples are hypothetical. They give pull request reviewers a concrete question to ask about a deletion. Which route, signal, or test will still cover the condition after the change?
Follow the guarantee across call sites
In Kyrkos's first example, a utility function repeats an authorization check already performed by its only caller. Removing the check preserves the behavior observed through that caller. It also moves the whole guarantee to that caller. A later entry point can then invoke the utility without going through the same check. A reviewer can trace existing call sites and ask which layer is supposed to own authorization. If the function is intended to accept only authorized requests, that assumption belongs in its contract and in the tests for the layer that enforces it.
Review signals and tests alongside results
A second example keeps the same generic error response while replacing a specific exception handler with a broader one. Existing response assertions can pass even if monitoring loses the signal associated with the original exception. Follow the handler to the event it emits and the rule that consumes it. Where a monitoring rule depends on that distinction, check whether the new path still emits a signal that the rule recognizes.
The last example concerns a regression test with an obscure expectation. Its explanation lives in an old incident, so the assertion looks expendable to a reviewer reading the current diff. Linking the test to the incident can make the expected behavior understandable. If a refactor moves the relevant responsibility, the replacement test can exercise the new owner and preserve the original guarantee.
For a security-sensitive pull request, what evidence would you accept that a deleted check, event, or test still has an owner?