link
Create a directed, typed, weighted edge between two memory nodes by name or ID to define causes, contradictions, or supersessions; weight controls how knowledge chains route.
Instructions
Create a typed edge between two nodes (by name or id). Endpoints resolve in the active initiative first, then across all initiatives, so a link may span initiatives. Edge type defaults to refers_to. weight (0..1) is REQUIRED — it is HOW LOAD-BEARING the edge is and the only signal knowledge chains route on (path cost is 1−weight); there is no default because an unweighted graph makes every chain rank on noise. State it by the scale: 0.9–1.0 load-bearing (a cause, a source a conclusion rests on, a supersession — the edges a chain should follow); 0.6–0.8 supporting but not decisive; 0.3–0.5 loose / associative. DIRECTION matters for supersedes: link <new> <old> --edge_type supersedes — the replacement points at what it replaced, so an INBOUND supersedes means this node is obsolete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination node name or id — resolved in the active initiative first, then across all initiatives. | |
| from | Yes | Source node name or id — resolved in the active initiative first, then across all initiatives, so an edge may span initiatives. | |
| cloud | No | Which cloud to mirror this edge change to, when BOTH endpoints are already shared. Omit with one cloud configured (it is unambiguous) or when the endpoints are local. With several configured and none named, the local edit still happens and the result says the edge was not mirrored. | |
| weight | Yes | Connection strength in `0..1` — REQUIRED, no default. How load-bearing this edge is, and the only signal knowledge chains route on (path cost is `1 − weight`). State it deliberately by how much the connection matters: 0.9–1.0 load-bearing (a cause, a source a conclusion rests on, a supersession — the edges a chain should follow); 0.6–0.8 supporting, not decisive; 0.3–0.5 loose / associative. There is no neutral fallback on purpose: an unweighted graph is what made every chain rank on noise. | |
| edge_type | No | Edge type — a CLOSED vocabulary, one of exactly these: `refers_to` (default), `causal`, `derived_from`, `contradicts`, `part_of`, `blocks`, `targets`, `supersedes`, `verifies`, `falsifies`, `temporal`, `consolidated_to`. `supersedes` is directed: `src` supersedes `dst` — the replacement is the `src`, so an inbound `supersedes` means the node is obsolete. Nothing else is accepted (`related_to` and friends are not edge types). Snake_case or kebab-case both accepted. | refers_to |
| initiative | No |