diff --git a/backend/apps/agents/browser/browser_plan_dispatch.py b/backend/apps/agents/browser/browser_plan_dispatch.py index 7c6a7be2..f8655e85 100644 --- a/backend/apps/agents/browser/browser_plan_dispatch.py +++ b/backend/apps/agents/browser/browser_plan_dispatch.py @@ -44,8 +44,9 @@ P_SYSTEM = ( "for clicks that open a dialog or composer. ORDINALS map to rows: 'the 4th " "story's comments' = copy the name of the 4th row matching that shape; you may " "and should count. When the task names a person or thing and several rows are " - "similar, PICK the best row using the task's cues (exact name, connection degree, " - "location, verified) and mark that step \"chosen\":true. STOP the chain before " + "similar, PICK the best row using the task's cues and mark that step " + "\"chosen\":true; for messaging a person, a direct/1st-degree connection outranks " + "every other cue (title, company, verified): people message people they know. STOP the chain before " "anything irreversible (send/submit/post/pay/delete/confirm/apply). NEVER fill a " "message, comment, or post body: once a composer for one is open, stop, the main " "agent writes and sends it. 0-6 steps; [] when nothing is safely mechanical." diff --git a/backend/apps/agents/browser/browser_prestage.py b/backend/apps/agents/browser/browser_prestage.py index 567f80f9..cdd15ca2 100644 --- a/backend/apps/agents/browser/browser_prestage.py +++ b/backend/apps/agents/browser/browser_prestage.py @@ -109,7 +109,9 @@ P_SYSTEM = ( "typing text or an irreversible click, the stage is set.\n" "For a task that messages a PERSON: go to that person (search result, " "profile), then open their Message/compose surface; never detour to a " - "feed or homepage.\n" + "feed or homepage. When several people share the name, a direct/1st-degree " + "connection outranks every other cue (title, company, verified): people " + "message people they know.\n" "Reply with exactly ONE line:\n" "NAVIGATE \n" "CLICK \n"