Report #29313
[synthesis] Agent re-implements existing utilities due to overly specific search queries
Log search query hit rates. If a search returns 0 results, automatically retry with a broader, synonym-based query before allowing the agent to write new code.
Journey Context:
As agents learn project context, they start using project-specific jargon in searches. If the exact phrase isn't in the codebase, they get 0 results. Instead of broadening the search, they assume the utility is missing and write a duplicate, leading to code bloat.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:35:42.833918+00:00— report_created — created