From 687888a98e1fb6720e8f67c0c68f04ea6f696f9e Mon Sep 17 00:00:00 2001 From: Lewis Tunstall Date: Sun, 7 Jun 2026 22:25:35 +0200 Subject: [PATCH] docs: document branch setup workflow Co-authored-by: OpenAI Codex --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 1bc123aa..58dd257e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,6 +20,10 @@ Notes: - Before every commit, run `uv run ruff check .` and `uv run ruff format --check .`. - If formatting fails, run `uv run ruff format .`, then re-run the Ruff checks before committing. +## Git Workflow + +- Before creating any new branch or worktree, switch to `main` and pull the latest changes. + ## GitHub CLI - Always use the `gh` CLI for GitHub operations such as opening, editing, inspecting, or commenting on PRs and issues.