Conversation
Add ~/.sugar/memory.db as a global memory store that works alongside project-local memory. All search/recall operations now query both stores and merge results by relevance. - GlobalMemoryManager wraps project + global MemoryStore instances - MCP server works outside Sugar projects (global-only mode) - New --global CLI flag on remember/recall/memories/forget/memory-stats - New "guideline" memory type for cross-project standards - New sugar://global/guidelines MCP resource - scope parameter on store_learning MCP tool - Search results labeled with scope (project/global) - 62 new tests, 978 total passing
… slots Search now uses a tiered approach: 1. Project store searched first (local context always wins) 2. Global guidelines get reserved slots (always surface) 3. Remaining slots filled with other global results 4. Dedup across all results This ensures project decisions override global ones, new projects get global knowledge automatically, and cross-project standards like SEO rules always appear regardless of local result count.
Update all documentation to lead with "Persistent memory for AI coding agents" instead of task-queue-first messaging. - README rewritten: memory capabilities lead, task queue secondary - pyproject.toml description updated - CLI help text updated - Plugin README repositioned - Quick start shows memory workflow before task management - Memory docs: global memory section, guideline type, --global flag - CLI reference: --global flag, scope labels, guideline type - Installation guide: memory MCP as primary integration - Docs index: memory system elevated to position 3
feat: Add global memory layer for cross-project knowledge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
guidelinememory type for cross-project standards--globalflag on all CLI memory commandsscopeparameter on MCPstore_learningtoolsugar://global/guidelinesMCP resourceTest plan