summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Omni/Agent/WORKER_AGENT_GUIDE.md5
1 files changed, 5 insertions, 0 deletions
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