[eric] browser: stall-path completion text is a plain confirmation, never the raw action-log proof (indices/coords)

This commit is contained in:
ciregenz
2026-06-08 00:15:39 -07:00
parent f8c812353e
commit 2d59a0fbf1
+3 -3
View File
@@ -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