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

1.8 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

Focus: Ensure persistence and cross-provider compatibility

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

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'