worktree_activate
Install the shared build-cache policy for this repo: policy file in .git/superskill, guarded post-checkout hook, and host session hooks. Call with confirm=false first to preview; only pass confirm=true after the user agrees.
Instructions
Install the shared build-cache policy for this repo: policy file in .git/superskill, guarded post-checkout hook, and host session hooks. Call with confirm=false first to preview; only pass confirm=true after the user agrees. Nothing is ever deleted.
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": {
"confirm": "<confirm>"
},
"name": "worktree_activate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | Return JSON instead of text | |
| seed | No | Seed cache manifests into worktrees (default true) | |
| hooks | No | Install the guarded post-checkout hook (default true) | |
| hosts | No | Host session-hook adapters to install (default: all detected) | |
| confirm | Yes | true applies changes; false previews first (required) | |
| dry_run | No | Preview only; write nothing | |
| install | No | Run toolchain installs after activation (default false) | |
| workspace_path | No | Absolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace. |