delimit_ledger_link
Create typed relationships between ledger items to track dependencies, structure, and duplicates. Use blocks, parent/child, or duplicates links to organize project items.
Instructions
Create a typed relationship between two ledger items.
When to use: to track dependencies and structure (blocks, parent/child, duplicates) between ledger items. When NOT to use: to read existing links (use delimit_ledger_links) or update other fields (delimit_ledger_update).
Sibling contrast: delimit_ledger_links reads; delimit_ledger_update changes simple fields; this writes a relationship.
Side effects: writes the link via ai.ledger_manager.link_items. "blocks" / "blocked_by" auto-create the reverse direction so both items see the relationship.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_id | Yes | Source item id (e.g. "LED-025"). Required. | |
| to_id | Yes | Target item id (e.g. "STR-005"). Required. | |
| link_type | No | One of "blocks" (default), "blocked_by", "parent", "child", "relates_to", "duplicates". | blocks |
| note | No | Optional note explaining the relationship. | |
| venture | No | Project name/path. Empty = auto-detect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||