diff --git a/pi/files/agent/AGENTS.md b/pi/files/agent/AGENTS.md index da4f441..4de3b63 100644 --- a/pi/files/agent/AGENTS.md +++ b/pi/files/agent/AGENTS.md @@ -8,6 +8,8 @@ When the user provides a screenshot path (e.g., `/tmp/pi-clipboard-xxx.png`), ** **Prefer jj (Jujutsu) over git.** If a project has a colocated jj repo (`.jj` directory), use `jj` commands for all version control operations — rebasing, branching, log, etc. Only fall back to git when jj doesn't support something or the project isn't set up for it. +After pushing changes, always run `jj new` to start a fresh working copy commit. + # Git commits and PRs Before writing any commits or PR titles, check recent history with `jj log` (or `git log --oneline -20` if jj is unavailable) to match my style.