worker_delegate
Delegate a scoped coding task to an external AI worker in an isolated git worktree with independent verification.
Instructions
Delegate a scoped coding task to an external AI coding worker in an isolated git worktree, then independently verify the result.
USE for: implementing a feature, fixing a bug across files, a refactor or migration — work you'd otherwise do inline. Delegating keeps your context clean and gets an independent verification pass on the diff. The worker runs in the background; poll with worker_status(task_id). DO NOT USE for a trivial one-line edit, or non-coding work.
Args: objective: What the worker must accomplish. Be specific and scoped. repository: Absolute path to the target git repository. worker: codex | claude-code | opencode | zcode-glm | vscode | mock (or a configured worker). permission: read_only | workspace_write | full_access | custom. verify: Shell commands worker-bridge runs itself to verify, e.g. ["pytest -q"]. base_ref: Git ref to branch the worktree from (default HEAD). wait: Block until finished and return the full result (default false).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| verify | No | ||
| worker | No | codex | |
| base_ref | No | HEAD | |
| objective | Yes | ||
| permission | No | workspace_write | |
| repository | Yes |