Dissalow clanker commits

This commit is contained in:
2026-07-06 15:07:59 +02:00
parent 6f72ec8f55
commit 8566c74925
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -88,6 +88,12 @@
${lib.getExe pkgs.jq} '.remoteControlAtStartup = true' "$f" >"$f.tmp" && mv "$f.tmp" "$f"
'';
xdg.configFile."claude/CLAUDE.md".text = ''
# Global instructions
- NEVER EVER commit. Do not run `git commit` (or `jj commit`) and never push changes under any circumstances unless the user explicitly asks you to commit in that message.
'';
xdg.configFile."claude/keybindings.json".text = builtins.toJSON {
"$schema" = "https://www.schemastore.org/claude-code-keybindings.json";
"$docs" = "https://code.claude.com/docs/en/keybindings";
+1
View File
@@ -109,6 +109,7 @@ EOF
fi
local rev="${2:-@-}"
jj git fetch
jj rebase -o 'trunk()' -s "$rev"
jj git push --named "$1=$rev"
}