From 03e062d0598c94529f558499b29ea8feb37d45a1 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Thu, 13 Aug 2026 23:29:52 -0700 Subject: [PATCH] arena: v27 fix -- CLAUSE marker moves AFTER the action line (was colliding with action-first replies, empty actions) Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01WsbS5x2rYsMDxP2kW3qqmQ --- e2e/browser-v3/arena/llm_policy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/browser-v3/arena/llm_policy.py b/e2e/browser-v3/arena/llm_policy.py index e6e4e12c..0e9ce15d 100644 --- a/e2e/browser-v3/arena/llm_policy.py +++ b/e2e/browser-v3/arena/llm_policy.py @@ -150,8 +150,9 @@ class LlmPolicy: + (f"\n done: {done}" if done else "") + f"\n → CURRENT clause {k}: {self.clauses[k - 1]} <- work ONLY on this now" + (f"\n after: {up}" if up else "") - + f"\nWhen the page shows clause {k} is complete, start your reply with 'CLAUSE {k + 1}' " - "to advance. Never work past the current clause; never re-do a ticked one.") + + f"\nYour reply still STARTS with the action line, as always. When the page shows " + f"clause {k} is complete, add 'CLAUSE {k + 1}' on a line AFTER your action to " + "advance. Never work past the current clause; never re-do a ticked one.") # v23: echo the page's REACTION into memory. Feedback tasks (hot/cold, too-high/too-low, # score counters) answer every action in page text; a history of bare actions hides the only