Common fixes

Troubleshooting

Most issues resolve in under a minute. Start with the first section that matches your symptom.


Issue 1

🔴
Issue 1 of 10
"no context file found"
VS Code shows "no context", the MCP server returns an error, or Copilot doesn't know anything about your codebase.
Fix
terminal
$ node --version
v22.11.0 ← v18+ required
 
$ sigmap && ls .github/copilot-instructions.md
[sigmap] ✓ wrote .github/copilot-instructions.md
.github/copilot-instructions.md ← file now exists

Issue 2

🟡
Issue 2 of 10
Copilot or Claude still asks "can you share some files?"
The AI doesn't appear to know your codebase structure even though the context file was generated.
Fix
terminal
$ ls .github/copilot-instructions.md
.github/copilot-instructions.md ← must exist here

Issue 3

🟡
Issue 3 of 10
Token reduction is lower than expected (< 80%)
sigmap --report shows only 60–70% reduction instead of the typical 90–97%.
Cause
Fix
.contextignore
# test files
**/*.test.*
**/*.spec.*
 
# build output
dist/
build/
src/generated/
coverage/

Issue 4

🟡
Issue 4 of 10
Context file is stale — VS Code shows grade D or "3d ago"
The status bar shows a low grade or a large "last updated" timestamp, meaning the context no longer matches current code.
Fix
terminal
$ sigmap --setup
[sigmap] ✓ installed .git/hooks/post-commit
[sigmap] context will regenerate on every git commit

Issue 5

🟡
Issue 5 of 10
Over-budget warning: some files were dropped
sigmap --report shows files dropped: N — meaning important files are being cut to stay within the token budget.
Options
gen-context.config.json
{
"maxTokens": 10000, ← raise from default 6000
"strategy": "hot-cold" ← or switch strategy
}

Issue 6

🔴
Issue 6 of 10
MCP server not appearing in tool list
Claude Code or Cursor doesn't show any sigmap tools, or tools/list returns an empty array.
Fix
terminal — manual test
$ node /path/to/gen-context.js --version
sigmap v2.8.0 ← must print a version
 
$ echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | node gen-context.js --mcp
{"jsonrpc":"2.0","id":1,"result":{"tools":[...]}} ← 8 tools

Issue 7

🟡
Issue 7 of 10
"gen-context.js not found" in VS Code
The VS Code extension shows an error and can't regenerate the context file.
Fix
.vscode/settings.json
{
"sigmap.scriptPath": "${workspaceFolder}/gen-context.js"
}

Issue 8

🟡
Issue 8 of 10
Secret scan is redacting a false positive
A variable name that happens to match a secret pattern appears as [REDACTED] in the output.
Fix
🔍
The 10 secret patterns checked
AWS Access Key, AWS Secret Key, GCP API Key, GitHub Token (ghp_ / gho_), JWT (eyJ...), database connection string, SSH private key header, Stripe key (sk_live_), Twilio key, generic password / api_key assignments in code.

Issue 9

🟡
Issue 9 of 10
Monorepo: context only covers one package
Only one package's signatures appear in the output even though your repo has multiple packages under packages/ or apps/.
Fix
gen-context.config.json
{
"monorepo": true
}

Issue 10

🟡
Issue 10 of 10
Watch mode stops working after sleep or wake
sigmap --watch was running fine, but after the machine slept and woke, file changes are no longer picked up.
Fix
terminal — macOS fix
$ ulimit -n 10000 ← raise file watch limit
$ sigmap --watch ← restart the watcher
[sigmap] watching for changes...

Still stuck?

Get more help

Run the health check and share the output in a GitHub issue — it includes everything needed to diagnose the problem.

terminal
$ sigmap --health --json
 
{
"score": 94,
"grade": "A",
"version": "2.4.0",
"node": "22.11.0",
"contextFile": true,
"lastGenerated": "2m ago",
"tokenReduction": "95.3%"
}
🐛
Open a GitHub issue
Share the output of sigmap --health --json at github.com/manojmallick/sigmap/issues. Include your OS, Node.js version, and a brief description of the symptom.

What's next

Explore further

All flags
CLI reference
Every flag sigmap accepts, with examples and expected output for each one.
All options
Config reference
Every field in gen-context.config.json with defaults, types, and examples.
8 tools
MCP server setup
Wire up sigmap's 8 on-demand MCP tools for Claude Code, Cursor, and Windsurf.