| name | sync |
| description | Use when the user says "/sync", "pull main", "sync with main", or "get latest". Switches to main and pulls the latest from remote. |
| user-invocable | true |
| tier | util |
Run: `bash "$(git rev-parse --show-toplevel)/bin/harness-update-check"`
- `UPGRADE_AVAILABLE ` → tell the user: "agent-harness is available (you have ). Run `/harness-update` to pull it in." Then continue.
- `JUST_UPGRADED ` → tell the user: "agent-harness upgraded → ." Then continue.
- No output → continue silently.
Sync
Run git checkout main && git pull to switch back to the main branch and pull the latest changes.