From 2fb355fa020f061adf344064e347fbcfd6cbd87a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 20 Nov 2025 17:12:47 -0500 Subject: fix: instruct worker to reset to latest live code - Workers need to pull the latest merged code before starting a new task - Added 'git reset --hard origin/live' to Step 1 of the loop --- Omni/Agent/WORKER_AGENT_GUIDE.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Omni') diff --git a/Omni/Agent/WORKER_AGENT_GUIDE.md b/Omni/Agent/WORKER_AGENT_GUIDE.md index 64a55f8..ff33259 100644 --- a/Omni/Agent/WORKER_AGENT_GUIDE.md +++ b/Omni/Agent/WORKER_AGENT_GUIDE.md @@ -22,6 +22,11 @@ The Worker Agent should run the following loop continuously: # Go to worker directory cd ../omni-worker-1 +# Reset base branch to latest live code +# This ensures we build on top of the latest merged work +git fetch origin live +git reset --hard origin/live + # Sync tasks from the live branch ./Omni/Agent/sync-tasks.sh -- cgit v1.2.3