orphan_repair
Find semantic matches for broken [[wikilinks]]
How to use it
orphan_repair is exposed by the Palinode MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the orphan_repair tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Palinode
pip install -e .Other tools in Palinode (29)
Retire one memory that's wrong or obsolete — archive it, or supersede it with a named replacement
Archive ephemeral memories whose TTL has expired
Trace a fact back to the commit that recorded it
Find top-K semantically related files NOT already wiki-linked — surface implicit relationships for cross-link proposals
Preview or run LLM-powered compaction
Before saving, surface existing files that overlap the draft
Dependency tree (or unblocked-items list) from dependson / blocks / parallelwith frontmatter on ProjectSnapshots
What changed in the last N days
Fast diagnostic pass — 18+ checks across paths, services, config, index
Full diagnostic with canary write test (~10–15s)
Entity graph — cross-references between memories
Git history for a file with diff stats and rename tracking
Fetch a URL and save as research
Health scan — orphans, stale files, missing fields
Browse memory files by type, filter by core status
List, show, or activate versioned LLM prompts
Sync memory to a remote git repo
Read the full content of a memory file
Advisory project-memory review that proposes corrective operations without writing them
Revert a file to a previous commit (safe, creates new commit)
Store a typed memory (person, decision, insight, project)
Hybrid BM25 + vector search with category filter
Capture summary, decisions, and blockers at end of session
Session-start context digest for the resolved project scope
Health check — file counts, index stats, service status
Deprecated — use history with detail='full'. Commit-level evolution of a file with per-commit diffs
Given a short topic phrase, return whether any existing wiki page already covers it (binary covered / bestmatch / similarity)
Compose a fact's full provenance lineage — sources, saved/changed commits, supersession, typed links, recall
Prospective recall — auto-inject when a topic comes up