pg_slot_open
Provision an isolated Git worktree slot under ~/ag-workspaces without touching your main repo, so you can work on a separate branch safely.
Instructions
Provision or attach an isolated Git worktree slot under ~/ag-workspaces// without touching the user's main repo.
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": {
"main_repo": "<main_repo>"
},
"name": "pg_slot_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | Slot identifier (e.g. auth-refactor). | |
| branch | No | Feature branch name for the isolated worktree (default: feat/ag-v4). | |
| verify | No | Full verification command (e.g. 'pytest -q' or 'npm test'). | |
| dev_cmd | No | Optional default HTML path or localhost URL for UI probing. | |
| deps_cmd | No | Optional hermetic dependency install command for clean-archive checkpoints. | |
| isolation | No | Test execution isolation ('host' or network-disabled 'docker'). | |
| main_repo | Yes | Absolute or ~ path to the main Git repository. | |
| quick_verify | No | Optional fast smoke test command. | |
| spawn_daemon | No | Whether to spawn a persistent slot watcher daemon. | |
| project_tasks | No | Register prepare/build/dev argv once; execution later only accepts the task name. Subject to current dynamic recipe policy. | |
| container_image | No | Container image when isolation='docker' (default: python:3.12-slim). | |
| skip_startup_verify | No | Skip running initial full verification on slot creation. |