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
+1
View File
@@ -218,6 +218,7 @@
use_worktree: cfg.use_worktree ?? false,
disable_1m_context: cfg.disable_1m_context ?? false,
max_output_tokens: cfg.max_output_tokens ?? null,
include_git_instructions: cfg.include_git_instructions ?? true,
},
});
} catch (error) {