v1.1.2
New Features
egc watch: bidirectional sync daemon. Watches all EGC-managed tool config files in the project. When context is edited directly in any tool file (Cursor, Gemini CLI, GitHub Copilot, Windsurf, etc.), the change is extracted from the EGC block and synced to all other tools and back to~/.egc/state/automatically. Handles atomic saves (VS Code, Cursor, Windsurf rename-based writes) and Windows EPERM events.auto_learn: newegc-guardianMCP tool. Mines session failures from hook event history, identifies recurring errors, and reinforces actionable lessons automatically so they are available to the AI on the next session.
Memory Improvements
update_statepropagates to 11 tool config files: callingupdate_statenow writes the new context to every EGC-managed file found in the project:.cursor/rules/egc-context.mdc,.github/copilot-instructions.md,GEMINI.md,.windsurf/rules/egc-context.md,.trae/rules/egc-context.md,.rules(Zed),.clinerules(Cline),CONVENTIONS.md(Aider),.cursorrules,AGENTS.md, andllms.txt. One call keeps every tool in sync.- Natural language interface triggers added to the EGC block in all propagated files. AI tools that read the block now understand natural language phrases ("remember this", "save to memory", etc.) as EGC tool invocations.
Guardian Pipeline
- CacheAligner: normalizes repeated context blocks before compression to reduce redundancy.
- ContentRouter: detects payload type and routes to the appropriate compressor.
- SmartCrusher: deduplicates JSON arrays structurally, preserving semantic meaning while cutting token count.
- Headroom Phase 2: optional deep compression pass for large payloads that exceed the primary budget.
- All modules are wired into
reduce_contexttransparently.
Infrastructure
- sql.js replaces better-sqlite3: the state store now uses a pure-JavaScript/WebAssembly SQLite build. No native compilation, no node-gyp, no build tools required. Works on Linux, macOS, Windows, ARM, and Alpine out of the box.
- GitLab CI and mirror: full pipeline with lint and tests on Node 20/22, mirroring automatically from GitHub. Pinned actions and workflow-level
permissions: {}for security. - Code of Conduct: Contributor Covenant added. All contributors and community members are expected to follow it.
Bug Fixes
- Fixed
update_statepropagation to GitHub Copilot: guard now correctly detects the existing EGC block before inserting. - Fixed multi-line Context section replacement in bidirectional sync merge.
- Fixed state file path resolution in detached HEAD / non-git directories.
- Fixed
StateWatcher.start()to return the count of successfully attached watchers rather than the count of discovered files. - Fixed
egc doctorto remove stalebetter-sqlite3references after the sql.js migration. - Pinned
undicito 6.27.0 in both MCP servers, patching a known CVE.
Full Changelog: v1.1.1...v1.1.2