- Implement find_nearby_index() to search current dir + 2 levels up
- Add helpful navigation guidance when index found elsewhere
- Update search command to show guidance instead of failing
- Update status command to detect nearby indexes
- Keep detection simple and not overly complex
- Fix command parameter bug (--show-perf)
Features:
- Searches current directory, parent, and grandparent for .mini-rag
- Shows exact navigation commands when index found nearby
- Provides clear "cd path && rag-mini search" instructions
- Falls back to "create index here" if not found nearby
User experience improvements:
- No more mysterious "not indexed" errors in subdirectories
- Clear guidance on how to navigate to existing indexes
- Simple 3-level search depth keeps it fast and predictable