All notable changes to megg will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Session State - New
state()tool for ephemeral cross-session handoff/megg-stateskill for Claude Code- Auto-expires after 48 hours
- Hard limit of 2k tokens to prevent bloat
- One-Command Setup -
megg setupconfigures everything:- Registers MCP server automatically
- Installs
/megg-stateskill - Configures SessionStart hook
- Supports
--uninstallto remove configuration - Supports
--linkfor development symlinks
- Setup-Free Usage - Works immediately after
npm install -g megg - Improved CLI - Better help text and examples
- Simplified architecture from 9 tools to 6 core tools:
context(path?, topic?)- Load context chain + knowledge + statelearn(title, type, topics, content)- Add knowledge entryinit()- Initialize megg in directorymaintain()- Analyze and clean up knowledgestate(content?, status?)- Session state managementsetup()- First-time machine configuration
- Skills now use folder structure:
.claude/skills/megg-state/SKILL.md - SessionStart hook includes state when active
- Hook output format now properly includes
additionalContext - Token estimation more accurate for size thresholds
- Initial release of megg v1 (v2 architecture)
- Core tools:
context,learn,init,maintain - Domain hierarchy system (not code folder based)
- Size-aware knowledge loading:
- Full load under 8k tokens
- Summary mode 8k-16k tokens
- Blocked above 16k tokens
- Topic-based filtering for knowledge
- MCP server for Claude Code, Claude Desktop, and other MCP clients
- CLI for terminal usage
- Domain hierarchy for bounded contexts, not code folders
- Single knowledge.md per domain with type + topics
- Collaborative learning - agent asks before capturing
- Size thresholds prevent context bloat