From 2c8bcbfc05a490b5840ccd668470ec7b8d717bda Mon Sep 17 00:00:00 2001 From: Isaac Corbrey Date: Wed, 30 Sep 2026 11:47:45 -0400 Subject: [PATCH] agents: Require landing on a new commit after finishing work --- modules/home/skills/system-prompt.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/home/skills/system-prompt.md b/modules/home/skills/system-prompt.md index 0e47b59..fa11499 100644 --- a/modules/home/skills/system-prompt.md +++ b/modules/home/skills/system-prompt.md @@ -95,3 +95,8 @@ shifts positional refs. Re-read `jj log` between mutating operations. **Overcheckpoint.** `jj new` early and often. Frequent cheap checkpoints mean mistakes only cost work since the last one. + +**Always land on a new commit.** Once a unit of work is done, `jj commit` (or +`jj describe` then `jj new`) before running anything else. jj snapshots the +working tree into `@` on every command, so installs, builds, and test runs on +top of a finished commit silently amend it with whatever they write. -- 2.54.0