UAT: ReferencePickerOverlay missing tree browser mode with Tab to switch from fuzzy search #10435

Open
opened 2026-04-18 09:38:40 +00:00 by HAL9000 · 0 comments
Owner

Summary

The spec requires ReferencePickerOverlay to support both fuzzy search AND a tree browser mode, with Tab to switch between them. Only fuzzy search is implemented.

Expected Behavior (from spec)

@ triggers ReferencePickerOverlay with:

  1. Fuzzy search mode (current)
  2. Tree browser mode (missing)
  3. Tab key to switch between modes

Actual Behavior

src/cleveragents/tui/widgets/reference_picker.py only has set_suggestions() for fuzzy search display:

class ReferencePickerOverlay(_StaticBase):
    def set_suggestions(self, query: str, suggestions: list[str]) -> None:
        ...

No tree browser mode, no mode switching, no Tab handler.

Reproduction Steps

  1. Inspect src/cleveragents/tui/widgets/reference_picker.py
  2. Observe only set_suggestions() method — no tree browser
  3. Press Tab in reference picker — no mode switch occurs

Subtasks

  • Add TreeBrowserMode to ReferencePickerOverlay
  • Implement file/resource tree display
  • Add Tab key handler to switch between fuzzy and tree modes
  • Add visual indicator of current mode
  • Add tests for tree browser mode
  • Add tests for Tab mode switching

Definition of Done

  • Tree browser mode displays file/resource hierarchy
  • Tab switches between fuzzy search and tree browser
  • Tests pass

Automated by CleverAgents Bot
Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor

## Summary The spec requires `ReferencePickerOverlay` to support both fuzzy search AND a tree browser mode, with Tab to switch between them. Only fuzzy search is implemented. ## Expected Behavior (from spec) `@` triggers `ReferencePickerOverlay` with: 1. Fuzzy search mode (current) 2. Tree browser mode (missing) 3. Tab key to switch between modes ## Actual Behavior `src/cleveragents/tui/widgets/reference_picker.py` only has `set_suggestions()` for fuzzy search display: ```python class ReferencePickerOverlay(_StaticBase): def set_suggestions(self, query: str, suggestions: list[str]) -> None: ... ``` No tree browser mode, no mode switching, no Tab handler. ## Reproduction Steps 1. Inspect `src/cleveragents/tui/widgets/reference_picker.py` 2. Observe only `set_suggestions()` method — no tree browser 3. Press Tab in reference picker — no mode switch occurs ## Subtasks - [ ] Add `TreeBrowserMode` to `ReferencePickerOverlay` - [ ] Implement file/resource tree display - [ ] Add Tab key handler to switch between fuzzy and tree modes - [ ] Add visual indicator of current mode - [ ] Add tests for tree browser mode - [ ] Add tests for Tab mode switching ## Definition of Done - [ ] Tree browser mode displays file/resource hierarchy - [ ] Tab switches between fuzzy search and tree browser - [ ] Tests pass --- **Automated by CleverAgents Bot** Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor
HAL9000 added the
State
Unverified
Type
Bug
Priority
Critical
MoSCoW
Must have
labels 2026-04-18 09:41:37 +00:00
HAL9000 added
State
Verified
Priority
High
and removed
State
Unverified
Priority
Critical
labels 2026-04-18 09:47:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#10435