# Implementation Plan: System Context Exposure ## Phase 1: Backend Changes [checkpoint: a0fb086] Focus: Make _SYSTEM_PROMPT configurable - [x] Task: Audit ai_client.py system prompt flow b654c7c - [x] Task: Move _SYSTEM_PROMPT to configurable storage 4f1bcea - [x] Task: Implement load/save of base system prompt 4f1bcea - [x] Task: Modify _get_combined_system_prompt() to use config 4f1bcea - [x] Task: Write tests for configurable system prompt 4f1bcea - [x] Task: Conductor - User Manual Verification 'Phase 1: Backend Changes' a0fb086 ## Phase 2: UI Implementation [checkpoint: c3a114d] Focus: Add base prompt editor to AI Settings - [x] Task: Add UI controls to _render_system_prompts_panel c74971b - [x] Task: Implement checkbox for "Use Default Base" c74971b - [x] Task: Implement collapsible base prompt editor c74971b - [x] Task: Add "Reset to Default" button c74971b - [x] Task: Write tests for UI controls c74971b - [x] Task: Conductor - User Manual Verification 'Phase 2: UI Implementation' c3a114d ## Phase 3: Persistence & Provider Testing [checkpoint: 40db835] Focus: Ensure persistence and cross-provider compatibility - [x] Task: Verify base prompt persists across app restarts e24ea60 - [x] Task: Test with Gemini provider e24ea60 - [x] Task: Test with Anthropic provider e24ea60 - [x] Task: Test with DeepSeek provider e24ea60 - [x] Task: Test with Gemini CLI adapter e24ea60 - [x] Task: Conductor - User Manual Verification 'Phase 3: Persistence & Provider Testing' 40db835 ## Phase 4: Safety & Defaults Focus: Ensure users can recover from bad edits - [ ] Task: Implement confirmation dialog before saving custom base - [ ] Task: Add validation for empty/invalid prompts - [ ] Task: Document the base prompt purpose in UI - [ ] Task: Add "Show Diff" between default and custom - [ ] Task: Write tests for safety features - [ ] Task: Conductor - User Manual Verification 'Phase 4: Safety & Defaults'