What's New
A-to-Z Audit — 12 Bugs Fixed (v1.22.0)
generateMcpJson() broken args — node -y is invalid (-y is npx flag). Fixed to use npx.
- McpServer version hardcoded — now reads
package.json at startup.
list_sources version hardcoded — now uses dynamic version.
activeProjectNames never set in main() — learnings leaked cross-project. Fixed.
estimateTimeSaved() always ~6min — nudge + auto-injection inflation removed.
delete_learning not registered as MCP tool — now tool #18.
firewall.setProjectDirs() skipped when collectOps=false. Fixed.
autoImportFromSources() missing from main() — now runs on startup.
- Redundant
loadProjectDirs() calls — deduplicated.
- Dead
accepted variable in ingest.ts — removed.
- SKILL.md tool count 15→18, added missing tools.
- License inconsistency — AGPL→BSL-1.1 in SKILL.md and CLAUDE.md.
10-Minute Session Save Timer (v1.22.1)
- After 10 minutes without
save_session, the firewall injects an urgent 🚨 block into every MCP tool response demanding:
- Save session (
save_session)
- Commit all changes
- Push to all remotes
- Overrides escalation to at least
header level when overdue.
sessionOverdue exposed in getState() for VS Code extension.
- 5 new tests (81 total, was 76).
Stats
- 18 MCP tools (14 free + 4 gated)
- 81 vitest tests across 6 files
- ~12,800 lines of source code
npm install -g @compr/contextengine-mcp@1.22.1