بنقرة واحدة
wiki-add-edge
// SOP wrapping vault_add_edge — create a typed relationship between two vault pages.
// SOP wrapping vault_add_edge — create a typed relationship between two vault pages.
SOP for wiki page creation/update — create or update a synthesized wiki page with edges and index update.
SOP wrapping vault_query_graph — traverse knowledge graph from a node to explore its neighborhood and context.
SOP for source page creation — write immutable source page capturing raw material, then update search index.
SOP wrapping vault_lint — run batch validation, report issues, optionally auto-fix safe problems.
SOP wrapping vault_search — BM25 full-text search across vault pages. Returns ranked results with snippets.
Tactic for compiling research findings into vault pages — orchestrates page creation, updates, edge linking, and index maintenance. Minimum yield ≥3 page operations per invocation.
| name | wiki-add-edge |
| description | SOP wrapping vault_add_edge — create a typed relationship between two vault pages. |
| execution | sop |
| used-by | knowledge-compilation, vault-maintenance |
Create a typed edge between two pages in the knowledge graph.
vault_add_edge
| Param | Required | Description |
|---|---|---|
| source | yes | Source page path (e.g., "concepts/transformer.md") |
| target | yes | Target page path (e.g., "concepts/attention.md") |
| edge_type | yes | One of: component_of, instance_of, supported_by, contradicts, supersedes, derived_from, addresses, raises, failed_for, related_to |
| weight | no | Edge weight 0.0-1.0 (default 1.0) |
vault_add_edge| Relationship | Edge Type |
|---|---|
| A is part of B | component_of |
| A is an example of B | instance_of |
| A provides evidence for B | supported_by |
| A conflicts with B | contradicts |
| A replaces B | supersedes |
| A was built from B | derived_from |
| A answers/solves B | addresses |
| A creates/implies B (question) | raises |
| A didn't work for B | failed_for |
| A is related to B (weak) | related_to |
Returns: { success: boolean, edge_type: string, edge_count: number }