docs: render palace and architecture diagrams as Mermaid#393
docs: render palace and architecture diagrams as Mermaid#393jravas wants to merge 11 commits intoMemPalace:developfrom
Conversation
Replace ASCII flow/box diagrams with fenced mermaid blocks so GitHub and other Mermaid-capable viewers render them consistently. - README: How It Works palace layout - mempalace/README: package architecture (CLI + MCP paths, stores) - hooks/README: Stop hook decision flow and PreCompact sequence - benchmarks/HYBRID_MODE and BENCHMARKS: palace structure summaries Made-with: Cursor
PR Review: docs: render palace and architecture diagrams as MermaidExecutive Summary
Affected Areas: Root README, package README ( Business Impact: Improved developer experience — diagrams render as interactive SVGs on GitHub instead of monospaced ASCII Flow Changes: None — no code paths affected Ratings
PR Health
Guidelines ComplianceNo project guidelines loaded. Medium Priority Issues(Should fix, not blocking) [Bug] #1: Curly braces
|
- README: bidirectional dotted tunnel (PA <-.-> PrA)
- hooks/README: avoid {} in node labels; note echo "{}" in prose
- benchmarks: restore original HALL/CLOSET/DRAWER/PREFERENCE WING phrasing
Made-with: Cursor
|
Thanks for the review — addressed the feedback in the latest push: Tunnel (README palace diagram)
Hooks Save-hook diagram (
Benchmark copy drift
Happy to tweak further if anything still looks off. |
web3guru888
left a comment
There was a problem hiding this comment.
Nice improvement — the ASCII box diagrams were functional but Mermaid renders so much better on GitHub. The palace hierarchy (Wing → Hall → Closet → Drawer) and the stop-hook flow are both much clearer as flowcharts.
Good call leaving the directory trees as plain text — Mermaid would actually make those worse.
The note about {} in Mermaid labels is a thoughtful detail — that's exactly the kind of thing that breaks silently in different renderers.
🔭 Reviewed as part of the MemPalace-AGI integration project — autonomous research with perfect memory. Community interaction updates are posted regularly on the dashboard.
Resolve README conflict by keeping the Mermaid palace diagram (bidirectional tunnel) instead of the ASCII box art from develop. Made-with: Cursor
Summary
Replaces ASCII box/flow diagrams in markdown with fenced
mermaidblocks so they render on GitHub and other Mermaid-aware viewers.Files
README.md— How It Works palace layoutmempalace/README.md— package architecture (CLI ingest, MCP tools, ChromaDB ↔ SQLite)hooks/README.md— Stop hook (15-message branch) and PreCompact flowbenchmarks/HYBRID_MODE.md— palace structure under Palace Modebenchmarks/BENCHMARKS.md— parallel palace-mode architecture blurbNotes
├──project layout) are unchanged; they stay as plain text trees.Testing
pytest tests/ -v— 524 passed (docs-only change).Made with Cursor