# SQLite-Granularity Inline Docs for gui_2.py (Continued) — Implementation Plan
 
> **For agentic workers:** Use task-by-task execution. Steps use checkbox (`- [ ]`) syntax for tracking.
 
**Goal:** Implement SQLite-granularity docstrings with embedded SSDL and ASCII layouts for the remaining layout/tool preset managers, persona editors/selectors, provider settings, and command palette in `src/gui_2.py` and `src/command_palette.py`. Ensure zero functional regression.
 
---
 
## File Structure
 
| File | Action | Purpose |
|---|---|---|
| `src/gui_2.py` | Modify | Add docstrings with SSDL & ASCII wireframes to preset managers, persona editor/selector, and provider panels. |
| `src/command_palette.py` | Modify | Add docstrings with SSDL & ASCII wireframes to `render_palette_modal`. |
| `conductor/tracks/sqlite_docs_gui_2_continued_20260613/state.toml` | Modify | Track implementation state. |
| `conductor/tracks.md` | Modify | Register the continued track. |
 
---
 
# Phase 1: Preset Managers & Editors
 
## Task 1.1: Document Preset Managers
- [ ] **Step 1: Document `render_save_preset_modal`**
  Add ASCII Layout Map showing the Save Layout Preset modal layout.
- [ ] **Step 2: Document `render_preset_manager_content`**
  Add ASCII Layout Map showing the Split Pane editor with presets sidebar, Name/Scope inputs, pop-out preview button, text editor, and action buttons.
- [ ] **Step 3: Document `render_preset_manager_window`**
  Add ASCII Layout Map showing the window container wrapper.
- [ ] **Step 4: Document `render_tool_preset_manager_content`**
  Add ASCII Layout Map showing the complex split pane layout containing categories & tools with radio toggles (Off/Auto/Ask) and bias profiles list/editor.
- [ ] **Step 5: Document `render_tool_preset_manager_window`**
  Add ASCII Layout Map showing the window container wrapper.
- [ ] **Step 6: Verify syntax and run existing tests**
  Run: `pytest tests/test_gui_window_controls.py`
  Expected: Success.
 
---
 
# Phase 2: Personas, Providers & Command Palette
 
## Task 2.1: Document Personas & Providers
- [ ] **Step 1: Document `render_persona_editor_window`**
  Add ASCII Layout Map showing the Persona Editor modal split pane layout (list sidebar and detailed configuration panel with preferred models and system prompt box).
- [ ] **Step 2: Document `render_persona_selector_panel`**
  Add ASCII Layout Map showing the persona selection combo and Manage Personas button.
- [ ] **Step 3: Document `render_provider_panel`**
  Add ASCII Layout Map showing the LLM Provider configuration list box, capabilities, parameters sliders, and gemini_cli configuration.
- [ ] **Step 4: Verify syntax and run tests**
 
## Task 2.2: Document Command Palette
- [ ] **Step 1: Document `render_palette_modal` in `src/command_palette.py`**
  Add docstring with SSDL and ASCII Layout Map for the fuzzy search query input and scored results list view.
- [ ] **Step 2: Verify syntax and run tests**
  Run: `pytest tests/` (full batch run check)
 
## Task 2.3: Register track and update status
- [ ] **Step 1: Update `conductor/tracks.md`**
- [ ] **Step 2: Mark track as complete in state.toml**
