mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-25 22:12:22 +02:00
[eric] browser: playbook distill also captures perception traps, not just mechanics
This commit is contained in:
@@ -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 \"<Other> and <You>\"; 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 "
|
||||
|
||||
Reference in New Issue
Block a user