diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-20 17:12:47 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-20 17:12:47 -0500 |
| commit | 2fb355fa020f061adf344064e347fbcfd6cbd87a (patch) | |
| tree | 065e89cbbaa689cda9db12a65724b45c9ed2111f /Omni | |
| parent | 414eb387de9d86ad8f10e58992007173aa8019cb (diff) | |
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
Diffstat (limited to 'Omni')
| -rw-r--r-- | Omni/Agent/WORKER_AGENT_GUIDE.md | 5 |
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 |
