Files
manual_slop/conductor/tracks/system_context_exposure_20260322/plan.md
T

2.0 KiB

Implementation Plan: System Context Exposure

Phase 1: Backend Changes [checkpoint: a0fb086]

Focus: Make _SYSTEM_PROMPT configurable

  • Task: Audit ai_client.py system prompt flow b654c7c
  • Task: Move _SYSTEM_PROMPT to configurable storage 4f1bcea
  • Task: Implement load/save of base system prompt 4f1bcea
  • Task: Modify _get_combined_system_prompt() to use config 4f1bcea
  • Task: Write tests for configurable system prompt 4f1bcea
  • Task: Conductor - User Manual Verification 'Phase 1: Backend Changes' a0fb086

Phase 2: UI Implementation [checkpoint: c3a114d]

Focus: Add base prompt editor to AI Settings

  • Task: Add UI controls to _render_system_prompts_panel c74971b
  • Task: Implement checkbox for "Use Default Base" c74971b
  • Task: Implement collapsible base prompt editor c74971b
  • Task: Add "Reset to Default" button c74971b
  • Task: Write tests for UI controls c74971b
  • Task: Conductor - User Manual Verification 'Phase 2: UI Implementation' c3a114d

Phase 3: Persistence & Provider Testing [checkpoint: 40db835]

Focus: Ensure persistence and cross-provider compatibility

  • Task: Verify base prompt persists across app restarts e24ea60
  • Task: Test with Gemini provider e24ea60
  • Task: Test with Anthropic provider e24ea60
  • Task: Test with DeepSeek provider e24ea60
  • Task: Test with Gemini CLI adapter e24ea60
  • Task: Conductor - User Manual Verification 'Phase 3: Persistence & Provider Testing' 40db835

Phase 4: Safety & Defaults [checkpoint: 2441ea6]

Focus: Ensure users can recover from bad edits

  • Task: Implement confirmation dialog before saving custom base 68d18f4
  • Task: Add validation for empty/invalid prompts 68d18f4
  • Task: Document the base prompt purpose in UI 68d18f4
  • Task: Add "Show Diff" between default and custom 68d18f4
  • Task: Write tests for safety features 68d18f4
  • Task: Conductor - User Manual Verification 'Phase 4: Safety & Defaults' 2441ea6