diff --git a/AGENT.md b/AGENT.md index 7ca0e849..618c6c1e 100644 --- a/AGENT.md +++ b/AGENT.md @@ -52,9 +52,10 @@ behavior change. the session, and push to `origin main` when done. - **HARD RULE — always work in a worktree.** Multiple agent sessions operate this repo in parallel at all times; the main checkout is shared ground. - Enter a git worktree before your first edit (EnterWorktree, or - `git worktree add`), commit there, land by rebasing onto `origin/main` and - pushing. NEVER `git checkout -- `, `git reset`, or `git stash` in - the main checkout — a file that "changed under you" there is another - session's live work, not noise. (Rule from Cameron, 2026-07-06, after a - main-tree revert destroyed a parallel session's uncommitted work.) + Enter a git worktree as your first action, before any edit (EnterWorktree, + or `git worktree add`); do all edits, tests, and commits there; land by + rebasing onto `origin/main` and pushing. NEVER `git checkout -- `, + `git reset`, or `git stash` in the main checkout — a file that "changed + under you" there is another session's live work, not noise. (Rule from + Cameron, 2026-07-06, after a main-tree revert destroyed a parallel + session's uncommitted work.)