diff --git a/AGENTS.md b/AGENTS.md index 123a284..ba76f2a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -46,7 +46,9 @@ standard library or writing code from first principles. session owns. - The session that merges a branch makes CI pass on it. Rebase on `main`, fix what fails, and merge only when every required check is green. Never skip or weaken a check to make it pass. -- After the merge, remove the worktree with `git worktree remove .worktrees/`. +- After the merge, or when the pull request closes without merging, remove the worktree with + `git worktree remove .worktrees/`, and every other worktree you made for the task (a + baseline, a comparison). Keep the branches. ## Engineering workflow