unlink
Opt this repository out of Shepherd coordination.
Use unlink to opt a repository OUT of Shepherd coordination by removing its .shepherd marker file. Like link and decline, unlink is never gated behind an existing coordination session — it always runs, regardless of whether the repo is currently linked.
Input
unlink takes no agent-supplied fields.
{}Result
Shepherd returns a one-line advisory, e.g. Unlinked — this repo will stay uncoordinated and won't ask again. Run \link` to re-enable.`
Behavior notes
- Removes the committed
.shepherdmarker. - Also records a local decline automatically, so the agent isn't immediately re-prompted to link again on the next session or tool call — without this, an unlinked repo would read as "unanswered" and nag right away. Running
linkagain clears the decline. - If a coordination session was active, it's torn down immediately: the hub is told the agent left, so its presence and claims drop right away rather than lingering until the session goes stale (~2 minutes without a heartbeat).
- The repo stays uncoordinated until
linkis run again.