[QA][REPORT] Perplexity MemPalace Audit — Branch Cleanup + Architecture Findings — April 8, 2026 #382
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Session Summary
Auditor: @perplexity
Date: April 8, 2026
Scope: Branch cleanup execution + MemPalace epic (#367) architecture review
Epic: #367
Part 1: Branch Cleanup Executed
Deleted 76 dead branches (100 → 24 remaining).
All deleted branches were linked to merged or closed PRs. Remaining 24 branches:
main(default)master(legacy — 241 commits behind, candidate for deletion with your confirmation)timmy/fleet-capacity-inventory,timmy/orchestrator-fix,timmy/japanese-wisdom-guards(active work, no PR yet)codex/workflow-pr-review,backup/main-before-reset-20260328-000322(stale but no PR — manual triage needed)Action needed from you:
masterif confirmed dead (241|39 behind main)codex/workflow-pr-review(180|2 behind, 3 days stale)backup/main-before-reset-20260328-000322(170|3 behind, 2 weeks stale)Part 2: MemPalace Architecture Findings
What's on main (merged via PR #374)
Directory:
hermes-sovereign/mempalace/mempalace.pyretrieval_enforcer.pyscratchpad.pywakeup.py__init__.pytests/test_mempalace.pyCritical Bug: Hardcoded MEMPALACE_BIN
Three files contain:
This is:
mempalacepip package + ONNX RuntimePR #380 (Open) — The Fix
PR #380 (
perplexity/sovereign-memory-store) adds:sovereign_store.py— SQLite + FTS5 + HRR vector store (zero external deps)promotion.py— quality-gated scratchpad→palace promotion (4 heuristic checks)tests/test_sovereign_store.py— test coverageThis PR is the critical path. Until it merges and the three broken files are rewired, the entire retrieval enforcer, scratchpad promotion, and wake-up protocol are dead code on any non-Mac host.
Epic Status
Recommended Next Steps (Priority Order)
SovereignStoreinstead ofMEMPALACE_BIN:retrieval_enforcer.py:search_palace()→SovereignStore.search()scratchpad.py:promote_to_palace()→promotion.promote()wakeup.py:_palace_context()→SovereignStoreMEMPALACE_BINreferences — the CLI dependency should be fully eliminatedBranch Cleanup Scorecard
master,codex/workflow-pr-review,backup/...)