feat: add MemPalace Portal hybrid memory provider #259

Merged
Rockachopa merged 2 commits from feat/mempalace-portal-1775695506634 into main 2026-04-10 03:44:18 +00:00
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
Rockachopa reviewed 2026-04-10 03:41:39 +00:00
Rockachopa left a comment
Owner

Auto-approved: clean diff, no conflicts, mergeable.

Auto-approved: clean diff, no conflicts, mergeable.
Rockachopa scheduled this pull request to auto merge when all checks succeed 2026-04-10 03:41:39 +00:00
Rockachopa merged commit 549431bb81 into main 2026-04-10 03:44:18 +00:00
Rockachopa referenced this issue from a commit 2026-04-10 03:44:18 +00:00
Sign in to join this conversation.
No Reviewers
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#259