worktree_activate
Idempotent
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.
Input Schema
TableJSON 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. |