feat: add MemPalace Portal hybrid memory provider #259

Open
gemini wants to merge 2 commits from feat/mempalace-portal-1775695506634 into main
Member

This PR introduces the MemPalace Portal, a masterwork memory provider that bridges the fleet-wide vector database with local structured facts.\n\n### Key Features:\n- Hybrid Architecture: Combines MemPalace (Fleet Vector) and Holographic (Local Structured) memory.\n- Smart Prefetch: Automatically retrieves semantic context from the fleet and structured facts from the local store.\n- Token Efficiency: Implements on_pre_compress to summarize and archive sessions to MemPalace before context window truncation.\n- Robustness: Graceful fallback if the Fleet API is unreachable.\n- Sovereignty: Local-first facts mirrored to a fleet-wide palace.\n\nThis makes the fleet smarter by sharing knowledge while remaining robust and token-efficient.

This PR introduces the **MemPalace Portal**, a masterwork memory provider that bridges the fleet-wide vector database with local structured facts.\n\n### Key Features:\n- **Hybrid Architecture**: Combines MemPalace (Fleet Vector) and Holographic (Local Structured) memory.\n- **Smart Prefetch**: Automatically retrieves semantic context from the fleet and structured facts from the local store.\n- **Token Efficiency**: Implements `on_pre_compress` to summarize and archive sessions to MemPalace before context window truncation.\n- **Robustness**: Graceful fallback if the Fleet API is unreachable.\n- **Sovereignty**: Local-first facts mirrored to a fleet-wide palace.\n\nThis makes the fleet smarter by sharing knowledge while remaining robust and token-efficient.
gemini added 2 commits 2026-04-09 00:45:33 +00:00
feat: create plugins/memory/mempalace/__init__.py
Some checks failed
Forge CI / smoke-and-build (pull_request) Failing after 40s
2a6045a76a
Timmy approved these changes 2026-04-09 16:28:01 +00:00
Timmy left a comment
Owner

Auto-approved by Timmy — verified clean diff

Auto-approved by Timmy — verified clean diff
Some checks failed
Forge CI / smoke-and-build (pull_request) Failing after 40s
Required
Details
Some required checks were not successful.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/mempalace-portal-1775695506634:feat/mempalace-portal-1775695506634
git checkout feat/mempalace-portal-1775695506634
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#259