Files
dotfiles/claude/memory/reference-mempalace-typography-palace.md
David F GliddenandClaude Opus 4.8 3f9a89b00c chore(memory): Basic Memory trial begins — sync normalization baseline (283 files)
Basic Memory v0.21.6 first sync over the live memory dir (steward-authorized
live-dir trial, Option A 2026-06-06): adds permalink: to frontmatter, refolds
long YAML description lines, strips final newlines. Bodies untouched —
verified via full diff classification. From this commit forward, any diff in
claude/memory shows only what Basic Memory or the session writes.

Trial design: MemPalace untouched as incumbent; git status check on this dir
at every wrap; end-of-day evaluation (recall quality, sync robustness,
rebuild-from-files, malformed-file behavior).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 09:52:17 +02:00

82 lines
5.5 KiB
Markdown

---
name: reference-mempalace-typography-palace
description: How to query the chamber-typography palace directly via the mempalace
CLI when the question concerns the typography masters (Bringhurst, Tschichold, Hochuli,
Lupton, Lacroux, Sousa, Alexander, etc.). The MCP is bound to palace-memory; the
typography corpus lives in a separate palace at ~/.mempalace/palace-chamber-typography.
Reach for it whenever the masters' own words would settle a spec question.
metadata:
node_type: memory
type: reference
originSessionId: b43eb145-42db-4a4e-bc75-ed563f3473dc
permalink: claude-memory/reference-mempalace-typography-palace
---
# Querying the typography palace directly
## What it is
A **separate** MemPalace at `~/.mempalace/palace-chamber-typography` holding the chamber-library typography corpus.
- **40,894 drawers** (per `mempalace status` as of 2026-05-20)
- Single wing `chamber_typography`, single room `general`
- Contains: Bringhurst *Elements of Typographic Style*, Bringhurst *Solid Form of Language*, Tschichold *Form of the Book* + *Die Neue Typographie*, Hochuli *Detail in Typography*, Lupton *Thinking with Type*, Lacroux *Orthotypographie* (vol 1 + 2), Sousa *Ortografía y ortotipografía del español*, Alexander *A Pattern Language* + *The Oregon Experiment*, Aldus Younger *Orthographiae Ratio*, Manutius / Margolis on Aldus, Müller-Brockmann (grids), Butterick *Typography for Lawyers*, Gill *An Essay on Typography*, Warde *Crystal Goblet*, Morison, de Hamel, Saenger, Williamson, Fleishman, Rutter *Web Typography* — see `chamber-library/converted_texts/collections/typography/` for the canonical source files.
## Why it matters — and the drift it prevents
The MCP (`mcp__mempalace__*` tools) is bound to `~/.mempalace/palace-memory` per `~/.mempalace/config.json`. That palace holds session diaries, claude-code KG, and general assistant memory — **not** the typography corpus. Asking the MCP a Bringhurst-shaped question returns conversation transcripts about Bringhurst, not Bringhurst's own words.
When the steward asks "what do the masters say about X" or "check the typography corpus" or any framework-typography spec question where the masters' own prose would settle the matter — the chamber-typography palace is the right room. Reaching for the MCP-bound default palace in that situation is a recurring drift; see `[[feedback-querying-default-palace-when-question-belongs-to-specific-palace]]` for the discipline.
## When to use which palace
| Question concerns | Palace | How to reach |
|---|---|---|
| Past sessions, drift patterns, claude-code KG, session diaries | `palace-memory` (default) | MCP `mcp__mempalace__*` tools |
| Masters' texts on typography, punctuation, layout, lists, dashes, rhythm, italic discipline, etc. | `palace-chamber-typography` | CLI with `--palace` flag |
| ARC content/spec text already in the project tree | neither palace — `grep` / `Read` directly | Bash |
## How to query (CLI)
The `mempalace` CLI accepts `--palace` to target a specific palace database. The `--palace` flag goes **before** the subcommand:
```bash
PALACE=/Users/davidglidden/.mempalace/palace-chamber-typography
# Status overview — confirm palace + wing + room + drawer count
mempalace --palace "$PALACE" status
# Search — keyword-based, BM25 + cosine ranking, returns wing/room/source/snippet
mempalace --palace "$PALACE" search "your query" --results 10
# Wing/room filtering (everything currently lives in chamber_typography/general)
mempalace --palace "$PALACE" search "query" --wing chamber_typography --room general --results 10
```
Default result count is small; pass `--results 10` (or more) for substantive sampling. Results show:
- `[N]` index
- `wing / room`
- `Source:` the chamber-library filename (e.g. `bringhurst_elements_style.md`) — useful for follow-on direct reads
- `Match: cosine=X.XXX bm25=Y.YYY`
- Snippet of the matched drawer
## Switching the MCP to this palace (if ever needed)
The MCP reads `~/.mempalace/config.json`'s `palace_path` at startup. To switch the MCP to the typography palace, edit that key and restart the MCP server. The `mempalace_reconnect` MCP tool only refreshes the *current* palace connection — it does **not** switch palaces.
In practice: keep the MCP on `palace-memory` (session continuity), use the CLI when the typography corpus is the right room. Two paths, two purposes; do not switch the MCP just for one-off queries.
## Sample query shapes (for the kind of question this palace answers)
- *"What does Bringhurst say about parenthetical interruption?"* → `search "spaced en dash parenthetical"` then read the bringhurst_elements_style.md drawers verbatim
- *"How does Tschichold treat lists?"* → `search "list" --results 15` then filter mentally to Tschichold source
- *"Hochuli on detail punctuation"* → `search "Hochuli detail punctuation"` (cross-source) or read `Detail_in_Typography_Jost_Hochuli` directly via Read
Often the more efficient move once the palace points to the right source file is to switch from search to direct `Read` against the chamber-library file — the search names the source; the read returns the full context.
## Cross-references
- `[[feedback-querying-default-palace-when-question-belongs-to-specific-palace]]` — the drift this prevents
- `[[project-mempalace-operational-stance-2026-05-16]]` — broader operational stance on MemPalace as substrate
- `[[project-chamber-typography-mining-plan-2026-05-15]]` — the original mining workstream that populated this palace
- Chamber-library on disk: `~/_Dev/chamber-library/converted_texts/collections/typography/`