update_dependency
Sets the condition, criterion, or verifiable evidence for an existing dependency edge so the dependent task is released only when Mesh can confirm the blocker meets it.
Instructions
Set the condition, criterion and/or evidence of an existing dependency edge (task_id depends on depends_on_task_id). Evidence releases the dependent only when Mesh can verify it: send evidence_criterion equal to the edge criterion (default: the condition name). shipped/deployed/accepted are checked against the blocker's own pr link: head_sha must be the link's current HEAD (and environment, e.g. prod, for deployed); evidence_url is only stored, never fetched. access_ready/contract_ready/artifact_published need attest=true from someone with access to the blocker. A bare evidence_url is kept as an unverified link and releases nothing. Changing condition or criterion needs expected_generation: the generation you read from the edge (get_task dependencies) — missing is refused, stale is a 409. An empty evidence_url re-arms the edge.
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": {
"task_id": "<task_id>",
"depends_on_task_id": "<depends_on_task_id>"
},
"name": "update_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attest | No | access_ready/contract_ready/artifact_published: explicit attestation by you that the criterion holds. | |
| task_id | Yes | The blocked task (the one that has the dependency). | |
| head_sha | No | shipped/deployed/accepted: the blocker pr link's current HEAD the receipt covers. | |
| condition | No | What a blocks edge waits for. task_done (default): the blocker reaches done or cancelled. access_ready / contract_ready / artifact_published: released by evidence_url, or when the blocker reaches done or cancelled. shipped: the blocker is marked shipped or reaches done (cancelled does not release it). deployed: the blocker is marked shipped or a VCS link of it has a recorded deploy (see mark_vcs_deployed); merged/done alone does not release it. accepted: the blocker reaches done (cancelled does not release it). Evidence (evidence_url) releases an edge of any condition. | |
| criterion | No | What this edge waits for, in words (default: the condition name). Evidence must name it. Changing it needs expected_generation. | |
| environment | No | deployed: the environment of the deploy receipt, e.g. prod. | |
| evidence_url | No | Reference to the proof; stored, never fetched. Empty string clears the evidence. | |
| depends_on_task_id | Yes | The blocker the edge points at. | |
| evidence_criterion | No | The criterion the evidence is for; must equal the edge criterion or the evidence stays unverified/invalid. | |
| expected_generation | No | The edge generation you saw. Required to change condition or criterion; if sent with evidence a stale value is rejected (409). |