Synthesize Knowledge Graph
Transform raw information into K-DAGs — Knowledge DAGs that encode domain knowledge as typed, directed acyclic graphs with prose context and mermaid visualization.
STATUS: DRAFT — See CHECKPOINT.md for design decisions and open questions.
Parameters
| Parameter | Required | Description |
|---|---|---|
| source_materials | Yes | Raw sources (text, file paths, URLs, or existing K-DAGs for intersection) |
| synthesis_topic | Yes | Subject being synthesized |
| target_audience | Yes | Intended users of the knowledge |
| operation | No | "synthesize" (default) or "intersect" |
| output_location | No | File path to save output |
Workflow
TODO — Complete after resolving open design questions in CHECKPOINT.md
Placeholder workflow:
- Source validation (reuse VKS patterns)
- Entity extraction — identify nodes across sources
- Relationship extraction — identify typed edges
- Ontology schema generation — define node types, edge types
- K-DAG assembly — nodes, edges, confidence scores
- Mermaid generation — auto-generate ontology visualization
- Prose integration — write context with [[wikilinks]] to nodes
- Validation — verify edge preservation, logical consistency
- Output — single .md with YAML frontmatter + mermaid + prose
Intersection Operation (when operation = "intersect")
- Load 2+ existing K-DAGs
- Identify cross-graph node matches (same or related concepts)
- Discover emergent edges (relationships that exist only between graphs)
- Produce intersection K-DAG with provenance tracking
- Generate merged mermaid visualization
Edge Types
| Type | Meaning | Example |
|---|---|---|
| causal | A causes B | "Context rot causes edge loss" |
| dependency | A requires B | "Agentic search depends on tool calls" |
| contradicts | A conflicts with B | "Doom narrative contradicts bull case" |
| supports | A strengthens B | "Tobi's eval practice supports capability frontier thesis" |
| enables | A makes B possible | "FAS enables interactive agentic search" |
| subsumes | A contains B as subset | "Agentic search subsumes ARAG" |
Output Format
PENDING — Format decision depends on prior art research. See CHECKPOINT.md.