kanbn_set_relations
Replace a task's entire relations set with the supplied dependencies or links. Define all connections at once; any existing relations not included are removed.
Instructions
Authoritatively replace a task's entire relations collection with the supplied array. An empty array clears all relations. This is replace-all: supply every desired edge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the project root directory | |
| taskId | Yes | ID or filename of the task to set relations on | |
| relations | Yes | Task relations: an array of {task, type} edges (e.g. {task: 'model', type: 'depends-on'}). WARNING: on edit this replaces the WHOLE relations collection — supply the full array, or use kanbn_add_relation / kanbn_remove_relation for merges. |