on main help sign in
fix(prompts): unindent heredoc
commita1b19ebc33e4085af0322d665cb3bb7fbd66c713 authorKieran Klukas <kieran@dunkirk.sh> dateThu 25 Jun 2026, 14:04 (4 months ago) parent3295a08
1 file changed+7−8
internal/agent/tools/bash.md.tpl+7−8
internal/agent/tools/bash.md.tpl+7−8
@@ -91,7 +91,7 @@ When user asks to create git commit:
9191
92925. Create commit{{ if or (eq .Attribution.TrailerStyle "assisted-by") (eq .Attribution.TrailerStyle "co-authored-by")}} with attribution{{ end }} using HEREDOC:
9393 git commit -m "$(cat <<'EOF'
94− Commit message here.
94+Commit message here.
9595
9696{{ if .Attribution.GeneratedWith }}
9797💘 Generated with Crush
@@ -103,9 +103,8 @@ Assisted-by: Crush:{{ .ModelID }}
103103
104104Co-Authored-By: Crush <crush@charm.land>
105105{{ end }}
106−
107− EOF
108− )"
106+EOF
107+)"
109108
1101096. If pre-commit hook fails, retry ONCE. If fails again, hook preventing commit. If succeeds but files modified, MUST amend.
111110
@@ -153,14 +152,14 @@ When user asks you to create or update a PR:
1531527. Create PR with gh pr create using HEREDOC:
154153 gh pr create --title "title" --body "$(cat <<'EOF'
155154
156− <summary>
155+<summary>
157156
158157{{ if .Attribution.GeneratedWith -}}
159− 💘 Generated with Crush
158+💘 Generated with Crush
160159{{- end }}
161160
162− EOF
163− )"
161+EOF
162+)"
164163
165164Important:
166165