add_edges
Connect existing hypotheses with dependencies to extend a DAG forward, avoiding recreation. Validates edges to prevent cycles, unknown nodes, and invalid goal parents.
Instructions
Wire hypotheses that already exist, without recreating either. Use it to grow a graph forward: when a pipeline gains a stage, the goal must depend on the NEW last stage, or it reports itself achieved as soon as the first stage verifies while the rest sit untested. You do not need to remove the old edge — DEPENDENCY is AND and the later stage already depends on the earlier one, so adding only tightens the condition. Validated like creation: unknown nodes, a goal used as a DEPENDENCY parent, and cycles are refused before anything is written, and an edge that already exists is a no-op.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | Edges to add. Each runs FROM the hypothesis being assumed TO the one assuming it, so src is the parent. |