conductor(plan): Mark track 'On-Demand Definition Lookup' as complete
This commit is contained in:
@@ -33,35 +33,17 @@ Focus: Use existing MCP tool to get definitions
|
|||||||
return None
|
return None
|
||||||
```
|
```
|
||||||
|
|
||||||
## Phase 3: Inline Display
|
## Phase 3: Inline Display [checkpoint: 7ea833e]
|
||||||
Focus: Display definition in discussion
|
Focus: Display definition in discussion
|
||||||
|
|
||||||
- [~] Task 3.1: Inject definition as context
|
- [x] Task 3.1: Inject definition as context (7ea833e)
|
||||||
- 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```"
|
|
||||||
```
|
|
||||||
|
|
||||||
## Phase 4: Click Navigation
|
## Phase 4: Click Navigation [checkpoint: 7ea833e]
|
||||||
Focus: Allow clicking definition to open file
|
Focus: Allow clicking definition to open file
|
||||||
|
|
||||||
- [ ] Task 4.1: Store file/line metadata with definition
|
- [x] Task 4.1: Store file/line metadata with definition (7ea833e)
|
||||||
- WHERE: Discussion entry structure
|
- [x] Task 4.2: Add click handler (7ea833e)
|
||||||
- WHAT: Track source location
|
|
||||||
- HOW: Add to discussion entry dict
|
|
||||||
|
|
||||||
- [ ] Task 4.2: Add click handler
|
## Phase 5: Testing [checkpoint: 7ea833e]
|
||||||
- WHERE: `src/gui_2.py` discussion rendering
|
- [x] Task 5.1: Write unit tests for parsing (7ea833e)
|
||||||
- WHAT: On click, scroll to definition
|
- [x] Task 5.2: Conductor - Phase Verification (7ea833e)
|
||||||
- HOW: Use selectable text with callback
|
|
||||||
|
|
||||||
## Phase 5: Testing
|
|
||||||
- [ ] Task 5.1: Write unit tests for parsing
|
|
||||||
- [ ] Task 5.2: Conductor - Phase Verification
|
|
||||||
|
|||||||
Reference in New Issue
Block a user