-
Notifications
You must be signed in to change notification settings - Fork 39
Common Issues
Manoj Mallick edited this page May 11, 2026
·
1 revision
Problem: sigmap ask "query" returns empty results
Causes & Fixes:
-
No context file generated yet
sigmap # Generate context first sigmap ask "query"
-
Source directories not configured
sigmap --init # Edit gen-context.config.json to add srcDirs -
All files excluded
sigmap --report # Check if files are being dropped due to .contextignore
Problem: Context file is too large, files are being dropped
Solution 1: Reduce budget
{
"maxTokens": 4000
}Solution 2: Use per-module strategy
{
"strategy": "per-module"
}Solution 3: Be more selective with .contextignore
# Skip test files
*.test.js
*.spec.js
# Skip generated code
*.generated.js
dist/
build/
Check status:
sigmap --report
# Shows token usage and which files were droppedProblem: New files aren't being picked up
Solution:
rm .context/context.md
sigmap
# Regenerates from scratchOr use auto-regeneration:
sigmap --watch
# Regenerates on file changesProblem: explain_file shows no callers/imports
Problem: TypeScript/Python imports not resolving
Causes:
-
baseUrlin tsconfig.json not set - Python
__init__.pymissing - Relative import paths too deep
Debug:
sigmap --diagnose-extractors
# Shows extraction details for each fileProblem: Generating context takes >30 seconds
See: Performance Tuning
See: Installation Troubleshooting
- Check FAQ
- Search GitHub Issues
- Run
sigmap --healthto get diagnostic info - Open a new issue with:
- Output of
sigmap --health -
gen-context.config.json(sanitized) - Language and project size
- Output of