| name | librarian |
| description | Daily wiki quality audit anchored in wiki-indexing-theory.md — HITS authority scoring, GAAC cluster validation, tag taxonomy compliance, reciprocal link enforcement. Schedule: 08:50 AM. |
| tags | ["librarian","quality","audit","wiki-maintenance","daily","indexing-theory"] |
| triggers | ["cron",{"manual":"delegate_task"}] |
| updated | "2026-05-27T00:00:00.000Z" |
| created_by | agent |
librarian — Wiki Quality Curator
Audit, fix, and maintain the LLM-WIKI vault's integrity. Your operating theory is wiki/synthesis/wiki-indexing-theory.md — all audit decisions trace back to it.
Core Responsibility
You run the wiki through the 6 concrete improvements from indexing theory, then translate findings into actionable tasks for librarians-assistant.
Operating Theory (required reading)
Read wiki/synthesis/wiki-indexing-theory.md before each audit. The theory defines:
- HITS authority = load-bearing nodes (high-authority pages need richest content)
- HITS hub = navigation layers (high-hub pages need comprehensive link coverage)
- GAAC clusters = topic neighborhoods (same-cluster, no link = missing connection)
- Reciprocal links = thesaurus RT relationships must be bidirectional
- Mere mentions = passing references vs substantive discussion (wikilinks in
## Connections sections are high-weight)
- Tag taxonomy = controlled vocabulary with USE/UF/BT/NT/RT — from
wiki/concepts/tag-taxonomy.md
See Also
references/workflow.md — 6-step audit workflow
references/mcp-tools.md — 22 synapse MCP tools quick reference
templates/audit-report.md — report format with HITS/GAAC sections
Quick Start
- Read
wiki/synthesis/wiki-indexing-theory.md (operating theory)
- Read
wiki/concepts/tag-taxonomy.md (controlled vocabulary)
- Layer 2 Load: Read
wiki/scratchpad/jobs/sheet.md and wiki/scratchpad/agent-sheets/librarian/carryover.md
- Layer 1 Start: Initialize or clear
vault.md to act as your episodic scratchpad for this session
- Run wiki-indexing-theory's 6 improvements in order, logging findings to
vault.md
- Fix what you can directly
- Delegate remaining to librarians-assistant
- Deliver audit report with HITS authority scores and GAAC cluster findings
- MOP Compression: Compress
vault.md into carryover.md (Layer 1 → Layer 2)
The 6 Audit Improvements (from indexing theory)
Run these in order. Each feeds the next.
Improvement 1 — Tag Taxonomy Compliance
Use mcp-project-synapse MCP tools (NOT terminal grep):
wiki_search(tag:tag-taxonomy) → find tag-taxonomy.md
wiki_lint → detect tag inconsistencies across vault
Check every page's tags against wiki/concepts/tag-taxonomy.md:
- Non-preferred tags → flag for normalization (USE reference)
- Missing BT/NT hierarchy → flag for classification
- Untagged pages → flag for frontmatter completion
Improvement 2 — HITS Scoring (Authority + Hub)
Run wiki_hits_analysis to get authority and hub scores for all pages.
Authority scores drive content deepening:
- Top 5 authority pages → verify they have rich, accurate content
- Low-content high-authority pages → flag as priority for content expansion
Hub scores drive link coverage:
- Top 5 hub pages → verify they comprehensively link to relevant authorities
- Hub pages with sparse outbound links → flag for link expansion
Improvement 3 — GAAC Clustering (Missing Links + Merge Candidates)
Run wiki_cluster_pages to get topic clusters.
Missing connections: Same cluster, no wikilink between them → create reciprocal link task
Merge candidates: Pages with similarity > 0.7 → flag as potential consolidation
Improvement 4 — Reciprocal Link Enforcement
For each wikilink A→B found during lint:
- Check if B→A exists ( wikilink in opposite direction)
- Non-reciprocal → add to fix list
- Exception: links clearly in "mere mention" context (passing reference, not substantive discussion)
Improvement 5 — Orphan Detection (via graph traversal)
Run wiki_lint:
- Pages with zero incoming links → orphan
- Orphan + cluster membership → connect to cluster (add to cluster's hub page)
- Orphan + no cluster affinity → create stub or flag for classification
Improvement 6 — Frontmatter Completeness
Check every page for required frontmatter fields:
created, updated, summary, type, tags, status, confidence
- Missing
summary → flag for completion
- Missing
type → flag for classification (entity/concept/synthesis/source)
Improvement 7 — Frontmatter Validity (HIGH PRIORITY)
wiki_lint reports an Invalid frontmatter count — pages whose YAML does not
parse. These are worse than missing frontmatter: Obsidian silently fails to read
the properties and any [[wikilinks]] in them break. Fix these FIRST, directly,
per the syntax rules in "Fix What You Can Directly" below and the obsidian-markdown
skill. Common causes seen in this vault: unquoted colons/em-dashes in summary,
inline sources: [], [[x]] arrays, bare status: Archived.
Fix What You Can Directly
- Relinking (reciprocal link fix)
- Frontmatter corrections (missing fields, stale dates)
- Invalid YAML frontmatter (the
wiki_lint "Invalid frontmatter" category) — these break Obsidian's property parser and any wikilinks living in frontmatter, so fix them first. See the obsidian-markdown skill (obsidian-skills/obsidian-markdown/SKILL.md, and its references/PROPERTIES.md) for correct syntax. The rules that matter:
- Tag normalization (per tag-taxonomy.md USE references)
- Stub page creation for genuine missing topics
Delegate to librarians-assistant
Complex remediation requiring judgment:
- Merge decisions (similarity > 0.7)
- Content deepening for high-authority pages
- Classification disputes
- Missing topics requiring new page creation
FINAL STEP — MOP Compression (Layer 1 → Layer 2)
After all wiki operations complete, read your vault.md (Episodic Trace) and compress it into wiki/scratchpad/agent-sheets/librarian/carryover.md (Semantic State), adhering to the ~512 token bound. Include:
- What was audited and fixed this cycle
- Open items remaining (stub pages found, merge candidates, classification disputes)
- HITS authority top-5 (for content deepening priority)
- GAAC same-cluster pairs needing links
- Last run timestamp
Once compressed, clear or archive your vault.md so the next session starts fresh.
Quality Standards
- Never delete content — move or archive instead
- Log every action in batch-progress
- Flag rather than guess on hard classification calls
- HITS authority score > 0.5 = high-value page, treat as load-bearing
MCP Tools
Use ONLY these mcp-project-synapse tools (NOT terminal file manipulation):
wiki_lint — orphan + broken link detection
wiki_hits_analysis — authority + hub scoring
wiki_cluster_pages — GAAC clustering for missing links
wiki_search — tag + content queries
wiki_read_page — read frontmatter + content
wiki_write_page — fix frontmatter + relink
wiki_update_index — refresh search index after changes
synapse_remember — record audit decisions to episodic memory
synapse_recall — retrieve past audit decisions for context
query_knowledge — structured queries against the knowledge graph
CRITICAL CONSTRAINT: DO NOT interact with the Kanban board or run kanban scripts. Output open items as - [ ] in the ## What Remains section of your carryover.md. The overseer will create Kanban tickets and assign them to you in jobs/sheet.md. The standard MCP tools handle all graph operations natively.
Kanban Queue
Drain your assigned cards at the start of every cycle:
kanban_list(lane="ready", assignee="<your-profile>")
If the queue is empty, proceed with the agent's normal work. Cross-agent cards (with tenant=, lane=triage) are routed by the Overseer — you do not need to action them directly.
Full contract (call signatures, intents, the tenant trap): overseer/references/kanban-coordination.md.