claude-configs/skills/_archive/save-doc/examples/runbook.md
Cal Corum 9fd5539dc1 Sync: update plugins, settings, archive skills, add new sessions and marketplaces
- plugins: update installed_plugins, known_marketplaces, install-counts-cache, blocklist; add agent-toolkit and cal-claude-plugins marketplaces
- settings.json: significant config changes (129 insertions, -129 deletions net)
- CLAUDE.md: minor update
- skills: remove json-pretty and save-doc (archived to _archive/save-doc)
- sessions: remove 2 old sessions, add 4 new sessions
- add command-permissions.json, permission-audit.jsonl, tmp/permissions-audit.md
2026-03-20 02:00:59 -05:00

1.4 KiB

title description type domain tags
KB-RAG Reindex Runbook Operational runbook for manual and emergency reindexing of the claude-home knowledge base on manticore. runbook development
kb-rag
qdrant
manticore
operations

KB-RAG Reindex Runbook

When to Use

  • Search returns stale or missing results after a push
  • After bulk file additions or directory restructuring
  • After recovering from container crash or volume issue

Incremental Reindex (normal)

Only re-embeds files whose content hash changed. Fast (~1-5 seconds).

ssh manticore "docker exec md-kb-rag-kb-rag-1 md-kb-rag index"

Full Reindex (nuclear option)

Clears the state DB and re-embeds everything. Slow (~2-3 minutes for 150+ files).

ssh manticore "docker exec md-kb-rag-kb-rag-1 md-kb-rag index --full"

Verify

# Check health
ssh manticore "docker exec md-kb-rag-kb-rag-1 md-kb-rag health"

# Check indexed file count and Qdrant point count
ssh manticore "docker exec md-kb-rag-kb-rag-1 md-kb-rag status"

# Check for validation errors in recent logs
ssh manticore "docker logs md-kb-rag-kb-rag-1 --tail 30 2>&1 | grep WARN"

Escalation

  • If Qdrant won't start: check disk space on manticore (df -h)
  • If embeddings OOM: check GPU memory (ssh manticore "nvidia-smi")
  • Full stack restart: ssh manticore "cd ~/docker/md-kb-rag && docker compose down && docker compose up -d"