delegate
Hand a coding task to a local model that edits an isolated git worktree, runs tests, and returns a diff for review.
Instructions
Hand a coding task to the local model.
The model edits an isolated git worktree; test_command (a shell command,
e.g. "pytest -q") is run after each attempt and failures are fed back to the
model, up to UNDERSTUDY_MAX_ROUNDS times. "{repo}" in the test command is
replaced with the repository path, e.g. "{repo}/.venv/bin/pytest -q".
Returns the diff and test output for you to review, plus an id for
accept/revise/discard. repo_path defaults to the current directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| repo_path | No | ||
| test_command | No |