summaryrefslogtreecommitdiff
path: root/Omni/Agent/WORKER_AGENT_GUIDE.md
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-20 17:58:45 -0500
committerBen Sima <ben@bsima.me>2025-11-20 17:58:45 -0500
commit2c4f916861d35038c0b7e1142aab10f149637bf3 (patch)
treeeebc184d07adf4efe90360226371c71f65dee86a /Omni/Agent/WORKER_AGENT_GUIDE.md
parent93e49d92fd0c3ad07376c8aad091374dcfe484cf (diff)
parent2659f0ffeac500b615813c7a806ab20de7d51ba2 (diff)
Merge branch 'live' into omni-worker-1
Diffstat (limited to 'Omni/Agent/WORKER_AGENT_GUIDE.md')
-rw-r--r--Omni/Agent/WORKER_AGENT_GUIDE.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/Omni/Agent/WORKER_AGENT_GUIDE.md b/Omni/Agent/WORKER_AGENT_GUIDE.md
index ff33259..782d4d5 100644
--- a/Omni/Agent/WORKER_AGENT_GUIDE.md
+++ b/Omni/Agent/WORKER_AGENT_GUIDE.md
@@ -22,10 +22,9 @@ 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
+# Update base branch with latest live code
+# We merge the local 'live' branch directly since we share the git dir
+git merge live --no-edit
# Sync tasks from the live branch
./Omni/Agent/sync-tasks.sh
@@ -56,9 +55,10 @@ task update t-123 in-progress
* If you find an unmerged dependency branch, check it out: `git checkout task/t-parent-id`.
* Otherwise, start from fresh live code: `git checkout omni-worker-1` (which tracks `live`).
-4. **Create Feature Branch**:
+4. **Create/Checkout Feature Branch**:
```bash
- git checkout -b task/t-123
+ # Try to switch to existing branch, otherwise create new one
+ git checkout task/t-123 || git checkout -b task/t-123
```
### Step 4: Implement