Troubleshoots pickme indexing issues including missing files, stale indexes, gitignore conflicts, and root coverage. Use when files are missing from pickme, index seems stale, or when debugging, troubleshooting, or investigating pickme behavior.
Systematic troubleshooting for pickme indexing issues.
File missing from pickme?
|-- Does file exist?
| |-- No -> File path issue, not pickme
|-- Is file gitignored?
| |-- Yes -> Check include_gitignored setting
|-- Is file in a configured root?
| |-- No -> Add root or adjust paths
|-- Is file excluded by pattern?
| |-- Yes -> Remove or adjust exclude pattern
|-- Is root disabled?
| |-- Yes -> Enable root
|-- Is index stale?
| |-- Yes -> Run pickme refresh
pickme status
pickme roots
pickme config --show
# Is it indexed?
pickme search --exact "path/to/file"
# Is it gitignored?
git check-ignore -v "path/to/file"
# Is it in a root?
pickme roots | grep "$(dirname path/to/file)"
Diagnosis steps:
ls -la path/to/filegit check-ignore -v path/to/filepickme rootspickme config --show | grep -A10 excludeCommon fixes:
include_gitignored = true[[roots]] entrySymptoms:
Fix:
pickme refresh
# or re-index a root
pickme index /path/to/root
Symptoms:
Fixes:
pickme search to confirm)Target: Resolve in 2 steps after diagnosis.