Repository navigation
v2.1.0 — Smarter Savings & Production Hardening
codeaware-mcp v2.1.0
Effectiveness Fixes (5 high-impact)
These fixes address features that existed but weren't wired up correctly — the fastest path to better results.
| Fix | Before | After |
|---|---|---|
| Context Injection | No-op (only logged count) | Formats + injects memories at session start |
| suggested_next | Always empty [] |
Test/source counterparts + sibling files |
| Auto-Observe Dedup | Too aggressive (same file = ignored) | Content-aware hash → edits create new observations |
| Auto-Observe Type | "0 failed" → false "bugfix" |
Only real failures detected |
| smart_run Summary | "Compiling foo v0.1.0" |
First error[/FAILED line |
| Search Compression | Naive head-truncation | Grouped by file, 2 matches/file, skip indicator |
ECC-Inspired Improvements (5 new features)
Inspired by everything-claude-code patterns:
Hook Profiles
export CODEAWARE_PROFILE=minimal # lean output, max token savings
export CODEAWARE_PROFILE=standard # default
export CODEAWARE_PROFILE=rich # verbose debug output
export CODEAWARE_DISABLED_HOOKS=auto_observe,context_injectionGovernance Capture
export CODEAWARE_GOVERNANCE=1Logs security-relevant events: symbol renames, auth/security file edits, config weakening (disabling linters, removing rules).
Strategic Compaction Hints
One-time /compact suggestion at 40+ tool calls or 500K+ raw tokens.
Session Persistence
- Auto-saves workspace state to
~/.codeaware/sessions/on session end - Auto-loads recent session for same project on startup
Config Protection
Warns when smart_edit weakens configuration files (setting false where true was, disabling checks).
Other
- Version displayed in XRay dashboard footer
- Comprehensive README rewrite for v2.0+ features
Install
git clone https://github.com/mhmtbsbyndr/codeaware-mcp
cd codeaware-mcp
cargo build --release
cp target/release/codeaware-mcp /usr/local/bin/17 MCP tools · 10 languages · Pure Rust · Single binary · SQLite FTS5