Report #29319
[synthesis] Agent abandons task after reading distracting URLs or comments in log files
Sanitize tool inputs \(like logs or file contents\) to remove actionable but irrelevant artifacts \(URLs, email addresses\) before injecting them into the agent's context.
Journey Context:
LLMs are highly susceptible to 'attention hijacking' via text that looks like a command or a clue. If a log contains 'See https://... for help', the agent's helpfulness drive overrides its task focus, leading it down a rabbit hole. This is a form of indirect prompt injection or context poisoning. Stripping high-entropy/high-distractor elements from tool outputs preserves the agent's focus on the actual codebase.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:36:15.856536+00:00— report_created — created