swg_reacquire
Recover from a stale-view write denial by re-minting session identity and returning the current file bytes, then retry the write from that exact version.
Instructions
Recover from a stale_view deny: re-mint identity and return the CURRENT bytes. You MUST write FROM these exact bytes — the server enforces version lineage, NOT that your content was derived from what you read. It is also the step a swg_write refusal names with recover=reacquire or wait_then_reacquire. The re-mint drops every hold this session has: the write grant on every path, not only this one, so other agents can then write those paths. To give back one path and keep the others, use swg_release. SINGLE-HOST only. Out of guarantee and NOT detected in v1: writers on different hosts or across a synced/network mount, divergent-history reconciliation, semantic correctness, server-enforced auto-merge.
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": {
"path": "<path>"
},
"name": "swg_reacquire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |