logoalt Hacker News

iririririryesterday at 8:52 PM1 replyview on HN

adding rules for the agent to ignore version control and never touch git files or commands (except for git log) improve my slop coding 100%. no risk of sneak commits and much less token wasted.


Replies

LoganDarkyesterday at 8:54 PM

Claude Code automatically adds some of the most recent git commit messages to the system prompt. This was discovered when having git commit messages containing any OpenClaw information would result in Anthropic billing your extra usage (since they have a vendetta or something)