skein_dep_add
Add a typed dependency edge between two issues (blocks, waits-for, related, discovered-from, supersedes, duplicates, parent-child). The PRIMARY way to express ANY relationship between issues — always this or skein_create({dependencies:[...]}), never a free-text ref ("depends on X", "see also Y", "requires Z") in description / acceptance / notes / design: prose is invisible to the dependency graph, skein_ready gating, the UI Dependencies section and close-time warnings.
parent-child only ADDS a parent (parent_already_set if one exists); prefer parentId on skein_create for new children, skein_reparent to move an existing issue, skein_dep_remove to drop an edge.
gate is accepted only on type=waits-for, optional there; it is stored but not evaluated — readiness waits for to itself to close, not for its children. Cross-project edges are allowed within one space if you can see both projects; a target of another space or of a project you cannot see answers issue_not_found, exactly as a nonexistent one; a cycle returns dependency_cycle. Type table and direction semantics: skein_get_instructions ("Dependency edge types").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fromId": "<fromId>",
"toId": "<toId>",
"type": "<type>"
},
"name": "skein_dep_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | No | Only on type=waits-for; optional. Stored with the edge but NOT evaluated today: skein_ready holds the from-side until the target itself is closed or standing, whatever its children's state. | |
| toId | Yes | Full hierarchical id of the TO-side issue (e.g. "billing-9"). May be in a different project. | |
| type | Yes | Dependency type; direction is canonical per type (read as from → to): blocks = from is blocked by to · waits-for = from waits on to (optional `gate` stored, not evaluated) · related = symmetric · discovered-from · supersedes · duplicates · parent-child = from is the child of to. Full table in skein_get_instructions ("Dependency edge types"). | |
| fromId | Yes | Full hierarchical id of the FROM-side issue (e.g. "demo-42"). |