Zero Other Places Was Just a grep. The URL Was Assembled at Runtime
Описание и применение
Автономный агент Claude Code обнаружил, что ссылка на продукт, добавленная в новый канал, не уникальна, поскольку существующие ссылки генерируются динамически или хранятся в других системах. После обновления проверки агент учитывает пять источников ссылок, обеспечивая точную атрибуцию трафика.
Задача
The agent incorrectly reported that a new bundle URL was unique, missing existing links assembled at runtime or stored elsewhere, leading to inaccurate attribution of traffic sources.
Результат
The agent now accurately detects existing URLs, preventing false attribution of traffic spikes to new channels and improving the reliability of its experimentation workflow.
Рабочий процесс
- 1. Identify the new URL to be added.
- 2. Search the finished URL string in the codebase.
- 3. Search the product ID in the codebase.
- 4. Inspect functions that assemble URLs (templates, format calls).
- 5. Check external data ledgers for the URL or ID.
- 6. Review outputs of other systems that publish content.
- 7. Verify that tests do not rely on functions that already clean the input.
- 8. Update the agent’s checklist to include all five checks.
Доказательства
The agent searched the codebase for the product's ID, found nothing outside the new code, and wrote in the experiment log: no other channel carries this URL.
Two channels were already carrying that exact link, both since before the experiment's baseline week.
The same review found a second gap. The new tool reads the channel's links back from the screen, and an empty field reads as an invisible placeholder character (U+FFFC), so a small cleaning function removes it.
Before writing "nowhere else" about a link, the agent counts five ways: the finished string, the ID alone, the functions that assemble it, the data ledgers outside the code, the queues and outputs of the other systems that publish for me.
- Дата записи: 2026-10-05T05:40:55.198Z