diff --git a/conductor/tracks/on_demand_def_lookup_20260306/plan.md b/conductor/tracks/on_demand_def_lookup_20260306/plan.md index 467b98d..83c127a 100644 --- a/conductor/tracks/on_demand_def_lookup_20260306/plan.md +++ b/conductor/tracks/on_demand_def_lookup_20260306/plan.md @@ -33,35 +33,17 @@ Focus: Use existing MCP tool to get definitions return None ``` -## Phase 3: Inline Display +## Phase 3: Inline Display [checkpoint: 7ea833e] Focus: Display definition in discussion -- [~] Task 3.1: Inject definition as context - - WHERE: `src/gui_2.py` `_send_callback()` - - WHAT: Append definition to message - - HOW: - ```python - symbols = parse_symbols(user_message) - for symbol in symbols: - result = get_symbol_definition(symbol, self.project_files) - if result: - file_path, definition = result - user_message += f"\n\n[Definition: {symbol} from {file_path}]\n```python\n{definition}\n```" - ``` +- [x] Task 3.1: Inject definition as context (7ea833e) -## Phase 4: Click Navigation +## Phase 4: Click Navigation [checkpoint: 7ea833e] Focus: Allow clicking definition to open file -- [ ] Task 4.1: Store file/line metadata with definition - - WHERE: Discussion entry structure - - WHAT: Track source location - - HOW: Add to discussion entry dict +- [x] Task 4.1: Store file/line metadata with definition (7ea833e) +- [x] Task 4.2: Add click handler (7ea833e) -- [ ] Task 4.2: Add click handler - - WHERE: `src/gui_2.py` discussion rendering - - WHAT: On click, scroll to definition - - HOW: Use selectable text with callback - -## Phase 5: Testing -- [ ] Task 5.1: Write unit tests for parsing -- [ ] Task 5.2: Conductor - Phase Verification +## Phase 5: Testing [checkpoint: 7ea833e] +- [x] Task 5.1: Write unit tests for parsing (7ea833e) +- [x] Task 5.2: Conductor - Phase Verification (7ea833e)