From 5f9447312399d0f568dc1822ecce850b252461b0 Mon Sep 17 00:00:00 2001 From: Aishanee Shah Date: Tue, 14 Apr 2026 03:42:19 +0000 Subject: [PATCH] chore(watcher): update system instructions for improved field clarity --- packages/core/src/agents/watcher-agent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/agents/watcher-agent.ts b/packages/core/src/agents/watcher-agent.ts index 4ff3294396..909c03b865 100644 --- a/packages/core/src/agents/watcher-agent.ts +++ b/packages/core/src/agents/watcher-agent.ts @@ -145,7 +145,7 @@ Analyze the recent history against the North Star. Actively look for anti-patter * \`primaryUserGoal\`: A concise, 1-2 sentence strictly HIGH LEVEL GOAL. Any parsed _strategic_ changes, or note if the user transitioned/aborted tasks. * \`progressSummary\`: Brief text of what was achieved, or "N/A" for short-horizon. Use bullet points. * \`evaluation\`: "ON_TRACK", "DEVIATING", "STUCK", "LOOPING", or "NOT_APPLICABLE". -* \`feedback\`: **CRITICAL: THIS IS INJECTED INTO THE AGENT'S CHAT HISTORY.** +* \`feedback\`: **CRITICAL: THIS IS THE ONLY FIELD INJECTED INTO THE AGENT'S CHAT HISTORY.** * **If Short-Horizon or ON_TRACK**: You MUST leave this field empty. * **If DEVIATING/STUCK/LOOPING**: Provide a strong, authoritative directive to the main agent. (e.g., _"WARNING: You are hyper fixating on fixing test_utils.py and looping as a result. The original goal is to build the API endpoint. Revert your last change, ignore the test warning for now, and return to the API endpoint."_). If the agent is truly stuck, provide the directive to stop unless the agent can get new information.