feat(settings): add includeGitInstructions toggle

Adds an 'Include git instructions' toggle to the Agent Settings panel.
When disabled, sets CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=1 on the Claude
process to remove built-in commit and PR workflow guidance from its
system prompt. Resolves #209.
This commit is contained in:
2026-03-11 18:09:24 -07:00
committed by Naomi Carrigan
parent 665f74e3bf
commit 1e9f641db0
12 changed files with 56 additions and 0 deletions
@@ -108,6 +108,7 @@
allowed_tools: grantedToolsList,
use_worktree: config.use_worktree ?? false,
disable_1m_context: config.disable_1m_context ?? false,
include_git_instructions: config.include_git_instructions ?? true,
},
});