-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Project
vgrep
Description
The installation functions for Claude Code and Codex check if vgrep is already installed using content.contains("vgrep"). This is too broad - any mention of "vgrep" in the file (even in comments like "I don't use vgrep") will cause the installer to think vgrep is already configured.
Error Message
Debug Logs
System Information
Bounty Version: 0.1.0
OS: Ubuntu 24.04 LTS
CPU: AMD EPYC-Genoa Processor (8 cores)
RAM: 15 GBScreenshots
No response
Steps to Reproduce
- Create a CLAUDE.md file with casual mention:
echo "# Notes\nI've heard of vgrep but haven't tried it yet" > CLAUDE.md
- Run install:
vgrep install claude-code - Observe "already configured" message even though skill isn't installed
Expected Behavior
- Check for specific vgrep skill marker (e.g.,
## vgrepor unique identifier) - Distinguish between skill installation and casual mentions
- Properly detect if skill block is actually present
Actual Behavior
content.contains("vgrep")matches any occurrence- False positive on any mention of "vgrep"
- Users cannot install if file mentions vgrep anywhere
Additional Context
Locations: src/cli/install.rs:61 and src/cli/install.rs:228
if !content.contains("vgrep") {
// Install skill
}