fss-mini-rag-github/ENHANCEMENTS.md
FSSCoding 5912947d4b Update installation documentation for pip install method
- Update Quick Start section to show new pip install workflow
- Add ENHANCEMENTS.md for tracking path resolution feature
- Replace old bash installer instructions with proper Python packaging
2025-09-06 14:27:28 +10:00

1.1 KiB

FSS-Mini-RAG Enhancement Backlog

Path Resolution & UX Improvements

Current State

rag-mini search /full/absolute/path "query"

Desired State

cd /my/project
rag-mini "authentication logic"    # Auto-detects current directory, defaults to search
rag-mini . "query"                 # Explicit current directory  
rag-mini ../other "query"          # Relative path resolution

Implementation Requirements

  1. Auto-detect current working directory when no path specified
  2. Default to search command when first argument is a query string
  3. Proper path resolution using pathlib.Path.resolve() for all relative paths
  4. Maintain backwards compatibility with existing explicit command syntax

Technical Details

  • Modify mini_rag/cli.py argument parsing
  • Add path resolution with os.path.abspath() or pathlib.Path.resolve()
  • Make project_path optional (default to os.getcwd())
  • Smart command detection (if first arg doesn't match command, assume search)

Priority

High - Significant UX improvement for daily usage