From 2d59a0fbf171d626dc362fddc86ac6dc32156f8f Mon Sep 17 00:00:00 2001 From: ciregenz Date: Mon, 8 Jun 2026 00:15:39 -0700 Subject: [PATCH] [eric] browser: stall-path completion text is a plain confirmation, never the raw action-log proof (indices/coords) --- backend/apps/agents/browser/browser_agent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/apps/agents/browser/browser_agent.py b/backend/apps/agents/browser/browser_agent.py index 66a7375a..3fd034a6 100644 --- a/backend/apps/agents/browser/browser_agent.py +++ b/backend/apps/agents/browser/browser_agent.py @@ -1084,9 +1084,9 @@ async def run_browser_agent( # if the send registered, hand the parent a real DONE; otherwise just # end the spin and let the honesty gate decide from the action log if send_confirmed: - _proof = next((str(a.get("result_summary") or "") for a in reversed(action_log) - if a.get("ok") and "Confirmed:" in str(a.get("result_summary") or "")), "") - text_parts = ["OUTCOME: DONE - " + (_proof[:160] or "the task completed and was confirmed on the page.")] + # plain confirmation; the raw action-log proof (indices, coords) + # is machine-speak, so we do NOT splice it into the user's line + text_parts = ["OUTCOME: DONE - the task is complete and was confirmed on the page."] break else: perception_stall = 0