Adds full guide system to MCP standalone server. System guides (schema, creating-nodes, edges, dimensions, extract) are bundled and immutable. Users can create up to 10 custom guides via rah_write_guide. Syncs guide infrastructure from main repo to OS repo app code. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1.0 KiB
1.0 KiB
name, description, immutable
| name | description | immutable |
|---|---|---|
| Extract | Extraction pre-check. When to reuse chunks vs re-extract. | true |
Content Extraction
Pre-Check (REQUIRED)
Before running any extraction tool, always check the node first:
-
Call
getNodesByIdon the target node -
Check
chunk_status:- 'chunked' → content already extracted. Reuse existing chunks. Do NOT re-extract.
- 'pending' or missing → safe to extract
- 'failed' → previous extraction failed, safe to retry
-
Check if embeddings are available (chunk length > 0)
- If available, use
searchContentEmbeddingsinstead of re-extracting
- If available, use
Extraction Tools
- youtubeExtract — YouTube videos (requires URL with video ID)
- websiteExtract — Web pages (uses Jina.ai for JS-rendered sites)
- paperExtract — PDF files (requires direct PDF URL)
After Extraction
- The extracted content goes into
chunk(full source) - AI generates a
description(grounding summary) - Embeddings are created automatically
- Assign to relevant dimensions