feat: add includeGitInstructions toggle to settings UI #209

Closed
opened 2026-03-10 09:15:57 -07:00 by hikari · 0 comments
Owner

Summary

CLI v2.1.69 added the includeGitInstructions setting (and CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS env var) to remove built-in commit and PR workflow instructions from Claude's system prompt. Power users who prefer to manage their own git workflow instructions would benefit from being able to toggle this from Hikari's settings panel.

Required Changes

Backend (wsl_bridge.rs)

  • When includeGitInstructions is disabled in settings, pass CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=true as an environment variable to the Claude process

Frontend (Settings Panel)

  • Add a toggle for "Include Git Instructions" (default: on) in the appropriate settings section
  • Include a tooltip explaining: "When disabled, Claude's built-in commit and PR workflow guidance is removed from its system prompt"
  • Persist the setting to the Tauri store

Reference

  • CLI v2.1.69: "Added includeGitInstructions setting (and CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS env var) to remove built-in commit and PR workflow instructions from Claude's system prompt"

This issue was created with help from Hikari~ 🌸

## Summary CLI v2.1.69 added the `includeGitInstructions` setting (and `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS` env var) to remove built-in commit and PR workflow instructions from Claude's system prompt. Power users who prefer to manage their own git workflow instructions would benefit from being able to toggle this from Hikari's settings panel. ## Required Changes ### Backend (`wsl_bridge.rs`) - When `includeGitInstructions` is disabled in settings, pass `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=true` as an environment variable to the Claude process ### Frontend (Settings Panel) - Add a toggle for "Include Git Instructions" (default: on) in the appropriate settings section - Include a tooltip explaining: "When disabled, Claude's built-in commit and PR workflow guidance is removed from its system prompt" - Persist the setting to the Tauri store ## Reference - CLI v2.1.69: "Added `includeGitInstructions` setting (and `CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS` env var) to remove built-in commit and PR workflow instructions from Claude's system prompt" ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-03-13 01:34:45 -07:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#209