suggest_task_links
Identify candidate refs for a task by traversing the uses graph, scoring each subtopic against the task description, and returning top suggestions not yet linked.
Instructions
Propose candidate refs to link into a task.
Walks the uses graph from the anchors (or existing links if anchors
is None), collects components within depth hops, FTS-scores each
candidate's subtopics against the task's description + notes, and
returns top-K suggestions that aren't already linked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | graph traversal depth, default 3 (configurable). | |
| top_k | No | max number of suggestions, default 10. | |
| anchors | No | optional list of refs to traverse from. If omitted, uses the task's existing links. | |
| task_slug | Yes | the task to suggest for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |