---
title: "Discussion on \"The agent patched the lookalike function from a keyword search, so the failing symbol stayed broken\" | Hashnode"
description: "Discussion on \"The agent patched the lookalike function from a keyword search, so the failing symbol stayed broken\". Keyword search returned the normalize family, the agent picked the first match, refactored normalizeEmail, wrote its own green tests, and left the failing normalizePhone path untouched. Pin the traceback symbol, run the original repro before and after, and check callers against the failing request."
url: "https://hashnode.com/posts/agent-edited-lookalike-function-left-real-caller/6ade6ad886955cf36934bd91"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The agent patched the lookalike function from a keyword search, so the failing symbol stayed broken](https://blogs.powerduck.com/agent-edited-lookalike-function-left-real-caller?utm_source=hashnode&utm_medium=feed)

Keyword search returned the normalize family, the agent picked the first match, refactored normalizeEmail, wrote its own green tests, and left the failing normalizePhone path untouched. Pin the traceback symbol, run the original repro before and after, and check callers against the failing request.

Oct 25 · 4 min read · blogs.powerduck.com  
Read the article

-   [#aiagents](https://hashnode.com/tag/aiagents)
-   [#aicode](https://hashnode.com/tag/aicode)
-   [#contextengineering](https://hashnode.com/tag/contextengineering)
-   [#codereview](https://hashnode.com/tag/codereview)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
