diff --git a/backend/apps/agents/browser/browser_playbook.py b/backend/apps/agents/browser/browser_playbook.py index 564648f3..b79da1ce 100644 --- a/backend/apps/agents/browser/browser_playbook.py +++ b/backend/apps/agents/browser/browser_playbook.py @@ -210,6 +210,10 @@ def _build_prompt(host: str, task: str, working_memory: str, summary: str, "- ALWAYS keep interaction mechanics that cost the agent a retry, e.g. " "'Enter inserts a newline in the message composer; click the Send button " "instead' or 'the filter opens a dropdown, not a new page'.\n" + "- ALWAYS keep PERCEPTION TRAPS: something that LOOKED wrong or ambiguous " + "but was actually fine, so the next agent is not fooled into a detour, e.g. " + "'a 1:1 chat is titled \" and \"; that IS the direct thread, do " + "not try to start a new one'.\n" "- DROP anything specific to THIS task's data (names, the actual answer), " "one-offs, secrets, or obvious facts.\n" "- MERGE duplicates; if a new lesson CONTRADICTS an old bullet, keep the "